Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Naman 20 posts 101 karma points
    Apr 04, 2016 @ 11:33

    GetBootManager not getting fired


    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() {

            return new CustomWebBootManager(this);



    class CustomWebBootManager : WebBootManager
        public CustomWebBootManager(UmbracoApplicationBase application): base(application)
        public override IBootManager Complete(Action<ApplicationContext> afterComplete)
                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.

    Any help on this will be highly appreciated.

Please Sign in or register to post replies

Write your reply to: