question

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

C# proejct with good design pattern to folllow

Hi,
Any one has any idea to get best project to learn in C# and Web API from GitHub with good design pattern normally using in IT company . it would be very appreciated if any one can give a help


Pol

dotnet-csharpdotnet-aspnet-core-webapi
· 1
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.

Hi @PolachanPaily-6650,

As karenpayneoregon and AgaveJoe said, your question is a vague question that's impossible to answer accurately. Each design pattern solves a real-world programming problem, and there are scenarios where they are applicable. So, it depends on your application and scenario, you could review each design pattern first, then based on your scenario to select the design pattern. Or you can explain more detail about your scenario and the application/software architecture, then we might according to it to give some suggestion.

0 Votes 0 ·
karenpayneoregon avatar image
0 Votes"
karenpayneoregon answered

First off, what is best is subjective to each developer although when a decent starter project is presented on say GitHub one can tell if the code is good or not by how many stars a repository has. Then this is still subjective to skill level of a developer, if there is a good starter project that is above the skill level of a set of developer this can keep a repository from obtaining a higher rating.

My recommendation is to browse through the following list, inspect the code online, if the repository appears good to you, download and try it out. Or go and try out the following starter kit (the Use this template button will fork the repo to your account) which is based on .net5.

Also, consider using a third party Framework such as Telerik DevCraft which is an amazing set of tools and libraries. The libraries will take time to learn but well worth it. I've used these libraries in two different companies building SPA to Razor page solutions.


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.

AgaveJoe avatar image
0 Votes"
AgaveJoe answered AgaveJoe edited

Requesting a GitHub project with a good design pattern is a vague question that's impossible to answer accurately. There are many design patterns. Each pattern solves a real-world programming problem.

The best approach is learning the many known design patterns. Later, when you are faced with a programming problem, review the design patterns and pick a pattern that best solves the software design problem. Keep in mind, most applications will contain several design patterns. There's not one pattern that will solve every software problem.

Rather that asking for a GitHub project with a “good design pattern” you should be looking for a specific design pattern implementation.

Software design pattern
What are Design Patterns?


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.