简体   繁体   中英

Web Site deployment in IIS

I am working on a web application which has around 40 pages. We have separate business and DB layer. But there are still few simple business logic in code behind (CS) page of each aspx file. So when there is any change in that code behind, it lead to complete re-deployment of whole project. Is there any option where I could re-deploy only the corresponding code behind and aspx page alone?

Note : We copy the web contents to the virtual directory for each deployment

Not from Visual Studio, it does a complete publish each time. You can do this manually though (copy over the files that have changed as long as they are not part of a compiled DLL for your site). IIS will recompile the site on first request, each subsequent request will use the newly compiled DLL for your site.

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