Digests » 196
this week's favorite
You are wondering what Drawing2D is in C#, basically it is namespace under System.Drawing.Drawing2D that provides advanced two-dimensional and vector graphics functionality. So why Points? Points represent an integer x- and y-coordinates that defines a point in a two-dimensional plane. It assists in creating polygons like Triangles, quadrilaterals, pentagons, and hexagons.
Today, we are announcing .NET Core 2.1 Preview 1. It is the first public release of .NET Core 2.1. We have great improvements that we want to share and that we would love to get your feedback on, either in the comments or at dotnet/core #1297. ASP.NET Core 2.1 Preview 1 and Entity Framework 2.1 Preview 1 are also releasing today.
In a constant battle to reduce the amount of duplication and technical debt in the code I write, I am always revisiting code and looking at how I can reduce the amount of maintenance work I need to perform. This means that after completing some piece of work, I frequently review the code base to see where patterns are emerging. I also follow the rule of three always and it never seems to fail me.
If you've ever needed to pull down databases from a live environment to stage or even dev you'll need to think about masking any personal information. There are options out there paid and free, however the free ones I've found do not provide genuine data and the paid options are too pricey when it's only a few tables.
I love C# and I find the careful language design fantastic. Nonetheless, as it currently stands, and even after 7 versions of C#, we still don’t have a perfect language. By that I mean that while it’s reasonable to expect there will likely always be new features to add to C#, there are also, unfortunately, some problems. And, by problems, I don’t mean bugs but, rather, fundamental issues. Perhaps one of the biggest problem areas—and one that’s been around since C# 1.0—surrounds the fact that reference types can be null and, in fact, reference types are null by default.