Custom Http Handler in MVC 3 Application
问题 I'm using an Http Handler to localize javascript files used in my application: see: Localize text in JavaScript files in ASP.NET I want to use the handler provided so I did the following: 1) Ignored routes using this code in Global.asax - I have added the routes.IgnoreRoute("{resource}.js.axd/{*pathInfo}"); line of code to the RegisterRoutes method so it looks like this: public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes