Skip to content

Proof of concept of the use of the most common design patterns

Notifications You must be signed in to change notification settings

ElMehdiSmiri/Design-Patterns

Repository files navigation

.NET Core Design Patterns API

This repository contains examples of the most commonly used design patterns in C# programming language, implemented as a .NET Core API. The aim of this project is to provide a reference for developers who are interested in learning or refreshing their knowledge of design patterns, specifically in the context of building APIs.

Patterns Included

  • Behavioral Patterns
    • Strategy
    • Observer
    • Command
  • Creational Patterns
    • Factory Method
    • Singleton
  • Structural Patterns
    • Adapter
    • Facade

Roadmap for the future

  • Creational Patterns
    • Abstract Factory
    • Builder
    • Prototype
  • Structural Patterns
    • Bridge
    • Composite
    • Decorator
    • Flyweight
    • Proxy
  • Behavioral Patterns
    • Chain of Responsibility
    • Interpreter
    • Iterator
    • Mediator
    • Memento
    • State
    • Template Method
    • Visitor

Getting Started

  1. Clone this repository to your local machine.
  2. Open the solution file in Visual Studio.
  3. Explore the code and run the API to see the patterns in action. You can use swagger or a tool like Postman to make API calls and observe the results.

Contributing

If you would like to contribute to this project, please fork this repository and create a pull request. We welcome any contributions, big or small, to make this project better.

Acknowledgments

The examples in this project are inspired by the book "Design Patterns: Elements of Reusable Object-Oriented Software" by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides.

About

Proof of concept of the use of the most common design patterns

Topics

Resources

Stars

Watchers

Forks

Languages