🏛️Clean Architecture in .NET

Hi! ✌️

Learn how to implement Clean Architecture in .NET for building maintainable, scalable, and easily testable applications. Explore the distinct layers - Domain, Application, Infrastructure, and Presentation - and understand the key principles. Discover the differences between Clean Architecture and Onion Architecture, and find out when to consider Clean Architecture for your projects.

Unlock the magic of Reflection in C# with 4 powerful examples. Explore retrieving type information, accessing non-public members, dynamically modifying objects, and creating instances dynamically. Delve into the creative possibilities of runtime code manipulation, ensuring you wield this programming magic responsibly.

Discover the power of tuples in .NET, a versatile data structure for grouping diverse values. Learn to create and utilize tuples using the Tuple class or concise shorthand notation, enhancing code readability. Explore examples, including a method for file deletion with named tuples, offering an insightful approach to simplify complex scenarios.

Unlock the potential of the often overlooked Data Protection API (DPAPI) in ASP.NET Core. This blog post explores its role in encrypting cookies, securing parameters, and safeguarding short-term data, offering insights on using it in both ASP.NET Core applications and console applications with examples. Discover how to leverage Azure Key Vault to store and manage encryption keys efficiently, ensuring a robust security infrastructure.

This article explores the significance of task scheduling in software development, focusing on Quartz.NET as a robust job scheduling library for .NET applications. Delving into its foundational elements like Jobs and Triggers, it provides a practical example of automating goat work management, showcasing the library's versatility in handling diverse scheduling needs.

In this blog post, David Pine explores the development of GitHub Actions with .NET, emphasizing optimization using Native AOT. The article covers the evolution of a profanity filter GitHub Action, container image publishing, and the benefits of Native AOT, with practical insights to enhance GitHub Action workflows for .NET developers.

In .NET 9, the lock statement undergoes a change when encountering the System.Threading.Lock class, offering more expressive patterns. While both traditional lock and Lock class utilize Monitors, benchmarking shows a 25% improvement using the Lock class for locking operations, promising further optimizations in the .NET runtime.

Explore the power of C# code snippets in Resharper and Rider, particularly the Concept Driven Typing method, which enhances productivity by using meaningful shortcuts for custom code snippets. Discover how these snippets, despite the rise of AI assistants, offer a focused and efficient coding experience, with a downloadable collection of 150 snippets available for the price of a cup of coffee.

Introducing GummyCat: A visual tool for .NET memory management. Created initially for a conference demo, it evolved into a powerful tool to understand how the garbage collector manages memory regions, offering a defrag tool aesthetic and logical view option. Available as a dotnet tool, GummyCat supports live processes and memory dumps for .NET 7+ applications.

What did you think of this week's issue?

We take your feedback seriously.

Login or Subscribe to participate in polls.

Join the conversation

or to participate.