Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Removing front-end appliation #2424


User avatar
0
paymanrowhani created

Hi,

How can I completely remove the front-end application? I need the start to start with the login page.

Thanks, Payman


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Which version of AspNet Zero do you use ? (angular1, angular2, ASP.NET MVC 5.x or ASP.NET Core). As an alternatice solution, you can set your default route to Account/Login instead of Home/Index.

  • User Avatar
    0
    paymanrowhani created

    Hi,

    I'm using ASP.NET Core and I need to remove it instead of redirecting...

    Thanks in advance, Payman

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You need to delete HomeController, AboutController and TenantRegistrationController under Controllers folder of MVC project. You also need to remove their *.cshtml files as well.

    You also need to change your default route to Account/Login page.

  • User Avatar
    0
    paymanrowhani created

    Thanks for the response :-).

    Payman