Getting Started Tutorial

The topics contained in this section are intended to give you quick exposure to the Windows Communication Foundation (WCF) programming experience.
They are designed to be completed in the order of the list at the bottom of this topic.
Working through this tutorial gives you an introductory understanding of the steps required to create WCF service and client applications.
A service exposes one or more endpoints, each of which exposes one or more service operations.
The endpoint of a service specifies an address where the service can be found, a binding that contains the information that describes how a client must communicate with the service, and a contract that defines the functionality provided by the service to its clients.

After you work through the sequence of topics in this tutorial, you will have a running service, and a client that calls the service.
The first three topics describe how to define a service contract, how to implement the service contract, and how to host the service.
The service that is created is self-hosted within a console application.
Services can also be hosted under Internet Information Services (IIS).
For more information about how to do this, see How to: Host a WCF Service in IIS.
The service is configured in code; however, services can also be configured within a configuration file. For more information about using a configuration file see Configuring Services Using Configuration Files.

The next three topics describe how to
create a client proxy,
configure the client application,
and use the client proxy to call service operation exposed by the service.
Services publish metadata that define the information a client application needs to communicate with the service.
Visual Studio 2012 automates the process of accessing this metadata and uses it to construct and configure the client application for the service.
If you are not using Visual Studio 2012, you can use the ServiceModel Metadata Utility Tool (Svcutil.exe) to construct and configure the client application for the service.
All of the topics in this section assume you are using Visual Studio 2011 as the development environment. If you are using another development environment, ignore the Visual Studio specific instructions.

最新文章

  1. 关于ajax载入窗口使用RedirectToAction在窗口显示的问题
  2. 管道寄售库存MRKO结算后,冲销问题
  3. HTML5 Web Storage概述
  4. HDU5875:Function
  5. Arrays.fill方法的陷阱
  6. 添加AdMob 错误记录
  7. 织梦dedecms|图片模型内容页标签
  8. boost锁的概述
  9. Java数据流的一般操作规律总结
  10. iOS 如何保持线程一直在运转(二)
  11. 函数iconv_substr和mb_substr
  12. UI 网页三原色
  13. Java实现邮箱验证
  14. MySQL中间件之ProxySQL(9):ProxySQL的查询缓存功能
  15. 使用Spring的@Scheduled实现定时任务参数详解
  16. P4070 [SDOI2016]生成魔咒
  17. Linux课题实践三——程序破解
  18. Mac 10.12彻底关闭Dashboard
  19. Valid Number leetcode java
  20. HDU1423 Greatest Common Increasing Subsequence

热门文章

  1. linux驱动模型——platform(2)
  2. [BZOJ 3110] [luogu 3332] [ZJOI 2013]k大数查询(权值线段树套线段树)
  3. Aurora测试----随机数字产生
  4. .NET基础篇——利用泛型与反射更新实体(ADO.NET Entity Framework)(转)
  5. 放弃等待,故障到来:少一个 await 引发的 tcp 连接泄漏故障
  6. APP性能
  7. iOS App中 使用 OpenSSL 库
  8. C++中的const_cast
  9. Codeforces 图论题板刷(2000~2400)
  10. idea中ehcahe配置中 Cannot find the declaration of element 'ehcache'.