问题
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:
- Local access in Cassini
- Cassini does not support S
- Cassini runs as your account (whoever is logged on), IIS runs as a service which means some things change quite a bit
- Does not support authentication methods like Basic, Digest, etc.
- 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
- 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