Azure Functions, GitHub Actions and .NET 5 Isolated Processes

Поделиться
HTML-код
  • Опубликовано: 1 авг 2024
  • I created this video to show the nuts and bolts of how you can leverage GitHub Actions to build a CI/CD pipeline for deploying Azure Functions using .NET 5 and the new isolated process hosting model.
    The GitHub repo associated with this video is below,
    github.com/SteveWinward/azure...
    Microsoft docs on Azure Functions on .NET 5 can be found here,
    docs.microsoft.com/en-us/azur...
    Bookmark notes below:
    (0:00): Intro
    (2:37): End to End demo
    (4:43): Sample GitHub Repo
    (6:07): Recommended YAML Setup (Option 1)
    (10:19): Configure Publish Profile with GitHub Action Secrets
    (10:59): Alternative YAML Approach (Option 2)
    (14:10): Configure Service Principal Creds with GitHub Action Secrets
    (16:53): Outro
    A lot of folks have asked me about my camera gear setup. Below are links to the setup I used for this video,
    Canon M50 Mark II: amzn.to/3Dd9yiW
    Sigma 16mm f/1.4: amzn.to/3jjDNgo
    Dummy Battery: amzn.to/3sWW724
    Elgato Cam Link 4K: amzn.to/3BcW7hc
    Elgato Key Light Air: amzn.to/2WpzeYX
    SMALLRIG Clamp: amzn.to/2UOrhfg
    Ulanzi Quick Claw Release: amzn.to/3mAAjYP
  • НаукаНаука

Комментарии • 14

  • @sourabh9394
    @sourabh9394 2 года назад +1

    This video made a lot of things 100 times clearer to me... Thanks a lot for all the efforts

  • @dwainbrowne
    @dwainbrowne 2 года назад +1

    Thank you so much for your effort in presenting this content!!! I've been struggling to find proper information regarding setting this up. Amazing job, very clear and easy to follow. Keep up the great work!!

  • @AishwaryRastogiaaishvaishh
    @AishwaryRastogiaaishvaishh 2 года назад

    Very helpful. My project had the same structure and I used it completely without any change. Running flawless

  • @gpzim981
    @gpzim981 2 года назад +1

    Hey, awesome video. There is very little good quality videos like this one on the internet, I think you found a huge niche.
    Suggestion for next video is using GitHub actions to publish a blazor static webpage with a azure function as its api backend

    • @SteveWinward
      @SteveWinward  2 года назад +1

      Thank you for the kind words. That’s a great idea for a future video!

  • @ccarrero33
    @ccarrero33 2 года назад +1

    Nice. What of the two methods would you recommend?

    • @SteveWinward
      @SteveWinward  2 года назад +1

      Option 1 is what I recommend. Option 2 was really just to show how you can use lower level operations with GitHub Actions to learn the YAML file structure and how they work.

  • @MichelineIyera
    @MichelineIyera 2 года назад +1

    Hi Steve, thanks for this video, I'm currently getting this "HttpTriggerAttribute' is a WebJobs attribute and not supported in the .NET Worker (Isolated Process)" error, any ideas ?

    • @SteveWinward
      @SteveWinward  2 года назад +2

      If you are upgrading from an older function app you need to make sure to use the new bindings extensions libraries for the isolated process functions. For example the HttpTrigger binding for isolated processes can be found here,
      www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.Http/
      Previously HttpTrigger would come from here which I believe is why you are getting that error.
      www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.Http/

    • @MichelineIyera
      @MichelineIyera 2 года назад +1

      @@SteveWinward Thanks so much, I came right, I had to change the attribute [Function("function1")] to "[FunctionName(nameof(function1))]"

    • @SteveWinward
      @SteveWinward  2 года назад +1

      Glad to hear you got it working!