Skip to main content
Home  › ... Razor

RazorBlade Tutorials

Tutorial HomeRazorBlade

RazorBlade Tutorials - Introduction

Learn how to use ToSic.Razor.Blade to do really cool stuff. For example, take a html-string, strip the html tags, truncate to 100 characters without splitting word and then show using a standard html-ellipsis. And way more. This uses ToSic.Razor.Blade.

Some notes before we start

RazorBlade can be installed as a stand-alone DNN module or if you are creating your own module, you can include it in your distribution. 2sxc 9.40+ includes RazorBlade 1.01, 2sxc 10.06 includes 2.0 and 10.09 includes v2.02. If you see errors, you probably need to install a newer version of RazorBlade.