I am developing a Remoting application where a client looks up store specific information to login to a web server. It sets the user name and passwords in a class that stores the properties as System.Security.SecureString. I then try to pass the class with the login credentials to a server object that uses it to connect to the web host, ...
My customer asked me to implement MTOM/XOP for .NET Remoting via HTTP/SOAP for remote stream access (for example, file uploading). WCF web services in not an option.
So, what I have to do is modify our custom SoapClientFormatterSink and SoapServerFormatterSink to do the job, i.e. SerializeMessage method, which takes IMessage and if one...
Hi There
Just a quick one for an expert in the field :)
Can I use the marshallbyrefobject class to get objects to be reference across a network, rather than just across application domains?
If not, is there another set of classes to do this? i.e. reference and use an object across a network where that object is processed and stored at...
I'm studying .NET Remoting and I see an example on Remoting callbacks and events in .NET 2.0, A simple example. All works good.
Now my problem is if I try to start another client, the server doesn't callback to all clients connected to it but only to the last one.
How can I send callback to all clients?
...
Here is the error I'm getting. I have a simple .Net Remoting setup. This error comes up after a few minutes of the connection being idle.
Object '/7966b546_734e_410d_817a_a0e701f114f6/lfxehvbcznjzkycgbimraglb_1.rem' has been disconnected or does not exist at the server.
...
I am developing a client-server application using .Net Remoting. From my server I want to return a List in response to a certain method call, however I get an exception saying that basically SoapFormatter cannot deal with generics. I need a workaround so that I am able to work with generics, or direction on how to use XmlSerializer or Da...
Hi everyone. I'm having an issue with attempting to set a property on a remote object hosted in a Windows Service. I'm trying to change a property of an object and it is not saving for some reason.
Here is the pertinent code of the service:
private static List<Alert> _alerts = new List<Alert>(); // List of the Alerts
private T...
Genuine Channels is a set of 3rd party chancels for .Net Remoting.
I have been given the tasks of replace the usages of .Net Remoting in a rick client and server with WCF. I am familiar with standard .net remoting but not Genuine Channels.
So what problems should I expect and any pointers to the solutions?
...
I have a IE Browser Helper Object, which is a Toolbar addin for IE 8.
I have another .NET .EXE application (Remoting Client) that connects to this BHO (Remoting Server) using remoting via common Interface.
When I test the communication between the .EXE application and a TEMP Console application with the same code used in the Server compo...
Hi,
Does anybody knows, if there is a way (in .NET remoting) to set the timeout for one specific method different than the defined in the config?
tia
Martin
...
I am using .Net Remoting. I have a service exposing a singleton class that a client on another machine can register with, so that the server can broadcast messsages to all registered clients.
MessageManager mgr = MessageManager.Instance; //Static Singleton Factory Proprty
RemotingServices.Marshal(mgr, MesgURI);
Now in my service,...
Hello all,
I am making a medium sized standard LOB application. Currently its a web application but I am formulating a proposal to revamp it into a Desktop remote application. By this I mean that the database and the application server will be hosted in a remote location. The client application will communicate with the server via the i...
Hi.
I want to have an in-memory channel in one single machine.
can i implement System.Runtime.Remoting.Channels.IChannel?
I want to make something like System.Runtime.Remoting.Channels.Memory.MemoryChannel.
What else should i do?
Can i make it in 10 days?
...
Hi All,
I'm attempting to setup a simple remoting windows service and getting the following error when starting the service:
"System.Net.Sockets Error: 0 : [4180] Exception in the Socket#33711845::DoBind - Only one usage of each socket address (protocol/network address/port) is normally permitted
System.Net.Sockets Verbose: 0 : [4180] ...
I'm building a .NET remoting client/server that will be transmitting thousands of files, of varying sizes (everything from a few bytes to hundreds of MB), and I'd like some feedback on the best method for achieving this. As I see it, there are a couple of options:
Serialize the entire file into my remoting object and transmit at all at...
I have a project that is being built using CruiseControl.NET. The project contains an 'MSBuild task' that runs the build for the project and also the unit tests. The unit test in turn is just a MSBuild 'exec' task that runs an executable.
The unit test involves some .NET remoting. And when the unit tests are run through the system comma...
I am using Unity 2.0 as my IOC container and I have created a LifeTimeManger for remote types very similar to what is describe in this thread.
I have also implemented a IUnityContainer decorator for my client side container that attaches a policy injection interceptor for any types that have policies. The relevant code in the decorat...
When do we need to use .NET Remoting? What is the Serialization usage in .NET Remoting?
...
We have been asked by a customer which encryption methods are used for our remoting calls -- we use the secure="true" tokenImpersonationLevel="impersonation" attributes on the channel in the configuration file.
Is this using Kerberos? NTML? CHAPS?
I can't seem to find any documentation on this.
EDIT: We use TCP channels for remoting...
I can understand that WCF is in general better than Remoting, but the two seem quite different to me. MS make this pretty picture to show how great WCF is (or perhaps how poor the other techs are to only check one box each):
But, WCF is centered around SOA and I don't think it's correct to assume every networked application wants to ex...