ASP.NET Core Blazor, as the full name of Blazor sounds, allows C# developers to create web application user interfaces without having to use javascript. In the course, we will get acquainted with the Blazor Server and Blazor WebAssembly host [...]
  • ASPNET_BLAZOR
  • Duration 2 days
  • 20 ITK points
  • 5 terms
  • Praha (10 800 Kč)

    Brno (10 800 Kč)

    Bratislava (460 €)

  • Intermediate

ASP.NET Core Blazor, as the full name of Blazor sounds, allows C# developers to create web application user interfaces without having to use javascript. In the course, we will get acquainted with the Blazor Server and Blazor WebAssembly host models, and explain the fundamental differences between them. We will answer the question for which scenarios which model is suitable. We will show how the user interface is created using components and how these components can work together, we will learn how to create forms with user input validations. We will also look at the possibility of creating multiple language versions of the application. Although we will show how we can work with javascript in C # code, its knowledge is not needed for the purposes of the course or for the development of applications in Blazor.

»
  • Knowledge of C# programming at the GOC2125 course level
  • Basic knowledge of ASP.NET Core (middlewares, dependency injection)

Expert explanation with practical examples, exercises on computers

Introduction to Blazor, hosting models

  • Introduction to Blazor Server and Blazor WebAsembly hosting models
  • Blazor application structure

Component creation

  • Introduction to Razor files
  • Difference between components and elements
  • Passing parameters between components
  • Events - publishing messages from the component
  • Code behind
  • Writing components without razor files
  • Component localization

Forms

  • EditContext, a form model
  • Validation of forms and display of results
  • Form localization

Component life cycle

  • Basic component life cycle
  • Tricks hidden in the life cycle
  • Using Dispose and DisposeAsync

JavaScript Interop

  • Calling javascript code from .NET
  • .NET calls from javascript code

Handling HTML header

  • PageTitle and HeadContent

Error handling

  • ErrorBoundary
Current offer
Training location
Course language

The prices are without VAT.