remoting

Pros and cons of using BlazeDS or web services as the remoting and messaging technology between Flex view layer and Spring business layer?

In my company, we are going to use Flex3 for the presentation layer of a new financial web application and Spring for the business layer but a debate is still going on regarding the best messaging/remoting technology. Can you share your own experiences in terms of pros and cons of using one or the other technology? ...

Event Problem in .NET Remoting

Learning from INGO RAMMER's "Advanced .NET Remoting", I tried to use the following codes for firing events to clients: foreach (Delegate del in MessageArrived.GetInvocationList()) { try { mah = (MessageArrivedHandler) del; mah(msg); } catch (Exception e) { Console.WriteLine("Exception occured, will remove Delegate"); MessageArrived ...

Q: Flex remoting (mx.rpc)classes in an actionscript only project?

Is it possible (and if so recommended) to use Flex remoting (mx.rpc)classes in an actionscript only project? I'm creating an application with login and registration to a php back end using AMFphp. As an option I was wondering if it made sense to take advantage of the mx.rpc flex classes. ...

ASP.NET and Remoting: "Failed to connect to an IPC Port: Access is denied."

I have a c# .NET 2.0 Windows Service that listens on an IPC port for remoting requests. The service runs as the "Local Service" account. I have an ASP.NET application that attempts to make calls on the remoted objects. The ASP.NET application runs on XP as IUSR_*MachineName*. Calls on the remoted objects are failing with the error: ...

ASP.NET and Remoting

I have a .net application running on server. Now I want to comunicate between my ASp.NET website and the server application. Currently I use database, server writes info to the db and site uses it etc. However adding new fields to echange and exchanging complex object is a pain. Is remoting the way out? If yes, what are the common things...

Passing values back and forth appdomains

Hello. I have the following code: public class AppDomainArgs : MarshalByRefObject { public string myString; } static AppDomainArgs ada = new AppDomainArgs() { myString = "abc" }; static void Main(string[] args) { AppDomain domain = AppDomain.CreateDomain("Domain666"); domain.DoCallBack(MyNewAppD...

Why does MarshalByRefObject.InitializeLifetimeService return an object and not an ILease?

I am reading through the msdn docs for .NET Remoting and noticed that the MarshalByRefObject.InitializeLifetimeService method returns an object instead of an ILease. The documentation says that the method returns an object of type ILease and all code examples I have found casts the returned value to an ILease. But the methods signature s...

Communication between two separate applications

I have developed a windows service which reads data from a database, the database is populated via a ASP.net MVC application. I have a requirement to make the service re-load the data in memory by issuing a select query to the database. This re-load will be triggered by the web app. I have thought of a few ways to accomplish this e.g. R...

Pass network credentials by .net remoting.

How I can pass my NetworkCredendials by .Net Remoting? Is it possible? I've a service (TeamFoundationServer) where need a authorize using user's NetworkCredentials. In past, I had used open User/Password pair, but for security reason at now it is not good. Problem is that NetworkCredentials is not serializable, and I can't pass it as p...

Redirect Traffic from NIC to Another NIC On Separate Networks While Using Remoting

The project I'm working on is to handle data capture from scan guns (Pocket PC 2003) and process this data on a host (Win XP) then into our inventory database on a separate server (Win 2000). This is all driven by the Remoting framework provided by MS and As Good As It Gets (http://gotcf.net). The application is complete enough for a gen...

.NET Remoting SSL requirement

I need to implement a remoting server in .NET C# and have the following requirements/restrictions for various reasons: Use .NET remoting and NOT WCF NOT hosted in IIS There is no restriction on the version of .NET framework though (can be 3.5 if need be). BUT: The server needs to be serving using HTTPS. I know I can do .NET remoting...

Passing remote object from one App Domain across to another process

Hi, Basically I have 2 app domains in my first process (a service) this talks to another process (exe) that runs on the desktop using IPC remoting. In the second app domain of my service I load my plug ins and then interact with them them using an interface from the default app domain. This allows me to unload the plugins whenever I wan...

Is .NET Remoting really deprecated?

Everyone is saying how .NET Remoting is being replaced by WCF, but I'm wondering just how accurate that is. I haven't seen any official word that Remoting is being deprecated, and it seems to me there are certainly scenarios where Remoting makes more sense than WCF. None of the Remoting-related objects or methods have been deprecated, ev...

Why am I seeing slower performance here from WCF than Remoting?

Everything I'm told says that WCF should be at least as fast as remoting. I have a specific scenario here, however, where it isn't even close, and I'm wondering if someone can spot something obvious that I'm doing wrong. I'm looking into the possibility of replacing remoting with wcf for the in-process intra-appdomain communication heavy...

Flex Remoting or Flash Remoting

Hi, Can you suggest which Remoting service is good either flash or flex. Thank you ...

Prescriptive advice on minimally invasive conversion from Remoting to WCF

Is the advice given in this oft-cited MSDN article still considered sound for converting a .NET Remoting application to WCF? I notice that the article references the deprecated ServiceBehavior attribute ReturnUnknownExceptionsAsFaults, so I question whether people have found other discrepancies or other approaches better suited to intr...

AMFPHP over SSL problem

I seem to be having a problem running AMFPHP under SSL in our development environment. I created a self-signed cert under CentOS and got everything working, but whenever I go to the page in Firefox I get warned that the certificate is self-certified and therefore cannot be accepted. This then seems to affect the AMFPHP calls from flas...

Initialising server activated objects in .net remoting

I am using single-call server activated objects in .net remoting, and have a question about how to initialise the remoted objects. When my server calls RemotingConfiguration.RegisterWellKnownServiceType() it passes a reference to the Type of the object to be instantiated to service client requests. How do I initialise these 'remote obje...

What is the source of this error: "Because of security restrictions, the type <MyClass> cannot be accessed."

I'm getting the following error when calling a method on a C# service (connected through .net remoting). "Because of security restrictions, the type cannot be accessed." What is the source of this error? How can I fix it? ...

The remote server returned an error: (401) Unauthorized

I developed a remoting service (hosting .NET type in the ISS). IIS is configured to use "Integrated Windows Auth". It works perfectly when I execute unit test the service on the "localhost" (the code below is the code I use for testing), but after I have deployed a service to the test server (which in another another domain), it started...