Skip to Content
Building Blazor Components: Web Pages with C# Instead of JavaScript
on-demand course

Building Blazor Components: Web Pages with C# Instead of JavaScript

with Peter Himschoot
December 2019
Intermediate
1h 9m
English
Apress
Closed Captioning available in English

Overview

Learn Blazor, an alternative to JavaScript for web applications that is based upon Microsoft's popular and powerful C# language. You'll build web applications by dividing them into easy-to-maintain components known as Razor components, then create those components using the Blazor framework. In this video you'll see how to make components in Blazor that communicate efficiently with each other and the Blazor runtime libraries in order to accomplish your application goals. Along the way, you'll learn to leverage your components over multiple applications by packaging those components into libraries that can be shared. 

This video starts off by walking you through the creation of a simple component. Then the video shows how to leverage what you’ve built in the first component by using that component as the basis for a second. The video continues by showing how you can split your code from markup using the View and ViewModel approach, and how to set up communications between components. You'll also cover life-cycle hooks, cascading parameters, and the concept of templated components to facilitate code reuse. 

What You Will Learn

  • Create Blazor components as building blocks for reusing code
  • Share components between projects using component libraries
  • Build complex component hierarchies with cascading parameters
  • Construct templated components that can be re-used in different scenarios
  • Implement the popular View/ViewModel pattern for Blazor components
  • Share data between different components and make them sync
  • Optimize your code using a component’s life-cycle hooks


Who This Video Is For

For Blazor and web developers who want to learn how to build functional and reusable Blazor components. For developers who want to gain maximum leverage from their components by using them across as many applications as is feasible. 
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Watch now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Building Web APIs with ASP.NET 4.5

Building Web APIs with ASP.NET 4.5

John Adams, Ryan Butler
ASP.NET MVC 5

ASP.NET MVC 5

Jeffrey Palermo

Publisher Resources

ISBN: 9781484256725