Tài liệu Essential Windows Communication Foundation (WCF): For .NET Framework 3.5 doc

605 2.5K 5
Tài liệu Essential Windows Communication Foundation (WCF): For .NET Framework 3.5 doc

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... Table A.1: ServiceThrottlingBehavior Properties 544 508 Foreword I’ M W R I T I N G T H I S foreword in December of 2007, a little more than a year after the first release of Windows Communication Foundation hit the streets as part of NET Framework 3.0 and less than a month after we shipped significant additions to the platform as part of NET Framework 3.5 Saying there’s a lot to absorb in those two releases... runtime and SDK versions, can be downloaded from Microsoft’s MSDN site at http://msdn2.microsoft.com/en-us/netframework/default.aspx The NET 3.5 SDK also ships with Visual Studio 2008 The Microsoft NET Framework 3.5 can be installed on Windows XP SP2, Windows Vista, Windows Server 2003, and Windows Server 2008 Organization We don’t expect you to read the book cover to cover If you’re new to WCF, you... common technique for distributed computing in modern applications They’re used to expose technical and business functions on private or public networks Sometimes they use the SOAP specification, sometimes they don’t They typically transmit information as text documents containing angle brackets, but not always They generally use HTTP for the transport, but again, not always WCF is a framework for working... of the Microsoft NET Framework 3.x WCF was first released with NET 3.0 and has been enhanced in NET 3.5 The delta between the two releases is modest: enhancements for non-SOAP Web services, integration between WCF and WF, and a healthy service pack This book covers NET 3.5 Unless there’s a reason to use an older release, this is the clear recommendation .NET is packaged in two forms: the redistributable... PNRP 465 465 468 PNRP Bootstrap Process 469 Windows Internet Computer Names 469 PnrpPeerResolver 470 Mesh Authentication 471 Registering Names Using PNRP System.Net.Peer Implementing a Custom Peer Resolver Limiting the Number of Hops for a Message Collaboration Using Windows Vista 471 472 474 478 480 People Near Me 481 Windows Contacts 482 Invitations 483 System.Net.PeerToPeer.Collaboration 485 Directional... with Windows Integrated Security Section Examples Introduction 334 335 340 341 Authenticating Users with Windows Credentials 343 Authorizing Users with Windows Credentials 346 Authorization Using AzMan 348 Impersonating Users 353 Securing Services over the Internet 358 ASP.NET Integration 360 Authentication Using Membership Providers 361 Role-Based Authorization Using Role Providers 364 Using Forms... of distributed applications for a long time to come Now that we’re a year out from shipping our first bits, it’s exciting to see real customers make big bets on our platform It’s more exciting to hear about the gains they see in the areas of developer productivity, performance, and interoperability as a result of betting on WCF We judge the success of our platform first and foremost by the success of... Channel Factories 99 101 102 ChannelFactory 104 ICommunicationObject 105 4 Bindings Choosing an Appropriate Binding Sample Application 111 116 119 Contents Cross-Machine Communication Between NET Applications netTcpBinding Local Machine Communication Between NET Applications netNamedPipeBinding Communication Using Basic Web Services basicHttpBinding Communication Using Advanced Web Services xi 123... translation of code syntax to XSD 62 Figure 2.9: Specifying message contracts in Add Service Reference 80 Figure 3.1: Channel stack 93 Figure 3.2: One-way communication 95 Figure 3.3: Duplex communication 96 Figure 3.4: Request-reply communication 97 Figure 3.5: ICommunicationObject state diagram 107 xix xx Figure s Figure 4.1: Binding Explorer 115 Figure 4.2: Selecting a binding 118 Figure 4.3: Average response... libraries and the software development kit (SDK) The runtime libraries are meant for target machines—those machines that are not for development This includes testing, staging, and production environments The SDK is meant for your development machines The SDK contains code samples, documentation, and tools that are useful for development Each of these NET packages, the runtime and SDK versions, can be . ATOM 53 1 Appendix Advanced Topics 53 7 Publishing Metadata Endpoints 53 7 mexHttpBinding 53 8 mexNamedPipeBinding 53 8 mexTcpBinding 53 8 mexHttpsBinding 53 9 Creating. JSON 51 6 ASP .NET AJAX Integration 51 6 Using the WebOperationContext 5 23 Hosting for the Web 53 0 WebScriptServiceHost 53 0 WebScriptServiceHostFactory 53 0 Content

Ngày đăng: 14/02/2014, 20:20

Từ khóa liên quan

Mục lục

  • Essential Windows Communication Foundation

    • Contents

    • Foreword

    • Preface

    • Acknowledgments

    • 1 Basics

      • Why WCF Matters

      • Introduction

      • Implementing a WCF Service

        • Just the ABCs

        • Writing a WCF Service Entirely in Code

        • Writing a Service with Code and Configuration Files

        • More on Configuration Files

        • More on Service Hosting

        • Exposing the Metadata Exchange (MEX) Endpoint

        • Implementing a Client for a WCF Service

          • Writing a WCF Client Entirely in Code

          • Writing a Client with Code and Configuration

          • Hosting a Service in IIS

            • Discussion

            • Hosting a Service in IIS in Three Steps

            • Implementing a WCF Client for an ASMX Service

              • Tools Support

              • Generating Client Proxy Class and Configuration Files

              • 2 Contracts

                • Service Contracts

                  • Synchronous Request-Response Operations

                  • Asynchronous Request-Response Operations

Tài liệu cùng người dùng

Tài liệu liên quan