
RESTful .NET
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Table of Contents
- Foreword
- Preface
- Who This Book Is For
- How This Book Is Organized
- What You Need to Use This Book
- Conventions Used in This Book
- Using Code Examples
- How to Contact the Author
- Comments and Questions
- Acknowledgments
- Chapter 1. REST Basics
- Architecture of the World Wide Web
- SOAP
- REST
- Resources and URIs
- URI design
- Uniform Interface
- Resource Representations
- XML
- RSS/Atom
- XHTML
- JSON
- Other media types
- Implementing a Simple RESTful Service Example
- Resources
- URIs and Uniform Interface
- Representations
- Interaction
- Wrap-Up
- Processes
- Summary
- Chapter 2. 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
- Chapter 3. Programming Read-Only Services
- Using WebGetAttribute and UriTemplate
- Data Formats
- Message
- DataContract
- XmlSerializer
- Hybrid Approach
- Summary
- Chapter 4. Programming Read/Write Services
- POST, PUT, and DELETE
- Using WebInvokeAttribute
- Resources
- URIs and Uniform Interface
- Representations
- Implementation
- POST
- PUT
- DELETE
- Full service implementation
- Summary
- Chapter 5. 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
- Chapter 6. Programming Feeds
- Building a Feed with WCF
- SyndicationItem
- Formatters
- Exposing a Feed on a Live URI
- Feed Validation
- Adding Links to a Feed
- Summary
- Chapter 7. 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
- Using XmlReader
- Using XDocument
- Using XmlSerialization
- XML parsing wrap-up
- 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
- Chapter 8. Securing REST Endpoints
- Authenticating: Self-Hosted Endpoints
- Setting Endpoint Security: WebHttpBinding.Security's Mode Property
- Setting Authentication Requirements: WebHttpBinding's Transport Property
- Certificate authentication
- Windows authentication
- NTLM authentication
- Digest authentication
- Basic authentication
- Authenticating: Managed Hosting Endpoints
- Authorizing Endpoints
- Authorization with Impersonation
- Role-Based Authorization
- Using the PrincipalPermissionAttribute
- The ServiceAuthorizationManager class
- Summary
- Chapter 9. Using Workflow to Deliver REST Services
- Consuming REST Services from WF
- The SendActivity Instance
- The ReceiveActivity Instance
- Stateless Workflow Services
- Stateful Workflow Services
- Summary
- Chapter 10. 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
- Chapter 11. 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
- Appendix A. WCF 3.5 SP1
- Atom Publishing Protocol
- AtomPub in WCF 3.5 SP1
- UriTemplate Changes
- Attribute-Free DataContract Serialization
- Summary
- Appendix B. ADO.NET Data Services
- Building an ADO.NET Data Service
- ADO.NET Data Services and AtomPub
- Query Option
- Custom Service Operations
- Intercepting
- Client Library
- Summary
- Appendix C. ADO.NET Entity Framework Walkthrough
- Creating the Data Model
- Index
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.