Introducing the .NET Hot Reload experience for editing code at runtime
#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.
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 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
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
Build5Nines Newsletter - April 25, 2024
Thursday, April 25, 2024
View this email in your browser Build5Nines Build5Nines Newsletter Thank you for subscribing! I look forward to sharing with you the latest cloud news, technical help, and other thoughts around DevOps
Discover the World's Easiest Parallel File System
Thursday, April 25, 2024
Join us in exploring the future of data management with Bjorn Kolbeck, a Google engineer turned CEO and Co-founder of Quobyte, the creators of the world's easiest parallel file system. ͏ ͏ ͏ ͏ ͏ ͏
Issue 314 - New Model 3 Performance is here
Thursday, April 25, 2024
View this email in your browser If you are just now finding out about Tesletter, you can subscribe here! If you already know Tesletter and want to support us, check out our Patreon page Issue 314 - New
Programmer Weekly - Issue 202
Thursday, April 25, 2024
View this email in your browser Programmer Weekly Welcome to issue 202 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "Computer science inverts the normal.
Python Weekly - Issue 647
Thursday, April 25, 2024
View this email in your browser Python Weekly Welcome to issue 647 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly
Web Tools #562 - Voilà Review, CSS Tools, Media, React Native
Thursday, April 25, 2024
WEB VERSION Issue #562 • April 25, 2024 The following is a paid product review for Voilà, an AI assistant for the browser that enables you to improve your writing, coding, brainstorming, and research
Everyone wants to build the AI dev tool of the future
Thursday, April 25, 2024
A new startup called Augment has raised north of $250 million to build AI-powered dev tools. View this email online in your browser By Alex Wilhelm Thursday, April 25, 2024 Welcome to TechCrunch AM!
7 reasons to use Copilot over ChatGPT
Thursday, April 25, 2024
Coros Vertex 2S; Top 5 news apps; New Yeedi M12 Pro+ -- ZDNET ZDNET Tech Today - US April 25, 2024 placeholder 7 reasons I use Copilot instead of ChatGPT I reach for Copilot every day, and here's
Why they signed up for my Private AI Mentorship
Thursday, April 25, 2024
There are 3 reasons: use cases, accountability, and time.
wpmail.me issue#664
Thursday, April 25, 2024
wpMail.me wpmail.me issue#664 - The weekly WordPress newsletter. No spam, no nonsense. - April 24, 2024 Is this email not displaying correctly? View it in your browser. News & Articles WordPress