Blazor with .NET
Use C# in the frontend: your team builds a complete Blazor application and learns to test its components with bUnit.
- 2 Days
- Advanced
- Remote or in-house
- German & English

Is this training right for your team?
Who it’s for
- .NET developers who want to build web frontends in C#
- Teams evaluating Blazor as an alternative to a JavaScript framework
Afterwards your team can
- Choose the right render mode for each part of an application
- Build components, pages, data binding and events
- Integrate JavaScript where needed
- Unit-test components with bUnit
Prerequisites
- Solid C# and .NET knowledge
- Basic HTML and CSS
- Visual Studio or Rider with the current .NET SDK installed
Want to use C# in the frontend? In this course your team learns Blazor, Microsoft’s web framework, and builds a complete web application with current .NET.
Steven Giesel is one of the maintainers of bUnit, the testing library for Blazor components – so testable components get a block of their own, taught by someone who builds the tool.
Agenda
The order and the depth of each block are adapted to your team – topics you already master are skipped, your questions get the time instead.
Introduction to Blazor – What Is It and Why Use It?
Blazor builds web applications in C# instead of JavaScript. What it is good at, where it is not the right choice, and why teams pick it.
Blazor Web App and Render Modes
Static server rendering, Interactive Server, Interactive WebAssembly and Auto – how they differ and which one fits which part of your application.
Creating the First Application
Set up the development environment, create a first Blazor Web App and get to know its structure.
Your First Component and Page
Build a first component, put it on a page and understand the role of each.
Parameters, Events and Data Binding
Pass data between components, handle user interaction with events and connect UI and data with data binding.
Using JavaScript in Blazor
Where JavaScript still makes sense, and how JavaScript interop works in both directions.
bUnit – Unit Testing Your Components
Why tests matter in Blazor applications and how to write robust unit tests for components with bUnit – taught by one of its maintainers.
How to Structure Your Application
As an application grows, its structure decides how easy it is to change. Patterns and practices for structuring Blazor applications.
Your trainer

Steven Giesel
Microsoft MVP
.NET engineer in Zurich, Microsoft MVP and co-maintainer of bUnit, the testing library for Blazor components.
Full profile →
Bring this training to your team
For your team only – remote or at your office, on dates that suit you, with examples from your own code base where it helps.
- up to 12 participants (more on request)
- from CHF 2,400 per day for the whole team
- On site: plus travel at cost
- Fixed quote within one business day