Need for Azure Web App site during Console App Deployment to Azure App Service

Anonymous
2022-05-29T22:10:33.563+00:00

I am trying to deploy C# console application to Azure App Service.
I am so new to Azure App Service, and during an initial meeting with a Microsoft support engineer, I was informed that I need a web site (that also needs a database).

I am trying to push my code thru Github Actions and run at Azure App Service.

I am curious why I need a website.

Bottom is a screenshot of what is happening at my Github Actions, and it appears that there was no error.

But, there is no result (data gets inserted into Azure SQL) that I was expecting after it is done.

206468-image.png

Also, when I clicked the URL (http://sageconsoelapp.azurewebsites.net), I see this message:

206420-image.png
What am I missing?
Going back to the original question, "why do I need a website?" if it is deploying a console app.

Thanks!

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,956 questions
0 comments No comments
{count} votes

Accepted answer
  1. Takahito Iwasa 4,841 Reputation points MVP
    2022-05-29T22:30:20.383+00:00

    Hi, @KingJava

    Answer)
    Azure App Service is an HTTP-based service for hosting websites, API servers, and more.
    So I think the support engineer said he needed a website.

    However, since the default website is deployed, you can create the App Service itself without the website.
    Also, you do not need to use the database.

    Get an overview and concepts of App Serivce.
    https://learn.microsoft.com/en-us/azure/app-service/overview

    A simple Quick Start is available so you can understand it once you touch it!

    PS)
    Please tell us the scenario how you want to use the console application.
    It may be better to use other services. Of course, there is also a way to run a console application with App Service.


0 additional answers

Sort by: Most helpful