文件名称:Apress.ASP.NET.MVC4.and.the.Web.API.Feb.2013
文件大小:1.61MB
文件格式:PDF
更新时间:2016-05-22 08:14:21
ASP.NET.MVC4
Contents Foreword .......................................................................................... xi About the Author ............................................................................ xiii About the Technical Reviewer ......................................................... xv Acknowledgments ......................................................................... xvii NChapter 1: ASP.NET MVC as a Service Framework .........................1 In the Land of JavaScript and Mobile Devices ........................................ 2 Advantages of Using the MVC Framework .............................................. 2 A Brief Introduction to the Web API ......................................................... 7 Summary ................................................................................................. 8 NChapter 2: What is RESTful? ...........................................................9 From RPC to REST ................................................................................... 9 XML-RPC and SOAP ................................................................................................11 URIs and Resources ................................................................................................12 HTTP Verbs .............................................................................................................13 HATEOAS .................................................................................................................15 HTTP Status Codes ................................................................................ 19 Summary ............................................................................................... 21 NChapter 3 Designing the Sample REST API ...................................23 Task Management Resource Types ....................................................... 24 Hypermedia Links ...................................................................................................25 Modeling the URIs and HTTP Verbs .........................................................................28