Reputation: 23
We have a legacy ASP.NET web application that executes many stored procedures via ADO.NET. Can anyone recommend a profiling tool or a straightforward method to log these database calls client-side when they occur?
I appreciate any tips.
Upvotes: 2
Views: 1821
Reputation: 74187
Log4Net won't work if the app isn't already instrumented with it.
SQL Profiler is server-side and impacts sql server performance.
You should look at ADO.Net Trace Logging: http://msdn.microsoft.com/en-us/library/aa964124(SQL.90).aspx
I believe it will do what you need to do.
Upvotes: 1
Reputation: 18549
Logging - Log4Net
SQL Profiling - built-in SQL Server Profiler
Upvotes: 2