© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago
Indeed

MVC + Blazor Proper approach

What is the proper approach for working with MVC and Blazor nowadays?
Earlier I stumbled upon people saying to integrate Blazor in a second project alongside MVC and to configure it to work together - which I did, and it seems to work good other than having to set styles file location manually in each file since it should be
Blazor.styles.css
Blazor.styles.css
rather than
MVC.styles.css
MVC.styles.css
that is used when using the component from MVC and without that fix file isolation styles don't work.

However I have also seen few and between however still notable mentions of people creating Blazor project and then integrating MVC into it. Only downside I was able to observe was people complaining of the lack of hot reload (which does still exist afaik, maybe its their specific usecase) and that not integrated Blazor project took less time to boot.

I am interested in what direction is the tide shifting and how should we go about it in the future
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

✅ MVC to Blazor
C#CC# / help
3y ago
mvc not finding blazor item, 404 not found
C#CC# / help
3y ago
Integrate Blazor components inside MVC .NET Framework 4.8
C#CC# / help
2y ago
Trying to understand MVVM and MVC. Blazor ASP.NET
C#CC# / help
2y ago