Posted on: 5/7/2015 11:15:47 PM | Views : 571

Hi
I have the code: but i don't  understand why is:
oRoutes.Ignore("{*allcss}", new { allcss = @".*\.css(/.*)?" }); oRoutes.Ignore("{*alljpg}", new { alljpg = @".*\.jpg(/.*)?" }); oRoutes.Ignore("{*allpng}", new { allpng = @".*\.png(/.*)?" }); oRoutes.Ignore("{*allgif}", new { allgif = @".*\.gif(/.*)?" }); oRoutes.Ignore("{*alljs}", new { alljs = @".*\.js(/.*)?" }); oRoutes.Ignore("{*allswf}", new { allswf = @".*\.swf(/.*)?" }); oRoutes.Ignore("{*favicon}", new { favicon = @"(.*/)?favicon.ico(/.*)?" }); //oRoutes.Ignore("{folder}/{*pathInfo}", new { folder = "Content" });
oRoutes.Add(new Route("{resource}.axd/{*pathInfo}", new StopRoutingHandler())); oRoutes.Add(new Route("{service}.asmx/{*pathInfo}", new StopRoutingHandler()));

Go to the complete details ...