Developer Workshop: Full-stack C# Web Applications with Blazor

Kurskod ds20-Blazor

Developer Workshop: Full-stack C# Web Applications with Blazor

It sounds like a dream: Using C# and .NET for both the server- and browser-part of your application. No more JavaScript. Because of the power of Web Assembly this becomes a reality.

7450 kr (exklusive moms)
På plats

Leveransformer kan variera beroende på ort och datum.

På plats innebär att kursen hålls i klassrum. Läs mer här.
LiveClass innebär att kursen hålls som en lärarledd interaktiv onlineutbildning. Läs mer här.

1 dag
Ort och datum
Expandera för att se kurstillfällen
27 maj

Boka utbildning

In this session you'll experience the advantages of this model and you will know how to create an application and how  to use it. We'll take a look at both hosting models of Blazor using server-side rendering and client-side rendering. And we'll spend a lot of time at the core of Blazor: Creating components.

After attending this workshop you'll be ready to say goodbye to JavaScript and to write full-stack C# web applications!

Workshop plan
  • Explain what Blazor is.
  • Explain the hosting models of Blazor.
  • Start with a basic component. Explore the code that is generated for it.
  • Show that the class derives from ComponentBase.
  • Write a class that derives from ComponentBase and let the component derive from that.
  • Show partial classes as code-behind files.
  • Show that the Parameter attribute opens up properties in a component to the outside world.
  • Briefly show one-way databinding to component properties.
  • Explain the different lifecycle methods that can be overridden.
  • Two-way databinding HTML elements with @bind.
  • Using a more advanced component, show that in many cases just using @bind is not enough.
  • Show that two-way databinding can also work by manually handling events.
  • Introduce custom component events with EventCallback.
  • Use chained binds to two-way databind to properties of a custom component.
  • Propagating data to all components using Cascading values.
  • Show Attribute splatting, especially powerful when used in combination with cascading values.
  • Referencing components with @ref.
  • Show a basic templated component.
  • Apply generics to a templated component.
  • Restrict the generic parameter of a templated component to use the type in the template itself.

About Roland Guijt

Roland is a Microsoft MVP, ASP.NET Insider enjoying a constant curiosity around new techniques in software development. His focus is on all things .NET and browser technologies. As a long-time trainer, he led many courses on these topics and spoke about them at international conferences. He also travels around the globe to offer his self-developed workshops and is a popular Pluralsight author.

The word that comes to mind when he thinks about software development is passion!

Få inspiration & nyheter från oss

Jag godkänner att Cornerstone skickar mig nyheter via e-post