Base solution for your next web application
Open Closed

Disabling landing page #427


User avatar
0
doubledp created

I am going to use ASP.NET Zero framework for internal web based system and don't see much use for the landing page, would rather it go to web app upon start up.

What would be the best way to achieve this without modifying the current structure of the framework? I want to try and stick as much as possible to the way things are done in this framework, as I think it exceptional coding (hopefully I can code like that in a couple of years). Also it would make upgrading the code with new releases fairly pain free.

Is there any pitfalls with this approach?


2 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    No, it's not framework actually. Just go to HomeController's Index action and write:

    return RedirectToAction("Index","Application");
    

    Feel free to change it.

  • User Avatar
    0
    doubledp created

    Pardon the use of the incorrect terminology. Thank you very much for the help.