“WCF"是什么意思? [英] What does 'WCF' mean?

查看:33
本文介绍了“WCF"是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能定义 WCF?WCF的目的是什么?

Can anyone define WCF? What is the purpose of WCF?

关于 WCF 有哪些好的阅读材料?

What are some good reading materials to learn about WCF?

推荐答案

WCF (Windows Communication Foundation) 是 Microsoft 用于框架的名称,可以独立于其操作系统或技术在多个服务器之间进行通信.

WCF (Windows Communication Foundation) is the name that Microsoft uses for a Framework that can Communicate between multiple servers independently of their Operating System or Technology.

您可以使用此框架与世界上的任何计算机发送和接收消息和附件(文件、图像等).

You can use this framework to send and receive messages and attachments (files, images, etc) to and from any computer in the world.

从开发人员的角度来看,它是带有 MTOM(SOAP 消息传输优化机制)的新版 WSE(Web 服务增强),它本身就是简单 Web 服务 (.ASMX) 的更新版本.

From a developer point of view, it's the new version of WSE (Web Services Enhancements) with MTOM (SOAP Message Transmission Optimization Mechanism) that was itself an updated version of the simple Web Service (.ASMX).

WCF 被称为服务框架,而不是 Web 服务,因为它不再依赖于要托管的 IIS(Internet 信息服务器).现在,您可以使用 TCP/IP 托管 WCF 应用程序,将其托管为 Windows 服务,甚至将其托管为应用程序 - 而且您仍然可以将其托管在 IIS 中.

WCF is called a Service Framework and not a Web Service because it no longer depends on the IIS (Internet Information Server) to be hosted. Now you can host a WCF application using TCP/IP, host it as a Windows Service or even host it as an application - and you can still host it in IIS as well.

它使用 SOAP 协议和其他协议(仅可在一个文件中进行配置),并且还支持 HTTP 和 HTTPS,用于消息传递和附件.您现在拥有大量新的安全选项......而且它是顶级解决方案",可用于从任何地方向任何地方发送/接收消息.

It uses the SOAP protocol and others (this is configurable in just one file), and supports HTTP and HTTPS as well, for messaging and attachments. You now have plenty of new security options with it... and it's the "top-of-the-line solution" to use to send/receive messages from anywhere to anything.

它在AJAX 世界中被大量使用,因为它可以发送 JSON 格式的消息.正因为如此,jQuery 和其他 JavaScript 框架才能很好地使用它.

It is heavily used in the AJAX world, because it can send messages in the JSON format. Because of this, jQuery and other JavaScript frameworks work lovely with it.

对于阅读材料,我建议买一本好书,因为这是自学的好方法,以后可以参考.我个人购买了 Wrox Professional WCF,我很喜欢它.

For Reading material, I recommend buying a good book, because it's a good way to do self-learning and have it for reference at a later time. I personally bought Wrox Professional WCF, and I'm loving it.

这篇关于“WCF"是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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