部署asp.net应用程序不编译DLL [英] Deploy asp.net application without compiling DLL
问题描述
当我发布任何类型的asp.net应用程序,我的code是pcompiled成不同的组件$ P $。我想避免这种情况,这样我可以上传一个aspx页面及其相应的codebehind文件。我明白做任何一种方式的好处,但这里是什么期望是发布变更风险最低的方式。
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.
一个人如何正确无需编译组件部署一个asp.net项目?
How does one properly deploy an asp.net project without compiling assemblies?
是每个模型(Web应用程序,MVC ..)
Is the process different for each model (web app, MVC..)
推荐答案
听起来像是你有一个Web应用程序项目,和你想要的是一个网站项目。随着网站的项目,你可以修改ASPX和codebehind文件,而不是担心他们recompliling,asp.net会为你做的。 Web应用程序项目需要编译每code修改。
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.
这篇关于部署asp.net应用程序不编译DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!