I have an existing ASP.NET 2.0 web service serves several WinForms clients. In our application, We belive we have performance problem in 开发者_如何学Cseveral levels.
- Sending toomuch data in syncrounous request
- Lazy loading, Too many round trip between web service and database
- POCO <-> Sql object mapping using untyped datasets and reflection[no caching]
This is an existing application with large code base, I would like to instrument this app to find out hotspots.
- How can I instrument remote apps like winforms client deployed in remote places?
- How can I instrument Web Service?
- Edit** Are there any profilers better than VS profiler?
- Can I trust the profilers to tell me the hot spots, so I don't pollute my code with instrumentation? Or Do I have to take the middle road, profiler + instrumentation?
This may help:
ASP.NET and WorkerThreads – Interesting performance tweaks
20 Tips to Improve ASP.net Application Performance
Use Custom Http Handlers To Improve Performance in ASP.NET
Best practices for ASP.Net applications
Scaling Strategies for ASP.NET Applications
I'd recommend checking out dotTrace. I confess I haven't used this, but I've used their other flagship product (Resharper) which is outstanding.
This is a great tool for profiling and troubleshooting a live web app: http://newrelic.com/
精彩评论