Is it possible to store and then retrive MVC tags inside a database?
Suppose I want to store a link like this one - @Url.Action("link text", "SomeAction", "HomeController) - in an NVARCHAR field in my database. How do I code this in Razor so that it will produce a link pertaining to that example?
cnlayibme
Member
45 Points
66 Posts
MVC/Razor tags inside a database
May 17, 2012 07:29 AM|LINK
Is it possible to store and then retrive MVC tags inside a database?
Suppose I want to store a link like this one - @Url.Action("link text", "SomeAction", "HomeController) - in an NVARCHAR field in my database. How do I code this in Razor so that it will produce a link pertaining to that example?