This week has been we’ve seen some significant increase in the number of quality articles overall. .NET 5 Preview 8 has come out, and it’s the important (last?) preview before .NET 5 comes out. So let’s get comfy and parse through some of these beauties:
.NET and C#
- Should you unit-test API/MVC controllers in ASP.NET Core? [andrewlock.net]
An everlasting dilemma of testing controllers in API/MVC projects. Should we test the controllers or shouldn’t we? Read about Andrew’s take on it to find out if it’s all black and white. Do you test your controllers? - RabbitMQ with ASP.NET Core – Microservice Communication with MassTransit [www.codewithmukesh.com]
Microservices are as good as the communication between the different parts of the system. Mukesh shows us how to use a popular Message-Broker Service RabbitMQ through some practical examples.
Worthy Reads
- Automatically find latent bugs in your code with .NET 5 [devblogs.microsoft.com]
- Solution & Project Structure of a Loosely Coupled Monolith [codeopinion.com]
- How to prevent the UI from freezing while executing CPU intensive work in Blazor WebAssembly [www.meziantou.net]
- Constrained Open Generics Support Merged in .NET Core DI Container [jimmybogard.com]
- New C# Source Generator Samples [devblogs.microsoft.com]
- Producer/consumer pipelines with System.Threading.Channels [blog.maartenballiauw.be]
- Encrypting texts for an Identity in ASP.NET Core Razor Pages using AES and RSA [damienbod.com]
- Use Range and Index In C# 8 [khalidabuhakmeh.com]
- Dispose Resources Asynchronously With IAsyncDisposable [khalidabuhakmeh.com]
- Creating C# Enums from a SQL Database using T4 Text Templates [exceptionnotfound.net]
- Always Run Migrations with DbUp [landerson.net]
- Using SQL Server HierarchyId with Entity Framework Core [www.meziantou.net]
- Showing a confirm dialog before doing an action in Blazor [www.meziantou.net]
- Make a blended composite image in C# [csharphelper.com]
Live & Presentations
- Monsters Weekly 179 – Working with AsyncLocal [aspnetmonsters.com]
- Episode 158 – Project Tye with Glenn Condron [6figuredev.com]
News & Updates
- Announcing .NET 5.0 Preview 8 [devblogs.microsoft.com]
- ASP.NET Core updates in .NET 5 Preview 8 [devblogs.microsoft.com]
- Announcing Entity Framework Core (EF Core) 5.0 Preview 8 [devblogs.microsoft.com]
- August ML.NET API and Tooling Updates [devblogs.microsoft.com]
- August 2020 Cumulative Update Preview [devblogs.microsoft.com]
DevOps & IoT
- Connect to a device over Serial COM Port on Windows 10 with WSL1 TTY devices with Windows Terminal and minicom [kwww.hanselman.com]
- Running ASP.NET Core app on Azure B1ls VM (penny-pinching) [www.tabsoverspaces.com]
Other Interesting Articles
- Lessons learned after migrating 25+ projects to .NET Core [blog.elmah.io]
- Conway’s Law, DDD, and Microservices [ardalis.com]
- Deploying Blazor apps to Azure Static Web apps [dotnetthoughts.net]
- Git Submodules Vs. NuGet Dependencies [christianfindlay.com]
- Having Fun with Microsoft IoC Container for .NET Core [sahansera.dev]
- Distributed Systems Pattern: Singular Update Queue [martinfowler.com]
On Programming and Life
- How to Learn to CODE. What is the Best Way [simpleprogrammer.com]
- How to Be Realistic and Optimistic During Your First Job Hunt as a Developer [simpleprogrammer.com]
- How To Keep Healthy If You Are A Software Programmer [simpleprogrammer.com]
Weekly Dose of Humor
- When the production is broken and I apply multiple quickfixes [thecodinglove.com]
- When I try an example from Stackoverflow [thecodinglove.com]
- My first automated job [thecodinglove.com]
We hope you’ve enjoyed the articles this week. If you haven’t done so yet, please subscribe to get notified about the future newsletter issues.
Have a great weekend!