C# HtmlExtension to display SVGs
Published on Feb 16, 2019
You have SVGs that you wish to display on your website but you want to be able to re-use them without copying and pasting the code or creating a shared view.
By creating an HtmlExtension class with a function called Svg you can create a centralized place to store and re-use your SVGs.