ASP NET Core API User Identity & more Azure Cloud deploy
What you’ll learn
Authenticate & authorize users via JWT token
Deploy C# ASP .NET Core application and 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
Overview
Section 1: Introduction
Lecture 1 Course overview
Lecture 2 Starting point
Lecture 3 Migration to .NET Core 3.1
Lecture 4 .NET Core on Linux/macOS course guide
Section 2: Authentication
Lecture 5 What is authentication and ways of authentication
Lecture 6 Add user and roles entity
Lecture 7 User registration
Lecture 8 Password hashing
Lecture 9 Data validation refactor
Lecture 10 JWT tokens
Lecture 11 Login Action
Section 3: Authorization
Lecture 12 What is authorization and authorization methods
Lecture 13 Role based authorization
Lecture 14 Claim based authorization
Lecture 15 Custom authorization policy
Lecture 16 Resource based authorization
Section 4: API Filters
Lecture 17 API filters and their types
Lecture 18 Action filter
Lecture 19 Exception filter
Lecture 20 Custom authorize filter
Lecture 21 Injecting dependencies into filters
Section 5: Utility API
Lecture 22 Cross-Origin Resource Sharing
Lecture 23 Serving static files
Lecture 24 Caching
Lecture 25 Functional actions
Section 6: Result set manipulation
Lecture 26 Pagination intro
Lecture 27 Filtering data
Lecture 28 Pagination
Lecture 29 Query validation
Lecture 30 Sorting the result set
Lecture 31 IQueryable order
Section 7: Deploying the application to the Azure cloud
Lecture 32 Azure and its basic services
Lecture 33 App Service creation
Lecture 34 Deploy with Publish Profile
Lecture 35 Azure SQL Database
Lecture 36 Customizing MeetupContext
Lecture 37 Automatic migrations
Lecture 38 API in the Cloud
Section 8: Summary
Lecture 39 Course summary
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 Information:
Udemy | English | 4h 31m | 1.78 GB
Created by: Jakub Kozera
You Can See More Courses in the IT & Software >> Greetings from CourseDown.com