Reputation: 53396
My route is configured to require a certain extension.
Because of this I get an HttpException
when I try to debug from visual studio: The incoming request does not match any route.
I then have to manualy append the {controller}.{extension}
section to the localhost URL in the address bar.
I've tried playing around with the project settings but haven't managed to get it working.
So, to clarify, I would like my project to go directly to
http://localhost:1440/mycontroller.ext
when I run it under visual studio on local machine.
Upvotes: 5
Views: 2138
Reputation: 1863
Are you talking about setting the default URL for when you hit F5 in Visual Studio? If so this should do the trick:
mycontroller.ext
in the textboxHit F5.
Upvotes: 9