Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Kurtz, Jamie.

Title ASP.NET web API 2 : building a REST service from start to finish / Jamie Kurtz, Brian Wortman. [O'Reilly electronic resource]

Edition 2nd ed.
Imprint [New York] : Apress : Distributed to the Book trade worldwide by Springer Science+Business Media New York, ©2014.
QR Code
Description 1 online resource (1 volume) : illustrations
data file
Series The expert's voice in ASP.NET
Expert's voice in ASP.NET.
Note Includes index.
Summary This book provides technical background and guidance that will enable you to best use the ASP.NET Web API 2 Framework to build world-class REST services. All Web API-related concepts are introduced from basic principles and developed to the point where you can use them in a production system. You will: learn an introduction to the REST architecture; how to design a REST API and about new capabilities in ASP.NET Web API 2; understand ASP.NET Web API controller activation; automatic lifetime management for database connections and transactions; how to use NHibernate with ASP.NET Web API; easily secure a REST service, using standards-based authentication and authorization and JSON Web Tokens; how to support legacy SOAP callers with ASP.NET Web API; how to expose relationships between resources and how to support partial resource updates under REST; and Web API versioning. -- Edited summary from book.
Contents At a Glance; Introduction; Chapter 1: ASP.NET as a Service Framework; In the Land of JavaScript and Mobile Devices; Advantages of Using the ASP.NET Web API; Configuration; REST by Default; Abstraction with Routes; Controller Activation Is, Well, Very Nice; Simpler Extensible Processing Pipeline; Interoperability of JSON, XML, and REST; A Few Feature Highlights of the ASP.NET Web API; Summary; Chapter 2: What Is RESTful?; From RPC to REST; XML-RPC and SOAP; URIs and Resources; HTTP Verbs; HATEOAS; HTTP Status Codes; HAL, Collection+JSON ... ; Summary
Chapter 3: Designing the Sample REST APITask Management Resource Types; Hypermedia Links; Modeling the URIs and HTTP Verbs; The Task-Management Data Model; Choosing Architecture Components; Data Access; Type Mapper; IoC Container; Logger; Testing Framework; Mocking Framework; Summary; Chapter 4: Building the Environment and Creating the Source Tree; Configuring the Machine; Windows 8 64-bit with .NET Framework 4.51; SQL Server 2012; Visual Studio 2013; NuGet Package Manager 2.6; Creating the Folder Structure; Creating the Solution; NuGet Config File; Adding the Projects; Basic Components
Domain ModelService Model Types; Logging; The Database; Summary; Chapter 5: Up and Down the Stack with a POST; Routing; Adding an HttpRequestMessage Argument; Adding a Model Object Argument; Attribute-Based Routing; Versioning; Implementing POST; A Custom IHttpRouteConstraint; A Custom RoutePrefixAttribute; A Custom IHttpControllerSelector; Configuration; The Demo; Dependencies; Constructor Injection of Dependencies; Configuring Ninject Dependency Injection; Container Configuration; Container Bindings; IDependencyResolver for Ninject; Completing NinjectWebCommon
NHibernate Configuration and MappingsDatabase Configuration: Overview; Adding Concurrency Support to Entities; Entity Mapping; Mapping Relationships; Database Configuration: Bringing It All Together; Managing the Unit of Work; Database Transaction Control; Diagnostic Tracing; Error Handling; Persisting a Task and Returning IHttpActionResult; New Service Model Type; Persisting the Task; IHttpActionResult; Summary; Chapter 6: Securing the Service; The Main Idea; Authentication; Authorization; Overview of the Authentication and Authorization Process; Securing the POST; The Authorization Filter
A Message Handler to Support HTTP Basic AuthenticationSecuring Non-Resource API Operations; Activate a Task; Complete a Task; Reactivate a Task; Auditing; GET a Task; Applying Token-Based Security; Token Basics; The JSON Web Token; Configuring the JwtAuthForWebAPI Package; Getting a Task Using a JWT; SSL, XSS, CORS, and CSRF; Summary; Chapter 7: Dealing with Relationships, Partial Updates, and Other Complexities; Task and User Relationships; Partial Update of a Task Using PUT/PATCH; Validation Using an Action Filter; Specialized Action Filter to Validate Task Updates
Language English.
Subject Application program interfaces (Computer software)
Microsoft software.
Software engineering.
Logiciels Microsoft.
Génie logiciel.
Interfaces de programmation d'applications.
APIs (interfaces)
Software engineering
Microsoft software
Application program interfaces (Computer software)
Added Author Wortman, Brian.
Added Title Active Server Pages .NET web Application Programing Interface two
Other Form: Print version: 9781484201091 (OCoLC)890435870
ISBN 1484201108
9781484201107
9781484201091 (electronic)
1484201094 (electronic)
Standard No. 10.1007/978-1-4842-0109-1 doi
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information