Develop an MVC project with Web API

Asked

Viewed 305 times

1

Someone asks me to develop an MVC application with various technological elements such as Angular, Bootstrap, Entity and so on. I then create a Web API project, can I guarantee to this person that it is developed in MVC? This is just conceptual.

  • Your main problem is communication between you and the customer. There is a difference between asking to use the MVC architecture standard and using the ASP.NET MVC Framework.

  • It is a test only, it is not a client. I am stopped and decided to take the test, with right to consultation. It gave me 4 days to finish. It is a company in the field of Transportation and Logistics. As I never mixed these technologies, began to present doubts. I’m trying to clear up all the questions I can to get my hands on.

1 answer

2


MVC is a design design that conceptualizes separation in Model, View and Controller.

In the ASP.NET Web API, we have separated the Model and the Controller, we did not develop a user view, but if you treat the endpoint result created as a View, then we can say that the Web API is a project design that implements MVC.

However I never came up with this kind of question whether I could define the development in Web API as if it used the standard MVC project.

  • We usually use the API for service development, which doesn’t have a view. However, we can define an interface, since in the generated template is created a View Printer.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.