How to host a Web Forms web app & sql server on MS Azure RRS feed

  • Question

  • User-1286266314 posted


    I have seen lots of online tutorial videos showing how easy it is to deploy a web forms web app using MS Azure.

    But I'm looking for a tutorial that shows how to deploy a web forms app & an sql server that displays content on that app. I'm sure it's as easy to do this, but I can't find a tutorial that shows how to.

    I've seen tutorials that show how to do this with an MVC project, and I've tried to copy the steps for that but it doesn't work for me.

    Can someone please outline the required steps to:

    Host a web forms web app & SQL Server using Microsoft Azure, or else please point me to a tutorial that goes through these steps?

    Thanks a lot in advance, appreciate any help / feedback you guys can give!

    Friday, January 11, 2019 11:37 AM

All replies

  • User753101303 posted


    Using Azure SQL ? (ie basically a SQL Server machine which is managed for you behind the scene). If using VS 2017 the publishing wizard should take care of all this for you and mmight be a good way to start.

    Try perhaps https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-dotnet-sqldatabase#publish-to-azure-with-sql-database

    If it doesn't help tell rather which problem you have so that one might suggest something that better fit. It can happen also that the problem is unrelated (being blocked by a ompany proxy or whatever). IMHO asking for another tutorial is less useful than telling which one you are using and which problem you have (maybe I have suggested the one you are trying already ???)

    Friday, January 11, 2019 12:44 PM
  • User61956409 posted

    Hi damosull,

    Azure provides multiple choices to host application, such as Azure App Service, Azure VMs etc. As PatriceSc mentioned, you can create and use App Service to host your application, and migrate your SQL database to Azure with Azure SQL Database.

    Besides, you can also use a Azure VMs to setup a hosting environment and install SQL Server on that VM as same configuration than the app for on-premises.

    With Regards,

    Fei Han

    Monday, January 14, 2019 1:43 AM