<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>manish godse's MoM and remoting blog</title><link>http://blogs.msdn.com/manishg/default.aspx</link><description>Microsoft Operations Manager and .net Remoting related posts</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Access Denied exception while registering a remoting IpcServerChannel</title><link>http://blogs.msdn.com/manishg/archive/2006/07/27/680997.aspx</link><pubDate>Fri, 28 Jul 2006 04:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:680997</guid><dc:creator>manishg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/manishg/comments/680997.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=680997</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Garamond color=#000080 size=4&gt;I have heard from quite a few folks running into an issue where the IpcServerChannel would throw trying to initialize after a restart.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Garamond color=#000080 size=4&gt;IpcServerChannel by default creates pipes in exclusive mode (no&amp;nbsp;other process can listen on the same&amp;nbsp;pipe name).&amp;nbsp;There is a known issue with&amp;nbsp;pipes&amp;nbsp;-- that if there is a client&amp;nbsp;side handle open to a now defunct server pipe, no further server instances&amp;nbsp;are possible&amp;nbsp;till&amp;nbsp;a timeout cleans up the client side handles.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Garamond color=#000080 size=4&gt;You can work around this&amp;nbsp;issue by setting exclusiveAddressUse="false" on the server channel config. Be aware of the implications though -- any other process can start listening on the same pipe as your server. Hopefully this issue will get resolved in future releases.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=680997" width="1" height="1"&gt;</description></item><item><title>Sponsoring the client</title><link>http://blogs.msdn.com/manishg/archive/2006/07/27/680989.aspx</link><pubDate>Fri, 28 Jul 2006 03:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:680989</guid><dc:creator>manishg</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/manishg/comments/680989.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=680989</wfw:commentRss><description>&lt;P&gt;In most cases it is not quite obvious, but in scenarios where a client receives callbacks, or subscribes to events on the server, you need to make sure that the lease on the client object doesnt expire -- registering a sponsor for the client object is one solution.&lt;/P&gt;
&lt;P&gt;The issue gets hard to diagnose for the event case, since there is not indication that the server failed to raise an event on the client.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=680989" width="1" height="1"&gt;</description></item><item><title>Microsoft Operations Manager Team is Hiring</title><link>http://blogs.msdn.com/manishg/archive/2006/07/17/668951.aspx</link><pubDate>Tue, 18 Jul 2006 02:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:668951</guid><dc:creator>manishg</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/manishg/comments/668951.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=668951</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Tahoma&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff" color=#000080&gt;The Microsoft Operations Manager team has a number of development openings.If you are interested in working on&amp;nbsp;cutting edge technology in enterprise monitoring and management space, this is your chance.&lt;/FONT&gt;&lt;FONT color=#000080&gt;&amp;nbsp;Microsoft Operations Manager (MOM 2005) is already revolutionizing the event and performance management market, come work on the next version which will even simplify managing the enterprise. Please feel free to&amp;nbsp;ping &lt;A href="mailto:manishg@microsoft.com"&gt;me&lt;/A&gt;&amp;nbsp;if you would be interested.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000080&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=668951" width="1" height="1"&gt;</description></item><item><title>What's new in remoting 2.0</title><link>http://blogs.msdn.com/manishg/archive/2005/12/02/499629.aspx</link><pubDate>Sat, 03 Dec 2005 03:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:499629</guid><dc:creator>manishg</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/manishg/comments/499629.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=499629</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Garamond color=#000080 size=4&gt;&lt;STRONG&gt;Now that .net Framework 2.0 is released -- a list of new features in remoting is in order. Following is a list of new features added to remoting:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Garamond color=#000080 size=4&gt;1. IPCChannel: A new channel based on named pipes form x-process (same machine) communication. Its more secure and performant than the previous best performer the tcp / binary channel.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Garamond color=#000080 size=4&gt;2. Authentication / Authorization Support: IPC and TCP channels now have inbuilt support for authentication (identification /&amp;nbsp;impersonation) and authorization. This removes the use of custom security sinks.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Garamond color=#000080 size=4&gt;3. Timeout on TcpChannel: This was one of the pain points before. Now the client can specify a timeout on the tcp channel to avoid deadlocks&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Garamond color=#000080 size=4&gt;4. IPv6&amp;nbsp; support: Tcp and HTTP channels now are ipv6 aware&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Garamond color=#000080 size=4&gt;5. Better NLB support: By making the client side&amp;nbsp;connection cache configurable, earlier issues with NLB and sticky connections has been eliminated.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Garamond color=#000080 size=4&gt;As far as binary serialization goes the new big feature is version tolerant serialization which allows type versioning fidelity.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=499629" width="1" height="1"&gt;</description></item><item><title>TcpChannel timeout in remoting</title><link>http://blogs.msdn.com/manishg/archive/2005/06/24/432306.aspx</link><pubDate>Fri, 24 Jun 2005 20:56:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:432306</guid><dc:creator>manishg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/manishg/comments/432306.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=432306</wfw:commentRss><description>&lt;FONT face=Garamond color=#000080&gt;This has been a frequently&amp;nbsp;asked question about whether there is timeout support on remoting tcp channel. In 2.0 we have added support for timeouts. Unfortunately the support is missing in beta2 -- but should be available when 2.0 is released. The configuration is similar to the HTTP channel. Note that this timeout only affects read / write from native sockets. Connect timeout is not controlled via this setting. Also note that the timeout would be approximate and not a method level but a channel level setting.&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=432306" width="1" height="1"&gt;</description></item><item><title>movin out..</title><link>http://blogs.msdn.com/manishg/archive/2005/05/19/420119.aspx</link><pubDate>Thu, 19 May 2005 21:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:420119</guid><dc:creator>manishg</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/manishg/comments/420119.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=420119</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana color=#008000&gt;After working on remoting for about five years (almost seven on the .net framework)&amp;nbsp;I am changing focus and work in application development space. Thus I have now&amp;nbsp;moved to the Microsoft Operations Manager team. I hope to continue to blog about remoting about new features being added in 2.0. Remoting has come a long way since v1 and 2.0 should significantly have better usability, security and performance. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#008000&gt;Please keep sending me mail about any remoting related issues and I will forward them to the right contacts :).. Take care.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=420119" width="1" height="1"&gt;</description></item><item><title>Authorization support on remoting TCP channel</title><link>http://blogs.msdn.com/manishg/archive/2005/04/22/410988.aspx</link><pubDate>Sat, 23 Apr 2005 04:07:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:410988</guid><dc:creator>manishg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/manishg/comments/410988.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=410988</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;This has been a common ask to add some authorization support on remoting channels. During &lt;FONT color=#ffa500&gt;Beta1&lt;/FONT&gt; remoting added support for authentication and encryption on the TCP channel. In &lt;FONT color=#ffa500&gt;Beta2&lt;/FONT&gt; there is a new feature which lets you authorize connections based on IP address or client identity. To authorize connections implement the following interface:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public interface IAuthorizeRemotingConnection&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool IsConnectingEndPointAuthorized(EndPoint endPoint);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool IsConnectingIdentityAuthorized(IIdentity identity);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;IsConnectingEndPointAuthorized would be invoked each time a new connection is made to the server -- if the return is false the connection would be dropped. IsConnectingIdentityAuthorized will be invoked if authentication is enabled and it lets the server decide whether the connecting identity should be allowed to make requests to the server.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Use the new TcpServerChannel constructor &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public TcpServerChannel(IDictionary properties, IServerChannelSinkProvider sinkProvider, IAuthorizeRemotingConnection authorizeCallback) to plugin this interface. You could also do it through config using authorizationModule="authImpl, assemblyName"&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=410988" width="1" height="1"&gt;</description></item><item><title>Remoting Authentication Configuration changes in Beta2</title><link>http://blogs.msdn.com/manishg/archive/2005/04/22/410879.aspx</link><pubDate>Fri, 22 Apr 2005 22:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:410879</guid><dc:creator>manishg</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/manishg/comments/410879.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=410879</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;There are config setting changes for Tcp channel authentication in .net framework 2.0 Beta2. Here is a sample server configuration, Note that secure="true" gives a setting of TokenImpersonationLevel.Identify and ProtectionLevel.EncryptAndSign:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=1&gt;&amp;lt;configuration&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.runtime.remoting&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;application name="BVTServer"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;service&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;wellknown mode="SingleCall" type="Factory, server" objectUri="Factory.soap" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/service&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;channels&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;channel ref="tcp" port="8000" &lt;STRONG&gt;&lt;FONT color=#ffa500&gt;secure="true" impersonate&lt;/FONT&gt;&lt;FONT color=#ffa500&gt;="true" protectionLevel="EncryptAndSign"&lt;/FONT&gt;&lt;/STRONG&gt;/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/channels&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/application&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.runtime.remoting&amp;gt;&lt;BR&gt;&amp;lt;/configuration&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Here is the corresponding client side config:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=1&gt;&amp;lt;configuration&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;system.runtime.remoting&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;application&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;client url="tcp://localhost:3300/BVTServer"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;activated type="SimpleServer, server"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/client&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;channels&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;channel ref="tcp" &lt;STRONG&gt;&lt;FONT color=#ffa500&gt;secure="true" tokenImpersonationLevel="Impersonation" protectionLevel="EncryptAndSign"&lt;/FONT&gt;&lt;/STRONG&gt;/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/channels&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/application&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/system.runtime.remoting&amp;gt;&lt;BR&gt;&amp;lt;/configuration&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;&lt;FONT face=Verdana size=2&gt;Another change in Beta2 is that the client principal now flows in Thread.CurrentPrincipal.&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=410879" width="1" height="1"&gt;</description></item><item><title>Keeping state in remoting</title><link>http://blogs.msdn.com/manishg/archive/2005/04/06/405944.aspx</link><pubDate>Wed, 06 Apr 2005 23:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:405944</guid><dc:creator>manishg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/manishg/comments/405944.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=405944</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;Remoting does support stateful connections. You could use singleton or client activated objects to keep object state. This object state is not persisted however. If the server appdomain is unloaded all remoting state will be lost. Not only will the state be lost but client-activated objects will not be available. You will get a "service not found" exception if you try to use a proxy to a non-existent CAO.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;If you have a recycle the server scenario, then you are required to use wellknown objects. Wellknown objects are always available when the endpoint is listening, so you need not worry about whether the server has been recycled or not. That said you have to carefull not to depend on any state within the wellknown object.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=405944" width="1" height="1"&gt;</description></item><item><title>RemotingServices.Disconnect</title><link>http://blogs.msdn.com/manishg/archive/2005/01/31/364169.aspx</link><pubDate>Tue, 01 Feb 2005 01:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:364169</guid><dc:creator>manishg</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/manishg/comments/364169.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=364169</wfw:commentRss><description>&lt;p&gt;&lt;font face="Verdana" color="#a52a2a" size="2"&gt;RemotingServices.Disconnect is probably one of the confusing APIs in remoting. It doesnt correspond to RemotingServices.Connect, but rather to RemotingServices.Marshal. Disconnect is a server side API to disconnect objects which are currently published via remoting. You might have noticed an exception if Disconnect is called on a remoting proxy instead. &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" color="#a52a2a" size="2"&gt;This API is can be used to basically "unregister" an object. Note, that any current active invokations on the object would still succeed.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" color="#a52a2a" size="2"&gt;ps. It feels good to be blogging again after more than a month.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=364169" width="1" height="1"&gt;</description></item><item><title>Thanks for your responses to remoting post</title><link>http://blogs.msdn.com/manishg/archive/2004/12/14/301474.aspx</link><pubDate>Wed, 15 Dec 2004 01:21:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:301474</guid><dc:creator>manishg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/manishg/comments/301474.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=301474</wfw:commentRss><description>&lt;font face="Garamond"&gt;Thanks to all those who responded to &lt;a id="_edf1621510396226_HomePageDays_DaysList__ctl0_DayItem_DayList__ctl0_TitleUrl" href="/manishg/archive/2004/12/13/282259.aspx"&gt;&lt;font color="#770000"&gt;Call for remoting apps..&lt;/font&gt;&lt;/a&gt;. We will evaluate what remoting applications best fit our criteria and will contact you individually. Thanks again for helping in the remoting compatibility effort.&lt;/font&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=301474" width="1" height="1"&gt;</description></item><item><title>Call for remoting apps..</title><link>http://blogs.msdn.com/manishg/archive/2004/12/13/282259.aspx</link><pubDate>Mon, 13 Dec 2004 20:27:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:282259</guid><dc:creator>manishg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/manishg/comments/282259.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=282259</wfw:commentRss><description>&lt;p&gt;&lt;font face="Garamond"&gt;The .net remoting team is looking for customers to help us with compatibility. If you have existing standalone remoting apps based on v1.0 and v1.1 of the framework and are willing to help us ensure remoting compatibility with future versions of the framework, we will like to hear from you.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Garamond"&gt;If anyone is interested please send &lt;a href="mailto:manishg@microsoft.com"&gt;mailto:manishg@microsoft.com&lt;/a&gt; or &lt;a href="mailto:aprabhu@microsoft.com"&gt;mailto:aprabhu@microsoft.com&lt;/a&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Garamond"&gt;Thanks&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=282259" width="1" height="1"&gt;</description></item><item><title>Issues with Cloning MarshalByRefObject</title><link>http://blogs.msdn.com/manishg/archive/2004/11/24/269297.aspx</link><pubDate>Wed, 24 Nov 2004 16:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:269297</guid><dc:creator>manishg</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/manishg/comments/269297.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=269297</wfw:commentRss><description>&lt;p&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;Cloning MarshalByRefObjects can lead to some unexpected behaviour. When a MBR object is marshalled, it gets an unique identity which contains a unique URI to identify this object in the appdomain. When an external call is made to this object it is identified by this URI. An identity once created doesnt change each time the object is marshalled. Now if an MBR object with its identity set is cloned using Object.MemberwiseClone(since this deep clones all private/public fields as well)&amp;nbsp;the cloned object would get the same identity. If the clone is marshalled out, wouldnt get a new identity since it already has one. Thus if calls are made to the cloned object, the invocation could actually be done on the original object, which could lead to some really unwanted results. So please be extra careful while cloning MBRs when the cloned object could potentially be marshalled as well.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;In v2.0 of the framework,&amp;nbsp;MBR&amp;nbsp;probably would have&amp;nbsp;a clone helper which would null out the identity after cloning. &lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=269297" width="1" height="1"&gt;</description></item><item><title>using $hostName in remoting server channel config</title><link>http://blogs.msdn.com/manishg/archive/2004/11/23/268664.aspx</link><pubDate>Tue, 23 Nov 2004 20:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:268664</guid><dc:creator>manishg</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/manishg/comments/268664.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=268664</wfw:commentRss><description>&lt;p&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;If you set machineName="foo.com" in the server side remoting config (to avoid using ip addresses) and probably need to deploy the same config on multiple servers use machineName="$hostName" and remoting will substitute this with the current host dns qualified name. This way you dont have to hardcode any machinenames in config.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;Note: this is only&amp;nbsp;available on the server channel config. On the client, as it might be obvious the full server name is required.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=268664" width="1" height="1"&gt;</description></item><item><title>Different ways to activate CLR types remotely</title><link>http://blogs.msdn.com/manishg/archive/2004/11/21/267702.aspx</link><pubDate>Mon, 22 Nov 2004 01:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:267702</guid><dc:creator>manishg</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/manishg/comments/267702.aspx</comments><wfw:commentRss>http://blogs.msdn.com/manishg/commentrss.aspx?PostID=267702</wfw:commentRss><description>&lt;font face="Verdana" color="#000080" size="2"&gt; &lt;p&gt;A CLR type instance can be activated remotely in the following ways:&lt;/p&gt; &lt;p&gt;&lt;br /&gt;1. Through Config: This is probably the most common way. Use the client tag under system.runtime.remoting to register a type to go remote:&lt;br /&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;system.runtime.remoting&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;application&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;client&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wellknown type="Hello.HelloService, Hello" url="&lt;a href="http://localhost:8000/HelloService.soap"&gt;http://localhost:8000/HelloService.soap&lt;/a&gt;" /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;activated type="Hello.HelloActivatedService, Hello" url="&lt;a href="http://localhost:8000"&gt;http://localhost:8000&lt;/a&gt;" /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/client&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/application&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/system.runtime.remoting&amp;gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;/p&gt; &lt;p&gt;2. &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemruntimeremotingremotingconfigurationclassregisterwellknownclienttypetopic.asp"&gt;RegisterWellKnownClientType &lt;/a&gt;or &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemruntimeremotingremotingconfigurationclassregisteractivatedclienttypetopic.asp"&gt;RegisterActivatedClientType&lt;/a&gt;: If using a configuration file is not suitable, use these RemotingConfiguration APIs to register types to go remote programmatically. &lt;/p&gt; &lt;p&gt;3. &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemactivatorclasscreateinstancetopic8.asp"&gt;Activator.CreateInstance&lt;/a&gt;: (for CAO) Use CreateInstance with the UrlAttribute to activate types remotely. CreateInstance could be used when you need to activate the same type on different servers. The other two methods are static per appdomain, meaning once registered all type activations are done remotely. CreateInstance with UrlAttribute gives a way to selectively activate types remotely. &lt;/p&gt; &lt;p&gt;4. &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemactivatorclassgetobjecttopic.asp"&gt;Activator.GetObject&lt;/a&gt;: This is the CreateInstance equivalent for WKO. This is a way to generate wellknown proxies for the same type at different endpoints&lt;/p&gt; &lt;p&gt;5. &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemruntimeremotingremotingservicesclassconnecttopic.asp"&gt;RemotingServices.Connect&lt;/a&gt;: This is just an alias for Activator.GetObject. Does the exact same thing&lt;/p&gt; &lt;p&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=267702" width="1" height="1"&gt;</description></item></channel></rss>