惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
Recent Announcements
Recent Announcements
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Microsoft Azure Blog
Microsoft Azure Blog
S
Security @ Cisco Blogs
P
Proofpoint News Feed
博客园 - 三生石上(FineUI控件)
T
Tailwind CSS Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
The Last Watchdog
The Last Watchdog
AI
AI
Webroot Blog
Webroot Blog
aimingoo的专栏
aimingoo的专栏
Hacker News: Ask HN
Hacker News: Ask HN
B
Blog RSS Feed
小众软件
小众软件
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
W
WeLiveSecurity
C
CXSECURITY Database RSS Feed - CXSecurity.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Troy Hunt's Blog
云风的 BLOG
云风的 BLOG
P
Privacy International News Feed
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Vercel News
Vercel News
Y
Y Combinator Blog
P
Proofpoint News Feed
V2EX - 技术
V2EX - 技术
AWS News Blog
AWS News Blog
F
Fortinet All Blogs
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
A
Arctic Wolf
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Hugging Face - Blog
Hugging Face - Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
V
V2EX
MongoDB | Blog
MongoDB | Blog
SecWiki News
SecWiki News
The Register - Security
The Register - Security
博客园_首页
T
Threat Research - Cisco Blogs
Hacker News - Newest:
Hacker News - Newest: "LLM"
Recorded Future
Recorded Future
V
Vulnerabilities – Threatpost
I
InfoQ
雷峰网
雷峰网
C
Check Point Blog

博客园 - Elliott.Dong

数据库命名与注释规范 关于js中window.location.href,location.href,parent.location.href,top.location.href的用法 - Elliott.Dong - 博客园 虚拟目录继承根Web.Config的问题解决(转) - Elliott.Dong - 博客园 【转】Windows7下IIS7.5的伪静态URL Rewrite安装配置和案例综合 win7下添加microsoft loopback adapter实现xp mode网络共享 sql server 2000日志文件收缩 jquery-autocomplete 参数说明 【转】启用Visual Studio 对jQuery的智能感知 - Elliott.Dong VmWare虚拟机增加硬盘容量 转:sql server 2008收缩数据库日志 格式字符替换 - Elliott.Dong - 博客园 DataView 的 Distinct 功能 Windows 7中使用USB KEY 解决XP下不能识别USB鼠标问题 Silverlight 2 开发环境【转】 oracle trunc()函数的用法 处理Flex 页面的后退/前进/刷新/关闭事件 [备忘]Visual Studio常用小技巧 VS.Net中的快捷键技巧
.net Remoting与Web Service的比较
Elliott.Dong · 2010-04-01 · via 博客园 - Elliott.Dong

.net Remoting与Web Service的比较

WCF出来之后,这两个就是基本上进古董堆的文物了,写下来,防止被彻底忘掉。

宏观上讲,Web Service是个跨平台的东西,从IIS出来,.net remoting则是在微软框架内的互相调用。

A。性能
.net remoting的Binary formatter 和TCP Channel是最快的,ASP.Net Web Service并不是最慢的,最慢的是.net remoting的SOAP formatter HTTP Channel.

B. 状态管理
Web Service是无状态的。 .net remoting 取决于哪一种链接方式。 Single Call的没有状态。Singleton在几个Client之中共享状态。Client-Activated的,在每个Client上有各自的状态。

C.安全性
.net remoting 需要自己维护状态。Web Service跟IIS走,可以用SSL,认证等。

D. Reliability
Web Service可以借用IIS的线程安全,自动启动等等,.net remoting 这些事都要自己确定。

E。编程容易
Web Service相对容易些,.net remoting要写Config,而且要构造object,相对复杂些。

总之,如果是跨平台交互比较多,而且要通过公共网络实施的,Web Service比较好。如果是和其他.net 组件交互,希望有更好的性能的话,Remoting比较好。