Deploy asp.net application without compiling DLL

房东的猫 提交于 2019-12-10 17:56:35

问题


When I publish any type of asp.net application, my code is precompiled into various assemblies. I would like to avoid this so that I can upload an aspx page and its corresponding codebehind file. I understand the benefits of doing it either way, but what is desired here is the least risky way to publish changes.

How does one properly deploy an asp.net project without compiling assemblies?

Is the process different for each model (web app, MVC..)


回答1:


Sounds like you have a Web Application Project, and what you want is a Website Project. With website projects, you can modify the aspx and codebehind files and not have to worry about recompliling them, asp.net will do that for you. Web Application Projects need to be compiled for every code change.



来源:https://stackoverflow.com/questions/1704009/deploy-asp-net-application-without-compiling-dll

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!