We have a Silverlight 4 Component that gets loaded with content from a folder called "ClientBin" by referring to absolute Physical paths on the Server like the following:

C:\SomethingWebApplication\ClientBin\Uploads\carimage.jpg

We want The Routing Engine to ignore paths like the one mentioned above.

I tried the following:

   routes.IgnoreRoute(......fill in the blank.......);

Please answer to the fill in the blank above that would ensure ASP.NET MVC ignores hard coded physical images in the folder called "ClientBin"

1

There are 1 answers

10
Mike Beeler On

routes.IgnoreRoute("Ignore/"); where Ignore is the name of your folder.