/Blazor-WebAssembly-by-Example

Blazor WebAssembly by Example, published by Packt

Primary LanguageC#MIT LicenseMIT

Blazor WebAssembly by Example

Blazor WebAssembly by Example

This is the code repository for Blazor WebAssembly by Example, published by Packt.

A project-based guide to building web apps with .NET, Blazor WebAssembly, and C#

What is this book about?

Blazor WebAssembly makes it possible to run C# code on the browser without having to use JavaScript, and does not rely on plugins or add-ons. The only technical requirement for using Blazor WebAssembly is to work with a browser that supports WebAssembly which, as of today, all modern browsers do

This book covers the following exciting features:

  • Discover the power of the C# language for both server-side and client-side web development
  • Use the Blazor WebAssembly App project template to build your first Blazor WebAssembly application
  • Use templated components and the Razor class library to build a modal dialog box
  • Understand how to use JavaScript with Blazor WebAssembly
  • Build a progressive web app (PWA) to enable native app-like performance and speed

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

@page "/{*path}"
<h1>Catch All</h1>
Route: @Path
@code {
    [Parameter] public string Path { get; set; }
}

Following is what you need for this book: This book is for .NET web developers who are tired of constantly learning new JavaScript frameworks and wish to write web applications using Blazor WebAssembly, leveraging the power of .NET and C#. The book assumes beginner-level knowledge of the C# language, .NET framework, Microsoft Visual Studio, and web development concepts.

With the following software and hardware list you can run all code files present in the book (Chapter 1-15).

Software and Hardware List

Chapter Software required OS required
1-9 visual Studio 2019 Community Edition Windows, Mac OS X, and Linux (Any)
8-9 SQL Server 2019 Express Edition Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Code in Action

Click on the following link to see the Code in Action:

YouTube

Related products

Get to Know the Author

Toi B. Wright has been a Microsoft MVP in ASP.NET for 16 years and is also an ASP Insider. She is an experienced full-stack software developer, book author, courseware author, speaker, and community leader with over 25 years of experience. She has a BS in computer science and engineering from the Massachusetts Institute of Technology (MIT) and an MBA from Carnegie Mellon University (CMU).