Digests » 299

sponsor

C# Developers are in demand on Vettery

Vettery is an online hiring marketplace that's changing the way people hire and get hired. Ready for a bold career move? Make a free profile, name your salary, and connect with hiring managers from top employers today.

this week's favorite

Static Factory Methods vs Constructors In C#

Recently while pair programming with a colleague, we got into discussing the best way to initialize new objects in C#. I’ve always just implemented constructors and left it at that, while he tended to favour static factory methods. This led to a lot of discussion and back-and-forth about the pros and cons of each type.

GroupBy Performance

Looking at the performance of GroupBy in various scenarios This project is all .NET Core 3.1, previous editions may differ due to newer .NET Core LINQ optimizations.

Blazor WebAssembly Rest Client

Introduces RestClient.Net on the Blazor client-side rendering platform with a sample app that runs C# inside the browser. Use a strongly typed, task based Rest Client with abstractions on Wasm.

Reinforcement Learning with Unity ML Agents

In this post we present an example bot built with C# and TensorFlow framework, that learns to play a game in a simple Unity-based virtual environment using one of the state of the art reinforcement learning algorithms: soft actor-critic.

ASP.NET Core middleware with Roslyn Analyzers

ASP.NET Core middleware is a clever way to configure features like authentication, routing, and error logging in ASP.NET Core. Adding the different pieces of middleware and in the right order can be quite a nightmare, though. In this post, I'll show you how Roslyn Analyzers can help.