« Previous Next »

Thread: Using w/ASP.Net Development Server

Last post 10-07-2008 3:15 PM by KristoferG. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 10-07-2008, 2:51 PM

    • spacedog
    • Not Ranked
    • Joined on 10-07-2008, 6:40 PM
    • Posts 1

    Using w/ASP.Net Development Server

    I wrote my own rewriting module but then discovered that it didn't work with IIS7.  So I then changed to the IIS7 module.  I noticed that when I created rules they get saved to my web.config file in the <rewrite> section. So now I'm creating the rules manually in web.config in Visual Studio (2008)... but Visual Studio does not recognize the <rewrite> section and the ASP.Net Development Server does not seem to have the IIS7 rewrite module built into it... so nothing works.

    Is there a way to fix this?  To be honest this is really frustrating.  I had working code and then IIS7 won't let me use it.  So I move to the new stuff and now my development environment doesn't work with it.  Retarded.

  • 10-07-2008, 3:15 PM In reply to

    Re: Using w/ASP.Net Development Server

    The ASP.NET Development Server isn't IIS, and that is most likely the reason why IIS-specific modules doesn't work. It is just a simple web server, and doesn't have all the features that IIS has.

    So the only way i see that you can "fix" this, is to use IIS as the web server when developing.

    This article should explain how to set this up: 

    "Using Visual Studio 2008 with IIS 7.0"
    http://learn.iis.net/page.aspx/387/using-visual-studio-2008-with-iis-70/

Page 1 of 1 (2 items)
Microsoft Communities