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

查看:26
本文介绍了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

没有意识到它被称为 Cassini.. 更多关于 此处为 Cassini v IIS.

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

推荐答案

ASP.NET Dev WebService 没有什么是 IIS 不能做的(您可以设置断点等,只需将 VS 调试器附加到 ASP.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 Dev WebService 并不代表真正的生产环境,因此您可能会遇到部署到生产时意想不到的问题.

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天全站免登陆