ASP.NET开发服务器或本地主机IIS? [英] ASP.NET Development Server or Localhost IIS?

查看:135
本文介绍了ASP.NET开发服务器或本地主机IIS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我们的开发团队建立了所有他们在IIS中工作的网站,其本地计算机上。我们正在考虑切换到使用内置的ASP.NET开发服务器来代替。

Currently our dev team set up all the websites they're working on in IIS on their local machine. We're thinking of switching to using the built in ASP.NET development server instead.

这是一个好主意?什么是使用ASP.NET开发服务器的优点/缺点?是否有任何陷阱,我们应该知道的?

Is this a good idea? What are the pros / cons of using the ASP.NET dev Server? Are there any gotchas we should be aware of?

感谢。

注:运行在Win XP / IIS 5 / VS2005

NB: Running on Win XP / IIS 5 / VS2005

编辑:

没有意识到这一点被称为卡西尼号。对于<详细信息解答href=\"http://stackoverflow.com/questions/103785/what-are-the-disadvantages-of-using-cassini-instead-of-iis\">Cassini v IIS这里。

Didn't realise it was called Cassini.. More answers for Cassini v IIS here.

推荐答案

有什么,在ASP.NET开发的WebService可以做到这一点IIS不能(可以设置断点等,只是附加VS调试器的A​​SP。 .NET运行库)。

There is nothing that the ASP.NET Dev WebService can do that IIS can't (You can set breakpoints etc, just attach the VS debugger to the ASP.NET runtime).

不过,ASP.NET开发的WebService不会重新present一个真正的生产环境,因此您可以通过陷阱抓到,当你部署到生产环境中,不会想到。

However, the ASP.NET Dev WebService does not represent a true production environment, and as such you can get caught by gotchas that you wouldn't expect when you deploy to production.

正因为如此,我要求所有的开发使用本地计算机上的IIS完成。它并不需要太多的工作在IIS中配置一个网站。

Because of that, I mandate that all development is done using IIS on a local machine. It doesn't take much work to configure a site in IIS.

这篇关于ASP.NET开发服务器或本地主机IIS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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