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

mvc+Jquery Project #4284


User avatar
0
michaelm created

does anyone have the step to create multiple Areas in the save MVC project for aspnetzero.

We added a new folder under app called "MyNewArea" created controller in a controller folder under the MyNewArea folder Set the attribute on the controller to the new area name: [Area("MyNewArea")] We created a view with the same name of the controller.

when running the code & navigating to the respective view . - the controller never enters debug mode indicating it is never called.


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

    Hi @MichaelM,

    Have you added menu items to navigation provider ? If so, can you share your related code ?

    Also, please share the code of new controller under your new area.

    Thanks.