I have a test solution which only has one area called Admin.
I would like to reuse Admin across a number of other web applications.
I have a web application setup in IIS, I have then added a virtual application, /Admin
coming from Areas\Admin
.
When I navigate to /Admin, I see a directory listing. When I try to hit a controller, /Admin/News. I get a 404 error. It could be that the areas are not registering, even though the code is there in the global.asax. However, I am sure I am going about this all wrong.
Please suggest changes for this situation to work.