How admin area registered when run nop.web

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
Hello friend.

I am strange one thing in nop commerce project solution structure.  "Administration" folder is excluded in Nop.Web project and added it as new project in same location. so we have two project at this time. When we run Nop.Web project then how "Administration" project is also executed in browser at the same port.

I just create same structure to know the logic for different project, but my administration project is not executed and code of Area Registration not executed.

Can anyone let me know how "AreaRegistration.RegisterAllAreas();" knows to register "admin" area as it is put in different project and folder is excluded in same project?

Thanks
Imran
11 years ago
Because of AdminAreaRegistration, see
http://msdn.microsoft.com/en-us/library/system.web.mvc.arearegistration.registerallareas(v=vs.108).aspx
11 years ago
Yes. I know that. But as I said, admin project is different and it is not executed, so AdminAreaRegistration class is also not getting executed.
11 years ago
In short, My question is that If I run Nop.Web project, then how Nop.Admin project also gets executed?

Thanks
Imran khan
11 years ago
deleted post.
6 years ago
sounds like a Legitimate Question, Why post got deleted??
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.