Skip to main content
  • Book
  • © 2022

Beginning Azure Static Web Apps

Building and Deploying Dynamic Web Applications with Blazor

Apress

Authors:

  • Covers dynamic content via Azure Functions

  • Discusses the JAMstack revolution, but swapping JavaScript for Blazor

  • Contains examples using Visual Studio 2022

Buy it now

Buying options

eBook USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, access via your institution.

Table of contents (13 chapters)

  1. Front Matter

    Pages i-xviii
  2. Getting Started

    1. Front Matter

      Pages 1-1
    2. Introduction

      • Stacy Cashmore
      Pages 3-6
    3. Setting Up the Environment

      • Stacy Cashmore
      Pages 7-30
    4. Creating the Application

      • Stacy Cashmore
      Pages 31-71
    5. Creating the Static Web App

      • Stacy Cashmore
      Pages 73-96
    6. Simple Debugging

      • Stacy Cashmore
      Pages 97-117
  3. Creating Our App

    1. Front Matter

      Pages 119-119
    2. Retrieving Blog Data

      • Stacy Cashmore
      Pages 121-141
    3. Displaying Data

      • Stacy Cashmore
      Pages 143-168
    4. Static Web App Configuration

      • Stacy Cashmore
      Pages 169-182
  4. Authentication

    1. Front Matter

      Pages 183-183
    2. Authentication

      • Stacy Cashmore
      Pages 185-210
    3. Creating Blog Posts

      • Stacy Cashmore
      Pages 211-239
  5. SWA Functionality

    1. Front Matter

      Pages 241-241
    2. Static Web App CLI

      • Stacy Cashmore
      Pages 243-255
    3. Testing in Azure

      • Stacy Cashmore
      Pages 257-270
    4. Custom Domains

      • Stacy Cashmore
      Pages 271-278
  6. Back Matter

    Pages 279-290

About this book

Create rich and dynamic web applications on the Azure cloud platform using static web development techniques built around Blazor WebAssembly, APIs, and Markup, while leveraging the paradigm commonly known as JAMstack.




This book starts off showing you how to create an environment for deploying your first application. You will create an Azure Static Web App using a Blazor WebAssembly application and adding dynamic content using an Azure function before deploying from GitHub. You will learn to debug your Static Web App locally, both inside of Visual Studio and from the command line using a simple Static Web App CLI command. The book takes a deep dive into the CLI to allow you to emulate all of the features available in the Azure environment. You will learn the authentication and authorizing options with your app and create new blog posts with the post creation function. Included in the book is setting a custom domain and discussion of the options. The book also explores the differences between the free and standard hosting tiers for Static Web Apps.


After reading this book, you will be able to create Azure Static Web Apps using Blazor technology.


What Will You Learn
  • Connect with external authentication services from Twitter, Google, Microsoft, GitHub, and more
  • Work with the GitHub deployment flow, including using staging environments
  • Explore the scaffolded Blazor app
  • Understand differences between the pricing tiers and know which to choose

Who This Book Is For


Web developers looking to deploy feature-rich applications to the cloud



Keywords

  • Azure function
  • Github
  • Blazor
  • API
  • Visual Studio 2022
  • SWA
  • Deploying web apps
  • Microsoft
  • Dynamic Web Apps
  • programming
  • static web apps

Authors and Affiliations

  • Amsterdam, The Netherlands

    Stacy Cashmore

About the author

Speaker, author and software developer- Stacy has been developing solutions since the mid-1990s in various companies and industries ranging from facilitating contract jobbing to allowing consumers to close a mortgage without the help of a financial adviser – with lots in between.

She has a passion for sharing knowledge: using story telling for sharing her experiences to help teams grow in the ways that they develop software and work together, and performing live coding demonstrations to inspire others to try new technologies.

For her effort in the community, Stacy has been awarded the Microsoft MVP for Developer Technologies since 2020.

Bibliographic Information

  • Book Title: Beginning Azure Static Web Apps

  • Book Subtitle: Building and Deploying Dynamic Web Applications with Blazor

  • Authors: Stacy Cashmore

  • DOI: https://doi.org/10.1007/978-1-4842-8146-8

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

  • Copyright Information: Stacy Cashmore 2022

  • Softcover ISBN: 978-1-4842-8145-1Published: 29 September 2022

  • eBook ISBN: 978-1-4842-8146-8Published: 28 September 2022

  • Edition Number: 1

  • Number of Pages: XVIII, 290

  • Number of Illustrations: 162 b/w illustrations

  • Topics: Microsoft and .NET

Buy it now

Buying options

eBook USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access