<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Entity Framework | The .NET Blog</title><link>https://thedotnetblog.com/tags/entity-framework/</link><description>Articles, tutorials and insights from the .NET community.</description><generator>Hugo</generator><language>en</language><managingEditor>@thedotnetblog (The .NET Blog)</managingEditor><webMaster>@thedotnetblog</webMaster><lastBuildDate>Fri, 12 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://thedotnetblog.com/tags/entity-framework/index.xml" rel="self" type="application/rss+xml"/><item><title>.NET 11 Preview 5: What I Would Actually Try First</title><link>https://thedotnetblog.com/news/emiliano-montesdeoca/dotnet-11-preview-5-what-i-would-actually-try-first/</link><pubDate>Fri, 12 Jun 2026 00:00:00 +0000</pubDate><author>Emiliano Montesdeoca</author><guid>https://thedotnetblog.com/news/emiliano-montesdeoca/dotnet-11-preview-5-what-i-would-actually-try-first/</guid><description>.NET 11 Preview 5 ships improvements across the SDK, runtime, C#, ASP.NET Core, and EF Core. Here are the updates I think are most worth testing early if you build real .NET apps.</description><content:encoded>&lt;p&gt;.NET preview posts are always packed.&lt;/p&gt;
&lt;p&gt;That is good news for the platform, but it also means the practical question gets buried: &lt;strong&gt;what should you actually test first?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;.NET 11 Preview 5 brings a lot across the SDK, runtime, libraries, ASP.NET Core, C#, MAUI, and EF Core. Instead of turning this into a giant changelog recap, I want to focus on the parts that I think deserve real developer attention right now.&lt;/p&gt;
&lt;h2 id="the-mcp-server-template-being-in-dotnet-new-is-a-signal"&gt;The MCP server template being in &lt;code&gt;dotnet new&lt;/code&gt; is a signal&lt;/h2&gt;
&lt;p&gt;This is probably the most strategic item in the SDK section.&lt;/p&gt;
&lt;p&gt;When a project template lands directly in the SDK, it means the platform is no longer treating the scenario as niche. Having an &lt;strong&gt;MCP Server template&lt;/strong&gt; built into &lt;code&gt;dotnet new&lt;/code&gt; lowers the cost of trying the pattern and sends a clear message about where the ecosystem is going.&lt;/p&gt;
&lt;p&gt;If you are building agent tooling, internal assistants, or AI-integrated developer utilities in .NET, this is one of the first things I would test.&lt;/p&gt;
&lt;h2 id="build-time-vulnerability-and-end-of-life-checks-are-exactly-the-kind-of-defaults-i-like"&gt;Build-time vulnerability and end-of-life checks are exactly the kind of defaults I like&lt;/h2&gt;
&lt;p&gt;Security and lifecycle awareness are much better when the platform helps you &lt;em&gt;during the build&lt;/em&gt;, not after the fact in a separate report nobody reads.&lt;/p&gt;
&lt;p&gt;The new SDK checks for vulnerabilities and end-of-life packages during build are the kind of feature I love because they make better behavior the default.&lt;/p&gt;
&lt;p&gt;These are not flashy, but they are the kind of improvements that age really well.&lt;/p&gt;
&lt;h2 id="c-continues-to-get-more-expressive-in-the-right-places"&gt;C# continues to get more expressive in the right places&lt;/h2&gt;
&lt;p&gt;The Preview 5 C# items are interesting, especially:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;closed class hierarchies&lt;/li&gt;
&lt;li&gt;union declarations and union patterns&lt;/li&gt;
&lt;li&gt;continued unsafe evolution work&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I would not blindly adopt all of this in production code yet, because preview language features always deserve a sober test cycle. But the direction is good. C# keeps moving toward richer modeling without losing its identity.&lt;/p&gt;
&lt;h2 id="aspnet-core-and-ef-core-have-practical-updates-worth-testing-early"&gt;ASP.NET Core and EF Core have practical updates worth testing early&lt;/h2&gt;
&lt;p&gt;Two areas I would definitely put through a spike:&lt;/p&gt;
&lt;h3 id="blazor-improvements"&gt;Blazor improvements&lt;/h3&gt;
&lt;p&gt;Client-side validation for Blazor SSR and QuickGrid improvements without interactivity are both the kind of quality-of-life features that can simplify real apps.&lt;/p&gt;
&lt;h3 id="ef-core-defaults-and-warnings"&gt;EF Core defaults and warnings&lt;/h3&gt;
&lt;p&gt;EF Core moving SQL Server 2022 compatibility to the default and adding warnings for async EF queries running synchronously are exactly the kind of changes that can surface hidden issues in real codebases.&lt;/p&gt;
&lt;p&gt;That means it is worth testing sooner rather than later.&lt;/p&gt;
&lt;h2 id="my-short-list-for-a-first-pass"&gt;My short list for a first pass&lt;/h2&gt;
&lt;p&gt;If I had half a day to explore Preview 5, I would do this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;try the MCP server template&lt;/li&gt;
&lt;li&gt;run builds and inspect the new vulnerability/EOL checks&lt;/li&gt;
&lt;li&gt;test any codebase that might benefit from the new C# modeling features&lt;/li&gt;
&lt;li&gt;validate Blazor SSR scenarios if you are on that stack&lt;/li&gt;
&lt;li&gt;run EF Core-heavy paths and watch for warning changes or SQL differences&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;That is where I think the early value is.&lt;/p&gt;
&lt;h2 id="my-take"&gt;My take&lt;/h2&gt;
&lt;p&gt;.NET 11 Preview 5 feels like one of those releases where the platform keeps pushing in two directions at once:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;more ambitious developer capabilities&lt;/li&gt;
&lt;li&gt;better defaults for production-minded teams&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That combination is what I want from a preview cycle.&lt;/p&gt;
&lt;p&gt;Try it, but try it with purpose.&lt;/p&gt;
&lt;p&gt;Original post: &lt;a href="https://devblogs.microsoft.com/dotnet/dotnet-11-preview-5/"&gt;.NET 11 Preview 5 is now available!&lt;/a&gt;&lt;/p&gt;</content:encoded></item></channel></rss>