Using Generics in C# to Improve Application Maintainability

#167 – August 13, 2017

sponsor

Xamarin / C# open source SDK developer

We're on the hunt for a C# and Xamarin developer to take over as a paid maintainer of our open source client library for our socket based realtime service. If you enjoy complex problems, remote and flexible working, then get in touch!

this week's favorite

Using Generics in C# to Improve Application Maintainability

In a previous article, Data and Encapsulation in complex C# applications, I talked about two ways to treat runtime data. More specifically, I talked about data encapsulation and behavior-only encapsulation. In a nutshell, encapsulating data means that we have units (e.g. classes) that contain data in a manner that: prevents consumers from accessing it directly (e.g. by putting it in private fields), allows consumers to use public methods that interact with it in an indirect way.

Develop Locally with HTTPS, Self-Signed Certificates and ASP.NET Core

A Detailed Guide to Setting up HTTPS and Self-Signed Certificates on Your Local Development Environment for ASP.NET Core on Windows and Linux

NUKE – A cross-platform build automation system with C# DSL

Builds are full-fledged C# projects. No preprocessing involved! That means all the powerful IDE features like auto-completion, refactorings and formatting will celebrate their comeback.

.NET Standard 2.0 is final

You can now start producing .NET Standard 2.0 libraries and NuGet packages. Please use the latest .NET Core 2.0 Preview 2 as it contains many improvements that were necessary to provide a good experience.

Hello WebAssembly

We have been experimenting with a couple of approaches to bring Mono to the web using WebAssembly - a technology that can efficiently and safely execute code in web browsers without being limited to Javascript. Running code written in C or C++ inside the browser has been a big motivator, but most major programming languages have plans to target WebAssembly as a platform

newsletters