Arthur Vickers
Arthur Vickers
Ping @roji
@Schinwinkwinsky Thanks for reporting this. ASP.NET Core made a change to stop using JSON.NET by default--see https://github.com/aspnet/Announcements/issues/325 We will update the EF docs to reflect this.
@mviegas Yes. But other things are are higher priority right now.
The docs need updating for this change: https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-3.x/breaking-changes#tkv
Note: Update https://aka.ms/efcore-docs-pre-convention when this is done.
@smitpatel Where should it point to?
@bmoteria I suspect that you are running into issues because the DbContext instances have different lifetimes. Specifically, when using `AddDbContext` with all the default options, the DbContext will be disposed...
See comment here: https://github.com/dotnet/efcore/pull/21246#issuecomment-734296254
@Mart-Bogdan For DbConnections in general with EF Core: * You should dispose it if and only if you created it * If you explicitly open the connection, then you should...
See also #1787