How admin area registered when run nop.web

Posted: October 05, 2012 at 5:51 AM Quote #80405
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
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: October 05, 2012 at 6:58 AM Quote #80411
Because of AdminAreaRegistration, see
http://msdn.microsoft.com/en-us/library/system.web.mvc.arearegistration.registerallareas(v=vs.108).aspx
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: October 05, 2012 at 7:08 AM Quote #80413
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.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: October 05, 2012 at 7:15 AM Quote #80415
In short, My question is that If I run Nop.Web project, then how Nop.Admin project also gets executed?

Thanks
Imran khan
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: October 05, 2012 at 9:16 AM Quote #80416
deleted post.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: January 13, 2018 at 2:51 AM Quote #199158
sounds like a Legitimate Question, Why post got deleted??
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.