Securing Sensitive Information with .NET User Secrets
#438 – January 23, 2023 | View in browser |
C# Digest
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.
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.
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
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! 👋
how did you like this issue?
newsletters
Key phrases
Older messages
Five shortcuts to boost your productivity
Friday, January 20, 2023
Taking full advantage of the Visual Studio editor features will make you a more productive developer #437 – January 16, 2023 View in browser C# Digest Five shortcuts to boost your productivity Taking
Method-Core Injection: Pattern for Reducing Boilerplate Code
Sunday, January 8, 2023
It does one thing, and it does it straightforwardly. #436 – January 09, 2023 View in browser C# Digest Happy 2023 everyone! 🥂 I hope you had a great break and one of your New Year's resolution is
#435 How To Structure Your .NET Solutions: Architecture And Trade-Offs
Monday, December 19, 2022
#435 – December 19, 2022 View in browser C# Digest Hello! 🎄 This will be the last newsletter for 2022. So I hope y'all have a wonderful break and we'll get back to it on second Monday in 2023.
#434 .NET 7 Networking Improvements
Sunday, December 11, 2022
#434 – December 12, 2022 View in browser C# Digest Let's kick off the festive season with a fairly chunky newsletter today. 🎄 .NET 7 Networking Improvements Introducing new networking features in .
#433 Processing data in parallel using Channels
Sunday, December 4, 2022
#433 – December 05, 2022 View in browser C# Digest Processing data in parallel using Channels Thanks to the Task Asynchronous Programming model writing asynchronous code in .NET is usually
You Might Also Like
Software Testing Weekly - Issue 217
Monday, April 29, 2024
How do you deal with conflicts in QA? ⚔️ View on the Web Archives ISSUE 217 April 29th 2024 COMMENT Welcome to the 217th issue! How do you deal with conflicts in QA? Ideally, you'd like to know how
📧 Did you watch the free MMA chapters? (1+ hours of content)
Monday, April 29, 2024
Did you watch the free MMA chapters? Hey there! 👋 I wish you a fantastic start to the week. Last week, I launched Modular Monolith Architecture. More than 300+ students are already deep into the MMA
WP Weekly 191 - Essentials - Duplicate in Core, White Label Kadence, Studio for Mac
Monday, April 29, 2024
Read on Website WP Weekly 191 / Essentials It seems many essential features are being covered in-house, be it the upcoming duplicate posts/pages feature in the WordPress core or the launch of Studio
SRE Weekly Issue #422
Monday, April 29, 2024
View on sreweekly.com A message from our sponsor, FireHydrant: FireHydrant is now AI-powered for faster, smarter incidents! Power up your incidents with auto-generated real-time summaries,
Quick question
Sunday, April 28, 2024
I want to learn how I can better serve you
Kotlin Weekly #404 (NOT FOUND)
Sunday, April 28, 2024
ISSUE #404 28st of April 2024 Announcements Kotlin Multiplatform State of the Art Survey 2024 Help to shape and understand the Kotlin Multiplatform Ecosystem! It takes 4 minutes to fill this survey.
📲 Why Is It Called Bluetooth? — Check Out This AI Text to Song Generator
Sunday, April 28, 2024
Also: What to Know About Emulating Games on iPhone, and More! How-To Geek Logo April 28, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your
Daily Coding Problem: Problem #1425 [Easy]
Sunday, April 28, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Suppose an arithmetic expression is given as a binary tree. Each leaf is an
PD#571 Software Design Principles I Learned the Hard Way
Sunday, April 28, 2024
If there's two sources of truth, one is probably wrong. And yes, please repeat yourself.
When Procrastination is Productive & Ghost integrating with ActivityPub
Sunday, April 28, 2024
Automattic, Texts, and Beeper join forces to build world's best inbox, Reflect launches its iOS app, how to start small rituals, and a lot more in this week's issue of Creativerly. Creativerly