This is a migrated thread and some comments may be shown as answers.

OpenAccess and MiniProfiler

9 Answers 114 Views
Integration with other products
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Peter
Top achievements
Rank 1
Peter asked on 15 Jul 2012, 09:33 PM
I tried to enable OpenAccess for usage with MiniProfiler (http://miniprofiler.com/).

MiniProfiler provides a "ProfiledDbProviderFactory" which wraps the calls to the underlying DbProviderFactory. To enable the DbProviderFactory I added the following lines to web.config (like in this article: http://www.telerik.com/help/openaccess-orm/openaccess-tasks-deployment-resolving-ado-net-driver.html):

<system.data>
    <DbProviderFactories>
      <remove invariant="StackExchange.Profiling.Data.ProfiledDbProvider" />
      <remove invariant="System.Data.SqlClient" />
      <add
        name="StackExchange.Profiling.Data.ProfiledDbProvider"
        invariant="System.Data.SqlClient"
        description="StackExchange.Profiling.Data.ProfiledDbProvider"
        type="StackExchange.Profiling.Data.ProfiledDbProviderFactory, StackExchange.Profiling, Version=1.9.0.0, Culture=neutral, PublicKeyToken=b44f9351044011a3" />
    </DbProviderFactories>
  </system.data>

On debugging I see the correct DbProviderFactory set in myDomainService.DataContext.database.BackendConfiguration.BackendInfo.ProviderFactory

But no calls to the database are profiled by MiniProfiler.

Any tipps on how to integrate MiniProfiler into OpenAccess?

9 Answers, 1 is accepted

Sort by
0
Damyan Bogoev
Telerik team
answered on 18 Jul 2012, 03:02 PM
Hello Peter,

I am afraid that OpenAccess ORM cannot be used with MiniProfiler, it cannot run with wrapped ADO provider.

Actually you could use the OpenAccess Profiler and Tuning Advisor in order to profile the performance of your application. It will provide you with similar information.

Hope that helps.

Regards,
Damyan Bogoev
the Telerik team
OpenAccess ORM Q2'12 Now Available! Get your hands on all the new stuff.
0
Patrice Boissonneault
Top achievements
Rank 1
answered on 02 Nov 2012, 12:14 PM
That is unfortunate, I would like to see this feature too.
0
Damyan Bogoev
Telerik team
answered on 07 Nov 2012, 12:16 PM
Hi Patrice,

Could you please provide us with a feature list, which shows the missing functionality in the OpenAccess ORM logging?

We will consider it as a future improvement in the product.

I am looking forward to hearing from you.

Regards,
Damyan Bogoev
the Telerik team
Telerik OpenAccess ORM Meets ASP.NET Web API. Read more.
0
Bryan
Top achievements
Rank 1
answered on 07 Feb 2013, 07:34 PM
I too would like to see the ability to integrate with MiniProfiler.
0
Damyan Bogoev
Telerik team
answered on 11 Feb 2013, 08:49 AM
Hello Bryan,

Currently an integration with the MiniProfiler is not on our to-do list.

If this is important to you, please feel free to add an entry to our Ideas & Feedback portal.


All the best,
Damyan Bogoev
the Telerik team
Q3'12 SP1 of OpenAccess ORM packs Multi-Table Entities mapping support. Check it out.
0
Joshua
Top achievements
Rank 1
answered on 17 Apr 2013, 10:43 PM
The OA Profiler is great for tuning Query performance in isolation, however; it falls short when devs want to monitor app performance as a whole.  In addition, MiniProfiler allows anyone to keep tabs on app performance, not just developers with the profiler installed.

The missing feature is Context, which can only be provided by something running in app.  Its not that the OA profiler isn't great, it is :), the issue is that it does not provide the same answers, and passive perf monitoring, MiniProfiler does. 

-Josh
0
Alexander
Telerik team
answered on 22 Apr 2013, 02:44 PM
Hello Josh,

You are correct, the target of the OpenAccess Profiler is measuring query performance and suggesting optimizations to the domain model and the way it is used.
Integration with MiniProfiler seems useful, however it is currently with low priority in our backlog. We will need to get more requests for it before the implementation is started, as it would require exposing some internal parts of our API and other not so trivial changes.
Thank you for your feedback.

Greetings,
Alexander
the Telerik team
Using Encrypted Connection Strings with Telerik OpenAccess ORM. Read our latest blog article >>
0
Primoz Krajnik
Top achievements
Rank 1
answered on 23 Apr 2013, 01:29 PM
+1

Dear Telerik friends, here's my vote to climb MiniProfiler up the backlog.


Thanks,
primož
0
Joshua
Top achievements
Rank 1
answered on 23 Apr 2013, 04:48 PM
Hi All,
I added the request to the feedback portal.  Make sure to place your votes here: http://feedback.telerik.com/Project/114/Feedback/Details/46909-enable-integration-with-miniprofiler

-Josh
Tags
Integration with other products
Asked by
Peter
Top achievements
Rank 1
Answers by
Damyan Bogoev
Telerik team
Patrice Boissonneault
Top achievements
Rank 1
Bryan
Top achievements
Rank 1
Joshua
Top achievements
Rank 1
Alexander
Telerik team
Primoz Krajnik
Top achievements
Rank 1
Share this question
or