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 > may 2005

Filter by week: 1 2 3 4 5

singleton class creating new object when called from dll through.
Posted by amit kulshreshtha via .NET 247 at 5/31/2005 10:30:46 PM
(Type your message here) hi all=2E=2E i m developing application=2E in which i have 1 global server which= is taking care of two client=2E these two client are window= services=2E in which one windowservice update one object which is= provided by singleton class on global server=2E It is ok...more >>

Newbie advice on remoting
Posted by Cashflow2005 at 5/31/2005 6:56:05 AM
I need some input from others on if I should use .net remoting. I have a web application that recieves data from a webservice and needs to kickoff another object located in a different app domain. This object simply stores checks the database for some records and continues processing. My pr...more >>

.Net Remoting over reliable UDP?
Posted by SammyBar NO[at]SPAM gmail.com at 5/30/2005 11:36:22 AM
Hy guys, I wonder is it any available implementation of .Net remoting over reliable UDP? My remoting server is behind a NAT, and clients are also behind another NAT. How can I solve this connection problem? Thanks in advance Sammy ...more >>

tcp class in missing in my remoting.channels namespace
Posted by Russell at 5/29/2005 9:29:02 PM
trying to import system.runtime.remoting.channels.tcp but there in no tcp class listed???? I have .net framework 1.1, on 2 machines even. neither of them have the tcp class from that namespace....more >>

Best way to auto-start Remoting host that is a Windows Forms app?
Posted by None at 5/29/2005 12:36:54 AM
I have a Windows Forms app. that acts as a Remoting host for my client apps. I don't really want to turn the host app into a Windows Service if I don't have to. What are my options for auto-launching the host app when a client needs it? (the host app already acts as a Singleton so only one inst...more >>

Remoting Web Service --- Interoperability
Posted by Shoeb at 5/27/2005 8:10:46 AM
Hi, I wanted to clarify doubts related to interoperability problems. Here I am explaining the problem.. Environment: Client: gSaop client running on LINUX Web Service: .Net Remoting web service on Windows2000 work station web Service method: int Transcode(int id, string name) He...more >>

Server requesting a client
Posted by MVB at 5/26/2005 2:35:12 PM
Hi I have a client server application developed using .NEt remoting. The client makes certain requests to the server and the server replies back.This part works fine. But I need another functionality too. I want my server to send a signal to client periodically ,about some changing statuse...more >>

Questions about MarshalByRefObject.InitializeLifetimeService
Posted by Roy Chastain at 5/26/2005 10:55:21 AM
I have done some testing and it appears that the framework does not call InitializeLifetimeService until just before returning the object reference to the client. I would like to use the ILease returned from InitializeLifetimeService in the server code before returning to the client. I have ob...more >>



IIS Hosting / global.asax
Posted by matthew_glen_evans NO[at]SPAM hotmail.com at 5/26/2005 2:23:53 AM
Is it possible to hook into the global.asax event model, when hosting remoting class libraries in IIS. I particularly want to access Application_AuthenticateRequest, to modify the HTTPContext security token with some roles. Thanks, Matthew ...more >>

.NET on AMD problem.
Posted by JamesK at 5/26/2005 12:00:00 AM
Hi all, I have developed an analog clock using C#.NET as an assembly in my .NET application. The clock is based on the System.Threading.Timer class, rather than the other two timers. I find that the clock runs a lot slower on an AMD machine compared to an Intel CPU machine, regardless of the ...more >>

Remoting Client Hangs
Posted by Sudesh Sawant at 5/23/2005 9:46:03 PM
Hello, We have an application which communicates using remoting. There is a server which is a Windows Service. The server exposes an object which is a singleton. The client is a Web Application which makes calls to the service. We are using tcp channel which is using binaryformatter by defaul...more >>

Need to fill gaps for creating a remotable singleton
Posted by sethlivingston NO[at]SPAM gmail.com at 5/23/2005 12:19:45 PM
Hi, I've poured throught the MSDN documention on remoting; I'm close to getting things working, but I need to fill in some gaps. Here's what I need: 1. Remotable Controller class in MySystemTray.exe must be a singleton. It controls the icon in the system tray and a Windows Form that you can...more >>

File transfer
Posted by anbu at 5/19/2005 9:37:15 AM
Hi, I am new to remoting. In my application I need to transfer file from client pc to server using remoting. I prefered TCP channel. I have No idea how to transfer filestream to server. Give me any clue so that i can work on it. Thanks anbu...more >>

Public member 'App' on type 'MarshalByRefObject' not found
Posted by Great Hackomania via DotNetMonster.com at 5/19/2005 8:45:38 AM
Hello Everyone, I have converted a webservice to a remote class. and now i am trying to call methods. I need some parameters to pass in those function. for that i have made a class in the client Program which can hold these paramenters now i am passing this class object to the remote method...more >>

Bi-Directional Remoting Problem in the Internet
Posted by John Chan via .NET 247 at 5/17/2005 11:59:44 AM
I'm working on a project which involves clients calling into= server and server calling back to the clients=2E I use =2ENet= Remoting to do that (setting TypeFilterLevel to Full and= creating the client and server sink providers on both sides)=2E It= works great and fine within my intranet=2...more >>

client name in remote method
Posted by Sercan AYYILDIZ at 5/17/2005 12:22:02 AM
Hi, I want to get machine name of client (or any data like this) in remote method of a singleton object. I mean , i want to know "who is calling this method". How can i do it? Thanks...more >>

TTL again
Posted by Joe at 5/16/2005 3:28:45 PM
I need an object to live as long as the application is running. I use a remote factory to create the object which needs to live. What is the best way to handle this? I've read many articles but I just can't seem to get it figured out. I'm not really sure if an object created by a remote fa...more >>

Use of remoting for local assemblies
Posted by Gaurish Chandelkar via .NET 247 at 5/15/2005 4:53:28 AM
Hi All, I have a case where the given assembly may or may not reside on same machine, so to make things scalable/uniform i thought of using remoting for local as well remote assemblies. Has anybody benchmarked use of remoting on same machine instead of direct usage of assembly? What are the per...more >>

Stuck with Remoting
Posted by Martin at 5/14/2005 10:06:29 AM
Hi! I=B4am working with remoting for a while now (with the help of Ingo Rammer=B4s book)! But now I am really stuck! At the moment I have several Singlecall remoting object hosted within a windows service. The application connects to the objects, gets some data from database and displays...more >>

Remote object disconnected error (When using events)
Posted by Alejandro Gaio at 5/13/2005 5:02:47 PM
hi All, I'm having an issue here that's driving me nuts! To resume things, I have a vb.net desktop application (appA) that creates a new appDomain, and inside that domain it loads another vb.net desktop application (appB). Both applications have a UI. appA can interact with appB through a cla...more >>

Multiple client-side channels
Posted by Mike Burger at 5/12/2005 1:06:49 PM
Is it possible to have 2 separate objects bind to 2 different channels from the client side? Given the following confg, how can one register one object to use one channel (versioned) and the another use the other (non-versioned)? RemotingConfiguration.Configure() will register both http-soap channel...more >>

Why a ThreadAbortException?
Posted by mcollier at 5/12/2005 8:15:31 AM
I am hosting a .NET Remoting service in IIS 6 on Windows Server 2003. The client is an ASP.NET application also running on IIS 6. The client and server are on different machines. The client has recently been receiving a System.Threading.ThreadAbortException when making the call to the remote...more >>

How to custom a Remote call given objectname, method name, and parameters
Posted by Rade at 5/12/2005 1:17:39 AM
in .Net remoting, I can get the Remote Object Name, Type, MethodName, Parameters. all in string format. How can I construct a MethodCall? Can I manage it using Object MethodCall? and How? or any others way? help. thanks. ...more >>

Windows Service and Remoting
Posted by WinService Hunter via DotNetMonster.com at 5/12/2005 12:00:00 AM
Hello Everyone, I have developed a small windows service that use .net remoting. What this service is supposed to do is it has to ping my Remoting Server Process on each timer tick and will write the response to a text file. i have added a Timer Control in this Service and Set its properties...more >>

how to access wellknown singleton object within Windows service
Posted by epfromer at 5/11/2005 8:28:30 PM
I have a wellknown singleton remotable object within a Windows service working. I can use Activator.GetObject to get the object from another process fine. However, I would like to instantiate the single object from within the onStart method of the service. I tried creating a new HTTP channel...more >>

KB 821268 Apply to .NET Remoting?
Posted by mcollier at 5/11/2005 11:41:27 AM
I have an ASP.NET application which uses .NET Remoting to communicate with business object on the application server. In our production environment, we are experiencing the symptoms listed in KB article 821268 (http://support.microsoft.com/?id=821268). Even though this article mentions Web ser...more >>

problem chat application
Posted by Bibins at 5/11/2005 4:21:16 AM
Hello, I would like to develop a chat application and understand how remoting works. So, I downloaded a chat demo but I've always the same problem... it's useful to say client and server run on the same computer. Here is my configuration : Windows XP Pro SP2 ..Net Framework 1.0.3705 V...more >>

TTL Help!!
Posted by Joe at 5/10/2005 5:25:27 PM
I need an object to live as long as the application is running. I use a remote factory to create the object which needs to live. What is the best way to handle this? I've read many articles but I just can't seem to get it figured out. I'm not really sure if an object created by a remote fact...more >>

remoting object access information from local xml file frequenctly
Posted by sahridhayan at 5/10/2005 5:02:02 AM
hi all i have a requirement.. 1. i have lot of BL objects hosted in IIS single call mode, 2. depends on the parameter given to the methods, or some time if there is no parameter also.. we will go and read an xml file which is present in RemotingServer directory (IIS dir) for some informa...more >>

InvokeRequired and CreateGraphics
Posted by Fabien Bezagu at 5/10/2005 12:00:00 AM
Here is a thread I posted in microsoft.public.dotnet.framework group. Perhaps it's better here. De: "Fabien Bezagu" <fbezagu@novacor.fr> Objet: Re: InvokeRequired and CreateGraphics Date: lundi 9 mai 2005 15:04 If CreateGraphics marshals the call to the owning thread (because Graphics inh...more >>

Late binding to a remote object
Posted by Brian Buff at 5/9/2005 7:40:43 PM
I would greatly appreciate any insight anyone could provide on my issue/question. I need to invoke methods on a specific version of a remote object. I really need to do this without a direct reference to the object as functions could be different across versions of the remote object so I'm...more >>

Large file transfers - socket basesd solution or remoting?
Posted by MJB at 5/9/2005 4:42:13 PM
After reading all of the pros and cons of a socket-based solutions and remoting solutions I still can't decide what the most appropriate solution is here’s rundown. I am trying to develop a file transfer architecture that will use a central sever that will post a web service that will provi...more >>

Bind Remoting Server to multiple NICs
Posted by KidO at 5/9/2005 7:16:11 AM
When the PC hosting a remoting server (SAO) has multiple NICs, I am using the bindTo property for the HTTPChannel to specifiy which NIC to bind to for the service. This works fine, but is it possible to bind the service to more than one of the NICs simultaneously? -- - John...more >>

How to share a single assembly (DLL) with multiple apps?
Posted by Binary Poet at 5/8/2005 7:36:03 AM
I have been doing alot of reading about remoting, etc. but am still confused and a little lost. Problem: I have three applications that all use the same assembly (ie: MyApp.dll). I want the assembly to be loaded only once (singleton?) and have it shared between all the applications. So if fo...more >>

Marshalling in new AppDomain while hosting in IIS
Posted by Vladimir Zdorov at 5/7/2005 1:18:02 PM
I want to marshal object in an IIS hosted application. It works fine when RemotingServices.Marshal is called in the original AppDomain. But when I create new AppDomain and marshal there, the object cannot be accessed remotely. Could anyone please suggest hot accomplish that?...more >>

Using GUI from .NET Remoting events
Posted by david.blackhole NO[at]SPAM gmail.com at 5/6/2005 11:01:42 AM
I have a server with .NET Remoting object, which has significant number of events. I want to use these events from my client GUI application. When an event is passed to the client application, it is running under MTA (Multithread Apartment) and I have to use Control.Invoke() to marshal it to STA...more >>

remoting - nasty bug?
Posted by David Krmpotic at 5/6/2005 12:00:00 AM
In specific (repeatable) cases the client fails to connect to the server running on the same machine. The client receives the System.Net.Sockets.SocketException: "A socket operation was attempted to an unreachable host" although the server is still running and listening on the right port (45326 ...more >>

Peer-to-peer - step 1
Posted by Jon Shemitz at 5/5/2005 9:34:57 PM
I'm trying to write a very simple peer-to-peer WinForms app, using ..NET remoting. In my form load, I register as a server: TcpChannel Channel = new TcpChannel(Port); ChannelServices.RegisterChannel(Channel); RemotingConfiguration.RegisterWellKnownServiceType( typeof(Message), ...more >>

Problem Using-Dataset Serialization Using DatasetSurrogate from KB 829740
Posted by HankD at 5/4/2005 12:14:46 PM
I have a simple remoting setup that returns a dataset. I decided to try to improve my performance by using the DatasetSurrogate class from http://support.microsoft.com/default.aspx?scid=kb;en-us;829740 The results was the time to retrieve 11,000 rows nearly tripled. I am assuming I have done so...more >>

Windows service and remoting
Posted by Ray5531 at 5/3/2005 3:00:22 PM
We have a solution consists of an O/R mapper project,Business Logice layer and a Web application.I need to add a windows service to this solution and add the business logic layer as a reference to my windows service.We are in development phase and it's very probable that the business layer is ...more >>

GUIs and remoting
Posted by mccownf NO[at]SPAM yahoo.com at 5/2/2005 9:45:08 AM
I have seen posts by many beginners asking how to use remoting with GUIs. In my own experience, I have instantiated the remote object within the server's form object, made it available to clients using RemotingServices.Marshal(), and attached event listeners to the object so my GUI could displa...more >>

Problems with remoting to a web farm
Posted by Michael Per at 5/2/2005 8:49:52 AM
The application works fine in single server environment. The application makes remoting calls through the binary formatted http channel to a remote object hosted in IIS (IIS6 on Win2003). The remoting url is protected in web.config for Windows authentication. The new web farm includes 3 nodes ...more >>

namespace err
Posted by Jeebu at 5/1/2005 12:00:00 AM
hi, is there any configuration to set for remoting. i can acess upto using System.Runtime.Remoting.Channels; i cant access http and tcp plz help thanx in anticipation jeebu ...more >>


DevelopmentNow Blog