部署asp.net应用程序不编译DLL [英] Deploy asp.net application without compiling DLL

查看:181
本文介绍了部署asp.net应用程序不编译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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆