Skip to content

Instantly share code, notes, and snippets.

@jasonmccay
Created October 9, 2011 05:07
Show Gist options
  • Save jasonmccay/1273330 to your computer and use it in GitHub Desktop.
Save jasonmccay/1273330 to your computer and use it in GitHub Desktop.
Set up a connection string in the web.config file of the project.
<connectionStrings>
<add name="ApplicationServices"
connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"
providerName="System.Data.SqlClient" />
<add name="MongoHQ"
connectionString="your mongo uri"/>
</connectionStrings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment