Tra22 / ASP.NET_Core7_API_OAuth2_Resource

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASP.NET_Core7_API_OAuth2_Resource

ASP .NET Core Project for learning. Every one should be able to use this templae to build a ASP.NET Core web API Security with Authorization Server JWT (OpenID Connect).

Key Functions

  1. Security with JWT from authorization server
  2. Swagger for API's Endpoint
  3. API-Versioning

Getting Started

These instructions will get you to setup the project, install sdk and add package (CLI or Package manager console).

Prerequisites

  • Visual Studio 2022 or higher
  • .NET 7.x SDK

Installing

  1. Install .net SDK 7
    Download .NET SDK here.
  2. Create new Web API's project
    dotnet new webapi –-name ASPNET_Core7_WebAPI_JWT
  3. Add package
    • Authentication JWT dotnet add package Microsoft.AspNetCore.Authentication.JwtBearer
    • API-Versioning dotnet add package Asp.Versioning.Mvc.ApiExplorer

Languages and Tools

dotnet core  dotnet core  jwt 

About


Languages

Language:C# 100.0%