Here are the things that caught my eye recently in .NET. I’d love to hear what you found most interesting this week. Let me know in the comments or on Twitter.
The ASP.NET team has built a command-line tool called HttpRepl. It lets you browse and invoke HTTP services in a similar way to working with files and folders. You give it a starting point (a base URL) and then you can execute commands like “dir” and “cd” to navigate your way around the API.
Using the ReferenceAssemblies NuGet package to build .NET Framework libraries on Linux, without installing Mono
In this post I show how you can build .NET projects that target .NET Framework versions on Linux, withoutusing Mono. By using the new Microsoft.NETFramework.ReferenceAssemblies NuGet packages from Microsoft you don’t need to install anything more than the .NET Core SDK!
One of the most exciting features of .NET Core 3.0 and C# 8.0 has been the addition of
IAsyncEnumerable<T>(aka async streams). But what’s so special about it? What can we do now that wasn’t possible before?
In this article, we’ll look at what challenges
IAsyncEnumerable<T>is intended to solve, how to implement it in our own applications, and why
Task<IEnumerable<T>>in many situations.
In an application I’m writing, I need to deserialize some JSON. I know the class to use is
JsonConvert, but which NuGet package was that type in again?
Granted, that’s an obvious one. Yet, there are many uses for a “NuGet reverse package search”that helps finding the correct NuGet package based on a public type.
While ReSharper and Rider initially added this nice feature and Visual Studio has added this a few years later as well, I wanted to see if I could build an indexer and search engine that collects public type information from NuGet packages and makes them searchable. And along the way, I discovered that this would be an ideal use case for Azure Functions.
System Stable: Robust connected applications with Polly, the .NET Resilience Framework – Bryan Hogan
In this session I will show you how with just a few lines of code you can make your applications much more resilient and reliable. With Polly, the .NET resilience framework, your application can easily tolerate transient faults and longer outages in remote systems or infrastructure.
At the end of this hour you will know how to use all the features of Polly to make your application a rock solid piece of work. We’ll cover the reactive and proactive resilience strategies, starting with simple but very powerful retries and finishing with bulkhead isolation.
Oh, and did I mention Polly is a .NET Standard library so it will work on any application you can think of!
Join me for an hour, and your applications will never be the same.