© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
6 replies
emerged_entity

❔ What type of architecture to use in project?

Hello, I'm on my way of learning .NET Before that, I made my own small pet project created for learning foreign languages, but it was done completely in form of monolith and with the help of Razor Pages. Attached the previous code structure.

Now I want to remake this project, additionally adding new functionality, but at the same time rewriting it with more competent architecture. Other than that, I would like to do everything apart from the User Interface first, since I want to learn React later and try to implement it in this case.

But now I'm in a big dilemma, because I've been trying for days to find the right structure for such a project and couldn't come up with a final solution. A clean architecture looks too complicated at my stage of knowledge and perhaps not very necessary, since the project is small. Beyond that, I see an N-tier architecture. It already looks simpler and pretty laconic, but at the same time, in various examples, people constantly have a different structure of such projects, as well as the number of layers. Would it be ok to have only three layers, UIL, BLL and DAL? Maybe there are some better practices in my case? Also, it is also not entirely clear what type of projects each layer should be and how they should interact with each other? DAL is better to do as a library, and BLL as an API, as I understand for now.

A rather chaotic question, but I will be grateful for the advice. Also, maybe I'm missing something more preferable in my case.
Screenshot_2023-08-18_210900.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

What type of 3 layered architecture should I use
C#CC# / help
16mo ago
✅ Architecture in a MAUI project
C#CC# / help
2y ago
What project type to choose, VS
C#CC# / help
17mo ago
✅ What is the use of `LogLevel` type in C#?
C#CC# / help
15mo ago