How to Create an Azure Function App Using C# | .NET 6

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ส.ค. 2024
  • Learn how to create an Azure Function App using C# and how to run it on the Azure cloud. Learn how to manage the resource in the Azure portal and how to create an Azure Functions project in Visual Studio 2022.
    This video tutorial is an introduction to Azure Functions using C# and .NET 6 to implement serverless functions.
    Azure Functions is the serverless service on Microsoft Azure. It can be compared to AWS Lambda or Google Cloud Functions.
    Azure Functions provides an event-driven, serverless platform to solve problems using various programming languages.
    In comparison to Azure App Service, Azure Functions allows developers to focus on problem-solving instead of dealing with a web server or application hosting.
    In this video, we will create a Function App in the Azure Portal, create an Azure Function project in Visual Studio, and deploy the implemented Function App onto the Microsoft Azure cloud.
    00:00 Introduction
    00:25 What is Azure Functions?
    01:11 Creating an Azure Function App in the Azure Portal
    05:55 Creating an Azure Functions project in Visual Studio
    10:18 Deploying an Azure Functions project to Azure
    📌 Azure Functions
    azure.microsoft.com/en-us/ser...
    📌 Organize your Azure resources effectively
    docs.microsoft.com/en-us/azur...
    📌 Find the best Azure region for you
    azure.microsoft.com/en-us/glo...
    🔥 C#/.NET Bootcamp: The Fundamentals & more (Code FRIENDS10 for 10% OFF)*
    claudiobernasconi.ch/dotnet-c...
    📌 .NET Developer Roadmap
    claudiobernasconi.ch/learn-do...
    📌 TH-cam Playlists:
    The FREE Blazor Crash Course: • The FREE Blazor Crash ...
    C# Programming: • How to Create Modern C...
    ✅ SUBSCRIBE FOR MORE VIDEOS
    Subscribe: 🔔 claudiobernasconi.ch/Subscribe
    🚀 CONNECT & SUPPORT
    Twitter: / chbernasconic
    Blog: claudiobernasconi.ch
    Newsletter: claudiobernasconi.ch/newsletter
    CREDITS
    🎵 www.bensound.com/
    Arrow icon by icons8.com
    * Affiliate Link: I earn a small commission at no additional cost

ความคิดเห็น • 57

  • @ClaudioBernasconi
    @ClaudioBernasconi  2 ปีที่แล้ว +4

    What is your favorite Azure service? 👀

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

      ACI

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

      Currently, Azure App Functions because it's serverless and they give us a generous amount of free resources to use before having to pay a penny!

    • @christopherschmidt8854
      @christopherschmidt8854 8 หลายเดือนก่อน +1

      Hard to pick just one: App Services, Azure SQL Server, Azure Function, Azure Key Vault and Azure Service Bus. These are really all my favorites. They make my life soooo much easier... Oh and I can't forget Azure DevOps to deploy everything I write...

  • @oldcet5277
    @oldcet5277 2 ปีที่แล้ว +11

    This is my first time using Azure and out of all the other tutorials I watched you're the only one that managed to explain very well and quickly. Nice video

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

      Thank you very much. 🙏🙂

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

      I agree. I feel it's very hard to do the jump from local application development to cloud-based application development. Small steps are always appreciated!

  • @superyRun
    @superyRun ปีที่แล้ว +1

    Beautiful how Visual Studio neatly integrates with Azure!

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

    Awesome - worked straight away, this is the most straight-forward introduction to Azure Function Apps I've seen!

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

      Thanks, Jamie. I put a lot of effort into it. Great to hear it still works the same. 👍

  • @florianb.9367
    @florianb.9367 2 ปีที่แล้ว

    A perfect fast and good intro about that Thank you :))

  • @iljashtob
    @iljashtob ปีที่แล้ว +1

    Thanks, calculator ready! Now Will try changing my c# application to Azure function

  • @chairmakerPete
    @chairmakerPete 2 ปีที่แล้ว +1

    A tutorial that worked first time - yay!
    Thank you - very helpful, and awesome to think of the power this affords the developer.
    Presumably the security token can be stored in the app or key vault and submitted each time? Does it expire at any point?

  • @rocket4u
    @rocket4u ปีที่แล้ว +1

    crisp and clean video, Thank you

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

    Very well constructed video, thank you.... Would like a full set of videos about all the types etc... will watch them all

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

      Thank you. What types do you want to see? 😎

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

    Excellent quick start! Thank you...

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

    thanks for the tutorial. now I know now what a cloud function looks like

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

      Thanks for your kind feedback. I'm glad I could help you. Good luck on your .NET journey.

  •  2 ปีที่แล้ว

    Perfect video, thanks! Subscribed immediately

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

    Beautiful 🎉. You content is very easy to understand, super. Thanks!

  • @pragmatic-pr
    @pragmatic-pr ปีที่แล้ว

    Simple and elegant

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

    Great video! I got my first function up and running.

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

      Lovely! Great you got it working.

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

    awesome! thank you

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

    Thanks..Very easy to follow..

  • @leehobbs4033
    @leehobbs4033 2 ปีที่แล้ว +1

    I followed these instructions (great minimalist tutorial BTW) but the Azure portal says "Your app is currently in read only mode because you are running from a package file. To make any changes update the content in your zip file and WEBSITE_RUN_FROM_PACKAGE app setting." and doesn't show my function.

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

    Definitiv the Function App - it's so helpfull for Microservices without all the Docker things.

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

      I haven't explored all the variations and options yet but it's nice to have Functions in your toolbelt for when you need them.

  • @lmormilho
    @lmormilho 10 หลายเดือนก่อน

    wowwww very good...tks tks tks

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

    Excellent brief.

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

    great video. Thanks.

  • @VinhPham-hz8ny
    @VinhPham-hz8ny หลายเดือนก่อน

    thank you for making it so easy to understand. If I want a vendor to call that function, do I need to do any kind of authentication or just generate the url for the vendor?

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

      I depends on your use case. You can use authentication, but you don't have to use it.

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

    thanks!

  • @rockingrebel143
    @rockingrebel143 9 หลายเดือนก่อน

    Thankyou, this tutorial helps.. Do you have any other full tutorial on Azure functions?

    • @ClaudioBernasconi
      @ClaudioBernasconi  9 หลายเดือนก่อน

      Thank you very much! Right now, I don't have any, however, I will record new videos based on .NET 8 in the future!

  • @harshpatel-wr1jl
    @harshpatel-wr1jl ปีที่แล้ว

    😍

  • @parikshithshivaprakash5523
    @parikshithshivaprakash5523 10 หลายเดือนก่อน

    how did you select the subscription I didn't get that you didn't explained I needed that only

    • @ClaudioBernasconi
      @ClaudioBernasconi  10 หลายเดือนก่อน

      Thanks for your comment. This video assumes that you are familiar with the basics of Microsoft Azure, otherwise, it will be hard to grasp how individual services work. Nonetheless, I suggest following this tutorial to set up your account and a subscription. www.educative.io/answers/how-to-create-a-microsoft-azure-subscription

    • @parikshithshivaprakash5523
      @parikshithshivaprakash5523 10 หลายเดือนก่อน

      I have subscription but it says read only in the azure function app@@ClaudioBernasconi

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

    It's WestUS2 not the cheapest region?

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

      I don't know. I mostly use West Europe because it's the closest location to where I live.

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

    You beautiful man

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

    So if .NET 6 support ends on Nov 8th, 2024, what's replacing .NET 6??
    Why is the support for these new versions of .NET ending so soon?? Why would any sane company want to build a new project in .NET when the support for it will end in a matter of a few years?? WTF????

    • @ClaudioBernasconi
      @ClaudioBernasconi  2 ปีที่แล้ว +3

      As far as I understand, .NET is backward compatible, which indicates that upgrading from one major version to the next should be a simple task compared to running a software company and developing a product. This way, you're using a platform evolving with your application(s).
      If you put in the effort to upgrade from one LTS version to the next, you'll have to upgrade every three years.
      I don't want to glorify Microsoft, nor do I want to hate on them. For me, this policy is decent. What would be your dream platform? Something that's done and completed in 2020 and doesn't change but run smoothly in 2030? How do you handle security issues in that case? I'm here to learn, so I appreciate you taking the time to comment here. Thank you.