.netremoting

Using System.Security.SecureString in .NET Remoting App?

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, ...

MTOM/XOP implementation for .net remoting

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...

MarshallByRefObject

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...

.NET Remoting - How to do a callback to all connected clients?

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? ...

Getting Error with .NET REMOTING C#

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. ...

.net remoting - Problems with List<T>

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...

Why can I only read properties and not set properties from ASP.NET web app when using .NET remoting?

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...

What issues should I expect when porting an application from Genuine Channels to WCF

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? ...

.NET IE BHO Remoting

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...

.NET remoting increase timeout for one method

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 ...

Where is Transparent Proxy pointing to?

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,...

Distributed application (WCF/Remoting/web servervices) Vs Web application

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...

Implementing System.Runtime.Remoting.Channels.IChannel

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? ...

.NET remoting exception: Exception in the Socket#33711845::DoBind - Only one usage of each socket address (protocol/network address/port) is normally permitted

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] ...

Best way to move files of varying sizes across slow network using .NET

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...

CruiseControl.NET run as a windows service and as a standalone process behaves differently

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...

Using Unity 2.0 Interception with RemoteType LifeTimeManger?

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?

When do we need to use .NET Remoting? What is the Serialization usage in .NET Remoting? ...

What encryption method does .NET use when setting secure="true" in a remoting channel configuration?

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...

Does WCF really replace .NET 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...