Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet remoting > february 2005 > threads for february 1 - 7, 2005

Filter by week: 1 2 3 4

Getting IIS Code base directory
Posted by Pankaj at 2/7/2005 4:14:54 PM
Hi, I'm in the situation where I want to get the absolute path of IIS code base directory (i.e. typically <website name>\bin ), without passing the website (virtual directory) name. As the default current directory (or working directory) for the IIS is "C:\WINNT\system32\inetsrv", the "Directory....more >>


Are Remoting and Web Services equivalent?
Posted by Larry David at 2/7/2005 2:26:52 PM
Hi, I'm currently exposing some methods via HTTP/SOAP remoting. Someone recently asked if I could expose these methods as a "Web Service" and I wasn't sure how to answer. Is remoting using HTTP/SOAP the equivalent of a web service? If not, how do the two concepts differ? Thanks, Larr...more >>

Can we pass byRef Transaction and Connection to a remoted object
Posted by Ramakant Dwivedi via DotNetMonster.com at 2/7/2005 7:21:16 AM
Hi, I am working on a 3-tier archetecture project in which one layer is interecting with database. One layer has all the business logic. One contains GUI. To maintain transections I am sending Connection and Transaction object 'ByRef' from business logic layer to database layer. Now I am ge...more >>

HttpChannel won't stop listening
Posted by richardlowe NO[at]SPAM gmail.com at 2/7/2005 6:37:23 AM
Hi have a very simple HttpChannel that I start listening on port 2500 - pretty much a default implementation, using WellKnownObjectMode.Singleton. The problem is that when I Unregister the channel, I can still call methods on *NEW* activations of the object. I have tried: - ChannelServices...more >>

Is there a safer way without using typeFilterLevel=Full?
Posted by Raqofella via DotNetMonster.com at 2/7/2005 12:26:17 AM
Is there a safer way without using "typeFilterLevel=Full" to work with events/delegates? Without this configuration as you know there are a lot of security problems arise... My question implies those cases. -- Message posted via http://www.dotnetmonster.com...more >>

How to ensure that port is unused?
Posted by cody at 2/7/2005 12:06:48 AM
How can I ensure that a port is unused? I know I could catch the exception if the port is used and try another one, but in that case how can the client know in which port Iam listening? If especially in future most programs use remoting instead of mailslots/windows messages for their IPC...more >>

Architectural Question on Remoting and UI Integration
Posted by DJHughes at 2/4/2005 1:17:05 PM
I have an architectural question concerning the integration of UI elements from one application domain into another. The context of the question is related to dynamically loadable/unloadable plugins which contain UI. While it is possible to load and interact with forms belonging to another ...more >>

Event when ILease expires (for a MarshalByRefObject)
Posted by hawk at 2/4/2005 8:01:35 AM
I had posted this earlier on C# forum. This seems like a more appropriate place for this question. ---------- I have a wellknown singleton service object, which accesses unmanaged resources. It obtains the handles to these resources in its constructor. I want to free these resources when the...more >>



Exception has been thrown by the target of an invocation.
Posted by Suma at 2/4/2005 12:43:02 AM
Hi all, I get an exception while calling a Oracle function from my .NET project. It is some problem in "deserialization method of the System.Data.OracleClient.dll". Has anyone of you encountered any similar error while calling any oracle method. Please help. The exception message says Me...more >>

Singleton heartbeat monitoring
Posted by Raqofella via DotNetMonster.com at 2/3/2005 11:05:01 PM
hey, i have a windows service 24/7 should be on. i want to get a heart-beat info each second from the server. server would update a singleton object's property each second to DateTime.Now. if the health-notifier client which checks the heart-beat property of the mentioned singleton remote obj...more >>

How am I supposed to debug this?
Posted by feng at 2/3/2005 9:15:32 PM
I am getting an strange error, "Return argument has an invalid type", in a Remoting call and here is the trace: StackTrace " at System.Runtime.Remoting.Proxies.RealProxy.ValidateReturnArg (Object arg, Type paramType) at System.Runtime.Remoting.Proxies.RealProxy.PropagateOutParam ...more >>

Third party channels
Posted by MP at 2/3/2005 9:40:06 AM
Hello everyone, In the current stage of our project I have to evaluate if the remoting channels that ships with .Net are suitable for our project or if we need to use a third party solution to have some extra functionnality. Does anyone has a list of third parties that rpovide remoti...more >>

How to start remoting service?
Posted by Andrey Tyurin at 2/2/2005 3:27:55 PM
Hi! I have a remoting service started as using System; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Tcp; public class ServerClass { public static void Main() { ChannelServices.RegisterChannel(new TcpChann...more >>

Separate AppDomain
Posted by mtv at 2/2/2005 8:37:05 AM
Hi all, I have an SAO that hosts many CAOs running in their own AppDomain. Per client request [for a new CAO], the hosting SAO will create a new AppDomain and create the request CAO within this new AppDomain; then, return the CAO to client. I do this so I can later unload CAO's assembly fro...more >>

working with events from the remote object
Posted by Walter at 2/1/2005 10:45:24 PM
Hello, Looks like simple question, but I can't find an answer - I'm trying to receive events from the remore object. But there is an exception raises: "Type System.DelegateSerializationHolder and the types derived from it (such as System.DelegateSerializationHolder) are not permitted to b...more >>

A priceless jewel from MS
Posted by Peter Wone at 2/1/2005 8:14:59 PM
Check out the documentation for TcpClientChannel.ChannelName ms-help://MS.VSCC.2003/MS.MSDNQTR.2005JAN.1033/cpref/html/frlrfsystemruntimeremotingchannelstcptcpclientchannelclasschannelnametopic.htm This is the declaration public virtual string ChannelName {get;} This is excerpted from th...more >>

CreateInstanceAndUnwrap issues when invoked via COM Interop
Posted by Shaun Sullivan at 2/1/2005 1:51:06 PM
I am have written some code that creates an AppDomain so that I can dynamically load and unload assemblies (typical plugin scenario). It all works fine if I call it from .NET code, but for some reason, if the wrapper class that creates the AppDomain and creates the type is called via COM in...more >>

retrieving info about instantiated class on server
Posted by rickcaborn NO[at]SPAM yahoo.ca at 2/1/2005 7:29:37 AM
Good day, I have a c# program running as a service on a remote computer. When the service starts, it instantiates an instance of the class cApplication. cApplication and all classes that I built that are referenced within it are compiled into a single dll. cApplication inherits from Marsha...more >>


DevelopmentNow Blog