RazorBlade add Open-Graph Headers
⚠️ WARNING: These examples only work in Dnn ☢️
2sxc 12 introduces the new
which also works in Oqtane 💧.
We suggest you use that instead. 👉 See Razor Page Service
Note that to ensure this tutorial can run on all platforms, we've included some
which changes what code runs on what platform.
Info about the Base Class
This tutorial inherits from the Custom.Hybrid.Razor14 base class.
This allows us to use Kit.Scrub to access IScrub without having to use GetService<>
This page sets various open-graph headers.
Look at the resulting output-source to see the effect.