图书介绍

RESTFUL.NET应用 英文影印版pdf电子书版本下载

RESTFUL.NET应用  英文影印版
  • JONFLANDERS著 著
  • 出版社: 南京:东南大学出版社
  • ISBN:9787564116507
  • 出版时间:2009
  • 标注页数:289页
  • 文件大小:23MB
  • 文件页数:308页
  • 主题词:主页制作-程序设计-英文

PDF下载


点此进入-本书在线PDF格式电子书下载【推荐-云解压-方便快捷】直接下载PDF格式图书。移动端-PC端通用
种子下载[BT下载速度快] 温馨提示:(请使用BT下载软件FDM进行下载)软件下载地址页 直链下载[便捷但速度慢]   [在线试读本书]   [在线获取解压码]

下载说明

RESTFUL.NET应用 英文影印版PDF格式电子书版下载

下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。

建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如 BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!

(文件页数 要大于 标注页数,上中下等多册电子书除外)

注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具

图书目录

1.REST Basics 1

Architecture of the World Wide Web 1

SOAP 4

REST 5

Resources and URIs 5

Uniform Interface 7

Resource Representations 9

Implementing a Simple RESTful Service Example 11

Resources 11

URIs and Uniform Interface 11

Representations 12

Interaction 13

Wrap-Up 14

Processes 16

Summary 16

2.WCF RESTful Programming Model 19

Isn't WCF All About SOAP? 19

Channels and Dispatching 19

HTTP Programming with WCF 3.0 22

Web Programming in WCF 3.5 27

WebHttpBinding 30

WebHttpBehavior 30

WebServiceHost 31

WebOperationContext 31

WebGetAttribute 32

UriTemplate 33

UriTemplate Literal Values 42

UriTemplate Special Values 43

UriTemplate QueryString 43

Summary 44

3.Programming Read-Only Services 47

Using WebGetAttribute and UriTemplate 47

Data Formats 49

Message 50

DataContract 52

XmlSerializer 55

Hybrid Approach 57

Summary 58

4.Programming Read/Write Services 59

POST,PUT,and DELETE 59

Using WebInvokeAttribute 60

Resources 60

URIs and Uniform Interface 60

Representations 61

Implementation 61

Summary 71

5.Hosting WCF RESTful Services 73

WCF REST Hosting Isn't a Special Case 73

Self-Hosting 74

Configuring,Opening,and Closing a ServiceHost 74

Base Addresses 79

ServiceHost Versus WebServiceHost 80

Custom ServiceHost 84

Hosting in IIS 86

ASP.NET Compatibility 92

Multiple Hostnames 95

Removing the.svc File Extension 96

Custom ServiceHostFactory 98

Hosting Wrap-Up 99

Summary 99

6.Programming Feeds 101

Building a Feed with WCF 101

SyndicationItem 105

Formatters 107

Exposing a Feed on a Live URI 110

Feed Validation 111

Adding Links to a Feed 115

Summary 117

7.Programming Ajax and Silverlight Clients 119

WCF Web Services and Ajax 120

JSON 123

JSON-Enabling a Service Endpoint 127

ASP.NET Ajax 132

Silverlight 1.0 141

Silverlight 2.0 142

Parsing XML in Silverlight 2.0 144

Parsing JSON in Silverlight 2.0 151

Consuming Feeds in Silverlight 2.0 152

Cross-Domain Security in Silverlight 2.0 154

Returning JSON and XML Conditionally with a Single Method 154

Summary 157

8.Securing REST Endpoints 159

Authenticating:Self-Hosted Endpoints 159

Setting Endpoint Security:WebHttpBinding.Security's Mode Property 161

Setting Authentication Requirements:WebHttpBinding's Transport Property 165

Authenticating:Managed Hosting Endpoints 169

Authorizing Endpoints 170

Authorization with Impersonation 170

Role-Based Authorization 171

Summary 174

9.Using Workflow to Deliver REST Services 175

Consuming REST Services from WF 175

The SendActivity Instance 176

The ReceiveActivity Instance 181

Stateless Workflow Services 182

Stateful Workflow Services 189

Summary 193

10.Consuming RESTful XML Services Using WCF 195

Defining the Client 195

Generating the Contract 197

Creating the Resource Representations 199

Creating the ServiceContract 207

Using the Service 209

Client Extensibility 214

Summary 216

11.Working with HTTP 217

Programming HTTP with WCF 217

IncomingWebRequestContext 219

OutgoingWebResponseContext 220

OutgoingWebRequestContext 222

IncomingWebResponseContext 223

Context Wrap-Up 223

Status Codes 224

20—Created 227

404—Not Found 229

Conditional GET 231

LastModified 232

ETags 236

Caching 239

Output Caching 239

HttpContext.Cache 241

Content-Type 242

Summary 243

A.WCF 3.5 SP1 245

B.ADO.NET Data Services 257

C.ADO.NET Entity Framework Walkthrough 273

Index 279

精品推荐