Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions IdentityServer/v7/Basics/MvcPar/MvcPar.AppHost/AppHost.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
var builder = DistributedApplication.CreateBuilder(args);

var idp = builder.AddProject<Projects.IdentityServerHost>("identityserverhost");

var api = builder.AddProject<Projects.SimpleApi>("simple-api");

builder.AddProject<Projects.Client>("client")
.WaitFor(idp)
.WaitFor(api);

builder.Build().Run();
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project Sdk="Aspire.AppHost.Sdk/13.2.2">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\IdentityServerHost\src\IdentityServerHost.csproj" />
<ProjectReference Include="..\src\Client.csproj" />
<ProjectReference Include="..\..\..\Apis\SimpleApi\SimpleApi.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://json.schemastore.org/launchsettings.json",
"profiles": {
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "http://localhost:15237",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:21137",
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:22137"
}
},
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "https://localhost:17237;http://localhost:15237",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21137",
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22137"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Aspire.Hosting.DistributedApplication": "Information"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Aspire.Hosting.DistributedApplication": "Information"
}
}
}
44 changes: 44 additions & 0 deletions IdentityServer/v7/Basics/MvcPar/MvcPar.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,68 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleApi", "..\..\Apis\Sim
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IdentityServerHost", "..\..\IdentityServerHost\src\IdentityServerHost.csproj", "{FBD7DB82-BFB4-46BB-89C1-31F40939D922}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MvcPar.AppHost", "MvcPar.AppHost\MvcPar.AppHost.csproj", "{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Debug|x64.ActiveCfg = Debug|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Debug|x64.Build.0 = Debug|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Debug|x86.ActiveCfg = Debug|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Debug|x86.Build.0 = Debug|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Release|Any CPU.Build.0 = Release|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Release|x64.ActiveCfg = Release|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Release|x64.Build.0 = Release|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Release|x86.ActiveCfg = Release|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Release|x86.Build.0 = Release|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Debug|Any CPU.Build.0 = Debug|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Debug|x64.ActiveCfg = Debug|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Debug|x64.Build.0 = Debug|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Debug|x86.ActiveCfg = Debug|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Debug|x86.Build.0 = Debug|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Release|Any CPU.ActiveCfg = Release|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Release|Any CPU.Build.0 = Release|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Release|x64.ActiveCfg = Release|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Release|x64.Build.0 = Release|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Release|x86.ActiveCfg = Release|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Release|x86.Build.0 = Release|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Debug|x64.ActiveCfg = Debug|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Debug|x64.Build.0 = Debug|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Debug|x86.ActiveCfg = Debug|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Debug|x86.Build.0 = Debug|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Release|Any CPU.Build.0 = Release|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Release|x64.ActiveCfg = Release|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Release|x64.Build.0 = Release|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Release|x86.ActiveCfg = Release|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Release|x86.Build.0 = Release|Any CPU
{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}.Debug|x64.ActiveCfg = Debug|Any CPU
{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}.Debug|x64.Build.0 = Debug|Any CPU
{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}.Debug|x86.ActiveCfg = Debug|Any CPU
{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}.Debug|x86.Build.0 = Debug|Any CPU
{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}.Release|Any CPU.Build.0 = Release|Any CPU
{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}.Release|x64.ActiveCfg = Release|Any CPU
{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}.Release|x64.Build.0 = Release|Any CPU
{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}.Release|x86.ActiveCfg = Release|Any CPU
{B0D6F82D-1FD4-49B2-88F3-6541EFC32EC3}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
5 changes: 5 additions & 0 deletions IdentityServer/v7/Basics/MvcPar/src/Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
Expand All @@ -10,6 +11,10 @@
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\Aspire.ServiceDefaults\Aspire.ServiceDefaults.csproj" />
</ItemGroup>

<!-- Constants and helpers -->
<ItemGroup>
<Compile Include="..\..\Shared\Constants.cs">
Expand Down
4 changes: 4 additions & 0 deletions IdentityServer/v7/Basics/MvcPar/src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

var builder = WebApplication.CreateBuilder(args);

builder.AddServiceDefaults();

builder.Services.AddTransient<ParOidcEvents>();
builder.Services.AddSingleton<IDiscoveryCache>(_ => new DiscoveryCache(Urls.IdentityServer));

Expand Down Expand Up @@ -83,6 +85,8 @@

var app = builder.Build();

app.MapDefaultEndpoints();

app.UseDeveloperExceptionPage();
app.UseHttpsRedirection();
app.UseStaticFiles();
Expand Down
11 changes: 11 additions & 0 deletions IdentityServer/v8/Basics/MvcPar/MvcPar.AppHost/AppHost.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
var builder = DistributedApplication.CreateBuilder(args);

var idp = builder.AddProject<Projects.IdentityServerHost>("identityserverhost");

var api = builder.AddProject<Projects.SimpleApi>("simple-api");

builder.AddProject<Projects.Client>("client")
.WaitFor(idp)
.WaitFor(api);

builder.Build().Run();
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project Sdk="Aspire.AppHost.Sdk/13.2.2">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\IdentityServerHost\src\IdentityServerHost.csproj" />
<ProjectReference Include="..\src\Client.csproj" />
<ProjectReference Include="..\..\..\Apis\SimpleApi\SimpleApi.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://json.schemastore.org/launchsettings.json",
"profiles": {
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "http://localhost:15238",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:21138",
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:22138"
}
},
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "https://localhost:17238;http://localhost:15238",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21138",
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22138"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Aspire.Hosting.DistributedApplication": "Information"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Aspire.Hosting.DistributedApplication": "Information"
}
}
}
44 changes: 44 additions & 0 deletions IdentityServer/v8/Basics/MvcPar/MvcPar.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,68 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleApi", "..\..\Apis\Sim
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IdentityServerHost", "..\..\IdentityServerHost\src\IdentityServerHost.csproj", "{FBD7DB82-BFB4-46BB-89C1-31F40939D922}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MvcPar.AppHost", "MvcPar.AppHost\MvcPar.AppHost.csproj", "{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Debug|x64.ActiveCfg = Debug|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Debug|x64.Build.0 = Debug|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Debug|x86.ActiveCfg = Debug|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Debug|x86.Build.0 = Debug|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Release|Any CPU.Build.0 = Release|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Release|x64.ActiveCfg = Release|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Release|x64.Build.0 = Release|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Release|x86.ActiveCfg = Release|Any CPU
{8A7B3FC1-BD45-4679-A3D9-FE2E06F783CF}.Release|x86.Build.0 = Release|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Debug|Any CPU.Build.0 = Debug|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Debug|x64.ActiveCfg = Debug|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Debug|x64.Build.0 = Debug|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Debug|x86.ActiveCfg = Debug|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Debug|x86.Build.0 = Debug|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Release|Any CPU.ActiveCfg = Release|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Release|Any CPU.Build.0 = Release|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Release|x64.ActiveCfg = Release|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Release|x64.Build.0 = Release|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Release|x86.ActiveCfg = Release|Any CPU
{44F9FF5C-87F4-4CB9-8175-4E3D39328702}.Release|x86.Build.0 = Release|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Debug|x64.ActiveCfg = Debug|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Debug|x64.Build.0 = Debug|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Debug|x86.ActiveCfg = Debug|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Debug|x86.Build.0 = Debug|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Release|Any CPU.Build.0 = Release|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Release|x64.ActiveCfg = Release|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Release|x64.Build.0 = Release|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Release|x86.ActiveCfg = Release|Any CPU
{FBD7DB82-BFB4-46BB-89C1-31F40939D922}.Release|x86.Build.0 = Release|Any CPU
{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}.Debug|x64.ActiveCfg = Debug|Any CPU
{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}.Debug|x64.Build.0 = Debug|Any CPU
{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}.Debug|x86.ActiveCfg = Debug|Any CPU
{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}.Debug|x86.Build.0 = Debug|Any CPU
{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}.Release|Any CPU.Build.0 = Release|Any CPU
{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}.Release|x64.ActiveCfg = Release|Any CPU
{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}.Release|x64.Build.0 = Release|Any CPU
{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}.Release|x86.ActiveCfg = Release|Any CPU
{7BFAAFA5-AA88-4779-8E38-8F3AAFF0D0FA}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
5 changes: 5 additions & 0 deletions IdentityServer/v8/Basics/MvcPar/src/Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
Expand All @@ -10,6 +11,10 @@
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\Aspire.ServiceDefaults\Aspire.ServiceDefaults.csproj" />
</ItemGroup>

<!-- Constants and helpers -->
<ItemGroup>
<Compile Include="..\..\Shared\Constants.cs">
Expand Down
4 changes: 4 additions & 0 deletions IdentityServer/v8/Basics/MvcPar/src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

var builder = WebApplication.CreateBuilder(args);

builder.AddServiceDefaults();

builder.Services.AddTransient<ParOidcEvents>();
builder.Services.AddSingleton<IDiscoveryCache>(_ => new DiscoveryCache(Urls.IdentityServer));

Expand Down Expand Up @@ -83,6 +85,8 @@

var app = builder.Build();

app.MapDefaultEndpoints();

app.UseDeveloperExceptionPage();
app.UseHttpsRedirection();
app.UseStaticFiles();
Expand Down
2 changes: 2 additions & 0 deletions samples.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@
</Folder>
<Folder Name="/IdentityServer/v7/Basics/MvcPar/">
<Project Path="IdentityServer/v7/Basics/MvcPar/src/Client.csproj" />
<Project Path="IdentityServer/v7/Basics/MvcPar/MvcPar.AppHost/MvcPar.AppHost.csproj" />
</Folder>
<Folder Name="/IdentityServer/v7/Basics/MvcTokenManagement/">
<Project Path="IdentityServer/v7/Basics/MvcTokenManagement/src/Client.csproj" />
Expand Down Expand Up @@ -455,6 +456,7 @@
</Folder>
<Folder Name="/IdentityServer/v8/Basics/MvcPar/">
<Project Path="IdentityServer/v8/Basics/MvcPar/src/Client.csproj" />
<Project Path="IdentityServer/v8/Basics/MvcPar/MvcPar.AppHost/MvcPar.AppHost.csproj" />
</Folder>
<Folder Name="/IdentityServer/v8/Basics/MvcTokenManagement/">
<Project Path="IdentityServer/v8/Basics/MvcTokenManagement/src/Client.csproj" />
Expand Down
Loading