dotnet new templates
- Create a TheIdServer solutions with
dotnet newcli tool. - Create a FreeTheIdServer solutions with
dotnet newcli tool.
| TheIdServer.Duende.Template |
|---|
| FreeTheIdServer.Open.Template |
|---|
To install the TheIdServer.Duende template to create a solution using Duende IdentityServer:
dotnet new -i TheIdServer.Duende.TemplateTo install the FreeTheIdServer template to create a solution using Open.IdentityServer:
dotnet new -i FreeTheIdServer.Open.Template> dotnet new tisduende -o TheIdServer
The template "TheIdServer.Duende" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on TheIdServer\TheIdServer.sln...
Determining projects to restore...
Restored C:\Projects\Perso\Templates\artifacts\TheIdServer\test\WebAssembly.Net.Http\WebAssembly.Net.Http.csproj (in 114 ms).
Restored C:\Projects\Perso\Templates\artifacts\TheIdServer\src\TheIdServer.BlazorApp\TheIdServer.BlazorApp.csproj (in 916 ms).
Restored C:\Projects\Perso\Templates\artifacts\TheIdServer\test\Microsoft.AspNetCore.Components.Testing\Microsoft.AspNetCore.Components.Testing.csproj (in 1.08 sec).
Restored C:\Projects\Perso\Templates\artifacts\TheIdServer\src\TheIdServer\TheIdServer.csproj (in 2.03 sec).
Restored C:\Projects\Perso\Templates\artifacts\TheIdServer\test\TheIdServer.Test\TheIdServer.Test.csproj (in 2.04 sec).
Restored C:\Projects\Perso\Templates\artifacts\TheIdServer\test\TheIdServer.IntegrationTest\TheIdServer.IntegrationTest.csproj (in 2.04 sec).
Restore succeeded.The above commande create a Visual Studio solution in TheIdServer subfolder using Duende IdentityServer.
For a commercial use you need to acquire a license
TheIdServer
├─── src
| ├─── TheIdServer // Server project
| └─── TheIdServer.BlazorApp // Blazor application project
└─── test
├─── Microsoft.AspNetCore.Components.Testing // Components testing utilities
├─── TheIdServer.IntegrationTest // Server integration tests
├─── TheIdServer.Test // Server tests
└─── WebAssembly.Net.Http // WASM test utilities> dotnet new tisopen -o FreeTheIdServer
The template "FreeTheIdServer" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on FreeTheIdServer\FreeTheIdServer.sln...
Determining projects to restore...
Restored C:\Projects\Perso\Templates\artifacts\FreeTheIdServer\test\WebAssembly.Net.Http\WebAssembly.Net.Http.csproj (in 114 ms).
Restored C:\Projects\Perso\Templates\artifacts\FreeTheIdServer\src\FreeTheIdServer.BlazorApp\FreeTheIdServer.BlazorApp.csproj (in 916 ms).
Restored C:\Projects\Perso\Templates\artifacts\FreeTheIdServer\test\Microsoft.AspNetCore.Components.Testing\Microsoft.AspNetCore.Components.Testing.csproj (in 1.08 sec).
Restored C:\Projects\Perso\Templates\artifacts\FreeTheIdServer\src\FreeTheIdServer\FreeTheIdServer.csproj (in 2.03 sec).
Restored C:\Projects\Perso\Templates\artifacts\FreeTheIdServer\test\FreeTheIdServer.Test\FreeTheIdServer.Test.csproj (in 2.04 sec).
Restored C:\Projects\Perso\Templates\artifacts\FreeTheIdServer\test\FreeTheIdServer.IntegrationTest\FreeTheIdServer.IntegrationTest.csproj (in 2.04 sec).
Restore succeeded.The above commande create a Visual Studio solution in FreeTheIdServer subfolder using Open.IdentityServer.
FreeTheIdServer
├─── src
| ├─── FreeTheIdServer // Server project
| └─── FreeTheIdServer.BlazorApp // Blazor application project
└─── test
├─── Microsoft.AspNetCore.Components.Testing // Components testing utilities
├─── FreeTheIdServer.IntegrationTest // Server integration tests
├─── FreeTheIdServer.Test // Server tests
└─── WebAssembly.Net.Http // WASM test utilities