I would like to embed svg directly into my ASP.net-MVC view so that the output looks something like this:
... &
Renaming SVG files and using Html.Partial should do the trick, but I didn't like to be renaming files in order to achieve it. So, this way, you can keep your files as they are.
@Html.Raw(File.ReadAllText(Server.MapPath("~/image.svg")))