Azure Static Web Apps with Full Stack .NET

A presentation at NDC Sydney in October 2022 in Sydney NSW, Australia by Melissa Houghton

Slide 1

Slide 1

Azure Static Web Apps with Full Stack .NET Melissa Houghton melissahoughton.dev melissahoughton melissahoughton meliss_houghton

Slide 2

Slide 2

What we will cover Azure Static Web Apps Full Stack Apps with Blazor and .NET Debugging and Deployment Advanced Scenarios @meliss_houghton

Slide 3

Slide 3

About Me Lead Software Engineer & Developer Relations Microsoft MVP Developer Technologies melissahoughton.dev melissahoughton melissahoughton meliss_houghton

Slide 4

Slide 4

Azure Static Web Apps @meliss_houghton

Slide 5

Slide 5

@meliss_houghton Source https://learn.microsoft.com/en-us/azure/static-web-apps/overview

Slide 6

Slide 6

Azure Static Web Apps Globallydistributed hosting Streamlined build and deployment Custom domains and free SSL certificates Built-in authentication and routing rules Generated Staging Environments CLI Support @meliss_houghton

Slide 7

Slide 7

Blazor WebAssembly Full-featured frontend framework Runs .NET client-side on WebAssembly Shared component model across the server and client browser Full stack .NET Web Applications @meliss_houghton

Slide 8

Slide 8

Hosting Blazor WebAssembly Blazor WASM Blazor WASM APIs ASP.NET APIs Globally distributed hosting Hosted Microservices Standalone @meliss_houghton Source: https://github.com/dotnet-presentations/dotNETConf/blob/master/2021/MainEvent/Technical/Chu-Cotin_Full-stack_.NET​with_Blazor_WebAssembly​and_Azure_Static_Web_Apps.pptx

Slide 9

Slide 9

Hosting Blazor WebAssembly Blazor WASM Blazor WASM APIs ASP.NET Globally distributed hosting Hosted APIs Serverless functions Azure Static Web Apps @meliss_houghton Source: https://github.com/dotnet-presentations/dotNETConf/blob/master/2021/MainEvent/Technical/Chu-Cotin_Full-stack_.NET​with_Blazor_WebAssembly​and_Azure_Static_Web_Apps.pptx

Slide 10

Slide 10

Azure Functions and .NET Serverless solution with .NET option Run code blocks based on triggers Event-driven automated scaling No infrastructure management Flexible pricing options @meliss_houghton

Slide 11

Slide 11

Demo @meliss_houghton

Slide 12

Slide 12

Deployment First class GitHub and Azure DevOps integration Automatically build and deploy on code change Staging versions based on Pull Requests Globally Distributed Static Hosting Public Preview: GitLab and BitBucket @meliss_houghton

Slide 13

Slide 13

@meliss_houghton Source: https://azure.github.io/static-web-apps-cli/

Slide 14

Slide 14

@meliss_houghton Source: https://azure.github.io/static-web-apps-cli/docs/intro

Slide 15

Slide 15

Demo @meliss_houghton

Slide 16

Slide 16

New API Backend Options Azure Functions Azure API Management Azure App Service Azure Container Apps @meliss_houghton Source: https://techcommunity.microsoft.com/t5/apps-on-azure-blog/new-api-backend-options-in-azure-static-web-apps/ba-p/3516882

Slide 17

Slide 17

Azure Container Apps Serverless containers for microservices ASP.NET Web APIs and Minimal APIs Worker Service for background services Focus on apps, not infrastructure @meliss_houghton

Slide 18

Slide 18

Demo @meliss_houghton

Slide 19

Slide 19

Domains Auto-generated domain names Custom domains supported Free SSL/TLS Certificates @meliss_houghton

Slide 20

Slide 20

Authentication Azure Active Directory GitHub Twitter Custom Providers @meliss_houghton

Slide 21

Slide 21

Demo @meliss_houghton

Slide 22

Slide 22

Summary @meliss_houghton

Slide 23

Slide 23

Get started today Full-stack .NET Serverless Web Apps Streamlined CI/CD to Azure Free learning resources Free plan ✓ SSL Certs ✓ Custom Domains ✓ Service Defined Authentication ✓ Managed Azure Functions @meliss_houghton