It would be easier if you provide all your route setup, not just that one line 
in isolation.


From: [email protected] [mailto:[email protected]] On 
Behalf Of [email protected]
Sent: Tuesday, 25 June 2013 11:23 PM
To: 'ozDotNet'
Subject: RE: Static resources in MVC 4

Found a bug i think...

If i have a ignore

        routes.IgnoreRoute("members/{*pathInfo}")

It will show all files except if there is a directory that is a no?

Eg

http://localhost:3027/members/11366/hello.gif    'The resource cannot be found.

http://localhost:3027/members/hello/hello.gif     'Works

Something i am doing wrong?

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Wallace Turner
Sent: Tuesday, 25 June 2013 10:19 PM
To: ozDotNet
Subject: Re: Static resources in MVC 4

set
the RouteCollection's RouteExistingFiles property to true. (It's false by 
default.)

source: http://forums.asp.net/t/1536510.aspx


Click here<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==> to report 
this email as spam.


This message has been scanned for malware by Websense. www.websense.com

Reply via email to