I notice routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); is always setup whenever we create MVC applications.
If it is a mandatory thing, why don’t we setup it once through IIS settings rather than doing it again and again ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Nobody said it was ‘mandatory’. It makes excellent sense to be there by default, though. And if you don’t want it, you can remove it.