C# Digest #401: Colors in .NET: In-depth guide
#401 — February 07, 2022 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge – invite your friends.
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.
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.
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.
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
Older messages
C# Digest #400: Proposed .NET 7 breaking changes
Sunday, January 30, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #400 — January 31, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
C# Digest #399: Optimizing CPU-bound and memory-bound .NET applications: 11 best practices
Sunday, January 23, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #399 — January 24, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
C# Digest #398: LINQ enhancements in Entity Framework Core 6
Sunday, January 16, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #398 — January 17, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
C# Digest #397: Refactoring with C# 10
Sunday, January 9, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #397 — January 10, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
C# Digest #396: Looking back at C#
Sunday, January 2, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #396 — January 03, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
You Might Also Like
The Story of Project Management & SEO ruined the internet
Monday, May 13, 2024
My name is Philipp and you are reading Creativerly, the weekly digest about creativity and productivity-boosting tools and resources, combined with useful insights, articles, and findings from the
📱 Don't Travel Without This Cheap iPhone Accessory — Run Your Smart Home With a Raspberry Pi
Monday, May 13, 2024
Also: How to Generate AI Art for Free, and More! How-To Geek Logo May 13, 2024 Did You Know Thanks to serious conservation efforts and sustainable harvesting programs starting in the 1950s, the United
JSK Daily for May 13, 2024
Monday, May 13, 2024
JSK Daily for May 13, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Level Up Your JavaScript: Mastering Array Manipulation Techniques Arrays are a fundamental
You rock(et) my world, moms
Monday, May 13, 2024
If you're looking for a Starliner mission recap, you'll have to wait a little longer -- the mission has officially been delayed. View this email online in your browser By Aria Alamalhodaei
Mapped | U.S. States By Number of Cities Over 250,000 Residents 🌎
Monday, May 13, 2024
Eighteen US States don't have a single incorporated area with more than 250000 people. View Online | Subscribe Presented by: Is your portfolio ready for the internet's next evolution? >>
Daily Coding Problem: Problem #1440 [Easy]
Monday, May 13, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Zillow. A ternary search tree is a trie-like data structure where each node may have up
Deepdive – prioritizing for product managers
Monday, May 13, 2024
As a Product Manager, you're constantly juggling everything – ideas, feature requests, strategic initiatives… the works. You want to do it all, but with limited time and resources, you know you
GCP Newsletter #398
Monday, May 13, 2024
News Official Blog Security Threat Intelligence Introducing Google Threat Intelligence: Actionable threat intelligence at Google scale Official Blog Security Introducing Google Security Operations:
Adapt access management to meet you where you are today
Monday, May 13, 2024
Join us on May 16th ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Vote For Disrupt Audience Choice, Get Early Bird Passes, & More
Monday, May 13, 2024
TechCrunch Events Roundup | May 13 TechCrunch Events TechCrunch events roundup Check out what's in store for you this week at TechCrunch! Disrupt Audience Choice Voting Is Open Disrupt 2024