日本免费精品视频,男人的天堂在线免费视频,成人久久久精品乱码一区二区三区,高清成人爽a毛片免费网站

在線客服
RESTful NET(影印版)圖書
人氣:54

RESTful NET(影印版)

RESTful.NET》是及時本為欲使用*的微軟工具建立RESTful Web服務的Windows開發人員而準備的書。本書作者Jon Flanders是WCF(Windows Communication Foundation)專家。這本簡單實用的教程示范了如何使用WCF和.NET 3....
  • 所屬分類:圖書 >計算機/網絡>影印版  
  • 作者:(美)[費爾南德斯]
  • 產品參數:
  • 叢書名:--
  • 國際刊號:9787564116507
  • 出版社:東南大學出版社
  • 出版時間:2009-05
  • 印刷時間:2009-05-01
  • 版次:1
  • 開本:16開
  • 頁數:999999999
  • 紙張:膠版紙
  • 包裝:平裝-膠訂
  • 套裝:

內容簡介

RESTful.NET》是及時本為欲使用的微軟工具建立RESTful Web服務的Windows開發人員而準備的書。本書作者Jon Flanders是WCF(Windows Communication Foundation)專家。這本簡單實用的教程示范了如何使用WCF和.NET 3.5 Framework的其他組成部分,來建立、部署并使用多種應用場景中基于REST的Web服務。

RESTful體系結構提供了比SOAP、SOA或繁瑣的WS-堆棧更為簡單的方式以建立Web服務。WCF已經被證實為無須依托WS-標準即可建立分布式處理系統的靈活技術。《RESTful.NET》為消耗機器和人力建立Web服務提供了一個WCF REST編程模型的指導。你將學習到如何:

·編寫Read-Only(GET)服務

·編寫READ/WRITE服務

·主機REST服務

·編寫REST feeds

·編寫AJAX REST客戶端

·安全REST終端

·使用工作流傳遞REST服務

·利用WCF消耗RESTful XML服務

·結合HTTP運作

·結合ADO.NET數據服務(之前稱為Astoria)運作

RESTful.NET》是一本非常棒的介紹REST和RESTful結構的書籍。如果你使用.NET開發,那么是時候轉向RESTful了——這本書將會講解方法。

目錄

Foreword

Preface

1. 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

2. WCF RESTfut Pr0gmmming 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

3.Programming Read-0nly Services

Using WebGetAttribute and UriTemplate

Data Formats

Message

DataContract

XmlSerializer

Hybrid Approach

Summary

4.Programming Read/Write Services

POST, PUT, and DELETE

Using WeblnvokeAttribute

Resources

URIs and Uniform Interface

Representations

Implementation

Summary

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

Summarv

6.Programming Feeds

Building a Feed with WCF

Syndicationltem

Formatters

Exposing a Feed on a Live URI

Feed Validation

rable of Contents

Adding Links to a Feed

Summary

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

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

8. 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

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

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

11. Working with HTTP

Programming HTTP with WCF

IncomingWebqequestContext

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

A. WCF 3.5 SP1

B. ADO.NET Data Services

C. ADO.NET Entity Framework Walkthrough

Index

網友評論(不代表本站觀點)

免責聲明

更多出版社