Complete Guide to ASPNET Core RESTful API with Blazor WASM

Build RESTful Web API in ASP.NET CORE Consumed with Blazor WebAssembly
Complete Guide to ASPNET Core RESTful API with Blazor WASM
File Size :
9.20 GB
Total length :
16h 22m

Category

Instructor

Frank Liu

Language

Last update

10/2021

Ratings

4.4/5

Complete Guide to ASPNET Core RESTful API with Blazor WASM

What you’ll learn

Master ASPNET Core Web API (from zero to hero)
Create a Blazor WebAssembly App to consume the Web API
Using Identity Server 4 in-depth
Proper Web Development Architecture and Best Practices
What is Web API
RESTful API Design
ASPNET Core Platform Basics
Web API Routing, Model Binding, Model Validation, Filter Pipeline
Web API versioning, OpenAPI / Swagger documentation
Entity Framework Core Basics
Create a bug tracker Web API
Testing Web API with PowerShell and Postman
Repository Pattern
Custom Token Authentication
JWT Token Authentication

Complete Guide to ASPNET Core RESTful API with Blazor WASM

Requirements

Intermediate Level of C# (at least 6 months of experience)
Basic HTML
It is best to know ASP NET Core and Blazor, but if you don’t have experience, I cover the basics when building our app.
You should know OOP and the concept of interface in C#.

Description

Web API is one of the most import application frameworks based on ASP.NET Core platform. Almost all applications need to depend on a backend API based on platforms like ASP.NET core. Web API is also one of the most stable application frameworks that don’t change as often or as much as the other application frameworks within ASP.NET Core. Mastering Web API in .NET 5 will be a big advantage in your career development. This course will help you master Web API in ASP.NET CORE 5 inside out.Blazor WebAssembly is Microsoft’s latest application framework that makes running C# in browsers possible. Hence, you no longer need to heavily depends on Javascripts in the front end. This course will also get you started with Blazor WebAssembly. Our Blazor WebAssembly as our front end app will consume the Web API endpoints that we create in this course.With 16 sections and 16 hours of video content, the course covers the following topics:- What is Web API- RESTful API Design- ASP.NET Core Platform Basics- Web API Routing, Model Binding, Model Validation, Filter Pipeline- Web API versioning, OpenAPI / Swagger Documentation- Entity Framework Core Basics- Create a bug tracker Web API- Testing Web API with PowerShell and Postman- Repository Pattern- Create a Blazor WebAssembly App to consume the Web API- Custom Token Authentication- JWT Token Authentication- Using Identity Server 4 in-depth- Proper Web Development ArchitectureBy the end of the course: you will master Web API in ASP.NET CORE 5 inside out. You will not only be able to create Web API endpoints for simple scenarios, but also know all the technical aspects of Web API including Web API security in-depth that will help you succeed in job interview as well as in your current work. Hence, this course is a complete course that will take you from zero to hero in understanding and using Web API in ASP.NET Core 5. If you have worked with ASP.NET Core Web API and are looking to fill in the gaps, this course will server you very well too. This course will also get you started with Blazor WebAssembly. PREREQUISITES- Intermediate Level of C# (at least 6 months of experience)- Basic HTML- It is best to know ASP.NET Core and Blazor, but if you don’t have experience, I cover all the basics when building our app.- You should know OOP and the concept of interface in C#.Who this course is for- C# developers who want to get started with Web API in ASPNET Core 5- C# developers who want to take a real deep dive into knowing all aspects of Web API development- Developers who work with Web API and want to fill in the gaps- C# developers who want to get started with Blazor WebAssembly along with complete understanding of Web API- Developers who not only want to learn the related techniques but also very keen in learning good architecture and best practices.

Overview

Section 1: Introduction: What and Why

Lecture 1 Course Introduction

Lecture 2 Source Code

Lecture 3 What is Web API

Lecture 4 Why Web API: Sharing Data

Lecture 5 Why Web API: Sharing Functionalities

Lecture 6 What Should You Share with Web API

Lecture 7 What makes RESTful Web API

Section 2: Laying Foundation by Designing a Web API Framework from Scratch

Lecture 8 Designing a Web API Framework from Scratch

Lecture 9 Requirements of the Web API Framework

Lecture 10 Architectural Design of the Framework

Lecture 11 “Implementing” the Framework (Demo with Node.js)

Lecture 12 Testing the Framework with PowerShell ISE

Lecture 13 Missing Parts in “Our” Framework

Section 3: REST API DESIGN

Lecture 14 Basic Web API Design

Lecture 15 Practice Time: API Design

Lecture 16 Suggested Answer: API Design

Section 4: ASP.NET Core Platform Basics

Lecture 17 ASP.NET Core Platform Basics: Architecture

Lecture 18 ASP.NET Core Platform Basics: Demo

Section 5: Web API Routing

Lecture 19 Web API Routing #1

Lecture 20 Web API Routing #2

Lecture 21 Practice Time: Web API Routing

Lecture 22 Suggested Answer: Web API Routing

Section 6: Web API Model Binding

Lecture 23 How Model Binding Works

Lecture 24 Primitive Type Model Binding from Route & Query

Lecture 25 Complex Type Model Binding from Route & Query

Lecture 26 Model Binding from Body

Section 7: Web API Model Validation

Lecture 27 Introduction

Lecture 28 Data Annotation

Lecture 29 ValidationAttribute

Lecture 30 Practice Time: Model Validation

Lecture 31 Suggested Answer: Model Validation

Section 8: Web API Filter Pipeline

Lecture 32 Filter Pipeline: What and Why

Lecture 33 Middleware Pipeline vs Filter Pipeline

Lecture 34 ActionFilter

Lecture 35 Formats of Errors

Lecture 36 ResourceFilter

Lecture 37 Practice Time: Filter Pipeline

Lecture 38 Suggested Answer: Filter Pipeline

Section 9: Creating the EndPoints

Lecture 39 Architecture Problem #1

Lecture 40 Decouple Model Classes to Fix Problem #1

Lecture 41 Architecture Problem #2

Lecture 42 Decouple Validation Logic to Fix Problem #2

Lecture 43 Add Entity Framework

Lecture 44 Reading Data Endpoints

Lecture 45 Writing Data Endpoints

Lecture 46 Testing Endpoints

Lecture 47 Practice Time: Tickets Endpoints

Lecture 48 Solution: Tickets Endpoints

Lecture 49 Testing and Fixing issues of the Tickets Endpoints

Section 10: Web API Advanced Topics

Lecture 50 Asynchronous Endpoints: What and Why

Lecture 51 Asynchronous Endpoints: Implementation

Lecture 52 Why Versioning

Lecture 53 Install the Versioning Package

Lecture 54 Create two versions of the endpoints

Lecture 55 Versioning with Http Header

Lecture 56 Versioning with Route

Lecture 57 Versioning with Query String

Lecture 58 Which way of Versioning

Lecture 59 DTO and AutoMapper Explained

Lecture 60 Migrate to .NET 5

Lecture 61 Add OpenAPI with Default Behavior

Lecture 62 Add OpenAPI to Support Multiple Versions

Lecture 63 Add Data Filtering

Section 11: Repository for Consuming Web API

Lecture 64 Web API and its Consumer

Lecture 65 Why Use Repository to Consume Web API

Lecture 66 Web API Executer Helper Class

Lecture 67 Read Project #1 & DIP Principle

Lecture 68 Read Project #2

Lecture 69 Create Project

Lecture 70 Update Project

Lecture 71 Delete Project

Lecture 72 Handling Error

Lecture 73 Practice Time: Ticket Repository

Lecture 74 Suggested Answer: Ticket Repository

Section 12: Blazor WebAssembly App

Lecture 75 Architecture Guidance

Lecture 76 Use Cases

Lecture 77 View Projects Use Case & Code Organziation

Lecture 78 Blazor WebAssembly Architecture

Lecture 79 Blazor WebAssembly Project Structure

Lecture 80 Project Page Component

Lecture 81 Dependency Injection in Blazor WebAssembly

Lecture 82 Enable CORS and Load Projects page

Lecture 83 View Tickets Use Case #1 and Component with Route Parameters

Lecture 84 View Tickets Use Case #2

Lecture 85 Reusable Razor Component

Lecture 86 Search Tickets

Lecture 87 Practice Time: View My Tickets

Lecture 88 Suggested Answer: View My Tickets

Lecture 89 View/Edit Ticket Use Case

Lecture 90 Navigate to Ticket Screen

Lecture 91 Forms and Validations

Lecture 92 Update Ticket with Custom Validations

Lecture 93 Add Ticket Use Case

Lecture 94 Add Ticket Component

Lecture 95 Troubleshooting with Console.WriteLine

Lecture 96 Practice Time: Delete Ticket

Lecture 97 Suggested Answer: Delete Ticket

Section 13: Custom Token and JWT Authentication & Authorization

Lecture 98 Introduction to Web API Security

Lecture 99 API Key Authentication for Single Client

Lecture 100 API Key Authentication for Multi Clients

Lecture 101 Theory of Custom Token Authentication

Lecture 102 Custom Token Authentication Endpoints

Lecture 103 Implement Token Manager and User Manager

Lecture 104 Expiry Date Verification

Lecture 105 Custom Token Verification in Web API

Lecture 106 Calling Custom Token Authentication Endpoints from WebApp

Lecture 107 Blazor Authentication Theory

Lecture 108 Implement the CustomAuthenticationStateProvider

Lecture 109 Use the CustomAuthenticationStateProvider

Lecture 110 Store token in the browser session storage

Lecture 111 Create_Login_Component

Lecture 112 Implement Logout

Lecture 113 Source code for Custom Token Auth

Lecture 114 JWT Authentication Authorization Theory

Lecture 115 Implement JWT Token Authentication

Lecture 116 Role based Authentication with JWT

Lecture 117 Source code for JWT Token Auth

Lecture 118 Configure Swagger UI to Enable Authorization

Section 14: Security with Identity Server 4

Lecture 119 Introduction to Identity Server 4

Lecture 120 Resource for understanding OAuth flows in depth

Lecture 121 Create the Identity Server Project

Lecture 122 Configure Scopes in Identity Server

Lecture 123 Protect our Web API

Lecture 124 Test WebApi Protection

Lecture 125 Protecting WebAPI with Scopes

Lecture 126 Source code for protecting web api with IS4

Lecture 127 The Aspects of Making Blazor WASM work with Identity Server

Lecture 128 Configture Blazor WASM to Work with IS4 Part_1

Lecture 129 Configture Blazor WASM to Work with IS4 Part_2

Lecture 130 Source code with IS4

Section 15: Connect to SQL Server with Entity Framework Core

Lecture 131 Install Entity Framework Packages to support SQL Server

Lecture 132 Connect to SQL Server from Web API

Lecture 133 Create the Initial Migration

Lecture 134 Running our App against SQL

Lecture 135 Update database with migrations

Section 16: Thank You and Next Steps

Lecture 136 Thank you!

Lecture 137 Next Steps

C# developers who want to get started with Web API in ASPNET Core 5,C# developers who want to take a real deep dive into knowing all aspects of Web API development,C# developers who want to get started with Blazor WebAssembly along with complete understanding of Web API,Developers who work with Web API and want to fill in the gaps,Developers who not only want to learn the related techniques but also very keen in learning good architecture and best practices.

Course Information:

Udemy | English | 16h 22m | 9.20 GB
Created by: Frank Liu

You Can See More Courses in the Developer >> Greetings from CourseDown.com

New Courses

Scroll to Top