0
What is mvc and web api in .net framework? When to use which one?
I not getting the difference between them. Can someone help me with their usage
5 Respuestas
+ 1
MVC is a web application design pattern, its composed of Models which are your data structure and are how the application manages a database. Views which generate the html that users see, a lot of this will be generated from templates in large applications. Controllers which connect urls to Views.
Web api is for creating an API for you application which is a way for other programs to Create, Read, Update, Delete data from you application
+ 1
No, MVC is for creating websites. Microsoft, Dell, stackoverflow and other large sites are built using this.
web api is used for making api's
+ 1
people use websites,
programs use api.
If you want to tweet you go to twitter.com . If you want a program youve made to tweet you link it to twitters api.
0
Basically ,MVC is an architecture for creating web api's right? Jason Edelson
0
So API n Website is different?
I am totally confused .Can you help me with that