- C# Digest
- Posts
- The Memento Design Pattern in C#
The Memento Design Pattern in C#
Practically with examples
The Memento Design Pattern in C#
15 minutes
Discover how to implement the Memento design pattern in C# to create user-friendly applications with undo and redo functionalities, enhancing user experience and boosting your app’s robustness.
CodeRabbit: Merge C# Code 10x faster with AI-driven code reviews!
sponsored by CodeRabbit
Meet CodeRabbit, the AI-first pull request reviewer that provides context-aware feedback, line-by-line code suggestions, and real-time chat. Use CodeRabbit to improve the code quality and prevent production failures. It comes with a seven-day free trial and is completely free for OSS projects. Get started today.
Migrating .NET APIs with Obsolete Attribute
5 minutes by Isaac Abraham
APIs always evolve over time, and occasionally we might need to make a breaking change. If that's the case, it's important to help guide users and ideally give them a migration path between old and new API surfaces. The Obsolete attribute is one such mechanism that you have for doing this.
The state machine in C# with async/await
4 minutes by Steven Giesel
You often here that the async/await keywords leads to a state machine. But what does that mean? Let's discuss this with a simple example.
Health Checks for ASP.NET Core and Entity Framework Core
5 minutes by Khalid Abuhakmeh
In this post, we’ll look at installing the health checks package into existing ASP.NET Core applications and using an additional package to perform health checks on your databases using Entity Framework Core.
Implementing the Cached Repository Pattern in C#
4 minutes by Ben Witt
A cached repository is a design pattern aimed at enhancing application performance by storing data in a fast-access memory area known as a cache. This reduces the number of database accesses, thereby improving response times and the application's scalability.
how did you like this issue? |