Skip to content

Conversation

@stuartpa
Copy link
Contributor

@stuartpa stuartpa commented Oct 11, 2023

No description provided.

@stuartpa stuartpa force-pushed the stuartpa/aad-support branch 2 times, most recently from af0cfd5 to 51ac5db Compare October 11, 2023 12:54
@stuartpa stuartpa linked an issue Oct 12, 2023 that may be closed by this pull request
@stuartpa stuartpa force-pushed the stuartpa/aad-support branch from 51ac5db to 3447fc1 Compare October 12, 2023 11:51
@stuartpa stuartpa self-assigned this Nov 15, 2023
<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
Contributor Author

Choose a reason for hiding this comment

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

@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
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.

3 participants