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.
19 replies
Choosing the Best Database Approach for Our .NET & Angular Project
Hello everyone,
My friend and I are working on a banking website project using Angular, .NET, and SQL Server (SSMS). This project is part of our 4-month internship, and we want to choose the best approach for our database.
Right now, our database is local, but we’re wondering if that’s the best option. Would it be better to keep it local, or should we look for a centralized solution to work more independently?
Previously, we worked on a library project where I developed the admin’s add book function, and she developed the client’s retrieve all books function. Using Firebase allowed her to access the data instantly without waiting for my part to be done, which made development easier.
Our supervisor mentioned that Docker could help, but we don’t fully understand how. Alternatively, would switching to a centralized database like MongoDB or Firebase be a better option?
We are beginners in .NET, and following tutorials helps us a lot. We also noticed that most .NET CRUD tutorials on YouTube use SQL Server, and we’re not sure why.
Additionally, we’ve seen that many centralized solutions are not free—is that true? If so, what are the best free or affordable options?
We’d love to hear your thoughts! Would you recommend staying with a local database, using Docker, or switching to a centralized solution?
Thanks in advance! 😊
8 replies
✅ Need Advice: Choosing the Right .NET Version for Our Project
Hello everyone, we need some advice. We are computer science students working on our third-year (final) project, which is a banking website. Our internship supervisor recommended using .NET 6 because he said it's more stable. However, when we checked online, we found that .NET 6 is 'out of support.' We contacted him, and he said it's not a big issue, but if we want to work with another version like .NET 7 or .NET 8, we have the choice.
We're not beginners in web development, but we are beginners in .NET, so we're unsure what to do. On one hand, an older version like .NET 6 might have more tutorials available on YouTube. On the other hand, choosing a supported version like .NET 8 might be a better option.
We'll be using Visual Studio 2022 for development.
What would you recommend for us?
83 replies