C
C#2y 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 rather than 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
0 Replies
No replies yetBe the first to reply to this messageJoin