Linq Profiler not showing any content
Posted: Tue 07 Jul 2015 06:54
Hi,
I'm trying to evaluate Linq Insight, esp. the ORM profiler. We're using EF with DevArt dotConnect for Oracle in a WPF client. (.Net 4.5, VS 2013)
As far as I understand, I simply start the profiler and then my project. But then nothing happens in the profiler window, no ORM queries are detected.
So far I could not find any configuration options nor documentation on how to proceed. What may I be missing?
My current guess is that the problem may be related to the fact that we build the connection string dynamically at runtime and it is not in the App.config. If that is the problem, how can I work around that? Saving the connection string in the app.config is not an option as those files are deployed to client machines. And even "for profiling" only we would have to change the code for all places where DBContexts are created.
Thanks,
Christoph
I'm trying to evaluate Linq Insight, esp. the ORM profiler. We're using EF with DevArt dotConnect for Oracle in a WPF client. (.Net 4.5, VS 2013)
As far as I understand, I simply start the profiler and then my project. But then nothing happens in the profiler window, no ORM queries are detected.
So far I could not find any configuration options nor documentation on how to proceed. What may I be missing?
My current guess is that the problem may be related to the fact that we build the connection string dynamically at runtime and it is not in the App.config. If that is the problem, how can I work around that? Saving the connection string in the app.config is not an option as those files are deployed to client machines. And even "for profiling" only we would have to change the code for all places where DBContexts are created.
Thanks,
Christoph