最新文章列表

WCF中JSON的应用

<!--[if !supportLists]-->一、<!--[endif]-->JSON JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。它基于JavaScript(Standard ECMA-262 3rd Edition - December 1999)的一个子集。 JSON采用完全独立于语言的文本格式,但是也使用了类似 ...
wapysun 评论(0) 有895人浏览 2011-06-13 09:27

WCF中的可信赖会话

几天前,有朋友在QA上问有关WCF中可信赖会话(ReliableSession)的问题。今天重新梳理一下,主要目就是真正的弄清楚可信赖会话的作用,方法和现实意义。 正如那位的疑惑一样,很多做过WCF开发的朋友,也都对ReliableSession不太理解。查阅msdn,可以发现ReliableSession是System.ServiceModel命名空间下的一个类。主要的作用如下所述: 提 ...
wapysun 评论(0) 有796人浏览 2011-05-30 14:44

IM分布式架构设计(1)

分布式开发整体结构图,体现了IM软件的开发设计流程。下面主要着重介绍三个核心模块。 主要是数据库层设计思想:1. DatabaseServer 中WCF实现对数据库的增删改功能。2. DatabaseServer需要解决主从数据库、数据库连接池、sql语句调度器等技术问题。 主要是业务层设计思想:1. BusinessServer中WCF实现用户登录、登出、聊天功能。2. BusinessC ...
wapysun 评论(0) 有1197人浏览 2011-04-21 15:01

WCF深入学习_并发管理(六)

一.实例说明(6.Instance mode = Single and Concurrency = Multiple)实例模式'Single'与并发'Multiple'。 In this combination one WCF service instance is created for serve all WCF clients. All request are served using mu ...
wapysun 评论(0) 有708人浏览 2011-04-13 16:27

WCF深入学习_并发管理(五)

一.实例说明(5.Instance mode = Single and Concurrency = Single)实例模式'Single'与并发'Single'。In this combination only one instance of WCF service instance is created which serves all requests which are sent from a ...
wapysun 评论(0) 有946人浏览 2011-04-13 13:51

WCF之元数据交换 (Metadata Exchange)

服务有两种方式来发布元数据。你可以通过 HTTP-GET 协议来提供元数据,或者使用专门的 MEX 端点。WCF 可以自动透过 HTTP-GET 提供元数据,你要做的全部工作仅仅是显式添加一个服务行为(service behavior) —— serviceMetadata,并将其属性 httpGetEnabled 设为 true。
wapysun 评论(0) 有570人浏览 2010-12-22 14:28

WCF之Endpoint详解

可以对Endpoint中binding参数进行设置。每种绑定类型可拥有多个名称(name)不同的参数设置,然后在Endpoint的bindingConfiguration 属性中指定关联设置名称即可。 <system.serviceModel> <services> <service name = "MyService"> ...
wapysun 评论(0) 有797人浏览 2010-12-22 14:22

WCF之注意事项

1、通常情况下,WCF 只能调用使用默认构造方法。可以绕开这个限制,但这个服务实例模式只能是Single。需要将服务声明为 [ServiceBehavior(InstanceContextMode=InstanceContextMode.Single)]
WCF 
wapysun 评论(0) 有733人浏览 2010-12-22 13:47

创建高性能的WCF服务

I had a WCF service where I wanted to be able to support over a hundred concurrent users, and while most of the service methods had small payloads which returned quickly, the startup sequence neede ...
wapysun 评论(0) 有829人浏览 2010-12-15 17:10

Exception Handling in WCF using Fault Contract

Introduction In all managed applications, processing errors are represented by Exception objects. In WCF applications, service methods communicate processing error information using SOAP fau ...
wapysun 评论(0) 有869人浏览 2010-12-03 14:19

New Features of WCF 4.0: Part V

Previous Articles New Features of WCF 4.0 : Part I New Features of WCF 4.0 : Part IINew Features of WCF 4.0 : Part III New Features of WCF 4.0 : Part IV Introduction Microsoft.NET ...
wapysun 评论(0) 有808人浏览 2010-12-03 14:12

New Features of WCF 4.0: Part IV

Previous Articles New Features of WCF 4.0 : Part I New Features of WCF 4.0 : Part IINew Features of WCF 4.0 : Part III Introduction Microsoft.NET 4.0 and Visual Studio.NET 2010 shi ...
wapysun 评论(0) 有841人浏览 2010-12-03 14:10

New Features of WCF 4.0: Part III

Previous Articles New Features of WCF 4.0: Part I New Features of WCF 4.0: Part II Introduction Microsoft.NET 4.0 and Visual Studio.NET 2010 ships a lot of new features in their u ...
wapysun 评论(0) 有899人浏览 2010-12-03 14:08

New Features of WCF 4.0: Part II

Previous ArticleNew Features of WCF 4.0: Part I Introduction Microsoft.NET 4.0 and Visual Studio.NET 2010 ships a lot of new features in their underlying technologies. In this series o ...
wapysun 评论(0) 有849人浏览 2010-12-03 14:04

New Features of WCF 4.0: Part I

Introduction Microsoft.NET 4.0 and Visual Studio.NET 2010 ships a lot of new features in their underlying technologies. In this series of articles, I want to talk about the new features in th ...
wapysun 评论(0) 有887人浏览 2010-12-03 14:00

WS-Discovery for WCF

Introduction Windows Communication Foundation represents the state of the art communication library in the .NET environment. The flexibility of this device is amazing, and it allows to easily remo ...
wapysun 评论(0) 有1117人浏览 2010-12-03 13:33

WCF之架构图

...
WCF 
wapysun 评论(0) 有981人浏览 2010-12-03 11:50

WCF之Message Exchange Patterns

消息交换模式(Message Exchange Patterns,MEPS) 在WCF中,服务端与客户端之间消息的交换共有三种模式:Request/Reply,One-Way,Duplex。 1、 Request/Reply默认的消息交换模式 ,客户端调用服务方法发出请求(Request),服务端收到请求后,进行相应的操作,然后返回一个结果值(Reply)。 如果没有其它特别的 ...
wapysun 评论(0) 有986人浏览 2010-12-03 11:04

.net框架发展公式

.net框架发展公式 .NET 2.0 = CLR +BCL+ C#(vb.net) + Win Form + Web Form .NET 3.0 = .NET 2.0 + WCF + WPF + WF + WCS .NET 3.5 = .NET 3.0 + ASP.NET AJAX +Silverlight+LINQ
wapysun 评论(0) 有886人浏览 2007-12-20 21:35

最近博客热门TAG

Java(141741) C(73643) C++(68602) SQL(64557) C#(59604) XML(59131) .net(54782) 编程(39452) JSP(37540) 数据结构(36420) Eclipse(31254) PHP(29988) F#(26077) 算法(24864) 脚本(19838) J#(18919) JDBC(17887) ASP(17480) JDK(14879) JVM(14450)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics