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

Video description

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. 

Product information

  • Title: Building Blazor Components: Web Pages with C# Instead of JavaScript
  • Author(s): Peter Himschoot
  • Release date: December 2019
  • Publisher(s): Apress
  • ISBN: 9781484256725