Skip to main content

Razor Blade Tutorials

Tutorial Home

Learn how to use ToSic.Razor.Blade fluent Tag API to do really cool stuff. This uses ToSic.Razor.Blade.


RazorBlade Basic API to Generate Safe Attributes

  1. Safe Html5 Attributes from code new!v3.00
    Working with attributes in your code to stay error-free
  2. Json Html5 Attributes from code new!v3.00
    Working with attributes in your code to stay error-free

RazorBlade Fluent Html5 API

RazorBlade 3 contains over 130 objects with hundreds of properties so you can quickly generate Html5 tags correctly and safely.
  1. Introduction to the Fluid Html5 API with 130+ objects like Img, Table etc. new!v3.00
    The basics of creating html directly from code
  2. Common Attributes (Id, Title, Class, Style) with SmartJoin new!v3.00
    Some attributes can be added, others replace the previous content. The attributes are super smart 💡
  3. Images with Unsafe URLs (Umlauts etc.) new!v3.00
    The API automatically fixes unsafe URLs like Umlauts, japanese characters etc. - SuperSmart 😎
  4. Picture Tags for various sizes / resolutions new!v3.00
    Here's an example how to easily generate picture tags, which are the future of Images
  5. Start and End Tags new!v3.00
    In some cases you may want to just get the start or end-tag.
  6. Create custom (non Html5) tags new!v3.00
    Working with tags in your code to stay error-free and do amazing stuff