更新时间:2021-08-05 17:33:06
封面
版权页
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Implementing a Basic HelloWorld WCF Service
The basic WCF concepts
Creating the HelloWorld solution and project
Defining the HelloWorldService service contract interface
Implementing the HelloWorldService service contract
Hosting the WCF service in IIS Express
Creating a client to consume the WCF service
Summary
Chapter 2. Hosting the HelloWorld WCF Service
WCF hosting options
Chapter 3. Deploying the HelloWorld WCF Service
Publishing the HelloWorldService from Visual Studio
Publishing the HelloWorldService using a deployment package
Chapter 4. Debugging the HelloWorld WCF Service
Debugging a WCF service from a client application
Directly debugging the WCF service
Attaching the debugger to a running WCF service process
Debugging a WCF service hosted in the cloud
Chapter 5. Implementing a Three-layer WCF Service
Why layer a service?
Creating a new solution and project using the built-in WCF service template
Creating the service interface layer
Adding a business logic layer
Chapter 6. Adding Database Support and Exception Handling
Adding a data access layer
Adding error handling to the service
Chapter 7. LINQ to Entities – Basic Concepts and Features
LINQ to Entities
Creating a LINQ to Entities test application
Creating the data model
Querying and updating a database table
Viewing the generated SQL statements
Deferred execution
Deferred execution – lazy loading versus eager loading
Joining two tables
Querying a view
Chapter 8. LINQ to Entities – Advanced Concepts and Features
Calling a stored procedure
Handling simultaneous (concurrent) updates
Transaction support
Chapter 9. Applying LINQ to Entities to a WCF Service
Creating the LINQNorthwind solution
Installing Entity Framework
Modeling the Northwind database
Creating the business domain object project
Using LINQ to Entities in the data access layer
Creating the business logic layer
Testing the service with the WCF Test Client
Testing concurrency with our own client
Hosting the WCF service in IIS
Chapter 10. Distributed Transaction Support of WCF
Creating the DistNorthwind solution
Testing the transaction behavior of the existing WCF service
Enabling distributed transaction support
Understanding the distributed transaction support of a WCF service
Testing the distributed transaction support of the new WCF service
Trade-offs of distributed transactions
Chapter 11. Building a RESTful WCF Service
SOAP versus REST
WCF REST versus the ASP.NET Web API
Creating the RESTNorthwind solution
Creating the RESTful service
Testing the RESTful service in a browser
Testing the RESTful WCF service with a C#/XAML client
Testing the RESTful WCF service with a JavaScript client
Chapter 12. WCF Security
WCF security components
Hosting a WCF service using basic authentication
Hosting a WCF service with Windows authentication
Chapter 13. Extending WCF Services
The WCF runtime architecture
Why extend WCF services?
WCF extension points