Hi,
I want to set Routing Ignore Requests For Js /css files in in Global.aspx in Asp.net.
In my web page there is some wrong script files there , In this page take a too much time to load.I i remove that scripts files page working fine but some functionality i have implemented refer to scripts. can any one help me.
Loading

RajPosted Aug 2, 2013, 7:28 AM
ignore function solve your problem.
I handle img same way. I find one of useful link here http://blogfornet.com/2013/05/image-path-problem-with-routing-in-website.
Raj BandiPosted Jul 25, 2013, 7:48 PM
My question, why do you need routing for this? if you want to ignore some scripts for a particular page, why dont you use master page with placeholders?
Even if you are using routing(say for example ASP.Net with IIS URL Rewrite) How the server knows that this web page and these scripts are to be ignored.
The best way is to place all your optional scripts in a place holder say placeholder1 in master page. Add a empty content tag with placeholder placeholder1 in the web page for which these scripts are to be ignored.
Hope this helps,
Cheers,
Raj