wcfservice和wcf服务应用程序之间的区别 [英] difference between the wcfservice and wcf service application

查看:305
本文介绍了wcfservice和wcf服务应用程序之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

wcf服务库和wcf服务应用程序之间有什么区别

What is the difference between the wcf service library and wcf service application

推荐答案

每当我们谈论WCF服务时,都有三件事

1.代码本身
-契约与逻辑
2.有很多配置可以处理
-地址
-装订
3.托管服务


1选项在WCF服务库和应用程序中相同.另外两个是在创建WCF Web应用程序时由Visual Studio项目模板(特别是托管)完成的.

我建议您熟悉WCF服务的ABC(地址,绑定和合同)以及如何进行所有配置和托管.那么您将能够自己分辨出差异.此外,您还可以根据需要创建/配置/更改任何WCF服务.
Whenever we talk about WCF service there are three things

1. Code itself
- Contract and logic
2. Lots of configuration to handle
- Address
- Binding
3. Hosting of the service


the 1 option is same in WCF service library and application. the other 2 are done by visual studio project template (specially hosting) when we create the WCF web application.

I recommend you get familiar with ABC(Address, binding and contract) of WCF service and how to do all configuration and hosting. then you will yourself be able to make out the difference. Also, you will then be able to create/configure/change any WCF service as per your needs.


这篇关于wcfservice和wcf服务应用程序之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆