Overview
Blazor is an open-source web framework written in C# that enables developers to create interactive web user interfaces and applications using C#.
This instructor-led, live training (online or onsite) is aimed at web developers who wish to use Blazor WebAssembly to build a web application.
By the end of this training, participants will be able to:
- Understand forms and authentication in Blazor WebAssembly.
- Create a Blazor WebAssembly project.
- Learn different ways to run your web application.
Format of the Course
- Interactive lecture and discussion.
- Lots of exercises and practice.
- Hands-on implementation in a live-lab environment.
Course Customization Options
- To request a customized training for this course, please contact us to arrange.
Requirements
- Understanding of C# and HTML
- Knowledge of Blazor
Audience
- Web Developers
Course Outline
Introduction
- Overview of Blazor WebAssembly
Getting Started
- Creating an ASP.NET core hosted Blazor WebAssembly project
- Initializing Git repository
Forms and Authentication
- User login form and validation
- User registration model
- Logging objects to the console
- Using radio buttons
- Navigating the user with NavigationManager
- AuthenticationStateProvider
- Page restrictions
- LocalStorage for authentication
- Adding a logout option
- Cleaning up the navigation and adding a Favlcon
Web API and Entity Framework
- Understanding the Model-View-Controller (MVC) pattern
- Adding the UnitController
- Receiving units from the Web API
- Understanding HTTP methods
- Installing and using Entity Framework (EF)
- Implementing DataContext
- Viewing the database
- Adding, updating, and removing a unit
.NET Core
- Overview of .NET Core
- Razor component
- Component communication
- .NET forms and authentication
- .NET Web API and EF
- Authentication with JSON Web Token (JWT)
- UserUnits
Publishing and Deploying
- Deploying web application on a Windows Server
- Publishing and deploying an app with Visual Studio
Summary and Next Steps