Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Blazor WebAssembly by Example, 2e

You're reading from   Blazor WebAssembly by Example, 2e Use practical projects to start building web apps with .NET 7, Blazor WebAssembly, and C#

Arrow left icon
Product type Paperback
Published in Feb 2023
Publisher Packt
ISBN-13 9781803241852
Length 438 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Toi B. Wright Toi B. Wright
Author Profile Icon Toi B. Wright
Toi B. Wright
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Introduction to Blazor WebAssembly FREE CHAPTER 2. Building Your First Blazor WebAssembly Application 3. Debugging and Deploying a Blazor WebAssembly App 4. Building a Modal Dialog 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 Application State 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 the EditForm Component 13. Other Books You May Enjoy
14. Index

Deploying to Microsoft Azure

Deploying a Blazor WebAssembly app using Visual Studio is quite simple. There is an easy-to-follow wizard that is included in Visual Studio. These are the steps for deploying a Blazor WebAssembly app to Microsoft Azure using Visual Studio 2022.

  1. Right-click the project and select Publish from the menu.

This is the first page of the Publish wizard:

Figure 3.14 – First Page of Publish Wizard

As you can see, there are many options provided. For this project we will be publishing the application to the Microsoft cloud

  1. Select Azure and click the Next button.

This is the second page of the Publish wizard.

Figure 3.15 – Second Page of Publish Wizard
  1. Select Azure App Service (Windows) and click the Next button.

This is the last page of the Publish wizard. This page is used to select the Azure App Service to use for the application. You can also use this page to create an Azure App Service.

Figure 3.16 – Last Page of Publish Wizard
    ...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime