I am trying to use our own ASP.Net MVC views and controllers in Umbraco. For this i have created a new file named "ApplictionClassFile" and got it inherited from "UmbracoApplication". My view name is "TestASPNETView". Here is the code snippet i have used
public class ApplictionClassFile : UmbracoApplication
{
class CustomWebBootManager : WebBootManager
{
public CustomWebBootManager(UmbracoApplicationBase application): base(application)
{
}
public override IBootManager Complete(Action<ApplicationContext> afterComplete)
{
RouteTable.Routes.MapRoute("HomePage",
"TestASPNETView/index",
new { controller = "TestASPNETView", action = "index" });
return base.Complete(afterComplete);
}
}
The main problem here is that i have set break point in in the above mentioned code but some how call is not coming to this code that's why our normal ASP.NET views and controllers are not getting opened.
GetBootManager not getting fired
Hi,
I am trying to use our own ASP.Net MVC views and controllers in Umbraco. For this i have created a new file named "ApplictionClassFile" and got it inherited from "UmbracoApplication". My view name is "TestASPNETView". Here is the code snippet i have used
public class ApplictionClassFile : UmbracoApplication {
protected override Umbraco.Core.IBootManager GetBootManager() {
}
}
The main problem here is that i have set break point in in the above mentioned code but some how call is not coming to this code that's why our normal ASP.NET views and controllers are not getting opened.
Any help on this will be highly appreciated.
is working on a reply...