如何在IIS中更新ASP.NET。 [英] How to update the ASP.NET in IIS.

查看:146
本文介绍了如何在IIS中更新ASP.NET。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





如何在iis中更新asp.net项目。

假设我在项目中做了一些更改然后我想要在iis中更新。



有些用户也连接了

为此我想离线显示网站

或者最好的方法是什么?



谢谢

Basit。



我尝试了什么:



我正在做的是我停止IIS

然后更新网站。

解决方案

您可以使用app_offline.html文件进行更新。只需在根目录中有一个这样的文件,如果IIS看到它,它会自动显示它,无论请求哪个页面。然后在您的代码更新后,只需重命名。



欲了解更多信息,请 ScottGu&博客 - App_Offline.htm [ ^

Hi,

How to update asp.net project in iis.
Suppose i made some changes in my projects then i want to update in iis.

Some users are connected also
For that then i want to show website offline
Or what is the best way?

Thanks
Basit.

What I have tried:

What im doing is im stopping the IIS
And then update website.

解决方案

You can use the app_offline.html file to do your updates. Just have a file named such in your root directory and if IIS ever sees it, it automatically displays it no matter which page is requested. Then after your code update, just rename it.

For more info,
ScottGu's Blog - App_Offline.htm[^]


这篇关于如何在IIS中更新ASP.NET。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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