This project is read-only.
1
Vote

Feature Request : Support for LocalDB

description

I'd like to run the project using an instance of LocalDB, instead of an external and separate instance of SQL.

This would allow the project to be more easily self-hosted.

comments

sbrickey wrote Sep 21, 2016 at 7:16 PM

as it turns out, this was accomplished simply by changing the connection string as follows:
<connectionStrings>
  <add name="InmetaGallery"
       providerName="System.Data.SqlClient"
       connectionString="Data Source=(localDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\VSGalleryData.mdf;Integrated Security=True;MultipleActiveResultSets=True" />
</connectionStrings>