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 urls for the images we want to load. When we get the JSON,…
csharp
A collection of 9 posts
Video - An Intro into Async Streams & Channels
I recently gave a talk at DDD North talking about some pitfalls in async in C#, and covering Async Streams and Channels.
Pro Tip: using static Microsoft.AspNetCore.Http.StatusCodes
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 your code, in this post I will share my favourite. // Stop…
Defer with C# 8.0
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 statement until the current function returns, and you can see an example here [https://gobyexample.…
C# 8.0 and .NET Standard 2.0 - Doing Unsupported Things
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 runtimes below .NET Core 3, and…