0
votes

I am working on a .NET Core application. Can I connect to an Azure SQL database using an access token without adding Entity Framework to my application?

There are a lot of articles online which show the connection using Entity Framework (example : https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-connect-msi)

1

1 Answers

0
votes

Yes, you can the use System.Data.SqlClient NuGet package, specifically SqlConnection.AccessToken.