An open API service indexing awesome lists of open source software.

https://github.com/aguafrommars/templates

TheIdServer dotnet new template
https://github.com/aguafrommars/templates

authentication dotnet-new duende-identityserver iam identity identityserver4 oauth oidc security templates theidserver

Last synced: 6 months ago
JSON representation

TheIdServer dotnet new template

Awesome Lists containing this project

README

          

# Templates
dotnet new templates

Create a [TheIdServer](https://github.com/Aguafrommars/TheIdServer) solutions with [`dotnet new`](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new) cli tool.

[![Build status](https://ci.appveyor.com/api/projects/status/27ytaa2e2pymg129?svg=true)](https://ci.appveyor.com/project/aguacongas/templates)

Nuget packages
--------------
|TheIdServer.Duende.Template|
|:------:|
|[![][TheIdServer.Duende.Template-badge]][TheIdServer.Duende.Template-nuget]|[![][TheIdServer.IS4.Template-badge]][TheIdServer.IS4.Template-nuget]|
|[![][TheIdServer.Duende.Template-downloadbadge]][TheIdServer.Duende.Template-nuget]|

[TheIdServer.Duende.Template-badge]: https://img.shields.io/nuget/v/TheIdServer.Duende.Template.svg
[TheIdServer.Duende.Template-downloadbadge]: https://img.shields.io/nuget/dt/TheIdServer.Duende.Template.svg
[TheIdServer.Duende.Template-nuget]: https://www.nuget.org/packages/TheIdServer.Duende.Template/

## Install

To install the template to create a solution using Duende IdentityServer:
```bash
dotnet new -i TheIdServer.Duende.Template
```

## Use

```bash
> 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](https://duendesoftware.com/products/identityserver#pricing)

```cs
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
```