#401 Colors in .NET: In-depth guide

sponsor

What’s New in Telerik UI for Blazor With R1 2022

Hey, developer folks! It’s Telerik R1 2022 release time and we’re excited to start the year with the introduction of multiple new UI components such as Map, FileSelect and ColorPicker; more Data Grid, TabStrip and Editor features; theme and style improvements; REPL code runner; .NET 6 and Visual Studio 2022 support.

this week's favorite

Colors in .NET: In-depth guide

I don't know about you, but I struggled for many years with the limited number of colors available in the .NET Colors class, trying to get matching colors with ColorPickers and understanding the various color models. To simplify my life, I wrote a few small methods which allow me to change any color towards white and black and another one to mix colors. With this, I get nicely matching colors, a bit like gradients as in the GradientBrush.

Batch querying with Marten

Before I talk about the batch querying feature set in Marten, let’s take a little detour through a common approach to persistence in .Net architectures that commonly causes the exact problem that Marten’s batch querying seeks to solve.

Authentication in ASP .NET Core

This article covers authentication in ASP .NET Core. It tries to explain the concepts and how they relate and also shows some code so you can hopefully add authentication to your own .NET app.

Everything you want to know about the record type in .NET: Performance

Many of the classes I create in assemblies are what I call “model types” or POCO classes, which in most cases mean classes that are mainly used to transport data in and out of back-end API services that I usually write using ASP.NET using the Web API. You can think of these as the code first classes used in Entity Framework. They still should follow good architecture, coding standards, but mainly these classes are just to represent data.

Getting started with Protocol Handlers for your web app

Beginning with Microsoft Edge 96, web apps can now use Protocol Handlers in Microsoft Edge. This is a powerful feature that allows your installed web application (or PWA) to handle pre-set or custom protocols. Installed web applications can now register with the operating system as protocol handlers and launch when a specific protocol is invoked. Let’s dive into the feature to understand how developers can take advantage of it.

newsletters

Would you like to become a sponsor and advertise in one of the issues? Check out our media kit and get in touch.