简体   繁体   中英

Why doesn't URL routing work in Visual Studio?

Does anyone else have problems with running URL routing projects in Visual Studio?

The Visual Studio Web server doesn't seem to want to play nice with URL routing. It doesn't invoke the engine at all in fact, which means you can't debug, and have to run the project out of IIS to get it work.

Is there a workaround for this?

Edit: By "URL routing" I mean the Microsoft framework in the "System.Web.Routing" namespace.

Edit: Using Web forms, not MVC.

My guess is that it's not configured correctly for the version of IIS that you are running locally.

Here is a good resource for setting it up. Can you post code?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM