Complex queries put pressure on the database, and hand-tuning LINQ is tedious. EF Core 11 prunes unneeded joins, improves GroupBy and adds FullJoin, MaxBy and MinBy translation, including top one and top N per group.
NikolaTech
Practical C#, .NET, and ASP.NET Core tutorials with working code samples. EF Core, Dapper, Minimal APIs, testing, architecture, and performance.
- Website
- nikolatech.net · all feeds from this site
- Feed URL
https://www.nikolatech.net/feed.xml
Read it in your FeedListing reader
Or add to: Feedly Inoreader Raw feed
Latest posts
-
Faster Queries in EF Core 11: Joins, GroupBy and MaxBy
-
CQRS Pattern in ASP.NET Core
Reads and writes grow in different directions. CQRS splits them into commands and queries with dedicated handlers, registered with Scrutor and wrapped with logging decorators, no separate databases needed.
-
Enforcing Architecture Rules in .NET with NsDepCop
Project layers describe your architecture, but nothing stops a shortcut from breaking them. NsDepCop checks namespace dependencies at build time so your architecture rules are enforced, not just documented.
-
HATEOAS in ASP.NET Core Web API
Hardcoded API URLs couple clients to your routes. HATEOAS returns hypermedia links with each resource so clients can discover the next actions instead of building URLs themselves.
-
Getting Started with Amazon S3 in ASP.NET Core
Local disk storage breaks when you scale out. Wire up Amazon S3 in ASP.NET Core for simple upload, download and delete with the AWS SDK, Options Pattern and Minimal APIs.
-
Stored Procedures with Dapper in ASP.NET Core
Stored procedures keep complex SQL next to the data. With Dapper you call them by name, pass parameters and map results using CommandType.StoredProcedure.
-
Connect database to AI with Devart MCP in ASP.NET Core
Devart MCP Server Universal bridges your database to AI, letting assistants turn natural language questions into accurate EF Core code by querying the real schema and data.
-
MongoDB with EF Core
Use MongoDB with the familiar EF Core model. Install MongoDB.EntityFrameworkCore, call UseMongoDB and keep DbContext, LINQ and SaveChanges while storing documents.
-
HTTP Client Caching with Replicant in .NET
Repeated HTTP calls to the same endpoint add up fast. Replicant wraps HttpClient with disk-based caching, respects standard cache headers and can cut response times on subsequent requests.
-
Specification Pattern with EF Core
Query specifications encapsulate Where, Include, OrderBy and paging for EF Core. Not the classic GoF IsSatisfiedBy pattern. Build your own or use Ardalis.Specification.
-
304 Not Modified with Delta in ASP.NET Core
Repeated GETs for unchanged data waste work. Delta builds ETags from SQL Server change tracking so browsers can get 304 Not Modified without re-running your query.
-
Respawn for Integration Tests in ASP.NET Core
Shared database state makes integration tests flaky. Respawn resets tables between tests so WebApplicationFactory and Testcontainers stay fast, isolated and reliable.
-
Smart Enums in ASP.NET Core
C# enums are lightweight but limited. Smart enums give you type-safe instances with FromId, FromName and List, plus clean EF Core mapping and JSON serialization.