App Services are for web applications only. Depending on your solution you could host an API as an app service for your Windows application. The Windows Application itself cannot be hosted as an app service. If your solution is required to be a Windows Application, you could try hosting it as an Azure Virtual Machine and use a remote desktop to connect to the VM. However, if you have the freedom to migrate the solution, you could consider migrating the frontend part to Blazor. In the long run, and of course, depending on the number of users for your application, this can be more cost-effective.
Can I host my dotnet winform application to azure app service?
shiwani upadhyay
20
Reputation points
I have my winform application created in Visual studio 2022.
I am trying to publish it to azure app service. I successfully deployed and published it but when I access the url it shows nothing on the page but message "Your web app is running and waiting for your content".
Is it possible to host winform application to azure app service?
Accepted answer
1 additional answer
Sort by: Most helpful
-
TP 117.2K Reputation points
2023-08-24T21:56:18.6866667+00:00 Hi Shiwani,
No, it is not possible to host winforms application on Azure App Service.
Azure Virtual Desktop is the service for hosting windows applications.
Please click Accept Answer if the above was useful.
Thanks.
-TP