Skip to content

The Reliable Web App Pattern is a set of objectives to help your web application converge on the cloud. This repo contains a reference implementation of a reliable web application for .NET.

License

Notifications You must be signed in to change notification settings

v-xuto/reliable-web-app-pattern-dotnet

Repository files navigation

Scalable Web App Pattern

This repository provides resources to help developers build a Scalable web app on Azure. A Scalable Web App is a set of services, code, and infrastructure deployed in Azure that applies practices from the Well-Architected Framework. This pattern is shared with three components to help you use Azure to build a web app that follows Microsoft's recommended guidance for achieving reliability, scalability, and security in the cloud.

3 components of the Scalable web app are:

  • A Guide that demonstrates the guidance and explains the context surrounding the decisions that were made to build this solution
  • A starting point solution that demonstrates how these decisions were implemented as code
  • A starting point deployment pipeline with bicep resources that demonstrate how the infrastructure decisions were implemented

Getting started

  1. Pre-requisites

    The createAppRegistrations.sh script is a bash script built to run on WSL for Windows users

    • WSL 2

      • Windows users only
        wsl --install
    • Azure Developer CLI

      • Windows:
        powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/install-azd.ps1' | Invoke-Expression"
      • Linux/MacOS:
        curl -fsSL https://aka.ms/install-azd.sh | bash
        
    • Azure CLI (2.38.0+)

  2. Provision the Azure resources

    environmentName=relecloudresourcesdev
    azd provision -e $environmentName --no-prompt
  3. Setup Azure App Registrations

    This will create the resources in Azure AD that enable your web app to support authentication and authorization.

    ./infra/createAppRegistrations.sh -g "$environmentName-rg"
  4. Deploy the code

    azd deploy --no-prompt

About

The Reliable Web App Pattern is a set of objectives to help your web application converge on the cloud. This repo contains a reference implementation of a reliable web application for .NET.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C# 44.3%
  • Bicep 25.1%
  • PowerShell 10.6%
  • Shell 10.3%
  • HTML 8.7%
  • CSS 0.8%
  • Other 0.2%