In our Umbraco based application we are thinking of using following approach :-
a. Allowing creation static pages by content writers through umbraco back office.
b. Create dynamic pages in ASP.NET MVC project (by adding views in Views folder and its corresponding controllers in Controllers folder) in which Umbraco CMS is already configured using NUGet Package manager. However when we run the web site these views are not getting opened.
To make it more clear we added a Home view in Views folder and index action in Home Controller under Controllers folder when we open http://localhost:1234/home/index umbraco throws an error.
To solve it i think we should override GetBootManager method of the class which is inherting Umbraco.Web.UmbracoWebApplication class. But call is not coming to this method. Not sure how to solve this issue.
Using Non Umbraco Views In Umbraco
Hi All,
In our Umbraco based application we are thinking of using following approach :-
a. Allowing creation static pages by content writers through umbraco back office.
b. Create dynamic pages in ASP.NET MVC project (by adding views in Views folder and its corresponding controllers in Controllers folder) in which Umbraco CMS is already configured using NUGet Package manager. However when we run the web site these views are not getting opened. To make it more clear we added a Home view in Views folder and index action in Home Controller under Controllers folder when we open http://localhost:1234/home/index umbraco throws an error.
To solve it i think we should override GetBootManager method of the class which is inherting Umbraco.Web.UmbracoWebApplication class. But call is not coming to this method. Not sure how to solve this issue.
Comment author was deleted
Hi, this is an example how you could use standard mvc pages in the backoffice https://github.com/TimGeyssens/UmbracoMVCBackofficePages
Routing is handled here https://github.com/TimGeyssens/UmbracoMVCBackofficePages/blob/master/UmbracoMVCBackofficePages/StartUpHandlers.cs
Comment author was deleted
Also make sure that umbraco ignores the path by adding in to the appsetting umbracoReservedPaths
is working on a reply...