#438 Securing Sensitive Information with .NET User Secrets

Working with secure keys in .NET has always been a delicate balance of convenience and safety.

Securing Sensitive Information with .NET User Secrets

In this post, I will introduce you to .NET User Secrets and how to use the feature to store sensitive values locally during development, significantly reducing the chance of exposing secrets.

Meet Swimm: a documentation tool built for developers (sponsor)

Swimm’s patented AI automatically validates and updates docs as part of your developers' CI/CD workflows — fixing simple errors automatically and alerting you about significant changes.

C# 12: Primary Constructors

Another new C# 12 feature might drop soon and makes its debut with the next iteration: Primary Constructors.

Checking for Overflow in C#

By default, integral values (such as int, uint, and long) do not throw an exception when they overflow. Instead, they "wrap" – and this is probably not a value that we want. But we can change this behavior so that an exception is thrown instead.

Better search in Visual Studio

The new All-In-One Search combines code and feature search into the same UI and adds some extra power and productivity to the experience.

LINQ's Enumerable.Range to generate a sequence of consecutive numbers

If you need a sequence of numbers, you can pick two ways: use a While loop, or use Enumerable.Range

Image Scaling in .NET MAUI

The Image control has an Aspect property which allow us to indicate how an image will fit into the display area (scaling). This property offers different values which allows us to play with the visualization.

Applying an improved multiple languages library to .NET applications

This article provides the details of how you would use the Localize-ME library in to add localization to your .NET application.

Implementing JWT Authentication in ASP.NET Core with Identity and EF Core

In this article, we will take a complete example of using JWT in ASP.NET Core with Identity and EF Core.

Profiling .NET on Linux with BenchmarkDotNet

PerfCollectProfiler is a new BenchmarkDotNet diagnoser that can profile the benchmarked .NET code on Linux and export the data to a trace file which can be opened with PerfView, speedscope or any other tool that supports perf file format.

And we'll wrap up with two cool projects. Why would you not write some COBOL next week and then run it in the TurboPascal-like IDE?

See you next week! 👋


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