self hosting asp.net mvc
Solution 1:
You can use "IIS 7.0 Hostable Web Core" and host the web server as part of any user process, even a console application. The benefit is that it is very similar to full blown IIS (incl config etc) but the web server itself is running in your process.
Have a look at the following articles:
- Host your own Web Server in your application using IIS 7.0 Hostable Web Core
- Creating Hosted Web Core Applications
Solution 2:
Please have a look at http://cassinidev.codeplex.com/ It has many advantages for example
- No need IIS 7 on client machine
- Support MVC (I have tested myself)
- Work well with Windows Form and Web Browser Control for packaging as Windows App
- Cross Win OS platform ( Windows XP, Vista, 7) I have test XP with .NET 4 installed
Hope this helps.