views:

855

answers:

4

Does ASP.NET MVC require IIS? Could I develop an application that uses the new ASP.NET MVC framework on a client machine that does not have IIS installed?

A: 

You need IIS to get ASP.NET to work (MVC or WebForms). From what I know, it is ideal to have IIS 7 for MVC, but it is possible with IIS 6.

Developing a MVC application without IIS is possible, with the built-in web server integrated with VS 2008 (as been already mentioned), but for deployment, that is when you need IIS.

Dan Appleyard
Incorrect. Regular ASP.NET works on the Windows version of Apache. ASP.NET MVC ought to, but I'm not sure about the routing module. Perhaps borrowing some code from the Mono Apache support would be necessary if you wanted to stay on Windows, but avoid IIS for some reason.
Joel Mueller
+5  A: 

A browser is all that is required on the client machine.

IIS is not required on the developer machine according to the download page.

Visual Web Developer 2008 Express, or the regular editions of Visual Studio will include the Cassini web server for development.

Gary.Ray
+4  A: 

From what i've read on the Mono site Site Link you can also run an asp.net MVC site under Mono using the Apache webserver as well.

Solmead
+2  A: 

I think what you're asking is if you were to develop an ASP.NET MVC application would you need IIS on your local dev machine to run it?

The answer is, no you don't.

In short ASP.NET MVC can technically be run by any web server that can allow the website itself to handle the requests instead of the web server handling them.

Chad Moran