I started using url routing for my web application. It's a dynamic website and it has more than 50k pages. It looks like now it works slower. Can you suggest how to optimize it, to improve it and make it more efficient?
A:
I'd start by enabling tracing on your website:
http://msdn.microsoft.com/en-us/library/y13fw6we%28VS.71%29.aspx
This should at least help you identify where the bottlenecks are really occurring (and provide you with some real timings rather than just ""). You can then use that info to start digging into your code to locate the exact bottleneck.
ca8msm
2010-07-06 14:48:48
Thats good idea, but I have a different concern. My application was working fast enough before I implemented url routing. The tracing will not help with this
Gene
2010-07-06 22:13:19
How do you know that tracing won't help if you haven't tried it? If you add tracing, you can add your own trace statements in prior to, during and after, the routing starts and finishes and view the timings in between. That will at least give you concrete timings that you can work with when you create your test plans to test different methods.
ca8msm
2010-07-07 07:49:11