Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ASP.NET Web Forms without WiFi
Message
De
26/11/2015 13:05:10
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01627849
Message ID:
01627938
Vues:
37
From a controller POV they are very similar.
For MVC you subclass the System.Web.Mvc.Controller.
For WebApi it's System.Web.Http.ApiController

But, although they are similar don't confuse the two.

>If I understand Craig correctly and a little bit of MVC is that WebApi uses the concept of 'routing'; so does MVC. Or maybe I should not even be commenting here :)
>
>>Sorry, I think that's a bit misleading. MVC is (as it's name implies :-} ) essentially a server based implementation of Model/View/Controller whereas WebApi is just about fielding HTTP requests for data.
>>
>>
>>>Correct. WebAPI is "MVC like". It's not exactly the same, but similar.
>>>
>>>This may be more introductory https://mva.microsoft.com/en-us/training-courses/web-api-design-jump-start-8689?l=BMxSvaH1_3804984382
>>>
>>>
>>>>Thank you. The reason I asked is I want to be sure that I am going through the right course in Pluralsight to learn how to do it. For example there is a course "Introduction to the API.NET Web API" which has not "MVC" in the title. So I am wondering .... I just wish they had a very basic one but most of them are for the intermediate level.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform