ASP .NET Core. API User Identity & more + Azure Cloud deploy
What you'll learn
- Authenticate & authorize users via JWT tokens
- Deploy C# ASP .NET Core application & Database to Azure Cloud
- Automatic database migrations with Entity Framework Core
- create your own authorization policies
- create a user and role entities tables
- hash users password
- configure entity framework relationships
- send database queries from code using ORM (Entity Framework Core)
- validate incoming models and return appropriate messages in case of incorrectness
- handle Cross-Origin Resource Sharing policy
- create Action API filters
- serve static files publicly & with limited user access
- inject dependecies into filters
- migrate .NET Core project from 2.2 version to 3.1
- handle exceptions globally with ExceptionFilter
- use the built-in container to inject dependencies
- log errors or specific information to a text file
- configure AzureSQL database
- create App Service and deploy API
- use the Postman to consume the web API
- limit access to Actions for users (authorize)
- register custom 'FluentValidation' validators
- authorize based on users role
- read configuration from app settings json file
- authorize based on users claim and its value
- cache server responses
- authorize based on custom requirement
- restrict resource access
Requirements
- Basic knowlegde of REST APIs in .NET Core
Description
The .NET Core platform is the latest tool from Microsoft enabling the creation of cross-platform applications, including web and web APIs.
Due to its high performance, open-source code, and the possibility of implementation on various systems, it is becoming more and more popular.
The course presents how using ASP.NET Core a web API application is created, which ultimately can be consumed by SPA (single page application), mobile applications, IoT applications, or any application where communication takes place via the HTTP protocol. First of all, the course will show you how to build applications in accordance with the REST architecture. Good practices will be discussed, such as dependency injection, auto-mapping, error logging, model validation, use of object-relational mapping.
During the course you will:
➡ authenticate users via JWT tokens
➡ create your own authorization policies
➡ authorize users
➡ create a user and role entities tables
➡ hash users passwords
➡ authorize based on users claim and its value
➡ configure entity framework relationships
➡ validate incoming models and return appropriate messages in case of incorrectness
➡ use the built-in container to inject dependencies
➡ log errors or specific information to a text file
➡ authorize based on users role
➡ restrict resource access
➡ authorize based on custom requirement
➡ use the built-in container to inject dependencies
➡ log errors or specific information to a text file
➡ use the Postman to consume the web API
Who this course is for:
- Developers with basic knowlegde of REST APIs in .NET Core, who want to extend their knowledge in the area of authentication, authorization, API Filters, and Azure deployment
Course content
- Preview03:35
- 03:30Starting point
- 03:46Migration to .NET Core 3.1
- 10:24.NET Core on Linux/macOS course guide
Instructor
Professionally a lead full-stack .NET developer with many years of experience.
Graduate of the Cracow University of Technology, I had worked on a wide variety of web projects. I am a certified developer of the Microsoft Azure platform (AZ-203 exam).
I like to build apps with a .Net Core / React / Azure stack