A faster, lighter C# Dev Kit

A faster, lighter C# Dev Kit

<p>C# Dev Kit has been rebuilt to open solutions in about a second and run on a fraction of the memory, and this post walks through what changed for you.</p> <p>The post <a href="https://devblogs.microsoft.com/dotnet/faster-lighter-csharp-dev-kit/">A faster, lighter C# Dev Kit</a> appeared first on <a href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

1 day ago
Stripping extra dependencies in .NET NativeAOT apps using linker substitutions

Stripping extra dependencies in .NET NativeAOT apps using linker substitutions

In this post I describe how to perform method-substitutions with the NativeAOT linker to remove additional dependencies that the linker couldn't see were unused

1 day ago
UWP and WinUI 3 apps: UI testing with MSTest

UWP and WinUI 3 apps: UI testing with MSTest

<p>Learn how to test UWP and WinUI 3 apps with MSTest and Microsoft.Testing.Platform across packaged, unpackaged, and AppContainer hosts.</p> <p>The post <a href="https://devblogs.microsoft.com/dotnet/testing-uwp-and-winui-3-apps-with-mstest/">UWP and WinUI 3 apps: UI testing with MSTest</a> appeared first on <a href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

2 days ago
Convert a String to an Int in C#

Convert a String to an Int in C#

Three reliable ways to convert a string to an int in C# — int.Parse, int.TryParse, and Convert.ToInt32 — plus which one to reach for and why.

3 days ago
Rails to ASP.NET Core: A Developer's Map

Rails to ASP.NET Core: A Developer's Map

Map Rails conventions, Hotwire, Active Record, and Sidekiq to ASP.NET Core, EF Core, htmx, Blazor, Hangfire, and more.

3 days ago
Polly v8 Rewrote Itself From Scratch. Here's What Actually Changed

Polly v8 Rewrote Itself From Scratch. Here's What Actually Changed

Polly v8 didn't just add features to the v7 fluent policy API. It replaced the whole model: Policy.Handle<T>() and IAsyncPolicy are gone, and every strategy (retry, circuit breaker, timeout, fallback, hedging, rate limiting) now composes through one ResiliencePipelineBuilder. Here's what changed, the six built-in strategies, and how to test retries and circuit breakers without waiting for real delays.

5 days ago
The hidden trap of fixed buffers in C#

The hidden trap of fixed buffers in C#

After all, if they&rsquo;re marked as unsafe, there&rsquo;s gotta be a reason, right?

9 days ago
Build Agentic UI with the new Blazor AI components

Build Agentic UI with the new Blazor AI components

<p>Build Agentic UI with the new Blazor AI components for streamed content, tools, approvals, shared state, and generative experiences.</p> <p>The post <a href="https://devblogs.microsoft.com/dotnet/build-agentic-ui-blazor/">Build Agentic UI with the new Blazor AI components</a> appeared first on <a href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

9 days ago