Digests » 212

Big announcement this week 💥:

I started running C# Digest Premium – a paid version of the newsletter. It has more content around web and desktop development, databases, and there is something extra in every issue. For a price of an umbrella tea infuser ($5 per month) you can get the best C# newsletter and you will help me to make it better ❤️. Oh and there won't be any ads.

sponsor

elmah.io - Error Monitoring for ASP.NET, MVC, Web API, ASP.NET Core, and much more

Cloud enable your error logging and uptime monitoring with elmah.io by installing a single NuGet package. We've optimized elmah.io for .NET and offer intelligent error grouping as well as quick fixes for faster recovery. elmah.io is a perfect fit for .NET developers so grab your 20% discount with csharpdigest18 and start reducing your bugs today!

.net

Tools for Exploring .NET Internals

Whether you want to look at what your code is doing ‘under-the-hood’ or you’re trying to see what the ‘internals’ of the CLR look like, there is a whole range of tools that can help you out. To give ‘credit where credit is due’, this post is based on a tweet, so thanks to everyone who contributed to the list and if I’ve missed out any tools, please let me know in the comments below.

Accelerating AES encryption on ARMv8

This is part 2 in a series of posts on using .NET Core platform intrinsics. Part 1 discussed the implementation of SHA-256 using specialized instructions available in the ARMv8 Cryptography Extensions. Part 2 will describe the accelerated implementation of AES encryption using hardware instructions that are part of the same instruction set.

Introduction to Machine Learning and ML.NET

ML.NET is an open-source and cross-platform framework and available as NuGet package. You can check the code here. It was originally developed in Microsoft Research and it is used across many Microsoft products like Windows, Bing, Azure, etc. One very cool thing about this framework is that it can be extended to add machine learning libraries like TensorFlow, Accord.NET, and CNTK. Before we dive into the details of this framework let’s have a brief introduction to Machine Learning and type of problems that it solves.

ASP.NET Core Web API Best Practices

In this post, we are going to write about what we consider to be the best practices while developing the .NET Core Web API project. How we can make it better and how to make it more maintainable.

Why Skylake CPUs Are Sometimes 50% Slower

I got a call that on newer hardware some performance regression tests have become slower. Not a big deal. Usually it is a bad configuration somewhere in Windows or some BIOS settings were set to non optimal values. But this time we were not able to find a setting that did bring performance back to normal. Since the change was not small 9s vs 19s (blue is old hardware orange is new hardware) we needed to drill deeper.