Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning JSON from Web Service
Message
De
22/05/2014 07:36:03
 
 
À
21/05/2014 13:47:59
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Versions des environnements
Environment:
C# 4.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01600242
Message ID:
01600449
Vues:
46
>I see three recommendations to switch to WebApi - we can't all be wrong :-}
>
>One suggestion - go for the newer 'Attribute Routing' - it's far more flexible and REST friendly than the older convention based approach.
>
>http://www.asp.net/web-api/overview/web-api-routing-and-actions/attribute-routing-in-web-api-2

Go on, just throw in more stuff for me to understand, why don't you? :)

I've got a Web Api example to work! Had to get VS 2013 and update to Web Api 2 to get it to work, but it looks like it works properly, so now I need to see if I can do this to use the business objects I created or if I'll need to create Models and controllers to pull my data out of the database (and post it back after being edited).
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform