vendredi 1 janvier 2016

Are the M and the V from MVC even needed in ASP.NET Web API?

I have a Web API application that uses one controller which returns data read from a file.

So all I'm using is the C (Controller) part of MVC. I have no Views, and I'm not using Models, either - I'm storing and retrieving the data to/from the App_Data folder.

I know this is a rather simple solution, but it seems that all I need is C, not MVC. Am I missing something?

Aucun commentaire:

Enregistrer un commentaire