❔ 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
Was this page helpful?