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

Blazor WebAssembly by Example: A project-based guide to building web apps with .NET, Blazor WebAssembly, and C# book cover

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

Author(s): Toi B. Wright (Author)

  • Publisher: Packt Publishing
  • Publication Date: 9 July 2021
  • Language: English
  • Print length: 266 pages
  • ISBN-10: 1800567510
  • ISBN-13: 9781800567511

Book Description

Discover blueprints that explore various components of Blazor, C#, and .NET to help you build web apps without learning JavaScript

Key Features

  • Explore complete, easy-to-follow web projects using Blazor
  • Build projects such as a weather app, expense tracker, and Kanban board with real-world applications
  • Understand and work with Blazor WebAssembly effectively without spending too much time focusing on the theory

Book Description

Blazor WebAssembly makes it possible to run C# code on the browser instead of having to use JavaScript, and does not rely on plugins or add-ons. The only technical requirement for using Blazor WebAssembly is a browser that supports WebAssembly, which, as of today, all modern browsers do. Blazor WebAssembly by Example is a project-based guide for learning how to build single-page web applications using the Blazor WebAssembly framework. This book emphasizes the practical over the theoretical by providing detailed step-by-step instructions for each project.

You'll start by building simple standalone web applications and progress to developing more advanced hosted web applications with SQL Server backends. Each project covers a different aspect of the Blazor WebAssembly ecosystem, such as Razor components, JavaScript interop, event handling, application state, and dependency injection. The book is designed in such a way that you can complete the projects in any order.

By the end of this book, you will have experience building a wide variety of single-page web applications with .NET, Blazor WebAssembly, and C#.

What you will learn

  • 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 and share 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
  • Understand dependency injection (DI) in .NET to build a shopping cart app
  • Get to grips with .NET Web APIs by building a task manager app

Who this book is for

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.

Table of Contents

  1. Introduction to Blazor WebAssembly
  2. Building Your First Blazor WebAssembly Application
  3. Building a Modal Dialog Using Templated Components
  4. Building a Local Storage Service Using JavaScript Interoperability (JS Interop)
  5. Building a Weather App as a Progressive Web App (PWA)
  6. Building a Shopping Cart Using Application State
  7. Building a Kanban Board Using Events
  8. Building a Task Manager Using ASP.NET Web API
  9. Building an Expense Tracker Using the EditForm Component

Editorial Reviews

Review

"Toi has been very active in the ASP.NET community for many years. She has written courseware for Microsoft on ASP.NET and this is her second book on the topic. She's a respected programmer, architect, and communicator.

In this book, she walks you step by step through the creation of a number of standalone projects that are built on the Blazor WebAssembly framework. You'll learn how to leverage your experience with the .NET ecosystem to complete many different types of projects.

Blazor takes .NET and your .NET skills to the web in a new way, and this book is the key to enabling that. In Blazor WebAssembly by Example, Toi has shared her extensive knowledge and years of experience as a web developer and created an easy-to-follow guide for you to quickly learn how to use the Blazor WebAssembly framework. Through her words, step-by-step instructions, copious screenshots, and code samples, you will get started with running C# in your browser instead of JavaScript. Everything she'll show you, including .NET and Blazor itself, is all open source and based on open standards! I'm so glad that we both have a partner in Toi Wright to guide us in this powerful new web framework!"

--

Scott Hanselman

Partner Program Manager at Microsoft

About the Author

Toi B. Wright has been obsessed with ASP.NET for almost 20 years. She is the founder and president of the Dallas ASP.NET User Group. She has been a Microsoft MVP in ASP. NET for 16 years and is also an ASPInsider. 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 B.S. in computer science and engineering from the Massachusetts Institute of Technology (MIT) and an MBA from Carnegie Mellon University (CMU).

You can find her on Twitter at misstoi.

View on Amazon

电子书代发PDF格式价格30元我要求助
未经允许不得转载:Wow! eBook » Blazor WebAssembly by Example: A project-based guide to building web apps with .NET, Blazor WebAssembly, and C#