0

I am trying to connect an Azure SQL DB resource using the app id of an already registered application in Azure. I am using entity framework database first approach.

3
  • 1
    What's the issue you are facing? Commented Jul 8, 2019 at 10:14
  • U need to follow the same steps as normal sql server. You will give credentials of Azure while giving connectionstring. Thats it. Commented Jul 8, 2019 at 10:16
  • Hi Vijay Kulkarni, If my answer is helpful for you, you can accept it as answer( click on the check mark beside the answer to toggle it from greyed out to filled in.). This can be beneficial to other community members. Thank you. Commented Jul 11, 2019 at 1:40

2 Answers 2

1

Since you have an c# Azure web APP, please reference this document: Quickstart: Use .NET Core (C#) to query an Azure SQL database.

In this quickstart, you'll use .NET Core and C# code to connect to an Azure SQL database. You'll then run a Transact-SQL statement to query data.

Hope this helps.

Sign up to request clarification or add additional context in comments.

Comments

0

There are a few steps to connecting to the Azure SQL database. I suggest reading this article

You will need to:

Once you've completed the above you'll be able to update the connection string in your application's web.config to establish a connection.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.