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

Tech in 2024: The winners and losers

Tuesday, November 26, 2024

Retesting AI detectors; Linux support options; Android home screen launchers -- ZDNET ZDNET Tech Today - US November 26, 2024 Meta Ray-Ban Smart Glasses ZDNET Tech winners and losers of 2024: The year

LW 160 - How to Edit Shopify Code So It’s Easy to Update Your Theme Later

Tuesday, November 26, 2024

How to Edit Shopify Code So It's Easy to Update Your Theme Later ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ Shopify Development news and

State of JavaScript 2024; ECMAScript Internationalization API; JS without build system

Tuesday, November 26, 2024

We have 9 links for you - Stay up-to-date on JavaScript and tools Survey: State of JavaScript 2024 (Nov 13 – Dec 3) survey.devographics.com @sachagreif@front-end.social Intl [ECMAScript

The military adopts Claude AI 💪

Tuesday, November 26, 2024

plus, AI doctors get better 🖖 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Post from Syncfusion Blogs on 11/26/2024

Tuesday, November 26, 2024

New blogs from Syncfusion All Things Open 2024 Takeaways, Part 2: Transparency By Marissa Keller Outten Discover the importance of transparency, learn how to build it, and overcome barriers to drive

⚙️ New Nvidia

Tuesday, November 26, 2024

Plus: Study on LLM reasoning ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Your First 90 Days as CISO: 15 Steps to Success

Tuesday, November 26, 2024

Essential strategies for a strong start in your new CISO role - get the roadmap now. The Hacker News The First 90 Days as CISO: Your Roadmap to Success The clock starts ticking the moment you step into

Your monthly update has arrived

Tuesday, November 26, 2024

What's new in Google Play and Android Email not displaying correctly? View it online November 2024 The First Developer Preview of Android 16 The First Developer Preview of Android 16 Android 16

RomCom Exploits Zero-Day Firefox and Windows Flaws in Cyberattacks

Tuesday, November 26, 2024

THN Daily Updates Newsletter cover The AI Value Playbook ($35.99) FREE for a Limited Time Business leaders are challenged by the speed of AI innovation and how to navigate disruption and uncertainty.

Edge 451: In One Teacher Enough? Understanding Multi-Teacher Distillation

Tuesday, November 26, 2024

Enhancing the distillation process using more than one teacher. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏