auth0-blog / glossary-web-api-aspnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository contains a basic glossary CRUD Web API implemented in ASP.NET and secured with Auth0.

The following article describes the implementation details: Permission-Based Security for ASP.NET Web APIs

To run this application:

  1. Clone the repo with the following command:

    git clone --branch add-permission --single-branch https://github.com/auth0-blog/glossary-web-api-aspnet.git
  2. Move to the glossary-web-api-aspnet folder

  3. Add your Auth0 domain and API identifier to the appsettings.json configuration file (see Registering the Web API with Auth0 for more details).

  4. Type dotnet run in a terminal window to launch the Web API.

  5. Point your browser to https://localhost:5001/swagger to test the available endpoints and actions.

webapi-swagger-ui

Requirements:

About


Languages

Language:C# 100.0%