• C# Digest
  • Posts
  • The Memento Design Pattern in C#

The Memento Design Pattern in C#

Practically with examples

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.

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.

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.

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.

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?

Login or Subscribe to participate in polls.

newsletters

Would you like to become a sponsor and advertise in one of the issues? Check out our media kit and get in touch.