Created
June 9, 2011 16:36
-
-
Save andyedinborough/1017134 to your computer and use it in GitHub Desktop.
Example usage after commiting this: http://code.google.com/r/andyedinborough-mvc-mini-profiler/source/detail?r=d9b2738413781ac6070fc0f8f585eb132bf311cf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MvcApplication : System.Web.HttpApplication { | |
void Application_Start() { | |
MvcMiniProfiler.Data.ProfiledDbProviderFactory.RegisterProviders(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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