Welcome to MSDN Blogs
Sign in
|
Join
|
Help
manish godse's MoM and remoting blog
Microsoft Operations Manager and .net Remoting related posts
RSS 2.0
Atom 1.0
Home
Email
Tags
No tags have been created or used yet.
News
These postings are provided "AS IS" with no warranties, and confer no rights.
Archives
July 2006 (3)
December 2005 (1)
June 2005 (1)
May 2005 (1)
April 2005 (3)
January 2005 (1)
December 2004 (2)
November 2004 (10)
October 2004 (12)
September 2004 (11)
August 2004 (3)
Wednesday, September 01, 2004 2:02 PM by
manishg
Changing ClientChannelSink properties for remoting CAO objects
As I had described in my previous post its possible to change client side sink properties for remoting proxies. For client-activated objects it can be a little tricky since you dont get a proxy till a constructor is invoked remotely( and this might be missing client side certificates). To work around this issue you would need to create a wellknown proxy(wellknown proxies are created without a remote invokation) to the remoting activation URL. eg. lets say your CAO are registered at
http://foo.com/vroot
. Then you would need to create a proxy using RemotingServices.Connect(typeof(yourType),
"http://foo.com/vroot/RemoteActivationService.rem
"); Now you have a proxy to the url where the constructor call will be made, and you can get and change the channelsink properties for it. Once you have a proxy for the CAO you might need to update the properties again since this proxy is actually for a different url (something like
http://foo.com/vroot/de3d082d_b3bb_4b94_a996_dcc97f0decd8.rem
)
Comments
No Comments
Anonymous comments are disabled