指南与最佳做法Guidelines and Best Practices

本部分包含的主题提供有关创建 Windows Communication Foundation (WCF) 应用程序的准则。This section contains topics that provide guidelines for creating Windows Communication Foundation (WCF) applications.

本节内容In This Section

最佳做法:数据协定版本管理Best Practices: Data Contract Versioning
说明如何以及何时创建数据协定,使其在更高版本被创建之后不会失效。Explains how and when to create data contracts that do not break when future versions are created.

服务版本控制Service Versioning
说明如何在 WCF 中考虑版本控制。Explains how to consider versioning in WCF. 服务(及其公开的终结点)部署之后,可能需要进行更改以达到某些要求,例如,满足不断变化的业务需求或 IT 需求,或者解决问题。After deployment, services (and the endpoints they expose) might need to be changed, for example, to satisfy changing business requirements or IT requirements, or to fix issues. 每次更改都会引入服务的一个新版本。Each change introduces a new version of the service.

负载均衡Load Balancing
列出使用网络场实现负载平衡的准则。Lists guidelines for load balancing with a Web farm.

控制资源使用并提高性能Controlling Resource Consumption and Improving Performance
描述专门用于帮助防止过度消耗资源和提高安全性的属性,并提供指向有关其用法的更详细信息的链接。Describes the properties that are designed to help prevent undue resource consumption and improve security and points to more complete information about their use.

使用 ClickOnce 部署 WCF 应用程序Deploying WCF Applications with ClickOnce
描述使用 ClickOnce 功能时的注意事项。Describes the considerations to be made when using the ClickOnce feature.

参考Reference

System.ServiceModel

System.Runtime.Serialization

概念性概述Conceptual Overview

基本 WCF 编程Basic WCF Programming

请参阅See also