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/
<http://localhost:3027/members/11366/hello.gif> 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]]
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

Reply via email to