English 中文(简体)
视觉演播室——更快地出版?
原标题:Visual Studio - A faster way to publish?

我在VS2008中有一个ASP.NET应用程序,它正在不断增大,我正在使用IIS7进行开发和测试,而不是Cassini/IIS开发环境,所以当我做出更改时,我会发布、运行和测试。

发布时间越来越长,因为解决方案中不同项目的构建越来越多。如果我想对一个aspx文件进行简单的更改,我会修改已经发布的版本,而不是重新发布,以避免烦人的发布成本。

有没有更好/更快的方法?有没有讨论VS2008最佳实践/高效发布/运行/测试技术的参考资料?

最佳回答

在我个人方面,我刚刚在Im a geek的1337号港口(Ye, I m a geek)上创建了一个虚拟站点,但我发现,“funny :P”是我项目的根源。 我把一个浏览器开到当地大厅:1337,VS的新闻F6和我的浏览器上的F5——无需出版:

运作得很好:)

问题回答

simply try to separate data, auto generated files and business layers in different projects, so you won t need to build the all solution, just parts of that. Also make a clone locally, make changes and publish online using repository tools, like GIT or SVN.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签