简体   繁体   English

ASP.NET Web应用程序部署方法最佳实践

[英]ASP.NET Web Application Deployment Methods Best Practice

Got a quick question about deployment methods, 有关于部署方法的快速问题,

I am use to programming a site in Visual Studios using C# for ASP.net and then saving and building it, then copying over the entire contents of the folder for the Visual Studio project to the coordinating IIS folder that is hosting the site each time I make a change to the site and need to update it, but there has got to be a better more efficient way do this to deploy the web site or application from Visual Studios to update your site. 我使用C#为ASP.net编程一个站点,然后保存并构建它,然后将Visual Studio项目文件夹的整个内容复制到每次托管站点的协调IIS文件夹对网站进行更改并需要更新它,但必须有一个更好的方法来从Visual Studios部署网站或应用程序来更新您的网站。

Does anyone have any advice on deployment techniques or any builtin tools in Visual Studios has for deployment of a programmed site. 有没有人对部署技术或Visual Studio中用于部署编程站点的任何内置工具有任何建议。 Any advice is helpful. 任何建议都有帮助。

You can use MSBuild Community FTP Task . 您可以使用MSBuild社区FTP任务 Another you can use XCOPY . 另一个你可以使用XCOPY

you can look in to the Publish feature of Visual Studio. 您可以查看Visual Studio的“ 发布”功能。 This will work if it's just a small site and just you working on it. 如果它只是一个小网站,只是你正在努力,这将有用。 If things get bigger and more complex, you may want to look it something else like CruiseControl . 如果事情变得越来越大,越来越复杂,你可能想要看看像CruiseControl这样的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM