Managing Package Versions Centrally
> TL;DR - Microsoft has quietly shipped the ability to centrally manage package versions in the latest .NET Core SDK, in this post we'll look at some...…
My name is Stuart Lang. I am a software engineer passionate about F#, C# and .NET. I love attending and helping run community tech events, and contributing to open source.
> TL;DR - Microsoft has quietly shipped the ability to centrally manage package versions in the latest .NET Core SDK, in this post we'll look at some...…
When building a content rich mobile app with lots of imagery, what we often do make a web request that returns some JSON of content containing image...…
I recently gave a talk at DDD North [https://www.dddnorth.co.uk/] talking about some pitfalls in async in C#, and covering Async Streams and...…
When we maintain a library that's used by others, we want to shield them from breaking changes and use SemVer as a way of indicating breaking changes...…
In this post I'll be looking at an F# ASP.NET Core web app and a technique for ensuring correctness when taking a contract-first approach with...…
When building a web server in ASP.NET Core, the APIs that deal with status codes are int based, there are multiple ways to express a status code in...…
Go (https://golang.org [https://golang.org/]) has a really nice little language feature called defer, which is a keyword that lets you defer a...…
I wanted to try out a daily build of Roslyn to see the effect of a recent change to the C# compiler. I know how to do this for older .NET Framework...…
If you haven't heard, C# 8.0 is not supported on anything below .NET Core 3. This is in part due to the fact that some of the features cannot run on...…
.NET Tools are great, and we've known them for a while in .NET Core as ".NET Core Global Tools", but often we don't want these tools to be shared...…
If you are developing a mobile app, it's worth enabling VoiceOver on iOS and considering the usability from the perspective of people who rely on...…
Today I was writing a tool that needed to handle JSON, the content was relatively large and I only needed to pick out a few parts of the structure,...…
In a previous post [https://stu.dev/how-to-target-net4x-on-macos/] I showed how to build for net4x on macOS, and it turns out you have everything you...…
In my last post [https://stu.dev/generating-typed-client-for-httpclientfactory-with-nswag/] I showed how to automatically generate a typed client for...…
If you're a .NET developer building web apps or microservices, odds are at some point you're going to want to call an HTTP API from an ASP.NET Core...…
There are lots of great async tips out there, here a random few that I've collected over the past couple of years that I haven't seen much written...…
I spend a lot of time persuading people that F# is not about maths and finance, it's a great general purpose language that shines in many areas (such...…
UPDATE: These methods are no longer required. There is a better way I've written about here: https://stu.dev/dotnet-framework-reference-assemblies-via...…
Now that dotnet global tools are a thing, we are seeing an explosion of cool new cross platform command line apps being built with dotnet. A recent...…
When .NET Standard 2.0 was introduced, it wasn't plain sailing. .NET Standard 1.5 and 1.6 were already a thing, and they included APIs from .NET...…
TL;DR Paste code from VS Code into your blog: https://github.com/slang25/html-copy-vscode The problem When I started this blog I did some...…
Starting with C# 7.0, there is basic pattern matching support. I want to look at using this to interop with F# Discriminated Unions, and see what...…
The problem public async Task<IEnumerable<User>> GetUsers(){ var allResults = new List<User >(); var nextUrl =...…
Now that we have the new project system, and we can define common assembly info in our .csproj, we can say good-bye to AssemblyInfo.cs, well, I still...…