Skip to content

Commit d079b00

Browse files
committed
Update to new config layout
1 parent 79e5e74 commit d079b00

File tree

1 file changed

+53
-46
lines changed
  • template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/StarterWeb-CSharp

1 file changed

+53
-46
lines changed

template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/StarterWeb-CSharp/appsettings.json

Lines changed: 53 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,74 @@
11
{
22
////#if (OrganizationalAuth || IndividualAuth)
3-
// "Kestrel": {
4-
// "Endpoints": {
5-
// "Localhost": {
6-
// "Address": "127.0.0.1",
7-
// "Port": "55555"
3+
// "Microsoft": {
4+
// "AspNetCore": {
5+
// "Hosting": {
6+
// "Kestrel": {
7+
// "Endpoints": {
8+
// "Localhost": {
9+
// "Address": "127.0.0.1",
10+
// "Port": "55555"
11+
// },
12+
// "LocalhostHttps": {
13+
// "Address": "127.0.0.1",
14+
// "Port": "43434",
15+
// "Certificate": "HTTPS"
16+
// }
17+
// }
18+
// }
819
// },
9-
// "LocalhostHttps": {
10-
// "Address": "127.0.0.1",
11-
// "Port": "43434",
12-
// "Certificate": "HTTPS"
13-
// }
14-
// }
15-
// },
1620
//#if (IndividualLocalAuth)
17-
// "IdentityService": {
18-
// "Issuer": "https:////localhost/09732173-2cef-46b7-83db-1334bcb079d3/v2.0/",
19-
// "SigningCertificates": "IdentityService"
20-
// },
21+
// "IdentityService": {
22+
// "Issuer": "https:////localhost/09732173-2cef-46b7-83db-1334bcb079d3/v2.0/",
23+
// "SigningCertificates": "IdentityService"
24+
// },
2125
//#endif
22-
// "Authentication": {
26+
// "Authentication": {
27+
// "Schemes": {
2328
//#if (IndividualLocalAuth)
24-
// "IdentityService": {
25-
// "ClientId": "53bc9b9d-9d6a-45d4-8429-2a2761773502",
26-
// "TokenRedirectUrn": "urn:self:aspnet:identity:integrated"
27-
// }
29+
// "IdentityService": {
30+
// "ClientId": "53bc9b9d-9d6a-45d4-8429-2a2761773502",
31+
// "TokenRedirectUrn": "urn:self:aspnet:identity:integrated"
32+
// }
2833
//#elseif (SingleOrgAuth)
29-
// "AzureAd": {
30-
// "AzureAdInstance": "https:////login.microsoftonline.com/",
31-
// "ClientId": "11111111-1111-1111-11111111111111111",
34+
// "AzureAd": {
35+
// "AzureAdInstance": "https:////login.microsoftonline.com/",
36+
// "ClientId": "11111111-1111-1111-11111111111111111",
3237
//#elseif (MultiOrgAuth)
33-
// "AzureAd": {
34-
// "AzureAdInstance": "https:////login.microsoftonline.com/common",
35-
// "ClientId": "11111111-1111-1111-11111111111111111",
38+
// "AzureAd": {
39+
// "AzureAdInstance": "https:////login.microsoftonline.com/common",
40+
// "ClientId": "11111111-1111-1111-11111111111111111",
3641
//#elseif (IndividualB2CAuth)
37-
// "AzureAdB2C": {
38-
// "AzureAdB2CInstance": "https:////login.microsoftonline.com/tfp",
39-
// "ClientId": "11111111-1111-1111-11111111111111111",
40-
// "CallbackPath": "/signin-oidc",
41-
// "Domain": "qualified.domain.name",
42-
// "SignUpSignInPolicyId": "MySignUpSignInPolicyId",
43-
// "ResetPasswordPolicyId": "MyResetPasswordPolicyId",
44-
// "EditProfilePolicyId": "MyEditProfilePolicyId"
45-
// }
42+
// "AzureAdB2C": {
43+
// "AzureAdB2CInstance": "https:////login.microsoftonline.com/tfp",
44+
// "ClientId": "11111111-1111-1111-11111111111111111",
45+
// "CallbackPath": "/signin-oidc",
46+
// "Domain": "qualified.domain.name",
47+
// "SignUpSignInPolicyId": "MySignUpSignInPolicyId",
48+
// "ResetPasswordPolicyId": "MyResetPasswordPolicyId",
49+
// "EditProfilePolicyId": "MyEditProfilePolicyId"
50+
// }
4651
//#endif
4752
//#if (MultiOrgAuth)
48-
// "CallbackPath": "/signin-oidc"
49-
// }
53+
// "CallbackPath": "/signin-oidc"
54+
// }
5055
//#elseif (SingleOrgAuth)
51-
// "CallbackPath": "/signin-oidc",
52-
// "Domain": "qualified.domain.name",
53-
// "TenantId": "22222222-2222-2222-2222-222222222222"
54-
// }
56+
// "CallbackPath": "/signin-oidc",
57+
// "Domain": "qualified.domain.name",
58+
// "TenantId": "22222222-2222-2222-2222-222222222222"
59+
// }
5560
//#endif
61+
// }
62+
// }
63+
// }
5664
// },
57-
//#endif
5865
////#if (IndividualLocalAuth)
5966
// "ConnectionStrings": {
60-
////#if (UseLocalDB)
67+
////#if (UseLocalDB)
6168
// "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=aspnet-Company.WebApplication1-53bc9b9d-9d6a-45d4-8429-2a2761773502;Trusted_Connection=True;MultipleActiveResultSets=true"
62-
////#else
69+
////#else
6370
// "DefaultConnection": "DataSource=.\\Company.WebApplication1.db"
64-
//#endif
71+
//#endif
6572
// },
6673
//#endif
6774
"Logging": {

0 commit comments

Comments
 (0)