实例介绍
MiniProfiler for .NET,它支持 ASP.NET、ASP.NET Core、ASP.NET MVC,以及这些词的各种组合
【实例截图】
【核心代码】
文件清单
└── dotnet-ec36a24e8a61f743759e21dc2e67b3c32ddf5581
├── appveyor.yml
├── benchmarks
│ └── MiniProfiler.Benchmarks
│ ├── Benchmarks
│ │ ├── CrazySlowJSONBenchmarks.cs
│ │ ├── CreationBenchmarks.cs
│ │ ├── CustomTimingBenchmarks.cs
│ │ ├── DictionaryBenchmarks.cs
│ │ ├── InlineFormatterBenchmarks.cs
│ │ ├── JSONLibBenchmarks.cs
│ │ ├── MiniProfilerBenchmarks.cs
│ │ ├── SerializationBenchmarks.cs
│ │ └── StackTraceSnippetBenchmarks.cs
│ ├── Configs.cs
│ ├── MiniProfilerBenchmarkOptions.cs
│ ├── MiniProfiler.Benchmarks.csproj
│ ├── Program.cs
│ └── Utils.cs
├── benchmarks.cmd
├── build
│ ├── dotnet-install.ps1
│ └── dotnet-install.sh
├── build.cmd
├── Build.csproj
├── build.ps1
├── Directory.Build.props
├── docs
│ ├── AspDotNetCore.md
│ ├── AspDotNet.md
│ ├── _config.yml
│ ├── ConsoleDotNetCore.md
│ ├── ConsoleDotNet.md
│ ├── css
│ │ └── main.css
│ ├── HowTo
│ │ ├── ProfileCode.md
│ │ ├── ProfileEF6.md
│ │ ├── ProfileEFCore.md
│ │ ├── ProfileSql.md
│ │ └── UpgradeFromV3.md
│ ├── images
│ │ ├── Popup.png
│ │ └── Timings.png
│ ├── _includes
│ │ └── navigation.html
│ ├── index.md
│ ├── _layouts
│ │ └── default.html
│ ├── NuGet.md
│ └── Releases.md
├── global.json
├── LICENSE.txt
├── MiniProfiler.sln
├── miniprofiler.snk
├── nuget.config
├── PackageBuild.csproj
├── Readme.md
├── samples
│ ├── Directory.Build.props
│ ├── Misc
│ │ ├── CustomAggregateTimings.cs
│ │ ├── Misc.csproj
│ │ └── RemoteAppendExample.cs
│ ├── Samples.AspNet
│ │ ├── appsettings.json
│ │ ├── bundleconfig.json
│ │ ├── Controllers
│ │ │ ├── AreaController.cs
│ │ │ ├── HomeController.cs
│ │ │ └── TestController.cs
│ │ ├── Helpers
│ │ │ ├── ExampleActionFilter.cs
│ │ │ └── NonceService.cs
│ │ ├── Models
│ │ │ └── SampleContext.cs
│ │ ├── Pages
│ │ │ ├── RazorPagesSample.cshtml
│ │ │ ├── _ViewImports.cshtml
│ │ │ └── _ViewStart.cshtml
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ ├── launchSettings.json
│ │ │ └── PublishProfiles
│ │ │ └── FileSystemProfile.pubxml
│ │ ├── Readme.md
│ │ ├── Samples.AspNet.csproj
│ │ ├── Startup.cs
│ │ ├── Views
│ │ │ ├── Shared
│ │ │ │ ├── Components
│ │ │ │ │ └── ComponentTest
│ │ │ │ │ ├── ComponentTest.cs
│ │ │ │ │ └── Default.cshtml
│ │ │ │ ├── Error.cshtml
│ │ │ │ ├── Index.cshtml
│ │ │ │ ├── Index.LeftPanel.cshtml
│ │ │ │ ├── Index.ProfilerInfo.cshtml
│ │ │ │ ├── Index.RightPanel.cshtml
│ │ │ │ ├── _Layout.cshtml
│ │ │ │ ├── NestedChild.cshtml
│ │ │ │ ├── Nested.cshtml
│ │ │ │ └── Tree.cshtml
│ │ │ ├── Test
│ │ │ │ └── ForLoop.cshtml
│ │ │ ├── _ViewImports.cshtml
│ │ │ └── _ViewStart.cshtml
│ │ ├── web.config
│ │ └── wwwroot
│ │ ├── css
│ │ │ ├── site.css
│ │ │ └── site.min.css
│ │ ├── favicon.ico
│ │ ├── js
│ │ │ ├── site.js
│ │ │ └── site.min.js
│ │ ├── lib
│ │ │ ├── bootstrap
│ │ │ │ ├── dist
│ │ │ │ │ ├── css
│ │ │ │ │ │ ├── bootstrap.css
│ │ │ │ │ │ ├── bootstrap.css.map
│ │ │ │ │ │ ├── bootstrap.min.css
│ │ │ │ │ │ ├── bootstrap.min.css.map
│ │ │ │ │ │ ├── bootstrap-theme.css
│ │ │ │ │ │ ├── bootstrap-theme.css.map
│ │ │ │ │ │ ├── bootstrap-theme.min.css
│ │ │ │ │ │ └── bootstrap-theme.min.css.map
│ │ │ │ │ ├── fonts
│ │ │ │ │ │ ├── glyphicons-halflings-regular.eot
│ │ │ │ │ │ ├── glyphicons-halflings-regular.svg
│ │ │ │ │ │ ├── glyphicons-halflings-regular.ttf
│ │ │ │ │ │ ├── glyphicons-halflings-regular.woff
│ │ │ │ │ │ └── glyphicons-halflings-regular.woff2
│ │ │ │ │ └── js
│ │ │ │ │ ├── bootstrap.js
│ │ │ │ │ ├── bootstrap.min.js
│ │ │ │ │ └── npm.js
│ │ │ │ └── LICENSE
│ │ │ └── jquery
│ │ │ ├── dist
│ │ │ │ ├── jquery.js
│ │ │ │ ├── jquery.min.js
│ │ │ │ └── jquery.min.map
│ │ │ └── LICENSE.txt
│ │ └── _references.js
│ ├── Samples.Console
│ │ ├── App.config
│ │ ├── Program.cs
│ │ └── Samples.Console.csproj
│ ├── Samples.ConsoleCore
│ │ ├── Program.cs
│ │ └── Samples.ConsoleCore.csproj
│ ├── Samples.Mvc5
│ │ ├── App_Data
│ │ │ ├── SampleEfModelFirst_log.ldf
│ │ │ └── SampleEfModelFirst.mdf
│ │ ├── App_Start
│ │ │ ├── BundleConfig.cs
│ │ │ ├── EntityFramework.SqlServerCompact.cs
│ │ │ ├── FilterConfig.cs
│ │ │ └── RouteConfig.cs
│ │ ├── _bin_deployableAssemblies
│ │ │ ├── amd64
│ │ │ │ ├── Microsoft.VC90.CRT
│ │ │ │ │ ├── Microsoft.VC90.CRT.manifest
│ │ │ │ │ ├── msvcr90.dll
│ │ │ │ │ └── README_ENU.txt
│ │ │ │ ├── sqlceca40.dll
│ │ │ │ ├── sqlcecompact40.dll
│ │ │ │ ├── sqlceer40EN.dll
│ │ │ │ ├── sqlceme40.dll
│ │ │ │ ├── sqlceqp40.dll
│ │ │ │ └── sqlcese40.dll
│ │ │ └── x86
│ │ │ ├── Microsoft.VC90.CRT
│ │ │ │ ├── Microsoft.VC90.CRT.manifest
│ │ │ │ ├── msvcr90.dll
│ │ │ │ └── README_ENU.txt
│ │ │ ├── sqlceca40.dll
│ │ │ ├── sqlcecompact40.dll
│ │ │ ├── sqlceer40EN.dll
│ │ │ ├── sqlceme40.dll
│ │ │ ├── sqlceqp40.dll
│ │ │ └── sqlcese40.dll
│ │ ├── Content
│ │ │ ├── bootstrap.css
│ │ │ ├── bootstrap.min.css
│ │ │ ├── fonts
│ │ │ │ ├── glyphicons-halflings-regular.eot
│ │ │ │ ├── glyphicons-halflings-regular.svg
│ │ │ │ ├── glyphicons-halflings-regular.ttf
│ │ │ │ ├── glyphicons-halflings-regular.woff
│ │ │ │ └── glyphicons-halflings-regular.woff2
│ │ │ └── Site.css
│ │ ├── Controllers
│ │ │ ├── BaseController.cs
│ │ │ └── HomeController.cs
│ │ ├── EFCodeFirst
│ │ │ ├── EFContext.cs
│ │ │ └── Person.cs
│ │ ├── favicon.ico
│ │ ├── Global.asax
│ │ ├── Global.asax.cs
│ │ ├── Helpers
│ │ │ └── SqliteMiniProfilerStorage.cs
│ │ ├── Samples.Mvc5.csproj
│ │ ├── Scripts
│ │ │ ├── bootstrap.js
│ │ │ ├── bootstrap.min.js
│ │ │ └── _references.js
│ │ ├── Views
│ │ │ ├── Home
│ │ │ │ ├── About.cshtml
│ │ │ │ ├── Index.cshtml
│ │ │ │ └── ResultsAuthorization.cshtml
│ │ │ ├── Shared
│ │ │ │ ├── Error.cshtml
│ │ │ │ └── _Layout.cshtml
│ │ │ ├── _ViewStart.cshtml
│ │ │ └── Web.config
│ │ ├── Web.config
│ │ ├── Web.Debug.config
│ │ └── Web.Release.config
│ └── Samples.Mvc5.EFCore
│ ├── Content
│ │ ├── bootstrap.css
│ │ ├── bootstrap.min.css
│ │ ├── fonts
│ │ │ ├── glyphicons-halflings-regular.eot
│ │ │ ├── glyphicons-halflings-regular.svg
│ │ │ ├── glyphicons-halflings-regular.ttf
│ │ │ ├── glyphicons-halflings-regular.woff
│ │ │ └── glyphicons-halflings-regular.woff2
│ │ └── Site.css
│ ├── Controllers
│ │ ├── BaseController.cs
│ │ └── HomeController.cs
│ ├── favicon.ico
│ ├── Global.asax
│ ├── Global.asax.cs
│ ├── Models
│ │ ├── EFContext.cs
│ │ └── Person.cs
│ ├── Properties
│ │ └── launchSettings.json
│ ├── Samples.Mvc5.EFCore.csproj
│ ├── Scripts
│ │ ├── bootstrap.js
│ │ ├── bootstrap.min.js
│ │ └── _references.js
│ ├── Views
│ │ ├── Home
│ │ │ ├── About.cshtml
│ │ │ └── Index.cshtml
│ │ ├── Shared
│ │ │ ├── Error.cshtml
│ │ │ └── _Layout.cshtml
│ │ ├── _ViewStart.cshtml
│ │ └── Web.config
│ ├── Web.config
│ ├── Web.Debug.config
│ └── Web.Release.config
├── src
│ ├── Directory.Build.props
│ ├── MiniProfiler
│ │ ├── Helpers
│ │ │ ├── Compression.cs
│ │ │ └── IpAddressProvider.cs
│ │ ├── MiniProfiler.csproj
│ │ ├── MiniProfilerHandler.cs
│ │ ├── MiniProfilerOptions.cs
│ │ ├── MiniProfilerWebExtensions.cs
│ │ ├── ProfileProviders
│ │ │ └── AspNetRequestProvider.cs
│ │ └── Storage
│ │ └── MemoryCacheStorage.cs
│ ├── MiniProfiler.AspNetCore
│ │ ├── EmbeddedProvider.cs
│ │ ├── Internal
│ │ │ └── MiniProfilerBuilder.cs
│ │ ├── MiniProfiler.AspNetCore.csproj
│ │ ├── MiniProfilerBuilderExtensions.cs
│ │ ├── MiniProfilerExtensions.cs
│ │ ├── MiniProfilerMiddleware.cs
│ │ ├── MiniProfilerOptions.cs
│ │ ├── RequestState.cs
│ │ └── Storage
│ │ └── MemoryCacheStorage.cs
│ ├── MiniProfiler.AspNetCore.Mvc
│ │ ├── Internal
│ │ │ ├── ProfilingActionFilter.cs
│ │ │ ├── ProfilingViewComponentInvoker.cs
│ │ │ ├── ProfilingViewEngine.cs
│ │ │ └── WrappedView.cs
│ │ ├── MiniProfiler.AspNetCore.Mvc.csproj
│ │ ├── MiniProfilerScriptTagHelper.cs
│ │ ├── MvcDiagnosticListener.cs
│ │ ├── MvcExtensions.cs
│ │ ├── ProfileScriptTagHelper.cs
│ │ └── ProfileTagHelper.cs
│ ├── MiniProfiler.EF6
│ │ ├── App.config
│ │ ├── EFProfiledDbConnectionFactory.cs
│ │ ├── EFProfiledDbProviderFactoryResolver.cs
│ │ ├── EFProfiledDbProviderServices.cs
│ │ ├── EFProfiledInvariantNameResolver.cs
│ │ ├── MiniProfilerEF6.cs
│ │ ├── MiniProfiler.EF6.csproj
│ │ └── README.md
│ ├── MiniProfiler.EFC7
│ │ ├── App.config
│ │ ├── EFProfiledDbConnectionFactory.cs
│ │ ├── EFProfiledDbProviderFactoryResolver.cs
│ │ ├── EFProfiledDbProviderServices.cs
│ │ ├── EFProfiledInvariantNameResolver.cs
│ │ ├── MiniProfilerEFC7.cs
│ │ ├── MiniProfiler.EFC7.csproj
│ │ └── README.md
│ ├── MiniProfiler.EntityFrameworkCore
│ │ ├── MiniProfilerBaseOptionsExtensions.cs
│ │ ├── MiniProfiler.EntityFrameworkCore.csproj
│ │ ├── MiniProfilerServiceCollectionExtensions.cs
│ │ └── RelationalDiagnosticListener.cs
│ ├── MiniProfiler.Minimal
│ │ └── MiniProfiler.Minimal.csproj
│ ├── MiniProfiler.Mvc5
│ │ ├── ClientTimingHelper.cs
│ │ ├── MiniProfiler.Mvc5.csproj
│ │ ├── ProfilingActionFilter.cs
│ │ ├── ProfilingViewEngine.cs
│ │ └── WrappedView.cs
│ ├── MiniProfiler.Providers.MongoDB
│ │ ├── MiniProfiler.Providers.MongoDB.csproj
│ │ ├── MongoDbStorage.cs
│ │ └── MongoDbStorageOptions.cs
│ ├── MiniProfiler.Providers.MySql
│ │ ├── MiniProfiler.Providers.MySql.csproj
│ │ └── MySqlStorage.cs
│ ├── MiniProfiler.Providers.PostgreSql
│ │ ├── MiniProfiler.Providers.PostgreSql.csproj
│ │ └── PostgreSqlStorage.cs
│ ├── MiniProfiler.Providers.RavenDB
│ │ ├── Internal
│ │ │ ├── Indexes.cs
│ │ │ └── MiniProfilerDoc.cs
│ │ ├── MiniProfiler.Providers.RavenDB.csproj
│ │ └── RavenDbStorage.cs
│ ├── MiniProfiler.Providers.Redis
│ │ ├── Internal
│ │ │ └── RedisStorageHelpers.cs
│ │ ├── MiniProfiler.Providers.Redis.csproj
│ │ └── RedisStorage.cs
│ ├── MiniProfiler.Providers.Sqlite
│ │ ├── MiniProfiler.Providers.Sqlite.csproj
│ │ └── SqliteStorage.cs
│ ├── MiniProfiler.Providers.SqlServer
│ │ ├── MiniProfiler.Providers.SqlServer.csproj
│ │ └── SqlServerStorage.cs
│ ├── MiniProfiler.Providers.SqlServerCe
│ │ ├── MiniProfiler.Providers.SqlServerCe.csproj
│ │ └── SqlServerCeStorage.cs
│ └── MiniProfiler.Shared
│ ├── bundleconfig.json
│ ├── ClientTiming.cs
│ ├── ClientTimingHelper.cs
│ ├── ClientTimings.cs
│ ├── ColorScheme.cs
│ ├── compilerconfig.json
│ ├── compilerconfig.json.defaults
│ ├── CustomTiming.cs
│ ├── Data
│ │ ├── ExecuteType.cs
│ │ ├── IDbProfiler.cs
│ │ ├── Link.cs
│ │ ├── ProfiledDbCommand.cs
│ │ ├── ProfiledDbCommand.ICloneable.cs
│ │ ├── ProfiledDbConnection.cs
│ │ ├── ProfiledDbDataAdapter.cs
│ │ ├── ProfiledDbDataReader.cs
│ │ ├── ProfiledDbProviderFactory.cs
│ │ ├── ProfiledDbTransaction.cs
│ │ ├── SimpleProfiledCommand.cs
│ │ ├── SimpleProfiledConnection.cs
│ │ ├── SimpleProfiledDataReader.cs
│ │ └── SimpleProfiledTransaction.cs
│ ├── DiagnosticInitializer.cs
│ ├── Helpers
│ │ ├── IStopwatch.cs
│ │ ├── ProfilerSortedKey.cs
│ │ └── StackTraceSnippet.cs
│ ├── IMiniProfilerBuilder.cs
│ ├── Internal
│ │ ├── ExtensionMethods.cs
│ │ ├── IDataParameterExtensions.cs
│ │ ├── IDbCommandExtensions.cs
│ │ ├── IMiniProfilerDiagnosticListener.cs
│ │ ├── MiniProfilerBaseOptions.cs
│ │ ├── MiniProfilerBaseOptionsExtensions.cs
│ │ ├── Render.cs
│ │ ├── ResultRequest.cs
│ │ ├── StopwatchWrapper.cs
│ │ └── StringBuilderCache.cs
│ ├── JSONHacks.cs
│ ├── MiniProfiler.cs
│ ├── MiniProfilerExtensions.cs
│ ├── MiniProfiler.IDbProfiler.cs
│ ├── MiniProfiler.Options.cs
│ ├── MiniProfilerOptionsExtensions.cs
│ ├── MiniProfiler.ServerTiming.cs
│ ├── MiniProfiler.Shared.csproj
│ ├── NullableHacks.cs
│ ├── ProfileProviders
│ │ ├── DefaultProfilerProvider.cs
│ │ ├── IAsyncProfilerProvider.cs
│ │ └── SingletonProfilerProvider.cs
│ ├── RenderOptions.cs
│ ├── RenderPosition.cs
│ ├── SqlFormatters
│ │ ├── IAdvancedSqlFormatter.cs
│ │ ├── InlineFormatter.cs
│ │ ├── ISqlFormatter.cs
│ │ ├── SqlFormatterExtensions.cs
│ │ ├── SqlServerFormatter.cs
│ │ └── VerboseSqlServerFormatter.cs
│ ├── SqlTimingParameter.cs
│ ├── Storage
│ │ ├── DatabaseStorageBase.cs
│ │ ├── IAsyncStorage.cs
│ │ ├── MultiStorageProvider.cs
│ │ └── NullStorage.cs
│ ├── Suppression.cs
│ ├── Timing.cs
│ ├── TimingDebugInfo.cs
│ └── ui
│ ├── includes.css
│ ├── includes.less
│ ├── includes.min.css
│ ├── lib
│ │ ├── highlight.pack.js
│ │ ├── MiniProfiler.Globals.d.ts
│ │ ├── MiniProfiler.ts
│ │ ├── node_modules
│ │ │ └── @types
│ │ │ ├── extjs
│ │ │ │ ├── index.d.ts
│ │ │ │ ├── LICENSE
│ │ │ │ ├── package.json
│ │ │ │ └── README.md
│ │ │ └── microsoft-ajax
│ │ │ ├── index.d.ts
│ │ │ ├── LICENSE
│ │ │ ├── package.json
│ │ │ └── README.md
│ │ ├── package-lock.json
│ │ ├── tsconfig.json
│ │ └── tslint.json
│ └── README.md
├── tests
│ ├── Directory.Build.props
│ ├── Directory.Build.targets
│ ├── docker-compose.yml
│ ├── MiniProfiler.Tests
│ │ ├── Async
│ │ │ ├── AsyncRealTimeTests.cs
│ │ │ └── AsyncTests.cs
│ │ ├── DbProfilerTests.cs
│ │ ├── Helpers
│ │ │ ├── Attributes.cs
│ │ │ ├── BaseTest.cs
│ │ │ ├── CountingDbProfiler.cs
│ │ │ ├── MiniProfilerTestOptions.cs
│ │ │ ├── Resource.cs
│ │ │ ├── Skip.cs
│ │ │ ├── TestConfig.cs
│ │ │ ├── TestExtensions.cs
│ │ │ └── UnitTestStopwatch.cs
│ │ ├── InternalErrorTests.cs
│ │ ├── MiniProfiler.Tests.csproj
│ │ ├── ProtobufSerializationTests.cs
│ │ ├── RenderTests.cs
│ │ ├── SerializationTests.cs
│ │ ├── ServerTimingTests.cs
│ │ ├── SqlFormatterTests.cs
│ │ ├── Storage
│ │ │ ├── MongoDbStorageTests.cs
│ │ │ ├── MultiStorageProviderTests.cs
│ │ │ ├── MySqlStorageTests.cs
│ │ │ ├── PostgreSqlStorageTests.cs
│ │ │ ├── RavenDbStoreTests.cs
│ │ │ ├── RedisStorageTests.cs
│ │ │ ├── SqliteStorageTests.cs
│ │ │ ├── SqlServerCeStorageTests.cs
│ │ │ ├── SqlServerStorageTests.cs
│ │ │ └── StorageBaseTest.cs
│ │ ├── TimingInstrumentationTest.cs
│ │ └── xunit.runner.json
│ ├── MiniProfiler.Tests.AspNet
│ │ ├── App.config
│ │ ├── AspNetTest.cs
│ │ ├── BasicTests.cs
│ │ ├── EF6Tests.cs
│ │ ├── lib
│ │ │ └── HaackHttpSimulator
│ │ │ ├── HttpSimulator.cs
│ │ │ ├── ReadMe.txt
│ │ │ ├── ReflectionHelper.cs
│ │ │ └── SimulatedHttpRequest.cs
│ │ ├── MiniProfileHandlerTests.cs
│ │ ├── MiniProfiler.Tests.AspNet.csproj
│ │ ├── Storage
│ │ │ ├── MemoryCacheStorageTests.cs
│ │ │ └── TestHttpRuntimeCacheStorage.cs
│ │ ├── WebRequestProfilerTests.cs
│ │ └── xunit.runner.json
│ └── MiniProfiler.Tests.AspNetCore
│ ├── AspNetCoreTest.cs
│ ├── Middleware.cs
│ ├── MiniProfiler.Tests.AspNetCore.csproj
│ ├── Storage
│ │ └── MemoryCacheStorageTests.cs
│ └── xunit.runner.json
└── version.json
114 directories, 409 files
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论