From c7e89938463672f6c9d0e7dad3f35f35bb307853 Mon Sep 17 00:00:00 2001 From: GeekTrainer Date: Wed, 28 Jan 2015 16:06:14 -0800 Subject: [PATCH] Christopher - Final Checkin --- ChristopherDemos/MusicStore/Global.asax.cs | 2 +- ChristopherDemos/MusicStore/MusicStore.csproj | 1 + .../Properties/PublishProfiles/EFMVA.pubxml | 51 +++++++++++++++++++ ChristopherDemos/MusicStore/Web.Debug.config | 7 +++ 4 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 ChristopherDemos/MusicStore/Properties/PublishProfiles/EFMVA.pubxml diff --git a/ChristopherDemos/MusicStore/Global.asax.cs b/ChristopherDemos/MusicStore/Global.asax.cs index 98b64d7..3f6f2ff 100644 --- a/ChristopherDemos/MusicStore/Global.asax.cs +++ b/ChristopherDemos/MusicStore/Global.asax.cs @@ -14,7 +14,7 @@ public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { - Database.SetInitializer(new MusicStoreDataContextInitializer()); + //Database.SetInitializer(new MusicStoreDataContextInitializer()); AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); diff --git a/ChristopherDemos/MusicStore/MusicStore.csproj b/ChristopherDemos/MusicStore/MusicStore.csproj index 779a57a..2204f0b 100644 --- a/ChristopherDemos/MusicStore/MusicStore.csproj +++ b/ChristopherDemos/MusicStore/MusicStore.csproj @@ -192,6 +192,7 @@ + diff --git a/ChristopherDemos/MusicStore/Properties/PublishProfiles/EFMVA.pubxml b/ChristopherDemos/MusicStore/Properties/PublishProfiles/EFMVA.pubxml new file mode 100644 index 0000000..2ea5e94 --- /dev/null +++ b/ChristopherDemos/MusicStore/Properties/PublishProfiles/EFMVA.pubxml @@ -0,0 +1,51 @@ + + + + + MSDeploy + Release + Any CPU + http://efmva.azurewebsites.net + True + False + efmva.scm.azurewebsites.net:443 + EFMVA + + True + WMSVC + True + $EFMVA + <_SavePWD>True + <_DestinationType>AzureWebSite + + + + + + + + + + + + + + + + + + + + Data Source=tcp:frroph2bu2.database.windows.net,1433;Initial Catalog=EFMVA_db;User Id=EFMVA@frroph2bu2;Password=p@SSW0RD + + + Data Source=tcp:frroph2bu2.database.windows.net,1433;Initial Catalog=EFMVA_db;User Id=EFMVA@frroph2bu2;Password=p@SSW0RD + + + + <_ConnectionStringsToInsert Include="MusicStore.Models.MusicStoreDataContext" /> + + \ No newline at end of file diff --git a/ChristopherDemos/MusicStore/Web.Debug.config b/ChristopherDemos/MusicStore/Web.Debug.config index 680849f..95db8ce 100644 --- a/ChristopherDemos/MusicStore/Web.Debug.config +++ b/ChristopherDemos/MusicStore/Web.Debug.config @@ -27,4 +27,11 @@ --> + + + + + + +