<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Client (TCP and Named Pipe) Connection Pooling</title>
	<link>http://kennyw.com/indigo/173</link>
	<description>Kenny Wolf's Thoughts of the Moment</description>
	<pubDate>Thu, 20 Nov 2008 15:46:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: More details on MaxConnections at kennyw.com</title>
		<link>http://kennyw.com/indigo/173#comment-51897</link>
		<author>More details on MaxConnections at kennyw.com</author>
		<pubDate>Sat, 02 Jun 2007 21:44:06 +0000</pubDate>
		<guid>http://kennyw.com/indigo/173#comment-51897</guid>
		<description>[...] TCP is not a hard and fast limit, but rather a knob on the connections that we will cache in our connection pool. That is, if you set MaxConnections=2, you can still open 4 client channels on the same factory [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] TCP is not a hard and fast limit, but rather a knob on the connections that we will cache in our connection pool. That is, if you set MaxConnections=2, you can still open 4 client channels on the same factory [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuri Kozlov</title>
		<link>http://kennyw.com/indigo/173#comment-42833</link>
		<author>Yuri Kozlov</author>
		<pubDate>Tue, 24 Apr 2007 07:17:16 +0000</pubDate>
		<guid>http://kennyw.com/indigo/173#comment-42833</guid>
		<description>Hallo Kenny,

I have one question concerning porting Remoting to WCF. 

I my Remoting-based application i used now and then the Remoting's capabilities to immediately marshal interfaces; this means, i can pass interface of client's object to the server, store this interface reference at server side in some variable, and later call back from server to the client through this interface refernece. All i need is to derive client's class from MarshalByRefObject and normally to overwrite InitializeLifetimeService() so that the latter returns null. 

What is the best way to port this code to WCF? I notice that i cannot pass the interface reference as remote method's parameter in WCF : WCF ignores MarshalByRefObject and tries to serialize the client's object whose refernce is passed. All my server objects are SingleCall activated and i want this to stay, which means i cannot do WCF sessions. Do i need Duplex functionality for this or is there some other way to marshal interfaces' references? 

Thank you in advance.

Yu. Kozlov</description>
		<content:encoded><![CDATA[<p>Hallo Kenny,</p>
<p>I have one question concerning porting Remoting to WCF. </p>
<p>I my Remoting-based application i used now and then the Remoting&#8217;s capabilities to immediately marshal interfaces; this means, i can pass interface of client&#8217;s object to the server, store this interface reference at server side in some variable, and later call back from server to the client through this interface refernece. All i need is to derive client&#8217;s class from MarshalByRefObject and normally to overwrite InitializeLifetimeService() so that the latter returns null. </p>
<p>What is the best way to port this code to WCF? I notice that i cannot pass the interface reference as remote method&#8217;s parameter in WCF : WCF ignores MarshalByRefObject and tries to serialize the client&#8217;s object whose refernce is passed. All my server objects are SingleCall activated and i want this to stay, which means i cannot do WCF sessions. Do i need Duplex functionality for this or is there some other way to marshal interfaces&#8217; references? </p>
<p>Thank you in advance.</p>
<p>Yu. Kozlov</p>
]]></content:encoded>
	</item>
</channel>
</rss>
