.netremoting

.Net Remoting - Reboot Server and get reboot status

I have a client server set up between different computers on a network using .Net Remoting in C#. The server runs in a service that starts up when the computer turns on. I want the client to be able to restart the computer that is running the server service and receive a status if the restart succeeded or failed. What is the best appro...

Singleton and Client Activated Object(CAO), Remoitng

Both perform the same operation that is MSDN Singleton: ""Single Call objects service one and only one request coming in.... " CAO: "Client-activated objects (CAO) are server-side objects that are activated upon request from the client...." in both cases, data is not shared, but in singleton only once client can be connected at a ti...

Scalability issue with singleton object (remoting)

Scalability issue with singleton object Hi All, We have a singleton object hosted in windows service. It works fine untill the number of simultaneous client requests exceeds some magical number around 100. After this all new calls seems to be queued and processed one by one only when one of current connections is released. We would ve...

.NET Remoting List All Server Activated Objects

Hi, I have a feeling that our .NET remoting services are getting overrun by objects instances that are hanging around on our server. I cannot change code the to add additional logging right now, as this is a deployed production instance. We do, however have a code console built into the application that will let us execute any code in...

How do I specify what channel Activator.GetObject uses?

I'm using .Net Remoting. I have 2 servers - one listens for a soap object, the other listens for a binary object: server1 (soap): HttpChannel = new HttpChannel(1234); ChannelServices.RegisterChannel(chnl); RemotingConfiguration.RegisterWellKnownServiceType( typeof(Server1Object), "server1.soap", ...

Event not firing through AppDomain

I am having a lot of trouble with AppDomains. I currently have an AppDomain containing camera controls, and am trying to have events raised from this secondary AppDomain (like a picture being taken) come back to the main program. Everything seems to be set up correctly (events are registered, functions will run across domain boundry) but...

What causes "Tcp channel protocol violation expecting preamble" in .NET Remoting?

I have a distributed application that uses .NET Remoting on an in-house gigabit network. There is a single server, and over a dozen clients that connect to the server. The clients run multiple threads, and there can be up to 10 concurrent requests from each client. This application works very well most of the time. The server stays u...

Windows Service/Process - exchange data/instructions

I need a way to exchange data between a process and a windows service. The process (Windows Form Application, Console Application, in the future also a Web Solution) needs to instruct and interact with the windows service. I want to know which way is the best to accompplish this. I'll write the solution in C#, .NET Framework version do...

Accessing Remoting Methods

I am currently working on a project which uses remoting for exposing the business logics. It is consumed by a Windows UI application. In Webservices, it is possible to look into the webmethods which are exposed by typing the webservice url in the IE (For example: http://localhost/webservices/webservicesample.asmx). But this is not possib...

1 Dll, in our libraries... If called from webservice behaves as expected, if called from winform, uses remoting... HUH?

That's Pretty much it. I took a set of Active Directory classes we'd had in our webservices for years, and seperated & migrated it into our Libraries so I could also use them in a winform app I'm whipping up. Migration worked fine. Running it via the original webservice, works normally, I can debug into the Classes just fine. Same exa...