English 中文(简体)
如何在不影响到用户的情况下与现场网站不断融合?
原标题:How to do Continuous Integration with a live website without affecting users?

我利用TFS版本的管制和TFS 2010年建设实施了连续一体化。 汇编的网站项目在一份共用文件夹中投放。

现在我有一个非常基本的问题,可能是一个 st的问题。 当我们通常从VS 2010向网络服务器部署一个网站项目时,它把App_Offline.htm文件上载到网站的复印机上,因此没有向用户提出申请。 在完成出版后,Papp_Offline.htm文档被删除。 在此期间,用户看到出勤。

如果我们在生活网站上使用 CI,那么我们如何能够消除看来是用户的这种外流。 我认为, CI的全点是,用户能够看到更新的特征,网站永远不会缩小。

如何做到这一点? 如果我们部署网站项目,使文件夹扎根,那么现有用户就会受到影响,这当然是不可取的。

I wanted to know what is the recommended practice with VS2010, TFS2010 Build & Version Control.

最佳回答
问题回答

关于在尽可能短的时间里将该网站投入使用,我所看到的唯一成功方式是使用多个地点——要么是负荷平衡,要么是同一机器上的2个点,在释放/停战后将接收头盔放在一起。 但是,在大多数情况下,释放线上只剩下几个秒钟,时间相对较少。 你们可以做些事情,帮助用户通过现场释放生活。

Move session out of proc. If the users session lives in the app pool it will be lost when a new version is released, change the config to move it into a session server or the database.

Specify a machine key for the website Viewstate (and cookies?) are encrypted using a key that is generated when a site starts, if a site restarts due to a release any users filling out a form will receive a invalid viewstate exception on postback. (Note: this may have other security implications)





相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Enable PHP highlights in VS 2010?

I ve heard that Visual Studio 2010 Beta 2 has support for PHP. When I load a PHP file though, it has nothing highlighted and is nothing more than a glorified text editor. Is there a way to enable it?...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

Unit Testing .NET 3.5 projects using MStest in VS2010

There s a bug/feature in Visual Studio 2010 where you can t create a unit test project with the 2.0 CLR. https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=483891&wa=...

热门标签