Pawel GerrEntity Framework Core: Getting more Deadlock Information with named TransactionsWhether in an application in production or in integration tests on CI, the deadlocks are virtually unavoidable. The behavior of a deadlock…Oct 29, 2019Oct 29, 2019
Pawel GerrEntity Framework Core: Beware of Lifetime Extension of TransactionScopes using C# 8.0In the blog post Entity Framework Core: Use TransactionScope with Caution! we saw a few cases we have to be aware of when using…Oct 16, 2019Oct 16, 2019
Pawel GerrEntity Framework Core: Include FiltersThe Entity Framework Core (EF) extension method Include provides us the ability to load additional data besides the entities we are…Oct 4, 2019Oct 4, 2019
Pawel GerrASP.NET Core 3.0: Custom JsonConverter for the new System.Text.JsonWith the introduction of ASP.NET Core 3.0 the default JSON serializer has been changed from Newtonsoft.Json to System.Text.Json. For…Oct 3, 2019Oct 3, 2019
Pawel GerrC# 8: Nullable Reference Types in .NET Standard < 2.1 and .NET 4.xBy switching the LangVersion to 8.0 and setting Nullable to enable in the csproj-file we are now benefiting from the nullable reference…Oct 3, 2019Oct 3, 2019
Pawel GerrEntity Framework Core: Making RowNumber (more) usefullIn the blog post ROW_NUMBER Support we saw how to implement a custom function and in the previous post Improved Value Conversion Support we…Aug 19, 2019Aug 19, 2019
Pawel GerrEntity Framework Core: Improved Value Conversion SupportEntity Framework Core (EF) 2.1 introduced a new feature called Value Conversion. Now, we are able to map custom .NET types to a type the…Aug 19, 2019Aug 19, 2019
Pawel GerrEntity Framework Core: Custom Functions (using HasDbFunction)In the previous post (Custom Functions — using IMethodCallTranslator) we looked at the more flexible approach that requires some…Aug 19, 2019Aug 19, 2019
Pawel GerrEntity Framework Core: Custom Functions (using IMethodCallTranslator)In the previous blog post (Entity Framework Core: ROW_NUMBER Support) we saw how to use the custom function RowVersion with Entity…Aug 19, 20191Aug 19, 20191
Pawel GerrEntity Framework Core: ROW_NUMBER SupportThere are some use cases that force me to use raw T-SQL instead of using LINQ. One of them is the need for ROW_NUMBER. But not anymore…Aug 19, 20191Aug 19, 20191