+ 2
How can I connect a web app with a SQL database in Azure?
I need REST services, I have found references on using ASP.NET but is not clear how to proceed.
2 ответов
+ 3
Go to your Azure SQL Database and get a copy of the connection string. (It won't have your password, so you'll have to add that in a minute.
Next, go to your Web App, click on the "All Settings" and under then click "Application Settings".
Scroll down to "Connection Strings" and either create a new connection string (and paste it in from the first step) or update the existing connection string. Be sure to update the password in your connection string.
If you create a new connection string, make sure it's the same name as that one you are referencing in your code or you will have to change your code and redeploy as that as well.
+ 1
Thank you!