Exploring Blazor

Creating Hosted, Server-side, and Client-side Applications with C#

  • Taurius Litvinavicius

Table of contents

  1. Front Matter
    Pages i-xi
  2. Taurius Litvinavicius
    Pages 1-6
  3. Taurius Litvinavicius
    Pages 7-17
  4. Taurius Litvinavicius
    Pages 19-42
  5. Taurius Litvinavicius
    Pages 43-65
  6. Taurius Litvinavicius
    Pages 67-111
  7. Taurius Litvinavicius
    Pages 113-131
  8. Taurius Litvinavicius
    Pages 133-151
  9. Taurius Litvinavicius
    Pages 153-178
  10. Taurius Litvinavicius
    Pages 179-193
  11. Back Matter
    Pages 195-199

About this book


Build and develop web applications with Blazor in C#. This book will cover all three types of Blazor – server-side, client-side, and hosted along with other features of the technology. You’ll see that Blazor is a web UI framework based on C#, Razor, and HTML and how it runs front-end logic using C# either on the server or on the browser using WebAssembly. 

The author starts by introducing WebAssembly and gives an overview of Blazor along with its various categories. Next, you’ll get started with Blazor where you learn the basics, including Razor syntax implementation. Here you will go over the major differences between Blazor and Razor and how the syntax works. A demo of the layout and navigation for server-side Blazor is followed by usage of Razor syntax to control an application in client-side Blazor. Further, you will go through the project layout, navigation, and routes for the API. Here, you will understand how to access the API from the front end and use the shared library for different models.

Moving forward, you will discover how Blazor works with storage, files, and JavaScript. Finally, you will create web applications in Blazor using practical implementations and real-life scenarios for server-side, client-side, and hosted applications. 

After reading this book you will be able to build web applications with Blazor in C# and .NET Core 3.0.

You will:

  • Bind one-way and two-way data
  • Combine Blazor and JavaScript
  • Understand layout in server-side and client-side applications
  • Execute the general syntax in Razor          


blazor C# razor JavaScript .NET Core 3.0 .NET

Authors and affiliations

  • Taurius Litvinavicius
    • 1
  1. 1.JonavaLithuania

Bibliographic information