1.

Why To Use “{resource}.axd/{*pathinfo}” In Routing In Mvc?

Answer»

Using this default route - {resource}.axd/{*pathInfo}, we can prevent the REQUESTS for the web resources files LIKE - WebResource.axd or ScriptResource.axd from PASSING to a CONTROLLER.

Using this default route - {resource}.axd/{*pathInfo}, we can prevent the requests for the web resources files like - WebResource.axd or ScriptResource.axd from passing to a controller.



Discussion

No Comment Found