ASP.NET部署到单一服务器而无需中断服务 [英] Deploying ASP.NET to single server without service interruption

查看:120
本文介绍了ASP.NET部署到单一服务器而无需中断服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
  <一href=\"http://stackoverflow.com/questions/5685346/how-do-i-deploy-an-application-to-iis-while-that-web-application-is-running\">How难道我而Web应用程序正在运行的的应用程序部署到IIS

Possible Duplicate:
How Do I deploy an application to IIS while that web application is running

<一个href=\"http://stackoverflow.com/questions/148084/how-to-deploy-an-asp-net-application-with-zero-downtime\">How部署在零停机ASP.NET应用程序

<一个href=\"http://stackoverflow.com/questions/4697552/publishing-uploading-new-dll-to-iis-website-goes-down-whilst-uploading\">Publishing/uploading新的DLL到IIS:网站宕机,同时上传

<一个href=\"http://stackoverflow.com/questions/4521208/is-smooth-deployment-possible-with-componentized-asp-net-mvc-apps/4526754\">Is顺利部署可能的组件化的ASP.NET MVC应用程序?

我有一台服务器(所以没有负载均衡器)上运行的网站。当我提出使用MSDeploy部署,在我的虚拟目录中的所有文件会被覆盖。这是预期的,当然。问题是,我的用户获得中断了15-30秒左右,而IIS重置。没什么大不了的,但它如果有0中断会更好。我不认为这是可以避免的,但是要检查,看是否对所以任何人都知道我做的事不是

I have a website that runs on a single server (so no load balancers). When I make a deployment using MSDeploy, all the files in my virtual directory get overwritten. This is expected, of course. The problem is that my users get interrupted for 15-30 seconds or so while IIS resets. Not a big deal, but it would be better if there were 0 interruption. I don't think this is avoidable, but wanted to check to see if anybody on SO knew something I didn't

推荐答案

BTW的方法,因为我在这里提到的:<一href=\"http://stackoverflow.com/questions/148084/how-to-deploy-an-asp-net-application-with-zero-downtime\">How与零停机是,即使我们跟随在我的公司,并已制定了适合我们到现在为止的方法部署ASP.NET应用程序。我们有一个应用程序开发了有助于我们在相同的。

btw the approach as I mentioned here: How to deploy an ASP.NET Application with zero downtime is the approach that even we follow at my company and it has worked out well for us till now. We have an app developed that aids us in the same..

及其与TeamCity的整合持续集成工具,它告诉我们部署的进度和记​​录的内容相同。

Its integrated with Teamcity a continuous integration tool that tells us the progress of the deploy and logs the same.

这篇关于ASP.NET部署到单一服务器而无需中断服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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