public
Created

  • Download Gist
Global.asax.cs
C#
1 2 3 4 5
public class MvcApplication : System.Web.HttpApplication {
void Application_Start() {
MvcMiniProfiler.Data.ProfiledDbProviderFactory.RegisterProviders();
}
}
web.config
1 2 3 4 5 6 7 8 9
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<connectionStrings>
<add name="Context" connectionString="data source=.; User ID=sa; Password=SuperSecret1337; Initial Catalog=Tracky; MultipleActiveResultSets=True"
providerName="MvcMiniProfiler.Data/System.Data.SqlClient" />
</connectionStrings>
<configSections>
</configuration>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.