Restful Web Api - The Complete Guide (.Net7 Api) Part 2
Published 6/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 2.65 GB | Duration: 4h 21m
Published 6/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 2.65 GB | Duration: 4h 21m
Learn advance concepts in RESTful web API (C#) with Authentication (.NET 7 API) and explore how to consume them.
What you'll learn
Add V2(version) of API
Handle file/image uploads in API and Web Project
Refresh token fundamentals
Consuming refresh token endpoint in web application
Clean Coding
Dynamic Base Service
Exception Handling via Filters and Middleware
Azure Deployment
Requirements
RESTful Web API - The Complete Guide (.NET7 API) Part 1 Course on Udemy
Description
This is an Intermediate to Advance level course on ASP.NET Core Web API that will take you from an existing .NET API application that we build in Part 1 of the course and add more features in v2 of the API, along with enhancing security by using refresh token.By the end of this course, you will be able to have a good foundation about advance concepts with .NET API.Topics Covered IncludeAdd V2(version) of APIHandle file/image uploads in API and Web ProjectRefresh token fundamentalsConsuming refresh token endpoint in web applicationClean CodingDynamic Base ServiceDeploying API and Web App to AzureException Handling via Filters and MiddlewareATTENTION: You must take Part 1 of this course before you proceed on taking Part 2. Once you complete Part 1, we will use the same project and build on to that project in this course when we explore the advance concepts.The course is up to date with .NET 7, once .NET 8 is released if there are breaking changes, I will update the course. That way you can always be assured that the content would be up to date!Good luck and I hope to see you guys in the course!
Overview
Section 1: Introduction
Lecture 1 Introduction
Lecture 2 Do not Skip (Prerequisites)
Lecture 3 Initial code and getting started
Lecture 4 Create database
Section 2: Initial Setup
Lecture 5 Configure V2 for all Endpoints
Lecture 6 Make API Version Dynamic in Web Project
Lecture 7 Better NavBar
Lecture 8 Load Placehold Image
Lecture 9 Show Roles in Dropdown on Register
Lecture 10 Assign Role while Registering
Lecture 11 Modify Navbar based on Role
Section 3: File Upload
Lecture 12 Where to place Uploaded Image
Lecture 13 Modify DTO's for Villa
Lecture 14 Content Type for FormFile
Lecture 15 Display Image on Villa Update
Lecture 16 How to handle FormFile in BaseService
Lecture 17 Create Villa with Image
Lecture 18 Demo - Create Villa with Image
Lecture 19 Update and Delete Villa
Lecture 20 Create Villa in Web Project and Assignment
Lecture 21 Assignment - Update and Delete Villa from Web Project
Section 4: Clean Code
Lecture 22 Rename JWTToken
Lecture 23 Rename LoginResponseDTO
Lecture 24 Create ITokenProvider
Lecture 25 Implement Token Provider
Lecture 26 Rename Token in TokenDTO
Lecture 27 Consume Token Provider in AuthController
Lecture 28 Remove Token from API Calls Using Session
Lecture 29 Pass Bearer Token on HttpClient
Lecture 30 Add Base Service to DI
Lecture 31 Assignment Solution - Bug Update
Lecture 32 Add Bearer Flag
Lecture 33 Separating out Access Token Generator call
Section 5: Refresh Token
Lecture 0 How Refresh Tokens work
Lecture 34 Create Table to Refresh Token
Lecture 35 User Controller Endpoint
Lecture 36 Read Access Token
Lecture 37 Create Refresh Token
Lecture 38 Add Refresh Token to Token Provider
Lecture 39 Steps to Generate Refresh Token
Lecture 40 Create New Access Token from Refresh Token
Lecture 41 Testing Tokens
Lecture 42 JWT Chain Validation
Lecture 43 Testing Bad Tokens
Lecture 44 Execute Update NET 7 Feature
Section 6: Web Project Changes
Lecture 45 Better Design for Base Service
Lecture 46 Modify Base Service for Refresh Tokens
Lecture 47 Invoke Refresh Endpoint from Web Project
Lecture 48 Get New Refresh Token and Sign in User
Lecture 49 Debugging Session with Tokens Part 1
Lecture 50 Debugging Session with Tokens Part 2
Lecture 51 Modify Base Service to Handle Error Codes
Lecture 52 Custom Auth Exception
Lecture 53 Separating out Message Builder
Lecture 54 Clean Design
Lecture 55 Revoke Token on Logout
Section 7: Advance Concepts
Lecture 56 Audience and Issuer with Tokens
Lecture 57 Move Swagger Gen Configuration to Separate File
Lecture 58 Make Swagger Configuration More Dynamic
Lecture 59 Apply Pending Migrations
Section 8: Azure Deployment
Lecture 60 Create Azure SQL Server and Database
Lecture 61 Publish API
Lecture 62 Deploy Web Application
Section 9: Error Handling
Lecture 63 Exception Endpoint
Lecture 64 Custom Error Handler Endpoint
Lecture 65 Custom Problem Implementation
Lecture 66 Filters in Pipeline
Lecture 67 Status Code Links
Lecture 68 Custom Error Handler in Program Class File
Lecture 69 Clean Code & Extensions
Lecture 70 Customize Handler by Exception
Lecture 71 Custom Middleware for Error Handling
Anyone looking to explore how to work with files in .NET API,Anyone looking to learn refresh tokens from ground zero,Anyone looking to explore intermediate/advance concepts in .NET API