Skip to content

andychiare/auth0-dotnet-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth0 Templates for .NET

The Auth0 Templates for .NET package allows you to quickly bootstrap a .NET application secured with Auth0. You can use the Auth0 Templates with the .NET CLI and Visual Studio.

Getting started

Requirements

  • An Auth0 account. You can sign up for a free one right now.
  • .NET Core 7.0 SDK or higher.
  • (Optional) Visual Studio 2022 for Windows (ver. 17.4)

Installation

You can install the Auth0 Templates from the NuGet repository or from the source code.

⚠️ The current version of Auth0.Templates are not published on NuGet yet.

To work locally with the Auth0 Templates, i.e., using the templates coming from the source code, execute the following steps:

  1. Clone this repository

  2. Create a local NuGet package by running the following command in the root folder of the project:

    dotnet pack

    Your NuGet package will be generated in the ./bin/Debug/ folder.

  3. Install the templates by running the following command:

    dotnet new -i ./bin/Debug/Auth0.Templates.2.0.0-alpha.nupkg

ℹ️ If you have Node.js installed on your machine, you can create and install a local NuGet package by using the following command in the root folder of the project:

npm run pack-install

That command also works for updating a currently installed package.

Usage

Currently, the following .NET templates are implemented:

License

This project is licensed under the MIT license.docs See the LICENSE file for more info.

About

.NET Project Templates for Auth0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published