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.

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! 👋

how did you like this issue?

Amazing · Great · Okay · Meh · Bad

newsletters

© 2023 Bonobo Press

Would you like to advertise with us? Check out our latest media kit for more information.
If you no longer wish to receive these emails, click to unsubscribe.

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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your