Sunday 11 October 2015

MVC : How to catch All Invalid routes/url

How to catch All url (if i want to disallow all urls other than my home page ) To catch all url other than specified Add this line in end of RegisterRoutes() Method .

No comments:

Post a Comment