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

Поділитися
Вставка
  • Опубліковано 16 лип 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...
    📌 UA-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. 👍

  • @iljashtob
    @iljashtob Рік тому +1

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

  • @florianb.9367
    @florianb.9367 2 роки тому

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

  • @rocket4u
    @rocket4u Рік тому +1

    crisp and clean video, Thank you

  • @dmlundgren
    @dmlundgren Рік тому

    Excellent quick start! 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

  • @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?

  • @santoshanjani3860
    @santoshanjani3860 Рік тому

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

  •  2 роки тому

    Perfect video, thanks! Subscribed immediately

  • @RajdeepAnandGPlus
    @RajdeepAnandGPlus Рік тому

    Simple and elegant

  • @debkelly63
    @debkelly63 8 місяців тому

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

  • @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.

  • @WalkWithShahul
    @WalkWithShahul Рік тому

    Thanks..Very easy to follow..

  • @sorinvasiliu
    @sorinvasiliu 2 роки тому

    awesome! thank you

  • @lmormilho
    @lmormilho 9 місяців тому

    wowwww very good...tks tks tks

  • @santhanakrishnan3275
    @santhanakrishnan3275 11 місяців тому

    great video. Thanks.

  • @vigneashselvaraj3592
    @vigneashselvaraj3592 Рік тому

    Excellent brief.

  • @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.

  • @exodocs
    @exodocs Рік тому

    thanks!

  • @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.

  • @harshpatel-wr1jl
    @harshpatel-wr1jl Рік тому

    😍

  • @rockingrebel143
    @rockingrebel143 8 місяців тому

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

    • @ClaudioBernasconi
      @ClaudioBernasconi  8 місяців тому

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

  • @VinhPham-hz8ny
    @VinhPham-hz8ny 29 днів тому

    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  29 днів тому

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

  • @parikshithshivaprakash5523
    @parikshithshivaprakash5523 9 місяців тому

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

    • @ClaudioBernasconi
      @ClaudioBernasconi  9 місяців тому

      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 9 місяців тому

      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.