microsoft.public.dotnet.framework.remoting Archive - July 2002
Post a message to this list
Messages
Page: 12
How to access remoting object across authentication needed firewall? (3 replies)
microsoft.public.dotnet.framework.remoting
Hi,there: I met a problem with remoting, that is: How to access remoting object across authentication needed firewall? I called a remoting object successfully when I'm not using company's firewall. But, when I use it (the firewall needs authentication), it just doesn't work. and throws exception: Unhandled Exception: System.Net.WebException: The remote server returned an erro r: (407) Proxy Authen...
Completion ports in .NET (2 replies)
microsoft.public.dotnet.framework.remoting
I would like to know if the .NET Framework supplies a class that provides an analogous functionality to the Completion Ports provided by the Windows Platform SDK. Thanks in advance, Dany Fariña.
FTP in VB.Net (5 replies)
microsoft.public.dotnet.framework.remoting
I want to program an FTP client in VB.Net. Does anyone have ideas where I have to start? Thx, Dennieku
Config File Usage with Interfaces (2 replies)
microsoft.public.dotnet.framework.remoting
I have a singleton object on the server and I am using an interface in a shared assembly. In my client code I have the following line: ISsFactory ssFactory (ISsFactory)Activator.GetObject(typeof(ISsDatabase), "tcp://spongebob:5555/SsFactory"); Is it possible to specify the server address, port etc using a .config file. The only example I have seen associates an object class with a server/port but ...
Client Activation (5 replies)
microsoft.public.dotnet.framework.remoting
Hi, I have recently started working with Remoting. First I used the server activation, I wrote an interface in a seperate file that I referenced from both the client and the server, in the server I wrote a class that implemented that interface and published it using the RegisterWellKnownServiceType function. In the client I got and instance of this object by using the Activator.GetObject function,...
How to use a Sink object to deserialize the stream to the correct object? (2 replies)
microsoft.public.dotnet.framework.remoting
Hello, I'm creating an application where a windows service picks a message from an MSMQ and calls an object. The object that is called is an implementation of the IProcess interface. There are different assemblies and the type of the assembly is based on the message. The code for doing this is what follows. But in every implementation of such an object that processes a message, the stream needs to...
remoting (2 replies)
microsoft.public.dotnet.framework.remoting
What is really the difference between remoting and just referencing the dll of an object. For example using Dim obj As New ServerClass.myRemoteClass() by referencing the ServerClass.dll which is on another computer on the same network without any remoting configuration directly excecutes the methods on myRemoteClass while also using obj CType(Activator.GetObject(Type.GetType("ServerClass.myRemoteC...
Client Information (5 replies)
microsoft.public.dotnet.framework.remoting
I have been searching for a method or property that can tell me some basic information about the client. The most important piece of information I am in search of is how to find out the client's IP Address. I would greatly appreciate any help. Thanks, Shailendra Shivecharan Programmer Commerce thru Digital Technology
Disconnecting from a remote host & reconnecting to a different host? (3 replies)
microsoft.public.dotnet.framework.remoting
Hi, I'm trying to use client activated objects to connect to remote objects. I'm connecting and using the remote object just fine. However, I would like to connect to one remote host, use the remote object, then discard it and connect to a different remote host. However, I'm unable to start a setup a new remote object to a different host. Here is a code snippet: void foo(string remotehost) { TcpCl...
Unregistering a well-known type (5 replies)
microsoft.public.dotnet.framework.remoting
Hello all, This is my first question of two (cheeky i know!) Is there a way to Unregister a well known type. RemotingConfiguration.RegisterWellKnownServiceType works great, but I need to be able to turn it on and off depending on whether the server is supposed to be responding to particular requests. Is it possible to use RemotingConfiguration.Configure(filename) to effectively reset the list of w...
Problem with multiple services and remoting. (5 replies)
microsoft.public.dotnet.framework.remoting
Here's my scenario. I have three services exposing objects through remoting. Call them ServerA, ServerB, and ServerC. I have one client (call it Client). All services and the client are running on the same machine (I haven't had a chance to move the services to another machine yet and test.) Client connects to ServerA using via an HttpClientChannel and this works. I can create objects from ServerA...
Serialization & Remoting? (2 replies)
microsoft.public.dotnet.framework.remoting
I have a question regarding Serialization and remoting. I have ObjectA, ObjectB and ObjectC. ObjectC is a server activated singleton object, Object B is returned from a method on ObjectC ObjectA exists in the client and has a property that is a reference to ObjectB (proxy), that it got using the singleton. I want to be able to serializeObjectA and all it references. Is this possible? I have not ha...
Remote Objects Running Locally (3 replies)
microsoft.public.dotnet.framework.remoting
I am at wits end. This is my first move into remoting and I am having a fit. I have a remoting example that works fine, however, when I move over to my architecture, the remote object gets run locally! I think my config file is out of whack. Server Side Server Class "CServer" in exe CADServerV3.exe in namespace TSGCAD.CADServerV3 Remotable Object "CIncident" in assembly CADObjectsV3.dll in namespa...
Remote Objects Constructor (3 replies)
microsoft.public.dotnet.framework.remoting
Hi all i have sigle call objects hosted on my Remote server. now from client i want to send some info while creating the remote object and use it in constructor. problem is CallContext in constructor and non default constructors dont work on remote objects ! pls guide me Vikas
TcpChannel, Soap formatter with Perl Clients (6 replies)
microsoft.public.dotnet.framework.remoting
Hi, I'm trying to build a remoting server that uses the TCPChannel and the SoapFormatter. I need to connect to this from Perl. However, when I try it, SOAP fails on reading some sort of header starting with '.NET' and not valid XML. Is there any way around this? or should I be looking at implementing a custom TCPChannel? Keith
Error message when fireing event (2 replies)
microsoft.public.dotnet.framework.remoting
I get this errormessage when I try to fire an event remote: "This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server." Do you know what this is about? Can anyone help me with this? Øyvind.
What is ContextBoundObject? (7 replies)
microsoft.public.dotnet.framework.remoting
Hi, I am kind of confused by the ContextBoundObject. Is it that a class inherits from this ContextBoundObject class will be able to identify the application domain from which the caller belongs to? In other words, if a class inherited ContextBoundObject, and during the scope of that class, any access to the CallContext will be directed to the appropiate context which the caller belongs to? Thanks ...
Setting remote event handler generates SerializationExeption: "Insufficient state to deserialize the object. More information is needed." (3 replies)
microsoft.public.dotnet.framework.remoting
I've been wrestling with a seemlingly simple error and I'm about to give up. The idea is to have a central server for events being passed among a number of clients. I've got a "server" running as a Windows Service which basically performs RemotingConfiguration.Configure() and then lives forever. The server exposes an abstract class RemoteServerEventHandler, containing a public (non overridable) ca...
Contexts and Threads (5 replies)
microsoft.public.dotnet.framework.remoting
Hello! I cannot find good documentation on Context concept in .NET. Are they bound to threads or it can float from one thread to another? My primary problem is STA COM objects. I need create wrapper for DirectSpeech ActiveX for calling voice speech from any place in my .NET program. But DirectSS need STA thread. And sometimes I want to call speech API asynchronously, from ThreadPool, that is from ...
Mixing .NET Remoting and DTC/COM+? (3 replies)
microsoft.public.dotnet.framework.remoting
We have a distributed framework that uses remoting to connect the nodes. We have developed channel sinks that serialize our proprietary security and auditing information via CallContext. It works very well, so near as I can tell, we must continue to use remoting. However, we also really want to make portions of this framework transactional, and inheriting from ServicedComponent is not a problem. T...
SoapFormatter, xsd types, dateTime and TimeZones (2 replies)
microsoft.public.dotnet.framework.remoting
Ok, I have a real whopper over here. We need the ability to control the xsd data type generated for elements during the SoapFormatter's processing. Specifically, we have several instances where we have serializable classes with DateTime members/properties. During serialization, the datetime member generates XML output containing timezone information. This serialized class is then transmitted to a ...
pre Serialize object (4 replies)
microsoft.public.dotnet.framework.remoting
I have an object collection I have written which takes a long time to serialize and speed is critical . I am also running up against the problem where the framework wont send any data on the network until the whole object collection has finished serializing. What I want to do is to preSerialize the data eg byte[] data binaryFormater.Serialize(objectCollection); When someone needs the collection I ...
Remoting hosted under a Service (3 replies)
microsoft.public.dotnet.framework.remoting
I currently have a set of Remote Objects being accessed by my Web App via TCP channel. These remote objects are hosted using a NT service. I need to access configuration values (such as ConnectionString) in my remote objects just like a ASP.NET can access Web.Config. I have created a configuration file for the service exe as "ServiceName.exe.config" and the Remote components cannot read any config...
Remote components hosted under a service. (2 replies)
microsoft.public.dotnet.framework.remoting
I currently have a set of Remote Objects being accessed by my Web App via TCP channel. These remote objects are hosted using a NT service. The remote components need to access configuration values (such as ConnectionString) just like a ASP.NET can access Web.Config. So I created a configuration file for the service exe as "ServiceName.exe.config" and the Remote components cannot read any configura...
RDS (2 replies)
microsoft.public.dotnet.framework.remoting
We have several web applications that used RDS to access some business logic and return recordsets to the browser client without reloading the web page. Is there any simple examples how to do this in dotnet. I've read RDS was replaced with web services/remoting? Everything I've read about web services/remoting seem to have a compiled application calling the service. How would you do that in vbscri...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com