如何将WCF与我的项目连接? [英] How can i connect WCF with my project?

查看:69
本文介绍了如何将WCF与我的项目连接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道WCF页面的格式是什么?是.asmx吗?

如何将WCF与我的应用程序连接?

WCF是另一个应用程序权限?

它的用途是什么?

I want to know what is the format of WCF pages?Is it .asmx?
How can i connect WCF with my application?
WCF is another application right?
What is the use of it?

推荐答案

WCF文件是.svc和.svc.cs,用于代码隐藏



2种方式:

- 在您的应用中添加WCF服务库!你将有一个dll与你的网站一起部署

- 创建一个WCF服务应用程序。这是一个可以托管到IIS的服务。



更多信息:



WCF与ASMX
WCF files are .svc and .svc.cs for "code behind"

2 ways :
- Add a "WCF Service library" to your app! you''ll have a dll to deploy with your site
- Create a "WCF Service Application". it is a service that can be hosted into IIS.

for more infos :

WCF vs ASMX


这篇关于如何将WCF与我的项目连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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