I’m currently working on “suite” of internal intranet applications
They are all asp.net MVC apps, which will be (for various reasons) deployed as separate apps
I’m currently facing massive amounts of duplication -
Each app has essentially the same “outer” shell This outer shell isn’t just about views, it encompasses authentication logic etc…
The “inner” view is the actual app.
So, in an ideal world, I’d have something like:
MyCompany.Web
Holds the _Layout, base controllers, auth etc…
Then, other mvc projects in my solution such as:
MyCompany.Web.App1
inherits MyCompany.WebMyCompany.Web.App2
inherits MyCompany.Web
etc…
Is there anything I could sensibly do to facilitate this?
Everything I’ve tried so far involves xcopying views etc.. into sub projects on builds, and feels very fragile.