Thumbnail image

NDPE [0] - .NET Core Web Design Patterns Details

Project Details for .NET Core Design Patterns Experiments NDPE

Greetings! In this blog post series, we will be testing various .NET Core web design patterns to evaluate their pros and cons. For our experiment, we will create a ToDo project.

Our aim is to test a project that connects to a database with a simple ORM and performs CRUD operations using different web design patterns. We want to find out which pattern is best suited for a particular project size and how easily we can achieve our goals using that pattern.

Purpose of This Experiment

This experiment has been developed to find out what can be done in each design pattern with minimal effort while developing projects. We aim to evaluate the development process and workload of each pattern and conclude which pattern supports the fastest and easiest method for performing CRUD operations.

Our main objective is to create a project that allows us to add, remove, and update ToDo items in the fastest and simplest way possible. We prefer to perform all these tasks on a single page to simplify the user experience.

Technologies and Frameworks Used in This Experiment

Project Setup

Our project will use a simple ToDo model with in-memory Entity Framework Core. We will also use a shared project to reduce code repetition and shorten the development process. The shared project will include the web service request methods and the database.

For the Web API, we will be using the Minimal API design pattern with the following endpoints:

API

Conclusion

In this blog post, we have introduced our project for testing various .NET Core web design patterns. Our main objective is to create a ToDo project that allows us to perform CRUD operations in the fastest and simplest way possible. We have also listed the technologies and frameworks we will be using in this experiment and provided source links for each of them.

Stay tuned for our next blog post, where we will dive deeper into the Razor Pages Page Model design pattern and discuss its pros and cons.

Github .NET Core Design Patterns Experiments

Posts in this series