From c8323f4ef397de21f89c97495fcbe1ef507b6325 Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Wed, 10 Dec 2014 20:17:15 -0800 Subject: [PATCH] Let VS assign a port for the MVC 6.0 project - also add commented-out connection string for IIS deployment --- src/MusicStore.Spa/MusicStore.Spa.kproj | 5 +++-- src/MusicStore/config.json | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/MusicStore.Spa/MusicStore.Spa.kproj b/src/MusicStore.Spa/MusicStore.Spa.kproj index 7de8bbf7dc..36346fd61f 100644 --- a/src/MusicStore.Spa/MusicStore.Spa.kproj +++ b/src/MusicStore.Spa/MusicStore.Spa.kproj @@ -1,4 +1,4 @@ - + 14.0 @@ -12,6 +12,7 @@ 2.0 + 1575 - + \ No newline at end of file diff --git a/src/MusicStore/config.json b/src/MusicStore/config.json index 8913079e11..dd93eb7a85 100644 --- a/src/MusicStore/config.json +++ b/src/MusicStore/config.json @@ -3,6 +3,8 @@ "DefaultAdminPassword": "YouShouldChangeThisPassword1!", "Data": { "DefaultConnection": { + // Use a shared (and running) LocalDB database when executing in IIS e.g. + // "Server=(localdb)\\.\\IIS_DB;Database=MusicStore;Trusted_Connection=False;MultipleActiveResultSets=true;User ID=iis_login;Password=********" "Connectionstring": "Server=(localdb)\\MSSQLLocalDB;Database=MusicStore;Trusted_Connection=True;MultipleActiveResultSets=true" } },