ASP.NET Core API and Blazor Online Course
ASP.NET Core API and Blazor Online Course
This ASP.NET Core API and Blazor online course equips you with the skills to build modern, enterprise-ready web applications. You will start by configuring your environment and connecting to an existing database using Entity Framework Core. The course covers building progressive web apps with Blazor, implementing logging with Serilog, and generating API documentation with SwaggerUI. Learn user authentication with JWT, store tokens in the browser, and handle authentication states in Blazor. Additionally, you will consume RESTful APIs, work with models, DTOs, and AutoMapper, manage dependencies with NuGet, and use GitHub for source control. Finally, you will deploy your applications and databases to Microsoft Azure. By the end, you will have built a single-page Blazor application that interacts seamlessly with your API.
Key Benefits
- Develop a fully functional, data-driven .NET Core API from the ground up.
- Create a robust, data-driven REST web API leveraging cutting-edge technologies.
- Access comprehensive working files hosted on GitHub, enabling seamless replication of the demonstrated code.
Target Audience
This course is designed for individuals eager to learn REST API development with .NET Core and Blazor server-side development, as well as those interested in exploring Blazor WebAssembly. It is ideal for those who have a basic understanding of programming in C# and wish to expand their knowledge. A minimum of three months of C# programming experience is recommended, along with a foundational understanding of object-oriented programming principles. Although prior exposure to the .NET development stack is not essential, the course is beginner-friendly, providing valuable development tips throughout to guide your learning process.
Learning Objectives
- Establish a connection to an existing database utilizing Entity Framework Core.
- Configure and integrate API documentation with Swagger UI for enhanced accessibility.
- Implement local browser storage to securely store JSON Web Tokens (JWTs).
- Consume RESTful web APIs within a Blazor application for seamless integration.
- Deploy both applications and databases to the Microsoft Azure cloud platform for scalable solutions.
- Gain proficiency in leveraging AutoMapper and Data Transfer Objects (DTOs) to streamline data transformation and communication between application layers.
Course Topics
The ASP.NET Core API and Blazor Exam covers the following topics -
Module 1 - Course Introduction
- Course Overview
Module 2 - Environment Setup and Configuration
- Install Visual Studio 2022 Community Edition
- Install SQL Server Express Edition
- Create a GitHub Account
- Install and Explore Postman
Module 3 - Project Setup and Configuration
- Create a .NET 6 Web API Project
- Navigate through Project Structure and Files
- Configure Logging with Serilog
- Set Up CORS Configuration
- Review and Commit Changes to GitHub
Module 4 - Set Up and Scaffold Database
- Create Database in SQL Server
- Scaffold Database
- Review and Commit Changes to GitHub
Module 5 - Set Up Author API Controller and Functionality
- Section Overview
- Create API Controller
- Set Up AutoMapper and DTOs
- Integrate Logging with Serilog and Seq
- Review and Commit Changes to GitHub
Module 6 - Set Up Book API Controller and Functionality
- Section Overview
- Create API Controller
- Set Up AutoMapper and DTOs
- Review and Commit Changes to GitHub
Module 7 - Configure Identity and JWT Authentication
- Section Overview
- Add Identity Core Libraries and Tables to the API
- Add Custom Fields to User Table
- Seed Test Users and Roles
- Set Up Authentication Controller
- Configure JSON Web Tokens (JWT) Authentication - Part 1
- Configure JSON Web Tokens (JWT) Authentication - Part 2
- Set Up Controller and Action Authorization
- Review and Commit Changes to GitHub
Module 8 - Create Blazor Server Client Application
- 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 Commit Changes to GitHub
Module 9 - Author Management UI in Blazor
- Section Overview
- Set Up Authors Index
- Extend HTTP Client
- Create Author Component
- Update Author Component
- View Author Component
- Delete Author Using JavaScript Interop
- Add Authorization Restrictions
- Review and Commit Changes to GitHub
Module 10 - Book Management UI in Blazor
- Section Overview
- Set Up Book Management Service Methods
- Set Up Books Index Component (with Delete Functionality)
- Set Up Create Book Component with File Upload - Part 1
- Set Up Create Book Component with File Upload - Part 2
- Set Up View Book Component
- Set Up Update Book Component
- Review and Commit Changes to GitHub
Module 11 - Create Blazor WebAssembly Client Application
- Introduction to Blazor WebAssembly
- Tour the Blazor WebAssembly Project
- Migrate Blazor Server Code to Blazor WebAssembly
- Build Progressive Web Application
- Review and Commit Changes to GitHub
Module 12 - UI and Architectural Considerations
- Implement Repository Pattern
- Virtualization
- Code Behind Component Files
Module 13 - Deploy to Microsoft Azure
- Section Overview
- Set Up Microsoft Azure Account
- Deploy API to Azure
- Deploy Blazor Server Application
- Deploy Blazor WebAssembly Application
- Section Review