What is the difference between IIS server and development server provided by Visual studio?

£可爱£侵袭症+ 提交于 2019-12-12 14:14:01

问题


Can anyone please tell me the difference between IIS Server and Development server provided by Visual Studio.


回答1:


Here is a few links to read up on :-)

Core Differences Between IIS and the ASP.NET Development Server

ASP.NET Development Server or Localhost IIS?

What are the (dis)advantages of using Cassini instead of IIS?

I don't know why your looking into this but you might want to take a look at IIS Express - Introducing IIS Express




回答2:


There are MANY differences, some of them:

  1. Local access in Cassini
  2. Cassini does not support S
  3. Cassini runs as your account (whoever is logged on), IIS runs as a service which means some things change quite a bit
  4. Does not support authentication methods like Basic, Digest, etc.
  5. Does not run any of the IIS Modules, which means you will not be able to do things like URL Rewrite, Default Documents, Directory Browsing, Custom Errors for static pages, etc
  6. Does not support things like Virtual Directories, etc.

What I would recommend for anyone wanting something as simple as Cassini, yet more compatible is to use IIS Express which supports almost all features from IIS yet with a much simplified model suited for development http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx. Visual Studio will include support for it.



来源:https://stackoverflow.com/questions/4095876/what-is-the-difference-between-iis-server-and-development-server-provided-by-vis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!