Muutke küpsiste eelistusi

Effective REST Services via .NET: For .NET Framework 3.5 [Pehme köide]

  • Formaat: Paperback / softback, 480 pages, kõrgus x laius x paksus: 234x179x25 mm, kaal: 750 g
  • Ilmumisaeg: 28-May-2009
  • Kirjastus: Addison-Wesley Educational Publishers Inc
  • ISBN-10: 0321613252
  • ISBN-13: 9780321613257
Teised raamatud teemal:
  • Pehme köide
  • Hind: 53,19 €*
  • * saadame teile pakkumise kasutatud raamatule, mille hind võib erineda kodulehel olevast hinnast
  • See raamat on trükist otsas, kuid me saadame teile pakkumise kasutatud raamatule.
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 480 pages, kõrgus x laius x paksus: 234x179x25 mm, kaal: 750 g
  • Ilmumisaeg: 28-May-2009
  • Kirjastus: Addison-Wesley Educational Publishers Inc
  • ISBN-10: 0321613252
  • ISBN-13: 9780321613257
Teised raamatud teemal:

Build Web Services Better and Faster with RESTful Techniques and .NET Technologies

Developers are rapidly discovering the power of REST to simplify the development of even the most sophisticated Web services—and today’s .NET platform is packed with tools for effective REST development. Now, for the first time, there’s a complete, practical guide to building REST-based services with .NET development technologies.

Long-time .NET and Web services developers and authors Kenn Scribner and Scott Seely explain why REST fits so smoothly into the Internet ecosystem, why RESTful services are so much easier to build, what it means to be RESTful, and how to identify behaviors that are not RESTful. Next, they review the core Internet standards and .NET technologies used to develop RESTful solutions and show exactly how to apply them on both the client and server side. Using detailed
code examples, Scribner and Seely begin with simple ASP.NET techniques, and then introduce increasingly powerful options—including Windows Communication
Foundation (WCF) and Microsoft’s cloud computing initiative, Azure. Coverage includes

• Accessing RESTful services from desktop applications, using Windows Forms and WPF

• Supporting Web client operations using Silverlight 2.0, JavaScript, and other technologies

• Understanding how IIS 7.0 processes HTTP requests and using that knowledge to build better REST services

• Constructing REST services based on traditional ASP.NET constructs

• Utilizing the ASP.NET MVC Framework to implement RESTful services more effectively

• Taking advantage of WCF 3.5’s powerful REST-specific capabilities

• Creating RESTful data views effortlessly with ADO.NET Data Services

• Leveraging Microsoft’s Azure cloud-computing platform to build innovative new services

• Choosing the right .NET technology for each REST application or service

Foreword xix
Preface xxiii
Acknowledgments xxiv
About the Authors xxxv
RESTful Systems: Back to the Future
1(38)
The Shift (Back) to REST
3(6)
What Are Web Services?
9(5)
Rest---The RPC Web Service Alternative
14(5)
RESTful Details
19(14)
Four Guiding Principles
20(1)
Resources
21(2)
Addressability and the URI
23(1)
Types of State
23(3)
If You Give a Client a Cookie
26(1)
Representations of Resources
27(4)
Linking and Connecting
31(2)
Net Tools for Building RESTful Services
33(3)
http.sys and Internet Information Services (IIS)
34(2)
Windows Communication Foundation
36(1)
Where Are We?
36(3)
The HyperText Transfer Protocol and the Universal Resource Identifier
39(48)
HTTP 101
40(19)
Options
42(1)
Get
42(2)
Head
44(1)
Put
45(1)
Delete
45(1)
Post
46(3)
HTTP Response Codes
49(1)
HTTP Headers
50(9)
HTTP and Rest Anti-Patterns
59(5)
Get Tunneling
59(1)
Post Tunneling
60(1)
Misused Content Types
60(1)
Misusing Status Codes
61(1)
Misusing Cache
62(1)
Cookies
62(1)
Lack of Hypermedia Support
63(1)
Lack of Self-Description
64(1)
Uniform Resource Identifier 101
64(16)
Addressability and the URI Revisited
65(3)
The Power Behind the Concept
68(3)
.Net Tools of the Trade---UriTemplate, UriTemplateMatch, UriTemplateTable, and UriBuilder
71(9)
Introducing HttpListener
80(5)
The HttpExerciser Sample Application
82(3)
Where Are We?
85(2)
Desktop Client Operations
87(38)
We Still Write Desktop Applications
87(1)
An Introduction to our Web Service
88(2)
Reading Data
90(19)
XmlDocument
93(6)
XDocument
99(3)
XmlSerializer
102(4)
DataContractSerializer
106(3)
Working with WinForms
109(13)
Working with Windows Presentation Foundation
122(2)
Where Are We?
124(1)
Web Client Operations
125(40)
So You Want to Write a Web Client
125(3)
Working at the Metal: XMLHttpRequest
128(14)
Security with XMLHttpRequest
141(1)
Moving Up a Level: WCF Provided JavaScript/AJAX
142(6)
Programming the Web in C#: Silverlight 2.0
148(15)
Where Are We?
163(2)
IIS and ASP.NET Internals and Instrumentation
165(40)
The Big Picture
165(2)
http.sys
167(3)
The IIS Worker Process
170(1)
Integrating with IIS
170(20)
The IIS Pipeline
171(19)
Diagnostics
190(9)
Visual Studio
190(2)
HttpContext.Trace
192(1)
System.Diagnostics
193(2)
Failed Request Tracing
195(4)
Security
199(3)
IIS Resources
202(1)
Where Are We?
203(2)
Building Rest Services Using IIS and ASP.NET
205(40)
Hosting ASP.NET
205(5)
Building a RESTful HttpHandler
210(19)
Designing the Blog Service
211(3)
Service Security
214(2)
The BlogService Handler
216(12)
Looking at Web.config
228(1)
A RESTful Client
229(2)
Securing the Service
231(11)
ASP.NET Security Internals
232(10)
Where Are We?
242(3)
Building Rest Services Using ASP.NET MVC Framework
245(36)
The ASP.NET MVC Framework
245(13)
URL Routing
249(2)
Controller Actions
251(1)
Accepting HTTP Methods
252(3)
Views
255(1)
The Model
256(1)
ASP.NET MVC Security
256(2)
Building an MVC RESTful Service---CodeXRC
258(20)
Creating the URL Mapping
260(1)
The CodeXRCController
261(3)
CodeXRC Service Classes
264(12)
The CodeXRC Service Client
276(2)
Where Are We?
278(3)
Building Rest Services Using WCF
281(58)
WCF: The Swiss Army Knife of Messaging
281(1)
WCF: The Basics
282(5)
A WCF Service
284(3)
WCF Takes a REST
287(14)
Putting Together a WCF REST Stack
288(5)
Emitting a JavaScript File
293(2)
Integrating with ASP.NET and ASP.NET Security
295(3)
Adding A URL Rewriter
298(3)
Feeding on WCF: Atom, AtomPub, and RSS Support
301(9)
ADO.NET Data Services
310(15)
Define the Data Service
311(4)
Add Metadata
315(1)
Add a Service Endpoint
316(9)
WCF Diagnostics
325(11)
Performance Counters
325(3)
Event Log
328(1)
Windows Management Instrumentation
328(2)
Tracing
330(4)
Message Logging
334(2)
Where Are We?
336(3)
Building Rest Services Using Azure and .NET Services
339(42)
Azure and .NET Services
339(12)
The Need for .NET Services
342(2)
The Many Faces of .NET Services
344(3)
The .NET Services Programming Model
347(4)
Introducing the Azure Comments Service
351(12)
Implementing the Service
352(7)
Hosting the Service
359(2)
Configuring the Service
361(2)
The Service Client
363(14)
Browser-Based Clients
363(4)
Application-Based Clients
367(10)
Azure RESTful Account Management
377(1)
Claims, Rules, and Scope
377(1)
Working with Azure Access Control Manager
378(1)
Where Are We?
378(3)
.NET REST Architectural Considerations and Decisions
381(8)
HTTP Response Codes
389(18)
Setting the Status Code
390(1)
1xx Informational Codes
391(1)
Continue, HttpStatusCode.Continue
391(1)
Switching Protocols, HttpStatusCode.Switching Protocols
392(1)
2xx Success Codes
392(1)
OK, HttpStatusCode.OK
392(1)
Created, HttpStatusCode.Created
392(1)
Accepted, HttpStatusCode.Accepted
392(1)
Non-authoritative Information, HttpStatusCode.NonAuthoritativeInformation
392(1)
No content, HttpStatusCode.NoContent
393(1)
Reset content, HttpStatusCode.ResetContent
393(1)
Partial content, HttpStatusCode.PartialContent
393(1)
3xx Redirection Codes
393(3)
Multiple choices, HttpStatusCode.MultipleChoices/HttpStatusCode.Ambiguous
393(1)
Moved permanently, HttpStatusCode.MovedPermanently/HttpStatusCode.Moved
394(1)
Found, HttpStatusCode.Found/HttpStatusCode.Redirect
394(1)
See other, HttpStatusCode. SeeOther/HttpStatusCode.RedirectMethod
394(1)
Not modified, HttpStatusCode.NotModified
395(1)
Use proxy, HttpStatusCode.UseProxy
395(1)
Unused, HttpStatusCode.Unused
395(1)
Temporary redirect, HttpStatusCode.TemporaryRedirect/HttpStatusCode.RedirectKeepVerb
395(1)
4xx Client Errors
396(7)
Bad request, HttpStatusCode.BadRequest
396(1)
Unauthorized, HttpStatusCode.Unauthorized
396(1)
Payment required, HttpStatusCode.PaymentRequired
397(1)
Forbidden, HttpStatusCode.Forbidden
397(1)
Not found, HttpStatusCode.NotFound
398(2)
Method not allowed, HttpStatusCode.MethodNotAllowed
400(1)
Not acceptable, HttpStatusCode.NotAcceptable
400(1)
Proxy authentication required, HttpStatusCode.ProxyAuthenticationRequired
400(1)
Request timeout, HttpStatusCode.RequestTimeout
401(1)
Conflict, HttpStatusCode.Conflict
401(1)
Gone, HttpStatusCode.Gone
401(1)
Length required, HttpStatusCode.LengthRequired
401(1)
Precondition failed, HttpStatusCode.PreconditionFailed
402(1)
Request entity too large, HttpStatusCode.RequestEntityTooLarge
402(1)
Request URI too long, HttpStatusCode.RequestUriTooLong
402(1)
Unsupported media type, HttpStatusCode.UnsupportedMediaType
403(1)
Requested range not satisfiable, HttpStatusCode.RequestedRangeNotSatisfiable
403(1)
Expectation failed, HttpStatusCode.ExpectationFailed
403(1)
5xx Server Errors
403(4)
Internal server error, HttpStatusCode.InternalServerError
404(1)
Not implemented, HttpStatusCode.NotImplemented
404(1)
Bad gateway, HttpStatusCode.BadGateway
405(1)
Service unavailable, HttpStatusCode.ServiceUnavailable
405(1)
Gateway timeout, HttpStatusCode.GatewayTimeout
406(1)
Http version not supported, HttpStatusCode.HttpVersionNotSupported
406(1)
REST Best Practices
407(6)
Index 413
Kenn Scribner has been writing cutting-edge, software-based books on Microsoft technologies for more than 10 years. His books include Windows Workflow Foundation Step by Step (Microsoft Press) and Understanding SOAP (SAMS). Kenn is a senior software consultant whose clients have included CBS, Burton, and Microsoft.

 

Scott Seely, an architect at MySpace, works on the OpenSocial API, one of the worlds most successful REST-based APIs. Before joining MySpace, he was a developer on the Windows Communication Foundation team at Microsoft. His books include Creating and Consuming Web Services in Visual Basic (Addison-Wesley) and SOAP: Cross Platform Web Service Development Using XML (Prentice Hall).