Reuse area MVC3 in another project

I created an area for the registration / signing process of our site and I wonder how I can reuse this area in another project in the most efficient way, keeping the code in the same place. The code consists of controllers and views.

Can I somehow generalize all this to another project so that I can include dll on both websites?

+3
source share
2 answers

You can add an element as a link: Adding an existing element as a link

+1
source

You can only create a project with an area in it. and a project package with nuget. and install the nuget package on each of your website.

nuget , . script, .

+1

All Articles