Automation using Azure Function

CR 21 Reputation points
2020-11-16T22:34:53.773+00:00

Hello experts,

I am planning to automate the calling of a locally developed Visual Studio 2019 code (C#) using Azure Function template so that I can move it to Azure Cloud. Is this possible? If yes, please share me details or any pointers to achieve this?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,605 questions
{count} votes

Accepted answer
  1. sadomovalex 3,631 Reputation points
    2020-11-17T15:33:26.553+00:00

    if you have some C# code which you would like to run as Azure function then first of all create new Azure function project in Visual Studio (you may create Azure functions also without VS but it is much simpler with it):

    40443-2020-11-17-18-26-33.png

    Then add new Azure function there with needed trigger - depending on your requirements, e.g. http trigger when function is triggered by http request:

    40377-2020-11-17-18-29-37.png

    Add you C# code there and then publish it to Azure portal > Function app from Visual Studio (right click on the project > Publish):

    40472-2020-11-17-18-31-57.png

    After that your code will run as Azure function in Azure portal.

    0 comments No comments

0 additional answers

Sort by: Most helpful