ASP.NET Core API and Blazor Online Course
ASP.NET Core API and Blazor Online Course
This course guides you through building modern, enterprise-ready web applications with ASP.NET Core and Blazor. You’ll learn to configure your environment, connect to databases with Entity Framework Core, implement logging with Serilog, and document APIs with SwaggerUI. Key topics include JWT authentication, managing user state in Blazor, consuming REST APIs, using models and AutoMapper, and working with NuGet and GitHub. The course concludes with deploying apps and databases to Microsoft Azure. By the end, you’ll have built a fully functional single-page Blazor application and gained hands-on expertise in the .NET development environment.
Who should take this Course?
The ASP.NET Core API and Blazor Online Course is ideal for web developers, software engineers, and programmers who want to build modern, interactive web applications using ASP.NET Core APIs and Blazor. It’s also suitable for professionals seeking to create full-stack applications with C#, Razor components, and .NET, as well as those looking to enhance their skills in building client-side and server-side web apps. Basic knowledge of C# and web development concepts is recommended for effective learning
What you will learn
- Connect to an existing database using Entity Framework Core
- Set up API documentation using SwaggerUI
- Store JSON web tokens using local browser storage
- Consume REST web API in a Blazor application
- Deploy applications and databases to Microsoft Azure
- Learn to use AutoMapper and Data Transfer Objects (DTOs)
Course Outline
Introduction to the Course
Environment Configuration and Account Setup
- Install Visual Studio 2022 Community Edition
- Install SQL Server Express Edition
- Create a GitHub Account
- Install and Explore Postman
Project Setup and Configuration
- Create .NET 6 Web API Project
- Tour of Project Structure and Files
- Configure Logging Using Serilog
- CORS Configuration
- Review and Add Changes to GitHub
Set Up and Scaffold Database
- Create Database in SQL Server
- Scaffold Database
- Review and Add Changes to GitHub
Set Up Author API Controller and Functionality
- Section Overview
- Set Up API Controller
- Set Up AutoMapper and DTOs
- Add Logging with Serilog and Seq
- Review and Add Changes to GitHub
Set Up Book API Controller and Functionality
- Section Overview
- Set Up API Controller
- Set Up AutoMapper and DTOs
- Review and Add Changes to GitHub
Configure Identity and JWT Authentication
- Section Overview
- Add Identity Core Libraries and Tables to API
- Add Custom Fields to User Table
- Seed Test Users and Roles
- Set Up Authentication Controller
- Set Up JSON Web Tokens (JWT) Authentication - Part 1
- Set Up JSON Web Tokens (JWT) Authentication - Part 2
- Set Up Controller and Action Authorizations
- Review and Add Changes to GitHub
Create Blazor Server Client App
- Section Overview
- Create and Understand Blazor Project Structure
- Set Up HTTP Client Using NSwag Studio
- Set Up User Registration
- Set Up User Login - Part 1
- Set Up User Login - Part 2
- Review and Add Changes to GitHub
Author Management Blazor UI
- Section Overview
- Set Up Authors Index
- Extend HTTP Client
- Set Up Create Author Component
- Set Up Update Author Component
- Set Up View Author Component
- Delete Author with JavaScript Interop
- Add Authorization Restrictions
- Review and Add Changes to GitHub
Book Management Blazor UI
- Section Overview
- Set Up Book Management Service Methods
- Set Up Books Index Component (With Delete Functionality)
- Set Up Create Book Component w/ File Upload - Part 1
- Set Up Create Book Component w/ File Upload - Part 2
- Set Up View Book Component
- Set Up Update Book Component
- Review and Add Changes to GitHub
Create Blazor WebAssembly Client App
- Blazor WebAssembly Introduction
- Tour Blazor WebAssembly Project
- Transferring Blazor Server Code to Blazor WebAssembly
- Progressive Web Application
- Review and Add Changes to GitHub
UI and Architectural Considerations
- Implement Repository Pattern
- Virtualization
- Code Behind Component Files
Deploy to Microsoft Azure
- Section Overview
- Set Up Microsoft Azure Account
- Deploy API to Azure
- Deploy Blazor Server App
- Deploy Blazor WebAssembly App
- Section Review
No reviews yet. Be the first to review!