© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
1 reply
Fwedi

Trying to understand MVVM and MVC. Blazor ASP.NET

I'm trying to desgin a web portal using blazor but I can't really wrap my head around how I could code it. Mainly how exactly I could connect the database and the front end. Sorry if I'm asking too much.

How could I make use of design patterns like mvc and mvvm to help me out with this?
Is one strictly better or more modern or are they both useful and practical?
Do I have to pick between the two or is it possible to use both patterns at the same time?

Is it possible to have a component that displays a table based on what I query the database?

Like for example:
If I query the database to "select col1, col2 from A" or to "select col3, col4, col5 from B"
Would it be possible to have one dynamic component thst can receive the result of both queries and display the data?
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

ASP.NET MVC
C#CC# / help
3y ago
ASP.NET MVC
C#CC# / help
3y ago
React + ASP.NET MVC
C#CC# / help
2y ago
❔ ASP.net MVC repositories
C#CC# / help
4y ago