Skip to content

RESTful.NET Build and Consume RESTful Web Services with .NET 3.5

Spend $50 to get a free DVD!

ISBN-10: 0596519206

ISBN-13: 9780596519209

Edition: 2008 (Revised)

Authors: Jon Flanders

List price: $39.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

RESTful .NET is the first book that teaches Windows developers to build RESTful web services using the latest Microsoft tools. Written by Windows Communication Foundation (WFC) expert Jon Flanders, this hands-on tutorial demonstrates how you can use WCF and other components of the .NET 3.5 Framework to build, deploy and use REST-based web services in a variety of application scenarios.RESTful architecture offers a simpler approach to building web services than SOAP, SOA, and the cumbersome WS-* stack. And WCF has proven to be a flexible technology for building distributed systems not necessarily tied to WS-* standards. This book gives you a complete guide to the WCF REST programming model…    
Customers also bought

Book details

List price: $39.99
Copyright year: 2008
Publisher: O'Reilly Media, Incorporated
Publication date: 12/1/2008
Binding: Paperback
Pages: 308
Size: 6.75" wide x 9.25" long x 0.75" tall
Weight: 0.902
Language: English

Brian Loesgenis a Principal SOA Architect at Microsoft and previously a six-time BizTalk MVP. He co-authoredBizTalk Server 2004 Unleashedand five other books. Scott Colestock has been honored several times as a BizTalk MVP. A frequent TechEd presenter, he created a leading BizTalk deployment framework.Charles YoungandJan Eliasenhave each been honored repeatedly as BizTalk MVPs, and are highly-respected bloggers in the BizTalk community.Tom Canter, Principal Consultant for BizTalk at Neudesic, is a highly-respected BizTalk infrastructure expert.Anush Kumaris RFID Platform Product Manager at Microsoft.

Foreword
Preface
REST Basics
Architecture of the World Wide Web
SOAP
REST
Resources and URIs
Uniform Interface
Resource Representations
Implementing a Simple RESTful Service Example
Resources
URIs and Uniform Interface
Representations
Interaction
Wrap-Up
Processes
Summary
WCF RESTful Programming Model
Isn't WCF All About SOAP?
Channels and Dispatching
HTTP Programming with WCF 3.0
Web Programming in WCF 3.5
WebHttpBinding
WebHttpBehavior
WebServiceHost
WebOperationContext
WebGetAttribute
UriTemplate
UriTemplate Literal Values
UriTemplate Special Values
UriTemplate QueryString
Summary
Programming Read-Only Services
Using WebGetAttribute and UriTemplate
Data Formats
Message
DataContract
XmlSerializer
Hybrid Approach
Summary
Programming Read/Write Services
POST, PUT, and DELETE
Using WebInvokeAttribute
Resources
URIs and Uniform Interface
Representations
Implementation
Summary
Hosting WCF RESTful Services
WCF REST Hosting Isn't a Special Case
Self-Hosting
Configuring, Opening, and Closing a ServiceHost
Base Addresses
ServiceHost Versus WebServiceHost
Custom ServiceHost
Hosting in IIS
ASP.NET Compatibility
Multiple Hostnames
Removing the .svc File Extension
Custom ServiceHostFactory
Hosting Wrap-Up
Summary
Programming Feeds
Building a Feed with WCF
SyndicationItem
Formatters
Exposing a Feed on a Live URI
Feed Validation
Adding Links to a Feed
Summary
Programming Ajax and Silverlight Clients
WCF Web Services and Ajax
JSON
JSON-Enabling a Service Endpoint
ASP.NET Ajax
Silverlight 1.0
Silverlight 2.0
Parsing XML in Silverlight 2.0
Parsing JSON in Silverlight 2.0
Consuming Feeds in Silverlight 2.0
Cross-Domain Security in Silverlight 2.0
Returning JSON and XML Conditionally with a Single Method
Summary
Securing REST Endpoints
Authenticating: Self-Hosted Endpoints
Setting Endpoint Security: WebHttpBinding.Security's Mode Property
Setting Authentication Requirements: WebHttpBinding's Transport Property
Authenticating: Managed Hosting Endpoints
Authorizing Endpoints
Authorization with Impersonation
Role-Based Authorization
Summary
Using Workflow to Deliver REST Services
Consuming REST Services from WF
The SendActivity Instance
The ReceiveActivity Instance
Stateless Workflow Services
Stateful Workflow Services
Summary
Consuming RESTful XML Services Using WCF
Defining the Client
Generating the Contract
Creating the Resource Representations
Creating the ServiceContract
Using the Service
Client Extensibility
Summary
Working with HTTP
Programming HTTP with WCF
IncomingWebRequestContext
OutgoingWebResponseContext
OutgoingWebRequestContext
IncomingWebResponseContext
Context Wrap-Up
Status Codes
201 - Created
404 - Not Found
Conditional GET
LastModified
ETags
Caching
Output Caching
HttpContext.Cache
Content-Type
Summary
WCF 3.5 SP1
ADO.NET Data Services
ADO.NET Entity Framework Walkthrough
Index