question

PolachanPaily-6650 avatar image
0 Votes"
PolachanPaily-6650 asked ZhiLv-MSFT answered

Sample project in Web API using SOLID principle design

Hi
Anyone has idea to get a free sample project with Solid Principle design in Web API Asp.net Core. Is it possible to get any from Git or somewhere

Pol

dotnet-aspnet-core-webapi
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ZhiLv-MSFT avatar image
0 Votes"
ZhiLv-MSFT answered

Hi @PolachanPaily-6650,

SOLID principles are critical techniques to be used in any modern and mission-critical application, such as developing a microservice with DDD patterns. SOLID is an acronym that groups five fundamental principles:

  1. Single Responsibility principle

  2. Open/closed principle

  3. Liskov substitution principle

  4. Interface Segregation principle

  5. Dependency Inversion principle

You can search "asp.net core API with solid principles design pattern sample" or "solid principles asp.net core examples" online, there have multiple articles and video about how to use SOLID principle with Asp.net core. Here are some relate articles you can refer to them:

SOLID With .Net Core

Solid Principles with C# .NET Core with Real-World Usage

How to apply SOLID principles with practical examples in C#

Sample: order-fullfillment-solid-practice


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Best regards,
Dillion

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.