Create rich and dynamic web applications built on the Azure cloud platform using static web development techniques built around Blazor WebAssembly, APIs, and Markup, whilst leveraging the paradigm commonly known as JAMstack.
This book starts with demonstrating you how to create an environment for deploying your first application. You will create a blogging application using an Azure Static Web App with a Blazor WebAssembly application and add dynamic content using both .NET Azure functions and the Data API Builder, before deploying from GitHub. You will then learn how to run and debug your application locally, both from inside of Visual Studio, as well as 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 the features available in the Azure Environment. You will go through the authentication and authoring options with your app to allow you to protect your editing and creation functionality in the blog application. Moving forward, you will understand how to add a custom domain to your application and discuss what options are available to you. Finally, the book will compare the differences between the free and paid hosting tiers for Azure Static Web Apps.
New in this second edition:
- Using the latest .NET 9 runtime with C#12 syntax, including isolated Azure functions
- Accessing data directly using the new Data API Builder functionality of Azure Static Web Apps
- Deeper dive into the deployment functionality of both the SWA CLI and the `staticwebapp` command of the Azure CLI
- Moving beyond the 'out of the box' GitHub workflow and creating our own, including infrastructure as code
What You Will Learn:
- Create an Azure Static Web Apps using Blazor technology
- Add dynamic content using connected Azure Functions and Data API Builder
- Debug the application locally, emulating the features available to you in the Azure environment
- Implement basic authentication from both Microsoft Entra ID and GitHub, as well as looking at custom authentication using openID and Auth0
- Understand the workflow of the out of the box GitHub workflow, as well as how to create your own, including infrastructure as code.
Who This Book Is For:
Azure and Web developers looking to deploy feature rich applications to the cloud
Auflage
Sprache
Verlagsort
Verlagsgruppe
Illustrationen
222
7 s/w Abbildungen, 222 farbige Abbildungen
III, 146 p. 229 illus., 222 illus. in color.
ISBN-13
979-8-8688-1321-4 (9798868813214)
Schweitzer Klassifikation
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.
Chapter 1 - Introduction
Part 1 - Getting Started
Chapter 2 - Setting up the Environment
Chapter 3 - Creating the Application
Chapter 4 - Creating the Static Web App
Part 2 - Creating Our App
Chapter 5 - Simple Debugging
Chapter 6 - Retrieving Blog Data
Chapter 7 - Data API Builder
Chapter 8 - Displaying Data
Chapter 9 Static Web App Configuration
Part 3 - Authentication
Chapter 10 - Authentication
Chapter 11 - Creating Blogposts
Part 4 - SWA Functionality
Chapter 12 - Static Web App CLI
Chapter 13 - Testing in Azure
Chapter 14 - Custom Domains
Chapter 15 - Infrastructure as Code and Custom Authentication
Appendix A - Next Steps
Appendix B - Common Issues
Appendix C - Useful Links