- C# Digest
- Posts
- Securing Sensitive Information with .NET User Secrets
Securing Sensitive Information with .NET User Secrets
#438 – January 23, 2023
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.
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.
Another new C# 12 feature might drop soon and makes its debut with the next iteration: Primary Constructors.
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.
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.
If you need a sequence of numbers, you can pick two ways: use a While loop, or use Enumerable.Range
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.
This article provides the details of how you would use the Localize-ME library in to add localization to your .NET application.
In this article, we will take a complete example of using JWT in ASP.NET Core with Identity and EF Core.
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! 👋