I got a MVC3 application using Entity Framework 4 and SQL Server.
How can I view all queries that has been invoked (and the amount of time that they took)?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the sql profiler, it will give you all this information and more. Won’t require any code changes either.
Heres a link to a free one if you don’t have the full toolset.
http://sites.google.com/site/sqlprofiler