Load Razor Views From Database in ASP.NET MVC 5
We are trying to develop a corporate CMS application in ASP.NET MVC 5. The user needs to create a new page, change an existing page content or delete a page alltogether from an admin application. Another requirement states that some of the pages can include custom widgets which were written in Razor syntax. These 2 requirements lead me to load razor views from the database. I googled and find a couple of examples. The first one is to extend the VirtualPathProvider and register it with the expression below in the Application_Start method. protected void Application_Start() { ...