You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MySqlConnector supports DbBatch, DbDataSource, and other new ADO.NET abstractions that have been introduced in recent .NET versions; MySql.Data does not.
MySqlConnector has been async-first since the earliest versions; MySql.Data lacked any async support for the last ten years, then shipped with serious async bugs for six months.
MySqlConnector has a much more robust suite of integration tests and fewer outstanding known issues.
Popularity: the community has recognized the above advantages and MySqlConnector has more downloads even though it's a newer package.
I'm sure Aspire could have components for both MySqlConnector and MySql.Data, but if it's going to be an "opinionated stack" (emphasis in original), I know which opinion I want it to have. 😀
Reacted by Jadyn, Bart Koelman, yarns123, mguinness, Oliver, 小辉辉 and SDV
Activity
bgrainger commentedon Nov 14, 2023
I am incredibly biased here, since I am the author of MySqlConnector, but I would strongly advocate for https://www.nuget.org/packages/MySqlConnector/ to be the preferred library for MySQL. Some reasons:
DbBatch,DbDataSource, and other new ADO.NET abstractions that have been introduced in recent .NET versions; MySql.Data does not.I'm sure Aspire could have components for both MySqlConnector and MySql.Data, but if it's going to be an "opinionated stack" (emphasis in original), I know which opinion I want it to have. 😀
bgrainger commentedon Nov 14, 2023
Add Aspire.MySqlConnector. Fixes microsoft#786
Add Aspire.MySqlConnector (#825)
eerhardt commentedon Nov 18, 2023
Re-opening to track adding an EF based component.
davidfowl commentedon Dec 1, 2023
Putting this in preview2 but it'll likely make it for preview3 unless Bradley Grainger (@bgrainger) can get this done before next Tuesday 😄
mitchdenny commentedon Dec 7, 2023
This appears to be in.
bgrainger commentedon Dec 7, 2023
Per #786 (comment) it's not done, as the MySQL EF Core component (Pomelo) isn't in yet.
DamianEdwards commentedon Dec 8, 2023
I'm assuming the EF Core component is tracking a later preview now?