❔ Web API, ASP.NET and Vue.js
Please, can anyone explain for what I should use Web API? I cannot figure out when I should use MVC Controllers and API Controllers. Can I build a whole project without MVC Controllers at all or is it a code smell? I mean something like Vue.js + ASP.NET back-end
5 Replies
If you use a vue frontend you would use web api as the backend
And call your endpoints from the vue frontend
So, I don't need MVC Controllers at all, do I?
well, MVC is for server side rendering with razor pages.
You wouldn't use it with Vue
Thank you so much!
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.