C#C
C#10mo ago
Nada

How to Structure an Angular + .NET 8 Microservices Project? (MVVM, MVC, Docker, Databases...)

I am working on a credit management project using Angular 16 for the frontend (developed with VS Code), .NET 8 for the backend (developed with Visual Studio), and SQL Server for the database. My supervisor mentioned a general MVC architecture with a backend based on microservices. However, I am confused about how to implement these architectures correctly.

Previously, I worked with MVC, where everything was simple: I just created three folders (Models, Views, Controllers). Now, with Angular (MVVM) and a microservices backend, I don't know how to structure my folders and organize my code.

1-Which folders should I create in Angular (under VS Code) to properly follow MVVM?
2-How should I structure microservices in .NET (under Visual Studio)?
3-Should I use a single database or multiple databases (one per microservice)?
4-Why is Docker everywhere when discussing microservices?
Is it essential for this type of architecture, and how should I integrate it?
I am looking for guidance on properly structuring my project and understanding Docker’s role in a microservices architecture.
Was this page helpful?