asp.net mvc - What is routes.IgnoreRoute("{resource}.axd/{*pathInfo}") -


what routes.ignoreroute("{resource}.axd/{*pathinfo}")

i cannot find .axd file in project, can remove route rule?

.axd files don't exist physically. asp.net uses urls .axd extensions (scriptresource.axd , webresource.axd) internally, , handled httphandler.

therefore, should keep rule, prevent asp.net mvc trying handle request instead of letting dedicated httphandler it.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -