简体   繁体   中英

managing multiple shared projects to publish?

here is my scenario. I have 3 website projects doing similar job and those websites are using shared class library projects as BSL(business layer) and DAL(database layer). therefore different part is only on website project. if I make a change in the shared projects, I have to do publish/upload for each websites on my web server. I have also a web service providing content of these websites. basically using the shared classes libraries of websites and returning as soap output.

Now my question is how can I centralize my shared class libraries projects that It requires only 1 publish and websites to take changes?

It sounds like a webservice is the way to go. but I don't like the performance of webservice. I believe it will be slower if I use a webservice.

You could deploy the assemblies to the GAC. By deploying the DAL assemblies to the GAC, they can be used across web applications, and they will only need to be updated in a single place.

Information on how to deploy to the GAC and other considerations can be found on MSDN, here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM