Introducing the .NET Hot Reload experience for editing code at runtime

And more news, tutorials and articles about C# and .NET in this week's issue.

#365 — May 31, 2021 View in browser

C# Digest

Spread the word, build the community, share the knowledge – invite your friends.

sponsor

Calling all Windows Developers!

Use C# , Windows XAML and open-source Uno Platform to build single-codebase applications for Windows, WebAssembly, Linux, macOS, iOS and Android. Try now via 3 min step-by-step tutorial.

this week's favorite

Introducing the .NET Hot Reload experience for editing code at runtime

Today, we are excited to introduce you to the availability of the .NET Hot Reload experience in Visual Studio 2019 version 16.11 (Preview 1) and through the dotnet watch command-line tooling in .NET 6 (Preview 4). In the rest of this blog post, we’d like this opportunity to walk you through what is .NET Hot Reload, how you can get started using this feature, what our vision is for future planned improvements and clarity on what type of edits and languages are currently supported.

Pitfalls of unoptimized NuGet packages

You might unknowingly be using an unoptimized dependency which could impact the performance of your app.

Highly COHESIVE software design to tame complexity

What is cohesion and why should you care? Highly cohesive software design can reduce complexity and coupling. But what is cohesion? It’s the degree to which the elements inside a module belong together. How you group operations together can have a widely different outcome on Cohesion. Informational Cohesion is grouped by operations on data. Functional Cohesion is grouped by operations of a task. It’s directly related to the Single Responsibility Principle, which you might also have a different definition of.

Authorization in ASP.NET Core

In this first post, I’ll demonstrate how can we use a middleware to build a ClaimsIdentity which contains all the permissions of the logged-in user. This is the foundation for the next posts where we will use the permissions to authorize the endpoints. I’ll also talk a bit about JWT tokens and if it’s a good idea to include authorization-related claims in them.

Using DateOnly and TimeOnly in .NET 6

In .NET 6 (preview 4), two long-awaited types have been introduced as part of the core library. DateOnly and TimeOnly allow developers to represent either the date or time portion of a DateTime. These two new types are structs (value types) and may be used when your code deals with date or time concepts independently. Both types can be found in the System namespace.

projects

RestClient.Net 5 Released

RestClient.Net makes HTTP calls in .NET easy. Send the request body as a strongly typed object, and get back a strongly typed object. You can inject the abstraction into your service classes and quickly mock them without worrying about the HTTP plumbing or converting to JSON.

newsletters


© 2021 Bonobo Press
Would you like to advertise or post a job with us? Check out our latest media kit.
If you no longer wish to receive these emails, click to unsubscribe.

Older messages

Create a colored CLI with System.CommandLine and Spectre 🎨

Sunday, May 23, 2021

And more news, tutorials and articles about C# and .NET in this week's issue. #364 — May 24, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite your

Evolving modular monoliths: An architecture for .NET

Sunday, May 16, 2021

And more news, tutorials and articles about C# and .NET in this week's issue. #363 — May 17, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite your

Why is your ASP.NET server so slow? 10 performance problems and solutions

Sunday, May 9, 2021

And more news, tutorials and articles about C# and .NET in this week's issue. #362 — May 10, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite your

LINQ behind the scenes

Sunday, May 2, 2021

And more news, tutorials and articles about C# and .NET in this week's issue. #361 — May 03, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite your

Deploying C# web applications with Docker

Sunday, April 25, 2021

And more news, tutorials and articles about C# and .NET in this week's issue. #360 — April 26, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite your

You Might Also Like

NVIDIA AI Software Party at a Hardware Show

Sunday, January 12, 2025

A tremendous number of AI software releases at CES. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Laravel 11.37, Recurr, Streaming Responses, and more! - №547

Sunday, January 12, 2025

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏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͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Daily Coding Problem: Problem #1665 [Medium]

Saturday, January 11, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by LinkedIn. A wall consists of several rows of bricks of various integer lengths and

📊 Every Smartphone I've Ever Owned, Ranked — This Tiny Smart Remote Is the Most Exciting Thing at CES

Saturday, January 11, 2025

Also: 5 Android Notification Features to Make Your Day Easier, and More! How-To Geek Logo January 11, 2025 Did You Know On March 12, 1951, a curious thing happened. In the United States and the United

Ranked | The Top Grossing Movies Worldwide in 2024 🎬

Saturday, January 11, 2025

Established IP dominated the 2024 box office, with top films mostly being sequels, spin-offs, or franchise continuations. View Online | Subscribe | Download Our App FEATURED STORY Ranked: Top Grossing

📖 Your Step-by-Step Guide to Securing AI in the Enterprise

Saturday, January 11, 2025

January 11, 2025 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Tines. When it comes to adopting AI securely,

🐍 New Python tutorials on Real Python

Saturday, January 11, 2025

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Iterators and Iterables in Python: Run Efficient