Hi,
In one of our client place, an existing Enterprise level application with 150 modules developed using ASP.NET 2.0 is being revamped with ASP.NET MVC.
The new solution has the following structure:
- Web UI ( MVC Project )
- Areas
- Module1-Area
- Module2-Area
- Module3-Area
- Core
- Entitities
- Business
- Data
The current production environment is comprised of four WFE servers and one load balancer.
Client wants to have the same Authentication and Branding logic across the modules under the same solution. As of now, team is working on three modules using the Areas concept and going forward other modules would be added as and when possible.
The question is, what is the best practice to handle this kind of scenario? do we need to keep the modules under Areas and continue adding additional modules going forward or do we need to have a separate project for each module under the same solution?
If in case keeping them as separate project is the good option, how about handling build and deployment process?.
The constraint what we have is client doesn't want to have multiple solutions.
Experts advise please.
Thanks,
Saravanan


Nilesh ShahRank #42 · 34.2K reputationPosted May 31, 2017, 9:41 AM EDT
Nilesh ShahRank #42 · 34.2K reputationPosted May 31, 2017, 7:50 AM EDT
Saravanan VRank #1,695 · 899 reputationPosted May 31, 2017, 9:18 AM EDT
Hi Nilesh,
Thanks for your kind response.
Nilesh ShahRank #42 · 34.2K reputationPosted May 31, 2017, 9:26 AM EDT
Saravanan VRank #1,695 · 899 reputationPosted May 31, 2017, 9:33 AM EDT
Ok. We are sure that we are going to hit the number 100 going forward.
The article what I had seen online tells about keeping the respective Area code files as separate project and create .bat file to copy the view files from each project to the main web project during the build and it was not satisfactory to me considering the build and deployment process.
Saravanan VRank #1,695 · 899 reputationPosted May 31, 2017, 11:36 AM EDT
Thanks for your update.
I have also figured out the MSDN link and was trying to execute the walkthrough steps.