Skip to content

Add EF Core 11 JSON querying article - #26230

Merged
fahrigedik merged 2 commits into
devfrom
berkan/ef-core-11-article
Oct 5, 2026
Merged

fahrigedik merged 2 commits into
devfrom
berkan/ef-core-11-article

Conversation

@berkansasmaz

Copy link
Copy Markdown
Member

No description provided.

Publish a new community article on mapping EF Core complex types to JSON, querying nested data with LINQ, and using SQL Server 2025 JSON features like JSON_CONTAINS and JSON indexes. The post also covers inheritance support, modeling trade-offs, and ABP-specific guidance.
@berkansasmaz
berkansasmaz requested review from fahrigedik and a balanced review from Copilot October 5, 2026 08:05
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Images automagically compressed by Calibre's image-actions ✨

Compression reduced images by 65.4%, saving 554.7 KB.

Filename Before After Improvement Visual comparison
docs/en/Community-Articles/2026-10-05-EF-Core-11-Complex-Types-and-Json-Querying/cover-image-origin.jpg 848.2 KB 293.5 KB 65.4% View diff

@fahrigedik
fahrigedik merged commit 86f1c44 into dev Oct 5, 2026
1 check passed
@fahrigedik
fahrigedik deleted the berkan/ef-core-11-article branch October 5, 2026 08:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The SQL Server sample includes an unsupported wildcard JSON index and contains additional compilability and ABP modeling issues.

Review effort: Balanced
Findings: 1 High severity · 2 Medium severity · 1 Low severity

Open (4)
What changed in this PR

Adds a community article explaining EF Core 11 complex types, JSON querying/indexing, inheritance support, and ABP integration.

Changes:

  • Demonstrates JSON mapping and LINQ queries.
  • Covers SQL Server 2025 JSON functions and indexes.
  • Discusses modeling, performance, and ABP practices.
File Description
docs/​en/​Community-Articles/​2026-10-05-EF-Core-11-Complex-Types-and-Json-Querying/​post.md Adds the EF Core 11 JSON feature article.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +522 to +528
var blogs = await context.Blogs
.Where(blog =>
EF.Functions.JsonContains(
blog.JsonData,
8,
"$.Rating") == 1)
.ToListAsync();
Comment on lines +1396 to +1398
public string Name { get; private set; }

public Contact Contact { get; private set; }
Comment on lines +1410 to +1411
Name = name;
Contact = contact;
Comment on lines +635 to +639
We can describe an index over every item's SKU:

```csharp
modelBuilder.Entity<Order>()
.HasIndex("Items[].Sku");
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.

3 participants