GithubHelp home page GithubHelp logo

hillcat / blazor-webassembly-by-example-second-edition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from packtpublishing/blazor-webassembly-by-example-second-edition

0.0 0.0 0.0 111 MB

License: MIT License

JavaScript 1.95% C# 25.34% CSS 26.81% HTML 45.90%

blazor-webassembly-by-example-second-edition's Introduction

Blazor-WebAssembly-by-Example-Second-Edition

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

Use practical projects to start building web apps with .NET 7, Blazor WebAssembly, and C#

About the book

Blazor WebAssembly helps developers build web applications without the need for JavaScript, plugins, or add-ons. With its continued growth in popularity, getting started with Blazor now can open doors to new career paths and exciting projects – and Blazor WebAssembly by Example will make your first steps easier. This is a project-based guide that will teach you how to build single-page web applications with Blazor, focusing heavily on the practical over the theoretical by providing detailed step-by-step instructions for each project.

In this updated edition, you'll start by building simple standalone web applications and gradually progress to developing more advanced hosted web applications with SQL Server backends. Each project will cover a different aspect of the Blazor WebAssembly ecosystem, such as Razor components, JavaScript interop, security, event handling, debugging on the client, application state, and dependency injection. The book’s projects get more challenging as you progress, but you don’t have to complete them in order, which makes this book a valuable resource for beginners as well as those who just want to dip into specific topics.

By the end of this book, you will have experience and lots of know-how on how to build 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 Build your first Blazor WebAssembly application with the Blazor WebAssembly App project template Learn how to debug a Blazor WebAssembly app, and use ahead-of-time compilation before deploying it on Microsoft’s cloud platform Use templated components and the Razor class library to build and share a modal dialog box Learn how to use JavaScript with Blazor WebAssembly Build a progressive web app (PWA) to enable native app-like performance and speed Secure a Blazor WebAssembly app using Azure Active Directory Get to grips with .NET Web APIs by building a task manager app

Table of Contents

Chapters

  1. Introduction to Blazor WebAssembly
  2. Building Your First Blazor WebAssembly Application
  3. Debugging and Deploying a Blazor WebAssembly Application
  4. Building a Modal Dialog Box using templated components
  5. Building a Local Storage Service using JavaScript Interoperability (JS Interop)
  6. Building a Weather App as a Progressive Web App (PWA)
  7. Building a Shopping Cart using AppState
  8. Building a Kanban Board using Events
  9. Uploading and reading an Excel file
  10. Using Azure Active Directory to secure a Blazor WebAssembly Application
  11. Building a Task Manager using ASP.NET Web API
  12. Building an Expense Tracker using EditForm Component

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

Following is what you need for this book:

We recommend that you read the first two chapters of the book to understand how to set up your computer and how to use a Blazor WebAssembly project template. After that, you can complete the remaining chapters in any order. The projects in each chapter become more complex as you proceed through the book. The final two chapters require a SQL Server database to complete the projects. Chapter 3 and Chapter 10 require a Microsoft Azure subscription.

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

Software and Hardware List

Chapter Software required Hardware specifications OS required
1-12 Visual Studio 2022 Community Edition, SQL Server 2022 Express Edition, Microsoft Azure Common System Windows, Linux or MacOS

Know more on the Discord server Coding

You can get more engaged on the discord server for more latest updates and discussions in the community at Discord

Download a free PDF Coding

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost. Simply click on the link to claim your free PDF. Free PDF Coding

We also provide a PDF file that has color images of the screenshots/diagrams used in this book at Graphics Coding

Get to Know 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 18 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).

blazor-webassembly-by-example-second-edition's People

Contributors

amishav26 avatar anu66 avatar packt-itservice avatar toiwright avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.