Skip to content

Commit

Permalink
new dev database
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGTech committed May 15, 2021
1 parent d08ba7e commit 199c816
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 65 deletions.
Binary file modified .vs/Ashburton/v16/.suo
Binary file not shown.
2 changes: 1 addition & 1 deletion .vs/AshburtonCocWebsite/config/applicationhost.config
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
</site>
<site name="AshburtonCocWebsite" id="2">
<application path="/" applicationPool="AshburtonCocWebsite AppPool">
<virtualDirectory path="/" physicalPath="C:\Users\caleb.george\Source\Repos\Ashburton" />
<virtualDirectory path="/" physicalPath="C:\Users\jcg59\Source\Repos\Ashburton" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:55711:localhost" />
Expand Down
Binary file modified .vs/AshburtonCocWebsite/v16/.suo
Binary file not shown.
Binary file modified .vs/slnx.sqlite
Binary file not shown.
1 change: 1 addition & 0 deletions Models/PrayerRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public class PrayerRequest
public DateTime Date { get; set; }
public string Requestor { get; set; }
public string Request { get; set; }
public string UserID { get; set; }

}
}
10 changes: 0 additions & 10 deletions Properties/serviceDependencies.ashburton - Web Deploy -old.json

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions Properties/serviceDependencies.ashburton - Web Deploy -old2.json

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ public void ConfigureServices(IServiceCollection services)
services.AddDbContext<ApplicationDbContext>(options =>
options.UseSqlServer(
#if DEBUG
Configuration.GetConnectionString("DefaultConnection")));
Configuration.GetConnectionString("DevConnection")));
#else
Configuration.GetConnectionString("AzureConnection")));
Configuration.GetConnectionString("ProdConnection")));
#endif
services.AddDatabaseDeveloperPageExceptionFilter();

Expand Down
4 changes: 2 additions & 2 deletions appsettings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"ConnectionStrings": {
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=aspnet-AshburtonCocWebsite-0D0B2EA4-68A0-469D-B597-E9D6FDACCBB2;Trusted_Connection=True;MultipleActiveResultSets=true",
"AzureConnection": "Server=tcp:ashburtoncocwebsitedbserver.database.windows.net,1433;Initial Catalog=AshburtonCocWebsite_db;Persist Security Info=False;User ID=ashburton;Password={your_password};MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;"
"DevConnection": "Server=tcp:ashburtoncocwebsitedbserver.database.windows.net,1433;Initial Catalog=dev;Persist Security Info=False;User ID=ashburton;Password=Mabeliz2021.;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;",
"ProdConnection": "Server=tcp:ashburtoncocwebsitedbserver.database.windows.net,1433;Initial Catalog=AshburtonCocWebsite_db;Persist Security Info=False;User ID=ashburton;Password={your_password};MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;"
},
"Logging": {
"LogLevel": {
Expand Down

0 comments on commit 199c816

Please sign in to comment.