all groups > dotnet remoting > november 2003 > threads for november 22 - 28, 2003
Filter by week: 1 2 3 4 5
concern distributing to client app the assembly with implementation rather than just an interface assembly
Posted by Rex at 11/28/2003 12:38:23 AM
A concern distributing to client app the assembly with implementation rather
than just an interface assembly.
The behavior I get is, I turn on the listener, then run the client, and it
works fine, I get the result back. However when I turn off the listener, I
still get a result back and I shou... more >>
Lease Timeout Event
Posted by Johan Karlsson at 11/27/2003 11:12:51 PM
Hi,
I have a server that creates a singleton object of my service. When all
leases for this object is gone the object destroys itself, right?
I need to capture that event in order to save all data to disk. What is the
best practice for doing this?
Thanks
/Johan
... more >>
Shared variables and Remoting
Posted by Tales Normando at 11/27/2003 11:09:28 PM
Hi,
I've created a small component to exchange messages between the
client and server application and one of its variables/attributes, a
hashtable collection containing the message queues for the server and the
clients, is shared.
... more >>
CAO hangs after sending event to client
Posted by adi vaturi at 11/27/2003 6:28:42 PM
I have a client activated object that sends event to a client. Once in a
while, the server or client got stuck. After investigating this, i found out
that it all starts after the server sends an event to the client, the client
finish treating it, but from some reason the server does not continue.... more >>
Can't catch remote event
Posted by Sebastiano at 11/27/2003 5:40:30 PM
I have a singleton object that launch an event. In the server I can catch
it, but in the client I can't. Server app.config already contains
typeFilterLevel="Full" directive and I have copied the client.exe file in
the same folder of server.exe file, so the server can find client
data-types. The ... more >>
Spy for Remoting - how to do this without console application?
Posted by Nikolay Unguzov at 11/27/2003 3:12:09 PM
I have NET Remoting solution. Application Server is simple console
application.
In this situation is very easy to use this code in MarhsalByRef classes:
console.writeline("Object X created...") or console.writeline("Method X is
invoked...")
and the output goes to Application Server's console.... more >>
Remoting Vs WebServices
Posted by Hazz Polo at 11/26/2003 11:03:13 AM
Hi Guys,
There seems to be a wide difference in opinions between Remoting and
WebServices.
I would really appreciate some advice.
For building an Enterprise wide app, deployed over the internet, consisting
of 10 modules and 100s of forms and tables, I was looking into WinForms
Client, Remoti... more >>
chat rooms
Posted by sergi at 11/25/2003 9:40:49 PM
Hi there,
I have a rather stupid question about simple application architecture with
remoting.
I have coded a simple chat. My remote singleton instance of ChatServer class
has an event NewMessageEventHandler NewMsgEvent. Whenever a client
sends a new message I loop through the delegates att... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Winsock error
Posted by Korhan Ileri at 11/25/2003 7:08:47 PM
The client and server is on the same machine. There may be other clients in
the network using the server but suppose that the network is down or simply
the machine where the server is located is plugged off.
For this setup, eventhough the client is actually on the same machine with
the server ... more >>
Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed
Posted by Pavel Gusak at 11/25/2003 5:20:59 PM
I'm trying to use Remoting to receive notifications from another .NET
component.
I'm successfully accessing remoted object (created by the server app), but
can not pass a reference to my object as a "callback".
I get the following error message:
An unhandled exception of type
'System.Runti... more >>
Calling SAO or CAO after lease expires
Posted by David Montgomery at 11/25/2003 6:26:08 AM
I'm reading Miscrosoft .NET Remoting by McLean, Naftel,
and Williams. On page 36 they write:
"Consider what will happen if a client attempts to make
a method call on a remote object whose lease has expired.
The remote object's activation mode will dictate the
results. If the remote object i... more >>
Channels.TCP "cannot found"
Posted by dan at 11/24/2003 7:07:13 PM
I am using VS.NET 2003 on XP Professional. .Net Framework SP2
Imports System.Runtime.Remoting.Channels.TCP is marked as a syntax error
with the tip: "Namespace or type 'TCP' cannot be found"
What should I do?
Many thanks for your help,
Dan
... more >>
Memory leak in interop
Posted by Trokey at 11/24/2003 2:17:27 PM
I am making interop calls to an object in a .NET component from a C++
program and am leaking memory... the following is some sample code:
////////////////////////////////////////
// .NET component (Test)
////////////////////////////////////////
// interface
[InterfaceType(ComInterfaceType.... more >>
COM+ vs. .Net Remoting
Posted by mjamil314 NO[at]SPAM hotmail.com at 11/24/2003 1:05:06 PM
Hi:
I'm working on a real-time distributed system. I'm currently using
COM+ model. The response times are a bit slower than the what I'm
looking for. Is .Net remoring provides a faster solution?
Regards... more >>
Files over Remoting
Posted by John Paris at 11/24/2003 12:39:19 PM
Hello all,
Is .NET Remoting a good choice for transfering files in a
P2P distributed architecture in a LAN?
I am considering, naturally, splitting files into chunks
and feed them to .NET Remoting infrastructure which shall
in turn deliver those chunks to remote clients, using
TCPChanne... more >>
Remoting Proxy
Posted by Francisco at 11/24/2003 12:24:43 PM
I understand that a Proxy is created within an AppDomain
after deserializing and unmarshalling the marshallByRef
ObjRef object, sent from another AppDomain to the client.
Nonetheless, how does the client "request" the
transparent proxy to be created (question).
Does it involve an initial... more >>
Identity when hosting in IIS
Posted by Graham Allwood at 11/24/2003 12:00:38 PM
Hi,
I have opted to host my remoted components in IIS. I have a slight problem
though and I'm not sure the best way of solving it. The problem I have is
Identity.
One of my server components validates a domain account name using Active
Directory (DirectorySearcher etc). If I use the default... more >>
Roman Kiss's MSMQ remoting channel
Posted by levente.halasz NO[at]SPAM freemail.hu at 11/24/2003 10:07:10 AM
I'm trying to use the MSMQ channel to replace my existing HTTP
channel, but I get tho following error:
Additional information: Remoting configuration failed with the
exception System.Runtime.Remoting.RemotingException: To be used from a
..config file, the channel type 'RKiss.MSMQChannelLib.MSM... more >>
System.Windows.Forms.MdiClient+ControlCollection not serializable.
Posted by Trevor Germain at 11/24/2003 8:41:16 AM
Scenario:
---------
I have an Explorer style application.
The app hosts other win forms by making them MDI children, removing border /
control box / minimize / maximize, and setting the form's Dock property to
Fill.
I have recently upgraded my application in the following way:
-----------... more >>
getting and passing cookie with httpWebRequest/webresponse
Posted by maxhodges NO[at]SPAM hotmail.com at 11/24/2003 7:22:45 AM
Seems like a dozen people have asked this question, but I haven't seen
the answer anywhere. I working on an application which uses the
HttpWebRequest object to post and pull data down from some web site.
In order for this to work correctly I need to first hit one particular
page, which sets a co... more >>
Lifetime
Posted by Sebastiano at 11/24/2003 1:07:41 AM
I want to create a client-server program. Server
application must be composed by two parts. The first that
receives the client connections and serves their requests.
The second is the front-end that shows informations about
clients connected. So I think the best solutions is
remoting with ... more >>
seeking architecture tips
Posted by maxhodges NO[at]SPAM hotmail.com at 11/23/2003 3:14:44 PM
I need computer A tell computer X to navigate to a specified web page
and write the source (html) of that page into a database. Any ideas on
architectures for this? Should I use web services or remoting some
other kind of messaging? I would probably use DCOM in the past, but
with .NET are there ... more >>
RegisterWellKnownServiceType vs RemotingServices.Marshal
Posted by David Montgomery at 11/22/2003 10:41:34 PM
Hi,
Most remoting examples that I've read for server-actived
objects begin with:
RemotingConfiguration.RegisterWellKnownServiceType( type, uri, mode )
What are the differences between doing this and doing
obj = (type)Activator.CreateInstance(type);
RemotingServices.Marshal( obj, uri )... more >>
|