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
all groups > dotnet remoting > june 2004

Filter by week: 1 2 3 4 5

Are the Singleton objects ever collected
Posted by Igor Anic at 6/30/2004 6:05:55 PM
I'm using .Net remoting singleton object in both console application and windows service application. Lease time is set to 10 minutes with renew on call time to also 10 minutes, and that works fine after 10minutes of client inactivity I get new object on next request. But the problem is...more >>


Array marshaling
Posted by Gleb Holodov at 6/30/2004 1:50:27 PM
Deat All! I maybe missing something, but is there a way to control how arrays are marshaled during remoting? I know, that since they're serializable and not MBR, they will be marshaled by value, but will they be transported back to the client? A server might change contents of an array, so rem...more >>

Issue with .net remoting events
Posted by DotNetJunkies User at 6/29/2004 8:47:05 PM
Hi For some reason, the event handler is not getting subscribed to the event. Here's the code ===================================== >>> Shared Assembly using System; namespace SharedAssemblyCarProject { public class EventShim: MarshalByRefObject { protected NewCarFoundEventHandler Ta...more >>

Singleton and IIS
Posted by Elp at 6/29/2004 6:57:32 PM
Hi, I'd like to build a .NET Remoting component that has to be singleton. Actually, this component will serve as a "collaborative component". Each client will connect to this component, which will keep a reference to each connected client. This collaborative component will then be able to send...more >>

How to access published singleton object from the host itself?
Posted by Willliam at 6/29/2004 6:38:01 PM
I'm publishing a singleton object on a windows-forms based host .exe program, but also want to monitor its state from this host .exe, basically displaying some internal state member variables every 5 mins in a textbox. What's the best approach to take for this scenario? It's actually a kind of...more >>

SocketException at GetLifetimeService
Posted by Chadi Zwein at 6/29/2004 4:44:42 PM
This is a CAO scenario with lifetime management. The remote objects are created successfully!! (no exceptions). Following that, and in the function calling RemotingServices.GetLifetimeService on the remote object, a System.Net.Sockets.SocketException occurs, complaining that the server did no...more >>

.net remoting over internet
Posted by Gaetano Lazzo at 6/29/2004 4:44:35 PM
Hi, I'm a novice in remoting, and I've a problem trying to make it work over internet. I have a SAO (Singleton) named CampusDataAccessLoader. I want clients to access this object in order to use it as a object-maker for another class (CampusDataAccess). I don't need callback functions. When ...more >>

Generic deserialization
Posted by Lee Gillie at 6/29/2004 4:07:29 PM
Trying to create a "generic" notification facility. Basically I have a number of services which currently use NT MAILSLOTS to broadcast their in-progress status to desktops on the LAN. In the mailslot there is usually complex delimited data as a string. My .NET approach is to instead use a "me...more >>



problem in InvalidCastException-Return argument has an invalid type
Posted by John at 6/29/2004 2:45:43 PM
Hi, I have my client application call a method in a remote object hosted in IIS. The return value is a typed dataset. The problem that I have is the method call works fine in server side, but once the return value returns to client side, it throws exception: "An unhandled exception of type 'Sys...more >>

Client without config file
Posted by laughridge NO[at]SPAM teeitup.com at 6/29/2004 2:01:04 PM
Hello, I have created an remoting application which worked quite well until I realized that I needed to secure my network transmission someway. To do this I created a custom sink which encryts and decrypts the message for transmission. I have used a config file for the server portion but I wou...more >>

.NET Remoting Security
Posted by mac at 6/29/2004 9:39:13 AM
Hello. I have a remote object hosted by Windows Service (not IIS). I want it to be available over the web. How can i secure it by login/password? Or i have to pass login and password as the parameters every time i call my remote methods? ...more >>

An alternative to events?
Posted by le_khan NO[at]SPAM yahoo.fr at 6/29/2004 6:35:56 AM
Hi NG In one of his numerous articles, Ingo Rammer advise the .net remoting developpers not to use events for networked application. I'm a newbie in programming and actually, I do use events in my .net remoting application...since I haven't yet found other ways to do what I want. Here is t...more >>

Remoting -v- Enterprise Services -v- Web-services
Posted by A Mackie at 6/29/2004 5:38:32 AM
With Microsoft (Richard Turner) now suggesting Enterprise Services for the internal tiers of applications, and minimizing the use of remoting (a "last resort" option?), what are people's thoughts on technologies for new n-tier applications in WAN/Internet environments ? Scenario: Application ...more >>

.Net Remoting 2nd client
Posted by Wara at 6/29/2004 4:38:01 AM
Hello; I'm working on a project using .Net Remoting and events and facing the following problem. When the first client access the server ( as web site), the program works fine but with 2nd client, it will stop working without any error meassage. The client can be in localhost or in a network. An...more >>

Using client side proxies to instantiate remote objects
Posted by Richard Bell at 6/28/2004 5:33:40 PM
This seems to be a touchy issue, but I think that it is important one and I would like to promote an objective discussion with those who are interested. The reasons why I believe that you should use client side proxies and instantiate remote objects using the new operator wherever possible are as...more >>

Get "not mark as serializable" when passing VB6 Type as a parameter
Posted by ylangevin at 6/28/2004 1:45:29 PM
Hi, I have a project where I need to separate a VB app from his components that will reside on a separate machine. I've decided to use the .Net remoting to do accomplish this. My solution is to recreate the .net components with the same signature that the vb components and only change the referen...more >>

Get "not marked as serializable" when passing VB6 Type as a parameter
Posted by DotNetJunkies User at 6/28/2004 1:34:40 PM
Hi, I have a project where I need to separate a VB app from his components that will reside on a separate machine. I've decided to use the .Net remoting to do accomplish this. My solution is to recreate the .net components with the same signature that the vb components and only change the referen...more >>

Reproducing InProc Server effect in .Net WinForms
Posted by balg at 6/28/2004 3:38:01 AM
In Windows Forms, I need to spin off a form (say a debugInfoWindow) which will not close even if the main form / application closes. This was achieved in VB6 by placing that form in an inproc server Exe and opening it with a load library / createobject. ( this also allowed data transfer between t...more >>

Passing datasets through remoting
Posted by Ariel Popovsky at 6/27/2004 11:50:50 AM
Hi! I'm having a problem passing a dataset to a method through remoting. If I call one method from the client application and pass a dataset to it, when it returns the dataset is empty. This happens only when I use remoting, calling the method locally works fine. I've been testing this issu...more >>

Does anywork we can do?
Posted by Adolf John via .NET 247 at 6/26/2004 7:22:46 PM
(Type your message here) In p2p application whether the Remoting tech. can do nothing except encrpytion channel or routed channel? From: Adolf John ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>z0fANLFmNkSRkLMC8rxWmw==</Id>...more >>

Does someone has the sample codes of the book <<Building C# web service with asp.net and .net remoting>>
Posted by John Adolf via .NET 247 at 6/26/2004 1:05:29 PM
(Type your message here) I have bought the book named <<Building C# web service with asp.net and .net remoting>> but I don't find the sample codes of the book in its' press web site www.wrox.com,does some friend konw it? From: John Adolf ----------------------- Posted by a user from .NET 247...more >>

What was the fix..?
Posted by Samuel Densmore via .NET 247 at 6/26/2004 12:46:40 PM
Simion, I am having the same issue, how did you fix the code..? -------------------------------- From: Samuel Densmore ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>zi5q0zqfi0y7OvRGOCq7fw==</Id>...more >>

Remoting SOAPAction error
Posted by Roman Baron via .NET 247 at 6/26/2004 11:52:16 AM
Hi All, I have a simple remoting client and server, that use SOAP formatter and HttpChannel. The object provided is using MarshalByRef and is a SAO. When I access the remote object and read variable value, everything is fine. But when I try to call a method on the object, I get the followi...more >>

Sinking in .Net Remoting
Posted by learn_remoting at 6/25/2004 6:34:22 PM
Hello, I am trying to understand the details of .net remoting. There are so many different kinds of sinks .... which have left me totally confused. TerminatorSinks, ContextSinks, MessageSinks, SinkProvider, RequestSink, ResponseSink, FormatterSink, DynamicSink, BuilderSink, LeaseSink, Si...more >>

Use a struct within a remotingObject
Posted by mail NO[at]SPAM kaihuener.de at 6/25/2004 2:57:43 AM
Hello, I want to use a self defined struct within a remoteObject in the following way to send data from an AddIn in VisualStudio to an AddIn in MS Word: .... public class Remote Object : MarshalByRefObject { ... public ArrayList GetCodeElements() { ... ArrayList r...more >>

Broadcast Problems
Posted by Devin Rader at 6/24/2004 5:31:10 PM
Using the Remoting Events sample for from Ingos book, I managed to get a quick and dirty little chat app running. Now I want to change the server a bit so it looks more like my real world application. I created a class directly in the server app that uses a timer to call the BroadcastMessage() ...more >>

what do you think about this...
Posted by AA at 6/24/2004 3:58:49 PM
http://www.mailframe.net/Products/PeerChannel.htm Sound interesting no? ...more >>

remoting... connections pooling?
Posted by AA at 6/24/2004 3:17:21 PM
I decide to use remoting as a communication solution between my main service and the billing service. But I need to know if when I create an instance of a remoting object this open and close the TCP channel for each? For example (just an example) I have a function that create an instance of...more >>

IIS Remote Host & Proxy Servers
Posted by pmcg at 6/24/2004 2:36:59 PM
I'm getting a message (407) Proxy Authentication Required. when trying to invoke a method on a remote object that is hosted on a IIS site A.B.C on an intranet machine. Internal DNS has been sorted where i can browse to a test page on the site using IE with no problems. If i try to invoke a rem...more >>

server calls client, client calls server problem.
Posted by Willie wjb at 6/24/2004 9:32:05 AM
Hi, CURRENT PROJECT I have created a Client Server program where the Client builds up a connection to the Server and sends data to it that has to be stored in a database. WHAT DO I WANT But for some reason i want the server to check the clients in a interval period. QUESTIONS. If i wa...more >>

Remoting interfaces on local machine
Posted by adheyworth NO[at]SPAM hotmail.com at 6/24/2004 6:25:11 AM
Hi, I have an ASP.Net client that uses remoting (HTTP in IIS) to connect to the server using only the interface of the required objects (as per Ingo Rammer examples). So the actual implementation assembly is not known on the client side. What I was wondering is if it is also possible to cre...more >>

IIS Remoting Host and Proxy Servers
Posted by Pmcg at 6/24/2004 12:49:02 AM
I'm getting a message (407) Proxy Authentication Required. when trying to invoke a method on a remote object that is hosted on a IIS site A.B.C on an intranet machine. Internal DNS has been sorted where i can browse to a test page on the site using IE with no problems. If i try to invoke a remote ...more >>

Extending the RealProxy
Posted by DotNetJunkies User at 6/23/2004 7:03:02 PM
What is the use of Proxyattribute class for extending the real proxy? Please give me an exaple. --- Posted using Wimdows.net NntpNews Component - Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching....more >>

Use 'new' rather than Activator.CreateInstance for remote objects activation?
Posted by hazz at 6/23/2004 2:06:01 PM
I just read in a coding standard to "Avoid using Activator.GetObject() and Activator.CreateInstance() for remote objects activation. Use new instead." Since I have just been instructed to use Activator.CreateInstance() rather than 'new' on a project, I would like to know the consequences of do...more >>

Configuring Client for Binary Formatting
Posted by Jon Turner at 6/23/2004 9:36:37 AM
My client is participating in .NET remoting. How do I specify for the Client to use the Binary Formatter instead of the default SOAP formatter ? I'm currently using the Activator.GetObject to create the remote object. Many Thanks ...more >>

remoting on network-less machine
Posted by ~dr.sci-fi at 6/23/2004 3:12:38 AM
hi all, i want to do fast inter-process data sharing in my app, some suggested that remoting is the best for this. my question is: can i use remoting (for inter-process comm) on a machine which doesn't have network card, or event no network services/components installed? thanks - sci ...more >>

Genuine Channels through a Firewall. Problem
Posted by junkmale48 NO[at]SPAM hotmail.com at 6/22/2004 9:40:06 PM
I have a firewall that has a port forwarded to a particular machine. I have a Channel setup to listen on that port. With TCPChannel I set the machine name to the external Ip address and it works fine. This doesn't seem to work with genuine channels GenuineTCPChannel. Is anyone familar with Genui...more >>

Passing dot net objref via COM?
Posted by Larry Heller at 6/22/2004 8:30:30 PM
[Sorry for cross-posting, but this topic equally relates to remoting and interop!] I am extending a legacy app which uses DCOM to implement a networked client-server architecture. As some more recent parts of the app are written in .NET, I would like to use it for my new extensions. I have bee...more >>

Passing Binary Data causes Error
Posted by Jon Turner at 6/22/2004 2:40:40 PM
The following is happening when I transfer binary (PCL) data. When changing the PCL to simple text, everything transfers fine. Is there a special requirement when transferring Binary Data like this via a string ? Many Thanks 1. I have a IIS Hosted remoting object that passes back a P...more >>

SQL Connection Pool stops AppDomain unloading
Posted by Mike Williams at 6/22/2004 1:06:09 PM
For some days now we have been trying to get to the bottom of an issue with a simplified version of our real application. In brief we have a Master object within a main AppDomain which is responsible for spawning a Slave MBR object in a newly created AppDomain upon request. When the Slave finishe...more >>

Instantiating CAO without using new operator
Posted by Abhishek Srivastava at 6/22/2004 12:26:56 PM
Hello All, I want my clients to use my remoted object by means of interfaces. These interfaces also ensure clean seperation between client and server. The approach I know to instantiate a CAO is RemotingConfiguration.RegisterActivatedClientType( typeof(MyObject), "tcp://localhost:1234...more >>

Not all Properties available in Client
Posted by mail NO[at]SPAM kaihuener.de at 6/21/2004 1:38:40 AM
Hello, I use a remote object call from a Word AddIn (Client) to a VisualStudio AddIn (Server) by using the following code: RemoteObject: using System; using EnvDTE; public class SmartSpecRemoteObject : MarshalByRefObject { private Solution currentSolution; public SmartSpecRemote...more >>

Callback Over the Internet (Advanced?)
Posted by John Puopolo at 6/20/2004 1:16:03 PM
All, Before I attempt to implement the following, I am wondering if this is even possible. There is the situation: client A wants to create a client-activated object (CAO) on server B. The configuration appears as follows: 1. CLIENT_A--FIREWALL_A <--> [INTERNET] <--> FIREWALL_B--SERVER_B...more >>

Remoting Server
Posted by M. Roming at 6/19/2004 3:58:59 PM
I have a simple Remoting Server class like the following: namespace RemotingSamples { public class Server { public Server() { } public void runServer() { RemoteObject myObj = new RemoteObject(); //select channel to communicate TcpChannel...more >>

getting remote IP address in C# Remoting
Posted by JamesK at 6/19/2004 12:01:52 AM
Hi everyone, Does any one know of any code snippet where I can get the remote IP address from a client connecting to my server in C# .NET remoting? I have seen code where you can obtain it from the local box, but I can't see much for obtaining from the remote object. Do I have to use some so...more >>

architectural question - threads
Posted by Stephan Steiner at 6/18/2004 11:11:54 AM
Hi I have an application that's distributed over 3 machines. There's a client, and two servers. Client communicates with server A (which is a central server), which in turn communicates with various other servers (all running the same app). I noted that it takes roughly 45 seconds until a "hos...more >>

XmlSerializer and Remoting
Posted by Raghu at 6/18/2004 11:05:57 AM
I have remote object (i.e. derives from MarshalByRefObj) and it has a method with one parameter type as the class (say X) that is created using xsd tool by feeding a schema. Question: Will the .net remoting framework automatically serialize the object of type X automatically from client to ser...more >>

soapsuds for binary
Posted by John Wood at 6/18/2004 11:05:12 AM
Is there anything like soapsuds that generates proxies for binary remoting rather than soap? ...more >>

Obtaining List of Networked Computers. (NON AD)
Posted by Josue Candal at 6/18/2004 9:52:54 AM
I've searched and searched and I have yet to find an answer on this. Why wouldn't there be an object in the .Net namespace where I could find out computers connected to a workgroup. Its so practical, yet there is nothing. So far I was able to do this by using the Process Object and spawning a "NE...more >>

capturing remote events
Posted by M. Raab at 6/18/2004 9:50:49 AM
does anyone have any code samples, examples or documentation that explains how to capture an event that takes place on a remote computer? i suppose what i want is a lightweight notification services. i want clients to be able to subscribe to events that take place on a central computer or server...more >>


DevelopmentNow Blog