Migrate an EXE file/application to an Azure Function

KC86_ME 21 Reputation points

We have an exe file that was built before I joined the organisation, and for which we have no source code or documentation. The exe currently runs on a Windows virtual machine and picks up a CSV file from a local folder, and uploads it to a web API - it's essentially a list of names and contact numbers which are loaded into a mass communications platform API.

We would like to stop using a windows virtual machine to run this exe and move this into an Azure Function/App Service instead.

Can anyone provide me with any guidance on how we can set about doing this please? Please bear in mind I am not a developer and have no experience working with .NET applications - my background is Azure and cloud infrastructure.

Thank you for all your help in advance!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,182 questions
Microsoft Technologies based on the .NET software framework.
3,323 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 67,986 Reputation points

    @KC86_ME Thanks for reaching out. Assuming that this would be manual work where you update the local CSV file and make changes and the same is uploaded every day at a specific time and uploaded to web API. Please correct if my understanding is right.

    The next question would be where do you make changes to the excel file is it using some tool that update the local file in VM or in onedrive and some process copy that files to the VM so it will help to understand what function your exe does and according you need to replicate the same using Azure function.

    From the function perspective you can run the exec using C# language, but you should know how the excel file is updated locally as you need to have some automation in the runtime either to get the file stream to the azure function and then process it by your function.