什么是一个asp.net web方法和WCF服务之间的区别? [英] What is the difference between an asp.net web method and a wcf service?

查看:116
本文介绍了什么是一个asp.net web方法和WCF服务之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的.Net和不理解的差异。有人能指出我朝着正确的方向吗?

I'm new to .Net and do not understand the difference. Can someone point me in the right direction?

推荐答案

ASP.NET Web服务是为发送和使用简单对象访问协议(SOAP)通过HTTP接收邮件建筑应用开发的。

ASP.NET Web services was developed for building applications that send and receive messages by using the Simple Object Access Protocol (SOAP) over HTTP.

WCF是使.NET Framework应用程序与其他软件实体交换消息。 SOAP是默认使用,但这些消息可以是任何格式,并传送通过使用任何传输协议。

WCF is for enabling .NET Framework applications to exchange messages with other software entities. SOAP is used by default, but the messages can be in any format, and conveyed by using any transport protocol.

您可以查看ASP.NET Web服务作为WCF服务的一部分。

You can view ASP.NET web services as a subset of WCF services.

这里是比较这两个框架的链接。

Here is a link comparing the two frameworks.

这篇关于什么是一个asp.net web方法和WCF服务之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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