Which azure service can we use to run user code from a web application?

Phani Sri Siva Charan Kandukuri 0 Reputation points
2023-03-29T13:02:47.4533333+00:00

Hi all,

I'm just starting with Azure and cloud. I want to build a coding web application like (HackerRank, CodeChef) with different programming languages. Which service can I use to run the code from the application?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,264 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,130 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,876 questions
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 23,416 Reputation points Microsoft Employee
    2023-03-30T16:55:57.2933333+00:00

    Hello, @Phani Sri Siva Charan Kandukuri !

    Which azure service can we use to run user code from a web application?

    There are a variety of ways that you can accomplish this but it sounds like you may want to use Azure Functions at the core of your solution and perhaps Azure App Service to host your website although you could host a custom solution on an Azure VM. I'll add tags to make sure that this question gets additional visibility.

    Azure Functions can help you build a coding web application like HackerRank or CodeChef by providing a serverless compute service that enables you to run code on-demand without having to explicitly provision or manage infrastructure. You can use Azure Functions to execute code snippets or scripts in response to events, such as HTTP requests. This would allow you to execute code written in multiple programming languages, including C#, Java, JavaScript, Python, and PowerShell and this can be integrated with other Azure services such as Azure Storage, Azure Event Hubs, and Azure Cosmos DB.

    Azure App Service can be used to host a website by providing a fully managed platform for building, deploying, and scaling web apps. You can deploy your web application to Azure App Service from a source code repository, such as GitHub or Azure DevOps, or from a local Git repository. Azure App Service provides built-in support for continuous deployment, so you can automatically deploy updates to your web application whenever you push changes to your source code repository.

    Does that sound like what you are looking for?

    0 comments No comments