在ASCX / ASPX文件的更改 - 将其复位应用 [英] Changes in ascx / aspx files - will it reset application

查看:319
本文介绍了在ASCX / ASPX文件的更改 - 将其复位应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在ASCX / ASPX文件的更改 - 将其重新申请?有时候开发服务器上,他们将不会导致它而活的服务器上,我认为这有时会导致它。什么是规则?

Changes in ascx / aspx files - will it reset application? Sometimes on dev server they won't cause it whereas on live server I think it sometimes causes it. What is the rule?

由于帕维尔

推荐答案

这取决于如何部署应用程序; ASP.NET部署

It depends on how to deployed your application; ASP.NET Deployment

如果您部署简单;复制您从开发计算机生产创建的应用程序文件; 这样,你的申请将不会被重置仅在页面的的.aspx 或具有用户控件的页的.ascx 将被编译。

If you deploy simply; copy the application files you have created from your development computer to the production; In this way your application will not be reset only the page .aspx, or the page having the user control .ascx will be compiled.

然而,在情况下,如果你用的 ASP.NET网站precompilation ,那么它有可能会影响编译进一步的选项。

However in case if you deployed your application by ASP.NET Web Site Precompilation, then it has further options which may affect compilation.

选择precompilation型号

好吧,如果你使用与UI更新一precompilation型号,然后改变ASPX或ASCX不会重置您的应用程序,否则与其他车型您的应用程序将被重置。

Well, if you used a precompilation model with UI Update, then changing aspx or ascx will not reset your application, otherwise with other models your application will be reset.

这篇关于在ASCX / ASPX文件的更改 - 将其复位应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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