I have an ASP.Net app that I deploy to a IIS 7.0 server in classic mode.
I use the publish feature from the Visual Studio IDE. Every time I perform a publish, the wild card mapping is removed. Anyone know how to prevent this?
Thanks!
I have an ASP.Net app that I deploy to a IIS 7.0 server in classic mode.
I use the publish feature from the Visual Studio IDE. Every time I perform a publish, the wild card mapping is removed. Anyone know how to prevent this?
Thanks!
The wildcard mapping is stored in the application's web.config. You could create the mapping and then copy the section from the system.webServer->handlers section into your dev web.config.
Or you could use a Web.Deploy project to setup the web.config exactly as it needs to be for deployments.