# .NET

**URL:** https://community.miniprofiler.com/c/net/3.md?page=1

[Latest](https://community.miniprofiler.com/latest.md) · [Categories](https://community.miniprofiler.com/categories.md)

**Page:** 2

---

## [Unable to get sql query timings with EF in miniprofiler u.i](https://community.miniprofiler.com/t/unable-to-get-sql-query-timings-with-ef-in-miniprofiler-u-i/399)

<div class="topic-metadata">

**Author:** [@haritham11](https://community.miniprofiler.com/u/haritham11)\
**Replies:** 0\
**Last updated:** [September 29, 2015, 4:48am UTC](https://community.miniprofiler.com/t/unable-to-get-sql-query-timings-with-ef-in-miniprofiler-u-i/399 "2015-09-29T04:48:06Z")

</div>

Hi, I am working on optimization of mvc application.As far now am able to get the profiling timings for views and controller.but the problem remains with Entity framework profiling. the miniprofiler is not showing up…

---

## [Using SqlServerStorage with AddProfilerResults results in NullReferenceException](https://community.miniprofiler.com/t/using-sqlserverstorage-with-addprofilerresults-results-in-nullreferenceexception/397)

<div class="topic-metadata">

**Author:** [@cainux](https://community.miniprofiler.com/u/cainux)\
**Replies:** 0\
**Last updated:** [September 15, 2015, 4:03pm UTC](https://community.miniprofiler.com/t/using-sqlserverstorage-with-addprofilerresults-results-in-nullreferenceexception/397 "2015-09-15T16:03:59Z")

</div>

We're taking advantage of AddProfilerResults as we use MiniProfiler on an API running on a separate service. This is great and gives us fantastic visibility on the internals of our UI and the underlying API calls. In d…

---

## [Disable controls](https://community.miniprofiler.com/t/disable-controls/395)

<div class="topic-metadata">

**Author:** [@Mario](https://community.miniprofiler.com/u/Mario)\
**Replies:** 0\
**Last updated:** [July 27, 2015, 10:20am UTC](https://community.miniprofiler.com/t/disable-controls/395 "2015-07-27T10:20:19Z")

</div>

Hello, i ve a confusing Problem with the "showControls" Parameter on, "@MiniProfiler.RenderIncludes(\*\*\*)" I cant disable the two controll Buttons, i dont even see the letters to click just when i hover. Any help/idea…

---

## [Accessing viewPath property for WrappedView when using MVC WebFormView](https://community.miniprofiler.com/t/accessing-viewpath-property-for-wrappedview-when-using-mvc-webformview/387)

<div class="topic-metadata">

**Author:** [@ferpaz](https://community.miniprofiler.com/u/ferpaz)\
**Replies:** 0\
**Last updated:** [April 27, 2015, 11:50pm UTC](https://community.miniprofiler.com/t/accessing-viewpath-property-for-wrappedview-when-using-mvc-webformview/387 "2015-04-27T23:50:54Z")

</div>

I checked the source code for WrappedView and the method only supports Razor View Engine. /// \<summary\> /// Gets the wrapped view path. /// \</summary\> public string ViewPath { get { var view = \_w…

---

## [Could you please introduce how the MiniProfiler is implemented?](https://community.miniprofiler.com/t/could-you-please-introduce-how-the-miniprofiler-is-implemented/385)

<div class="topic-metadata">

**Author:** [@niuniu231982](https://community.miniprofiler.com/u/niuniu231982)\
**Replies:** 0\
**Last updated:** [April 13, 2015, 9:28am UTC](https://community.miniprofiler.com/t/could-you-please-introduce-how-the-miniprofiler-is-implemented/385 "2015-04-13T09:28:55Z")

</div>

Thanks for providing such great tool for ASP.NET web site troubleshooting. Could you please give some introductions on the following points? 1. what's the architecture of the this tool? 2. how is the tool working on asp…

---

## [How to get set up with miniprofiler and AngularJs with webapi?](https://community.miniprofiler.com/t/how-to-get-set-up-with-miniprofiler-and-angularjs-with-webapi/382)

<div class="topic-metadata">

**Author:** [@rjk](https://community.miniprofiler.com/u/rjk)\
**Replies:** 0\
**Last updated:** [April 5, 2015, 12:24pm UTC](https://community.miniprofiler.com/t/how-to-get-set-up-with-miniprofiler-and-angularjs-with-webapi/382 "2015-04-05T12:24:53Z")

</div>

Hi, I've loved using miniprofiler with mvc apps. We're now using AngularJS and WebApi and I'm looking for some guidance on how to use miniprofiler with this stack. Can anyone point me to a good overview or suggest the ma…

---

## [Miniprofiler and Concurrent Access](https://community.miniprofiler.com/t/miniprofiler-and-concurrent-access/377)

<div class="topic-metadata">

**Author:** [@joshstenfield](https://community.miniprofiler.com/u/joshstenfield)\
**Replies:** 0\
**Last updated:** [March 26, 2015, 7:32pm UTC](https://community.miniprofiler.com/t/miniprofiler-and-concurrent-access/377 "2015-03-26T19:32:45Z")

</div>

I would like to know the intended behavior of MiniProfiler under concurrent access. There are two parts to this question. First I've noted that on two separate sessions \[and even two separate computers\], refreshing the…

---

## [I need to decrease the timer stats of a sub profiler](https://community.miniprofiler.com/t/i-need-to-decrease-the-timer-stats-of-a-sub-profiler/372)

<div class="topic-metadata">

**Author:** [@digitalpacman](https://community.miniprofiler.com/u/digitalpacman)\
**Replies:** 0\
**Last updated:** [March 26, 2015, 1:39am UTC](https://community.miniprofiler.com/t/i-need-to-decrease-the-timer-stats-of-a-sub-profiler/372 "2015-03-26T01:39:59Z")

</div>

I am trying to emulate the kind of behavior that the Wcf implementation profiles across the network for WebApi. WcfMiniProfilerClientInspector.cs uses MiniProfiler.Current.DurationMilliseconds to log when a Wcf call be…

---

## [Miniprofiler.Current method does not return the time](https://community.miniprofiler.com/t/miniprofiler-current-method-does-not-return-the-time/359)

<div class="topic-metadata">

**Author:** [@Ankita](https://community.miniprofiler.com/u/Ankita)\
**Replies:** 6\
**Last updated:** [March 26, 2015, 1:37am UTC](https://community.miniprofiler.com/t/miniprofiler-current-method-does-not-return-the-time/359 "2015-03-26T01:37:06Z")

</div>

1 down vote favorite I'm trying to get time with this code using MiniProfiler. var profiler = StackExchange.Profiling.MiniProfiler.Current; But it returns 0 ms in result. How to get current time in miniprofiler. …

---

## [Is there any possibility to enable/disable the Miniprofiler button in UI without stopping the Miniprofiler](https://community.miniprofiler.com/t/is-there-any-possibility-to-enable-disable-the-miniprofiler-button-in-ui-without-stopping-the-miniprofiler/369)

<div class="topic-metadata">

**Author:** [@mragunath](https://community.miniprofiler.com/u/mragunath)\
**Replies:** 1\
**Last updated:** [March 20, 2015, 12:07am UTC](https://community.miniprofiler.com/t/is-there-any-possibility-to-enable-disable-the-miniprofiler-button-in-ui-without-stopping-the-miniprofiler/369 "2015-03-20T00:07:17Z")

</div>

I have used showControls:true, startHidden:true, but it doubles up the \[m | c\] button on each pofiler result. Therefore I introduced a (show/hide)button in the View page and on-click event I tried to set the 'profile-r…

---

## [Does not get Miniprofiler.Mvc dll after installation of MiniProfiler.MVC3 package](https://community.miniprofiler.com/t/does-not-get-miniprofiler-mvc-dll-after-installation-of-miniprofiler-mvc3-package/360)

<div class="topic-metadata">

**Author:** [@Ankita](https://community.miniprofiler.com/u/Ankita)\
**Replies:** 0\
**Last updated:** [January 20, 2015, 5:59am UTC](https://community.miniprofiler.com/t/does-not-get-miniprofiler-mvc-dll-after-installation-of-miniprofiler-mvc3-package/360 "2015-01-20T05:59:19Z")

</div>

I have installed Miniprofiler.mvc3 nuget package, but I do not get any dll in that package. Why so? MiniProfiler.MVC3.2.0.1 folder contains only two folders within it named Content and tools. How can I get Miniprofil…

---

## [Mini profiler with webmatrix .dll and razor2 how to?](https://community.miniprofiler.com/t/mini-profiler-with-webmatrix-dll-and-razor2-how-to/352)

<div class="topic-metadata">

**Author:** [@demo1demo](https://community.miniprofiler.com/u/demo1demo)\
**Replies:** 0\
**Last updated:** [December 16, 2014, 12:37pm UTC](https://community.miniprofiler.com/t/mini-profiler-with-webmatrix-dll-and-razor2-how-to/352 "2014-12-16T12:37:40Z")

</div>

Hi, I would like to implement in my project build on razor2 (.net4.0) C# and using webmatrix.data and webmatrix.webdata.dll how to do that, how to profile all sql 2008 querys over that lybrary and using miniprofiler? D…

---

## [ExcludeMethod in MVC](https://community.miniprofiler.com/t/excludemethod-in-mvc/344)

<div class="topic-metadata">

**Author:** [@jfoegen](https://community.miniprofiler.com/u/jfoegen)\
**Replies:** 2\
**Last updated:** [December 10, 2014, 4:34pm UTC](https://community.miniprofiler.com/t/excludemethod-in-mvc/344 "2014-12-10T16:34:19Z")

</div>

Is there something special I need to do to exclude a method from the profiler? I tried: MiniProfiler.Settings.ExcludeMethod("area/controllerName/action"); This was added to the application\_BeginRequest I tried jus…

---

## [Run Hidden without Turning Off](https://community.miniprofiler.com/t/run-hidden-without-turning-off/346)

<div class="topic-metadata">

**Author:** [@tlatourelle](https://community.miniprofiler.com/u/tlatourelle)\
**Replies:** 1\
**Last updated:** [December 4, 2014, 6:58am UTC](https://community.miniprofiler.com/t/run-hidden-without-turning-off/346 "2014-12-04T06:58:42Z")

</div>

I would like to be able to run MP, but keep it hidden, in order to log a bunch of profiling information from various users, so that we can get a representative sample of usage without being in the users' faces. I know …

---

## [Occasional exception with JSON JavaScriptSerializer "The length of the string exceeds \[maxJsonLength\]"](https://community.miniprofiler.com/t/occasional-exception-with-json-javascriptserializer-the-length-of-the-string-exceeds-maxjsonlength/321)

<div class="topic-metadata">

**Author:** [@davedaku](https://community.miniprofiler.com/u/davedaku)\
**Replies:** 2\
**Last updated:** [November 15, 2014, 7:19pm UTC](https://community.miniprofiler.com/t/occasional-exception-with-json-javascriptserializer-the-length-of-the-string-exceeds-maxjsonlength/321 "2014-11-15T19:19:44Z")

</div>

Just started using MiniProfiler in a .NET 4.0 MVC3 app with EF5, and generally love it. It works well, and is valuable. However, occasionally (seems like it's most often right after starting a fresh build) the request …

---

## [EF6 DbContext.ExecuteSqlCommand not profiling](https://community.miniprofiler.com/t/ef6-dbcontext-executesqlcommand-not-profiling/319)

<div class="topic-metadata">

**Author:** [@davidleefox](https://community.miniprofiler.com/u/davidleefox)\
**Replies:** 1\
**Last updated:** [September 23, 2014, 7:06pm UTC](https://community.miniprofiler.com/t/ef6-dbcontext-executesqlcommand-not-profiling/319 "2014-09-23T19:06:21Z")

</div>

Using MiniProfiler, MiniProfiler.EF6 and MiniProfiler.MVC4 packages. Explicitly wrapping steps and custom timings is working as expected, but raw SQL execution isn't being picked up e.g. var context = new MyContext(use…

---

## [Collect Minifprofiler results when available](https://community.miniprofiler.com/t/collect-minifprofiler-results-when-available/314)

<div class="topic-metadata">

**Author:** [@mcliment](https://community.miniprofiler.com/u/mcliment)\
**Replies:** 0\
**Last updated:** [August 28, 2014, 10:31am UTC](https://community.miniprofiler.com/t/collect-minifprofiler-results-when-available/314 "2014-08-28T10:31:31Z")

</div>

Hi, I'm the author of the Glimpse Miniprofiler plugin but latest changes in how things work, I'm no longer able to log Miniprofiler data properly because Glimpse collects it before the request is finished. The idea I hav…

---

## [Is there a reference guide to the MiniProfiler results?](https://community.miniprofiler.com/t/is-there-a-reference-guide-to-the-miniprofiler-results/304)

<div class="topic-metadata">

**Author:** [@ChristopherPope](https://community.miniprofiler.com/u/ChristopherPope)\
**Replies:** 1\
**Last updated:** [August 5, 2014, 1:39pm UTC](https://community.miniprofiler.com/t/is-there-a-reference-guide-to-the-miniprofiler-results/304 "2014-08-05T13:39:51Z")

</div>

I've run the MvcSample project and do the numbers don't make sense. I copied the results at the bottom of this post for your reference. I wasn't able to upload a screenshot because I am a new user. For example: 1 - L…

---

## [How can I use MiniProfiler with a WinForm Projects?](https://community.miniprofiler.com/t/how-can-i-use-miniprofiler-with-a-winform-projects/307)

<div class="topic-metadata">

**Author:** [@msanaei](https://community.miniprofiler.com/u/msanaei)\
**Replies:** 1\
**Last updated:** [August 5, 2014, 1:29pm UTC](https://community.miniprofiler.com/t/how-can-i-use-miniprofiler-with-a-winform-projects/307 "2014-08-05T13:29:06Z")

</div>

Is there any way to use MiniPrifiler with non-web solutions? For example WinForms?

---

## [Miniprofiler.wcf and one-way service methods](https://community.miniprofiler.com/t/miniprofiler-wcf-and-one-way-service-methods/296)

<div class="topic-metadata">

**Author:** [@tommulgrew](https://community.miniprofiler.com/u/tommulgrew)\
**Replies:** 0\
**Last updated:** [July 1, 2014, 6:32am UTC](https://community.miniprofiler.com/t/miniprofiler-wcf-and-one-way-service-methods/296 "2014-07-01T06:32:23Z")

</div>

Hi. I've noticed that one way service methods, i.e. tagged with: \[OperationContract(IsOneWay = true)\] cause a NullReferenceException in StackExchange.Profiling.Wcf.WcfMiniProfilerDispatchInspector.BeforeSendReply. (Odd t…

---

## [Profiling a Load Balanced Web Server Environment](https://community.miniprofiler.com/t/profiling-a-load-balanced-web-server-environment/287)

<div class="topic-metadata">

**Author:** [@stephenpatten](https://community.miniprofiler.com/u/stephenpatten)\
**Replies:** 0\
**Last updated:** [May 30, 2014, 5:46am UTC](https://community.miniprofiler.com/t/profiling-a-load-balanced-web-server-environment/287 "2014-05-30T05:46:39Z")

</div>

Hello, Running mini profiler on a single web server is a no brainer, it just works, however when I run behind BIG-IP with an IP based pool I get 404s when requesting this resource "results/mini-profiler-resources". T…

---

## [.net v3.0.11 nugets released](https://community.miniprofiler.com/t/net-v3-0-11-nugets-released/286)

<div class="topic-metadata">

**Author:** [@Yaakov\_Ellis](https://community.miniprofiler.com/u/Yaakov_Ellis)\
**Replies:** 0\
**Last updated:** [May 27, 2014, 9:14am UTC](https://community.miniprofiler.com/t/net-v3-0-11-nugets-released/286 "2014-05-27T09:14:26Z")

</div>

Released new nugets for the main package, mvc4, ef5, ef6, raven and wcf. Release notes are here: RequireJs support now integrated (UI#11, #47, UI#12) Parameter names should mass base declaration in ActionFilterAttrib…

---

## [SignalR and Mini Profiler](https://community.miniprofiler.com/t/signalr-and-mini-profiler/282)

<div class="topic-metadata">

**Author:** [@gilesroberts](https://community.miniprofiler.com/u/gilesroberts)\
**Replies:** 0\
**Last updated:** [May 20, 2014, 9:28am UTC](https://community.miniprofiler.com/t/signalr-and-mini-profiler/282 "2014-05-20T09:28:30Z")

</div>

I have an ASP.NET MVC 4 website that uses Mini Profiler. Just recently I've started using SignalR for the more interactive pages. I've got an issue with the SignalR pages when they're open a long time. Mini Profiler fr…

---

## [Unable to define EFProfiledDbProviderServices class of type 'MySqlProviderServices'](https://community.miniprofiler.com/t/unable-to-define-efprofileddbproviderservices-class-of-type-mysqlproviderservices/270)

<div class="topic-metadata">

**Author:** [@phil](https://community.miniprofiler.com/u/phil)\
**Replies:** 1\
**Last updated:** [May 16, 2014, 2:53am UTC](https://community.miniprofiler.com/t/unable-to-define-efprofileddbproviderservices-class-of-type-mysqlproviderservices/270 "2014-05-16T02:53:18Z")

</div>

I am using EF6 with MySQL (MySql.Data 6.8.3). In an MVC 5.1 website. Visual Studio 2013. Packages: MiniProfiler 3.0.10-beta7 and MiniProfiler.EF6 3.0.10-beta4 When initializing Miniprofiler with MiniProfilerEF6.Initial…

---

## [EF6 Error: Method not found](https://community.miniprofiler.com/t/ef6-error-method-not-found/276)

<div class="topic-metadata">

**Author:** [@GFoley83](https://community.miniprofiler.com/u/GFoley83)\
**Replies:** 6\
**Last updated:** [May 11, 2014, 9:21pm UTC](https://community.miniprofiler.com/t/ef6-error-method-not-found/276 "2014-05-11T21:21:45Z")

</div>

I'm getting the following error when I try to pull an item out of the Db using my repository with EF6: Method not found: 'System.Data.Common.DbDataReader StackExchange.Profiling.Data.ProfiledDbDataReader.get\_WrappedRe…

---

## [Miniprofiler Results Box not consistently appearing](https://community.miniprofiler.com/t/miniprofiler-results-box-not-consistently-appearing/279)

<div class="topic-metadata">

**Author:** [@matt\_ludlum](https://community.miniprofiler.com/u/matt_ludlum)\
**Replies:** 1\
**Last updated:** [May 11, 2014, 7:37am UTC](https://community.miniprofiler.com/t/miniprofiler-results-box-not-consistently-appearing/279 "2014-05-11T07:37:09Z")

</div>

With MVC 3.0.10, I'm not consistently seeing the profiler box appear. . I've set up and upgraded from 2.1.0 and did not see any big changes to the UI controls. I can see the post results going out of the browser and s…

---

## [How to access built in UI for Mini Profiler and without Cassette throwing InvalidDataException regarding GZip header?](https://community.miniprofiler.com/t/how-to-access-built-in-ui-for-mini-profiler-and-without-cassette-throwing-invaliddataexception-regarding-gzip-header/272)

<div class="topic-metadata">

**Author:** [@rob](https://community.miniprofiler.com/u/rob)\
**Replies:** 0\
**Last updated:** [April 25, 2014, 3:21pm UTC](https://community.miniprofiler.com/t/how-to-access-built-in-ui-for-mini-profiler-and-without-cassette-throwing-invaliddataexception-regarding-gzip-header/272 "2014-04-25T15:21:44Z")

</div>

I am trying to access the built-in UI for Mini Profiler, but it either does nothing or Cassette gets in the way throwing an exception. With Cassette url rewriting enabled, I encounter this error when browsing to "~/min…

---

## [The provider did not return a DbSpatialServices instance](https://community.miniprofiler.com/t/the-provider-did-not-return-a-dbspatialservices-instance/132)

<div class="topic-metadata">

**Author:** [@phaedrus](https://community.miniprofiler.com/u/phaedrus)\
**Replies:** 10\
**Last updated:** [April 27, 2014, 7:14am UTC](https://community.miniprofiler.com/t/the-provider-did-not-return-a-dbspatialservices-instance/132 "2014-04-27T07:14:00Z")

</div>

---

## [jQuery Conficts](https://community.miniprofiler.com/t/jquery-conficts/266)

<div class="topic-metadata">

**Author:** [@jfoegen](https://community.miniprofiler.com/u/jfoegen)\
**Replies:** 1\
**Last updated:** [April 22, 2014, 7:42pm UTC](https://community.miniprofiler.com/t/jquery-conficts/266 "2014-04-22T19:42:54Z")

</div>

I have been using the mini-profiler for over a year in my MVC 4 project. But I have a problem with jquery because I am using 2.x in my project and the profiler is 1.x. I have tried both the stable and the prerelease ve…

---

## [Timing class is not threadsafe](https://community.miniprofiler.com/t/timing-class-is-not-threadsafe/30)

<div class="topic-metadata">

**Author:** [@Steen](https://community.miniprofiler.com/u/Steen)\
**Replies:** 4\
**Last updated:** [April 22, 2014, 8:12am UTC](https://community.miniprofiler.com/t/timing-class-is-not-threadsafe/30 "2014-04-22T08:12:21Z")

</div>

[Previous page](https://community.miniprofiler.com/c/net/3.md)

[Next page](https://community.miniprofiler.com/c/net/3.md?page=2)
