Answer the question
In order to leave comments, you need to log in
Is it ok to use MVC + web api architecture together?
There is an MVC application, with its own registration and authentication, I wrote a simple real-time chat on signalR, I was told that it is better to do the chat through the web api, and the question is whether it is normal to combine web api + mvc in 1 project, it turns out that I have ordinary pages there will be .cshtml and a SPA .html chat page, there is no complete understanding of what is right and what is wrong and what experienced guys usually do and how in such cases
Answer the question
In order to leave comments, you need to log in
Why not.
Just note that it is better to move the statics to separate locations for nginx so as not to drive kestrel in vain
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question