Browse Source

rollback connection strings

pull/13886/head
muhammedaltug 4 years ago
parent
commit
155d1175bd
  1. 2
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.DbMigrator/appsettings.json
  2. 34
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json
  3. 34
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/appsettings.json

2
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.DbMigrator/appsettings.json

@ -1,6 +1,6 @@
{ {
"ConnectionStrings": { "ConnectionStrings": {
"Default": "Server=localhost;Database=MyProjectNamssse;User Id=sa;password=myPassw0rd;MultipleActiveResultSets=true" "Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=MyProjectName;Trusted_Connection=True"
}, },
"OpenIddict": { "OpenIddict": {
"Applications": { "Applications": {

34
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json

@ -1,19 +1,19 @@
{ {
"App": { "App": {
"CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200,https://localhost:44307" "CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200,https://localhost:44307"
}, },
"ConnectionStrings": { "ConnectionStrings": {
"Default": "Server=localhost;Database=MyProjectNamssse;User Id=sa;password=myPassw0rd;MultipleActiveResultSets=true" "Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=MyProjectName;Trusted_Connection=True"
}, },
"Redis": { "Redis": {
"Configuration": "127.0.0.1" "Configuration": "127.0.0.1"
}, },
"AuthServer": { "AuthServer": {
"Authority": "https://localhost:44301", "Authority": "https://localhost:44301",
"RequireHttpsMetadata": "true", "RequireHttpsMetadata": "true",
"SwaggerClientId": "MyProjectName_Swagger" "SwaggerClientId": "MyProjectName_Swagger"
}, },
"StringEncryption": { "StringEncryption": {
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" "DefaultPassPhrase": "gsKnGZ041HLL4IM8"
} }
} }

34
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/appsettings.json

@ -1,19 +1,19 @@
{ {
"App": { "App": {
"SelfUrl": "https://localhost:44305", "SelfUrl": "https://localhost:44305",
"ClientUrl": "http://localhost:4200", "ClientUrl": "http://localhost:4200",
"CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200,https://localhost:44307", "CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200,https://localhost:44307",
"RedirectAllowedUrls": "http://localhost:4200,https://localhost:44307" "RedirectAllowedUrls": "http://localhost:4200,https://localhost:44307"
}, },
"ConnectionStrings": { "ConnectionStrings": {
"Default": "Server=localhost;Database=MyProjectName;User Id=sa;password=myPassw0rd;MultipleActiveResultSets=true" "Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=MyProjectName;Trusted_Connection=True"
}, },
"AuthServer": { "AuthServer": {
"Authority": "https://localhost:44305", "Authority": "https://localhost:44305",
"RequireHttpsMetadata": "false", "RequireHttpsMetadata": "false",
"SwaggerClientId": "MyProjectName_Swagger" "SwaggerClientId": "MyProjectName_Swagger"
}, },
"StringEncryption": { "StringEncryption": {
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" "DefaultPassPhrase": "gsKnGZ041HLL4IM8"
} }
} }

Loading…
Cancel
Save