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
- Host: GitHub
- URL: https://github.com/aguafrommars/templates
- Owner: Aguafrommars
- License: apache-2.0
- Created: 2020-12-11T13:11:54.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-23T02:33:52.000Z (over 1 year ago)
- Last Synced: 2024-05-23T03:33:46.972Z (over 1 year ago)
- Topics: authentication, dotnet-new, duende-identityserver, iam, identity, identityserver4, oauth, oidc, security, templates, theidserver
- Language: C#
- Homepage:
- Size: 1.65 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Templates
dotnet new templatesCreate a [TheIdServer](https://github.com/Aguafrommars/TheIdServer) solutions with [`dotnet new`](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new) cli tool.
[](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
```