Skip to content

Instantly share code, notes, and snippets.

@andyedinborough
Created June 9, 2011 16:36
Show Gist options
  • Save andyedinborough/1017134 to your computer and use it in GitHub Desktop.
Save andyedinborough/1017134 to your computer and use it in GitHub Desktop.
public class MvcApplication : System.Web.HttpApplication {
void Application_Start() {
MvcMiniProfiler.Data.ProfiledDbProviderFactory.RegisterProviders();
}
}
<?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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment