Dandelife

A glimpse on the Asp.net Core API Authentication and Authorization

What is Asp.net Core?

  1. Desktop Application,
  2. Mobile Application,
  3. Cloud, IOT Application,
  4. Gaming Application etc.

What does Asp.net Core support?

What is Middleware?

What is Authorization and Authentication?

What is JWT?

Example:

File -> New -> Project -> Web -> Asp.net core web application -> API.

  1. Swashbuckle.AspNetCore
  2. Microsoft.AspNetCore.App
  3. Microsoft.AspNetCore.Authentication.JwtBearer From nuget package.

And Configure Services method used to add services to the container. This method will introduce the JWT Bearer authentication.