Skip to content

WIP: Add Entra (AAD) authentication support - #237

Draft
Stuart Padley (stuartpa) wants to merge 6 commits into
masterfrom
stuartpa/aad-support
Draft

WIP: Add Entra (AAD) authentication support#237
Stuart Padley (stuartpa) wants to merge 6 commits into
masterfrom
stuartpa/aad-support

Conversation

@stuartpa

@stuartpa Stuart Padley (stuartpa) commented Oct 11, 2023

Copy link
Copy Markdown
Contributor

No description provided.

<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" Version="2.3.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
<PackageReference Include="EntityFramework" Version="6.4.4" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see System.Data.SqlClient referenced here, but throughout the code I see Microsoft.Data.SqlClient. Is that correct?

Furthermore, I see Release 2.4.0 still is referencing Microsoft.Data.SqlClient 3.0.0 which is not the latest package which is 5.1.2. I believe the higher version package for Microsoft.Data.SqlClient will include a higher version of Azure.Identity.

https://www.nuget.org/packages/Microsoft.Data.SqlClient

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patrick Caldwell (@tps-pcaldwell) are you looking to use EF (Classic). The EF (Classic) sample hasn't been updated, because there has been no demand for it to be updated. Are you looking to use EF (Classic), or are you looking to use EF Core?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I'm looking to use EF Core. In addition, the sample code is using the nuget reference, so it is still reference 2.3.0 instead of a project reference. I would recommend updating the nuget reference to 2.4.0 or removing the EF sample code which would be a shame.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I don't think we can update the EF Classic sample to 2.4 (which is .Net Core). We'll need to add another sample alongside the EF Classic sample for EF Core, which would use 2.4.

Are you interested in an EF Core sample using 2.4?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ElasticScaleStarterKit: Timeout errors on create database.

2 participants