ignoreroute Questions

4

Solved

I am trying to access a .js file in the views directory. I have an MVC application with /Views/Home/MyControl.ascx I have a js file /Views/Home/MyControl.js I wish to reference the .js file and ke...
Margarettamargarette asked 19/11, 2009 at 19:0

2

Solved

The default ASP.NET MVC 3 project template contains the following IgnoreRoute directive: routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); I have now seen multiple projects change this line (i...
Bastille asked 22/8, 2011 at 19:34

1

What's the difference between RouteCollection.Ignore(url, constraints) and RouteCollection.IgnoreRoute(url, constraints)? Background New MVC projects include this IgnoreRoute call in Global.asax Re...
Breeding asked 18/7, 2012 at 14:58

4

Solved

I'd like to block requests to any .php or .cgi regardless of the pathing information. For example, when the following url is used: http://mysite/Admin/Scripts/Setup.php It matches an existin...
Milligan asked 8/10, 2009 at 17:44

4

Solved

I am using the .NET 3.5 SP1 framework and I've implemented URL routing in my application. I was getting javascript errors: Error: ASP.NET Ajax client-side framework failed to load. Resource inte...
Chadbourne asked 7/11, 2008 at 20:1
1

© 2022 - 2024 — McMap. All rights reserved.