Anthony Chu
Anthony Chu
  • 10
  • 32 706
Multi-environment deployments with Azure DevOps and Static Web Apps
00:26 - App walkthrough
00:48 - Create a static web app with an Azure DevOps pipeline
02:13 - Add Azure DevOps environments and configure approvals
02:54 - Configure a multi-stage pipeline
06:26 - Static Web Apps named preview environments
06:47 - Playwright tests
07:43 - Manual approval before production deployment
08:09 - Secure staging environments with a password
Learn more:
App used in video:
github.com/anthonychu/swa-devops-pipeline-demo/blob/main/azure-pipelines.yml
Create a static web app with Azure DevOps pipeline:
docs.microsoft.com/azure/static-web-apps/get-started-portal?pivots=azure-devops
Static Web Apps named environments:
docs.microsoft.com/azure/static-web-apps/named-environments?tabs=azure-devops
มุมมอง: 17 451

วีดีโอ

Introducing: az containerapp up
มุมมอง 1K2 ปีที่แล้ว
Simplify your Azure Container Apps deployments with "az containerapp up"! To use it, update your "containerapp" CLI extension to the latest (0.3.2 or higher): az extension add -n containerapp upgrade Learn more: techcommunity.microsoft.com/t5/apps-on-azure-blog/simplify-azure-container-apps-deployments-with-quot-az/ba-p/3298436
Ask Anthony: Getting started with .NET 5 on Azure Functions
มุมมอง 1.6K3 ปีที่แล้ว
Anthony answers a Twitter question about how to use the new .NET 5 support in Azure Functions with SignalR Service. We'll do a step-by-step walkthrough of creating the app in VS Code. Repo: github.com/anthonychu/azure-functions-dotnet5-signalr-sample Read more about the .NET roadmap for Azure Functions: techcommunity.microsoft.com/t5/apps-on-azure/net-on-azure-functions-roadmap/ba-p/2197916
Serverless Go in Azure Functions with custom handlers
มุมมอง 5K3 ปีที่แล้ว
Getting started from scratch with Go custom handlers in Azure Functions. 2:10 Convert a Go HTTP API to Azure Functions with minimal changes 7:15 Trigger a Go function from queue messages 12:34 Deploy the function app to an Azure Functions Consumption plan 16:22 Custom handler tips and tricks - Local and cloud settings - Route all http traffic to custom handler - Debugging custom handlers To run...
CaptionR demo
มุมมอง 3.2K5 ปีที่แล้ว
Real-time live transcription and translation with Azure Cognitive Service, Azure Functions, and SignalR Service. More details at anthonychu.ca/post/realtime-captioning-translation-cognitive-services-signalr-azure-functions/
Building a serverless real-time chat app with Azure Functions and SignalR Service
มุมมอง 2.8K6 ปีที่แล้ว
Broadcasted live on Twitch Watch live at www.twitch.tv/nthonychu
JavaScript unit testing with Jest (Part 1 of 2)
มุมมอง 1296 ปีที่แล้ว
- Tried out my OBS setup for the first time! - Wrote a simple JavaScript file for modifying links to add referrer code - Tried out Jest and the Jest VSCode extension - Wrote most of it using TDD Watch live at www.twitch.tv/nthonychu
JavaScript unit testing with Jest (Part 2 of 2)
มุมมอง 316 ปีที่แล้ว
- Added support for regular expressions - Pushed repo to GitHub - Used jsdelivr as a CDN - Added script to my blog at anthonychu.ca Watch live at www.twitch.tv/nthonychu
Azure Functions and Cosmos DB
มุมมอง 1096 ปีที่แล้ว
Broadcasted live on Twitch Watch live at www.twitch.tv/nthonychu
Realtime collaborative drawing app with SignalR Core
มุมมอง 9706 ปีที่แล้ว
Broadcasted live on Twitch Watch live at www.twitch.tv/nthonychu

ความคิดเห็น

  • @glenn8781
    @glenn8781 3 หลายเดือนก่อน

    Followed this video to edit the pre-made yaml file to add a staging environment. However, I'm unable to add the environment key as is shown in this video @ 3:40 . The YAML editor on Azure doesn't recognize the environment key and shows a yellow squiggly line under it and fails validation as well. Therefore, I'm not able to point this pipeline to the Staging and Production environments I created as per this video. I do get the named preview as staging (due to deployment_environment set to staging) but since I added steps to deploy to production as well in the yaml, and since this doesn't point to the newly created Production environment, I don't get asked any approvals and deployment to production happens immediately after deployment to staging.

  • @delduked
    @delduked 4 หลายเดือนก่อน

    what about different triggers like a servicebus message?

  • @iloos7457
    @iloos7457 8 หลายเดือนก่อน

    Can i use github actions to do multi staging too?

  • @gouthamkamre2039
    @gouthamkamre2039 ปีที่แล้ว

    How to deploy WordPress site on azure static webapp

  • @davidpurge60
    @davidpurge60 ปีที่แล้ว

    I think that running deployments from a build pipeline is not a good practice. You have shown how to tightly couple a build with deployment to one specific environment. This coupling has many problems - just imagine that your organization has 30 test environments and various test teams want to upgrade and downgrade their environments at will at the time of their choosing and you should start seeing problems with your approach. I think a better architecture is when the build is only responsible for creating a properly versioned artifact that can be copied around and deployed to any environment. IMHO deployments are better done from the release pipelines, separately from builds.

    • @iloos7457
      @iloos7457 8 หลายเดือนก่อน

      Hey man, found this very insightful. Would you be open to talk about it. I want to learn more

  • @prabhudevbm2921
    @prabhudevbm2921 ปีที่แล้ว

    thank you

  • @hugomartinezf
    @hugomartinezf ปีที่แล้ว

    So I can't create a serverless function using purely golang?

  • @ahmedalhallag3338
    @ahmedalhallag3338 2 ปีที่แล้ว

    Great video Anthony! I have a question, I'm still learning about CI/CD, I've been developing a django web app (locally) in python and i used playwright for the first time. Is it possible to automate playwright tests on azuredevops without deploying? Sorry for the naive question

    • @nthonychu
      @nthonychu 2 ปีที่แล้ว

      I believe this is possible, although I'm not sure if it's available in the Python version of Playwright yet. In your pipeline, you should be able to run your Playwright tests and Playwright can automatically start your Django app too so the tests will test it over localhost. This is the configuration for Node.js: playwright.dev/docs/test-advanced#launching-a-development-web-server-during-the-tests

  • @brianp789
    @brianp789 2 ปีที่แล้ว

    Ah, almost perfect. I wish you covered authLevel and work through the azure portal on different keys, and which one to use.

  • @JeffHollan
    @JeffHollan 2 ปีที่แล้ว

    The quality of this video 🤩👏👏👏

  • @predatorth400
    @predatorth400 2 ปีที่แล้ว

    This is an amazing feature! It simplifies the way of deploying apps tremendously

  • @markcuello5
    @markcuello5 2 ปีที่แล้ว

    Help me

  • @user-zi2wo2nr2b
    @user-zi2wo2nr2b 3 ปีที่แล้ว

    Very useful, thanks! Don't you know by chance what's up with poco binding? It was working fine previously, but doesn't seem to work with .net 5

  • @geezer2450
    @geezer2450 3 ปีที่แล้ว

    Awesome video, thanks alot!

  • @L0RDeX
    @L0RDeX 3 ปีที่แล้ว

    Did someone try to deploy this to Azure? I see everything works locally, same as mine, but when I deploy it to Azure - nothing works

  • @carytodd2820
    @carytodd2820 3 ปีที่แล้ว

    A1 content, keep it up! Did you check Promosm? It’s the best way to promote your channel.

  • @JanKowalski-we9tg
    @JanKowalski-we9tg 3 ปีที่แล้ว

    MASTERPIECE!!!

  • @LordBarthez
    @LordBarthez 3 ปีที่แล้ว

    Really elegant and effective solution. Keep up the good work!

  • @mihairiapko4572
    @mihairiapko4572 3 ปีที่แล้ว

    Amazing video bro <3

  • @mihairiapko4572
    @mihairiapko4572 3 ปีที่แล้ว

    hello Anthony, maybe signalR snake tutorial? we (subscribers) would appreciate this much

  • @kamilwieczorek8393
    @kamilwieczorek8393 3 ปีที่แล้ว

    Amazing video! Pls make multiplayer snake with SignalR!

  • @sdbhattacharya
    @sdbhattacharya 3 ปีที่แล้ว

    Is there a way to implement exception filter or exception Middleware in azure functions with Net5. I'm not able to find httpcontext objects to form the response based on different exception. If any advice is there, kindly share

    • @perterter5465
      @perterter5465 3 ปีที่แล้ว

      I'm having the same issue. Did you find any way to implement exception filters or middleware? Specifically I want to return user readable 400 errors with a CosmosDbInput binding that's normally giving 500.

    • @sdbhattacharya
      @sdbhattacharya 3 ปีที่แล้ว

      @@perterter5465 I created an extension method of httprequestdata and have called it from a Middleware and passed functioncontext. From context I was able to the claims. We have also managed to return the httpresponsedata with different status codes by catching different types of exceptions in the Middleware. Filter is not an option in Net5 with azure functions yet as per my understanding.

  • @jonnykopp
    @jonnykopp 3 ปีที่แล้ว

    Awesome video, new sub. Would love to see an example that leverages read/writing with blob stores and using keyvault sectrets.

    • @nthonychu
      @nthonychu 3 ปีที่แล้ว

      For Key Vault, you can use Key Vault references: docs.microsoft.com/en-us/azure/app-service/app-service-key-vault-references As for reading, writing to blob, you have some options. I think the most straight forward one is to use the Azure Storage Go SDK (currently in preview). github.com/Azure/azure-storage-blob-go

  • @znelson32
    @znelson32 3 ปีที่แล้ว

    uhm

  • @majuansari7575
    @majuansari7575 3 ปีที่แล้ว

    Great video Anthony. I have one question, Do we lose any performance when writing azure functions using a custom handler using GO ? When compared to other languages like Nodejs which has first-class integrated support

    • @nthonychu
      @nthonychu 3 ปีที่แล้ว

      I think you won’t notice any difference for most workloads. Some runtimes might experience worse cold start but Go starts really quickly. We have some load tests that shows Go performing really well compared to the other languages.

  • @simoncrouch
    @simoncrouch 3 ปีที่แล้ว

    Really nice demo on the new out-of-process .net 5 on Azure Functions, thanks! :)

  • @franciscoarias7031
    @franciscoarias7031 3 ปีที่แล้ว

    Cool video man, make sure to tell bill gates to support natively soon too. For now this is awesome

  • @mattias.engineer
    @mattias.engineer 3 ปีที่แล้ว

    Excellent introduction to custom handlers!

  • @apraveen25
    @apraveen25 3 ปีที่แล้ว

    Great content. Thanks for sharing

  • @rpotube
    @rpotube 3 ปีที่แล้ว

    Hi Anthony, Incredible first video! Very well explained.

  • @lechnerc77
    @lechnerc77 3 ปีที่แล้ว

    Hi Anthony, great content and perfect starting point for using custom handlers in Azure Functions. I especially liked the additional hints and tricks you presented. In case somebody wants to open up the code in parallel while watching or cross-check when coding along, you might find my GitHub repo helpful: github.com/lechnerc77/follow_along_func_custom_handlers. The single steps are available in separate branches

    • @nthonychu
      @nthonychu 3 ปีที่แล้ว

      This is awesome. Thank's Christian! (this comment wasn't showing for me for some reason, but I've pinned it so that should fix that)

  • @FarGamingOfficial
    @FarGamingOfficial 4 ปีที่แล้ว

    Good job, really cool concept and it works well too.

  • @johnykes
    @johnykes 5 ปีที่แล้ว

    thank you very much <3 ps: not everything still up to date, but with few modifications everything works okay ps: I would pay for an authentication tutorial using big 3rd party identity providers like MS, G, GitHub, etc

  • @jasonfreedman6271
    @jasonfreedman6271 5 ปีที่แล้ว

    Awesome! I did this on Firebase and love azure's implementation of serverless architechture

  • @patkeene1
    @patkeene1 5 ปีที่แล้ว

    Anthony just want to say thanks for your clear and concise examples they really helped out a lot!!