How to find Visual Studio's web server's application pool mode?
When I run my website in visual studio 2010, it works. When I deploy it in IIS, 开发者_JS百科it doesn't work.
Can I find the settings of visual studio's web server? That will be really helpful for learning purpose for me too.
Don't rely on ASP.NET Development Server or even IIS Express (http://learn.iis.net/page.aspx/868/iis-express-overview/).
A long time ASP.NET developer should understand that playing with IIS as early as possible is the correct way.
Show the exact errors that your application reports (on IIS), and then someone can tell you what's up. It is useless to learn more about ASP.NET Development Server as your application is not finally deployed on it.
Use real IIS, lots of stuff is different in integrated mode. If you do httpmodules, you will find anything but real IIS doesn't support stuff like adding headers and such.
The Visual Studio 2010 development web server is an entirely .NET based server. As such it has much more in common with the intergrated pipeline of IIS7 than it does with the Classic. It doesn't support all that the IIS7 integerated pipeline does since it only has to concern itself with delivering .NET and static content and doesn't need the optomisations that IIS7 will employ.
精彩评论