Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Building a ServiceLayer with ASP.NETWeb APILOHITH G. N.DEV EVANGELIST, TELERIKLOHITH.NAGARAJ@TELERIK.COM
Agenda
®Web API is a part of ASP.NET
®Homepage: asp.net/web-api
Building a Read Only Web APIAllow browser or other clients toeasily retrieve informationfrom your system
®Sample Read-only Model andController
®Read-only Controller Actions toreturn data
®Routing a Web API UsingGlobal.asax.cs
Manipulating HTTP Responses
Manipulating HTTP ResponsesA successful API call returns an HTTP OK and the JSON data
Manipulating HTTP ResponsesAn unsuccessful API call returns an HTTP 404 (and no JSON)
Making an API UpdatableAllow clients to modifythe state of the server
®Posting Data to a Web API
®Posting Data to a Web API
®ResourcesFeedback and questionshttp://forums.dev.windows.comwww.asp.net
®
Introduction to asp.net web api
Introduction to asp.net web api
Upcoming SlideShare
Loading in …5
×

Introduction to asp.net web api

2,420 views

Published on

Quick introduction to Web API

Published in: Technology
  • Be the first to comment

Introduction to asp.net web api

  1. 1. Building a ServiceLayer with ASP.NETWeb APILOHITH G. N.DEV EVANGELIST, TELERIKLOHITH.NAGARAJ@TELERIK.COM
  2. 2. Agenda
  3. 3. ®Web API is a part of ASP.NET
  4. 4. ®Homepage: asp.net/web-api
  5. 5. Building a Read Only Web APIAllow browser or other clients toeasily retrieve informationfrom your system
  6. 6. ®Sample Read-only Model andController
  7. 7. ®Read-only Controller Actions toreturn data
  8. 8. ®Routing a Web API UsingGlobal.asax.cs
  9. 9. Manipulating HTTP Responses
  10. 10. Manipulating HTTP ResponsesA successful API call returns an HTTP OK and the JSON data
  11. 11. Manipulating HTTP ResponsesAn unsuccessful API call returns an HTTP 404 (and no JSON)
  12. 12. Making an API UpdatableAllow clients to modifythe state of the server
  13. 13. ®Posting Data to a Web API
  14. 14. ®Posting Data to a Web API
  15. 15. ®ResourcesFeedback and questionshttp://forums.dev.windows.comwww.asp.net
  16. 16. ®

×