remoting

Remoting in flex - Is service-config really needed? And What is endpoint url?

Hi, Rather than calling it a question, i would like to call it a discussion and the topic is Flex Remoting. Forms and blogs explaining remoting in flex always mention 2 things: service-config.xml endpoint url Now what i want to know is that 1. is service-config file actually needed if we need to bind our front end (which ...

Get object information in a running process

I have a vb.net application which runs as a service. I also have another Windows application that serves as the service interface. In brief the service watches some folders for new files and imports them into various databases. In the service I have an class called 'importFile' containing basic properties such as 'FileName' and 'ImportS...

Using a port number range on the TcpChannel class.

Hi Folks, Is it possible to specify a range of port numbers on the TcpChannel class rather than a fixed port or random port number. We currently use a fixed port number for a remoting channel, but now because the application is being deployed in a citrix environment we need to use a range of port numbers to fit within their security en...

Populating an ArrayCollection property using [RemoteClass]

OK, I am passing a complex object from my .NET library to my Flex application via WebOrb. In order to automatically translate, I am using the [RemoteClass] meta data tag as follows: [RemoteClass(alias="test.PlanVO")] public class Plan { [SyncId] public var id:int; public var Name:String; } This works absolutely fine, unti...

Android app syncing with remote service

Hi, is there any possibility to sync local database on android device (sqlite) and remote database over the air? For example - to sync tasks between device and web application. ...

How .NET overrides non-virtual method in .NET Remoting?

Consider following piece of code: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RemotingNonVirtualCall { class Program { static void Main(string[] args) { var domain = AppDomain.CreateDomain("Second Domain"); A extA = (A)domain.CreateInst...

Getting running Visual Studio 2010 instances and programmatically attaching to a process?

I have a WinForms Application (.net 3.5) which displays a list of processes. I would like to be able to attach to one of those processes. I have multiple Visual Studio 2010 instances running and I would like to create a List/Dropdown where I select one of those instances and then attach the Debugger to it. Getting the VS2010 instances ...

Need advice about using on the use of technology (WCF, Web services, etc..)

I have an WPF application. The problem: need program(daemon, service) that send signals by network to my wpf application and fires some events in real time. Need recomendations how to write this service. ...

How can I use Castle's RemotingFacility to access two different endpoints from the client?

I have a web application that communicates with multiple .net remoting endpoints. I'd like to use the Castle RemotingFacility to resolve my remote dependencies, but it looks like you can only configure one endpoint uri for the facility. Is this scenario possible with the existing RemotingFacility? If so, how? Thanks. ...

.Net - Load Type dynamically from AppDomain without remoting proxy

I've loaded a specific AppDomain up and I want to load some types dynamically from it (piece of cake right?). The thing is all of the CreateInstance methods of the AppDomain class return things as a remoting object handle. Remoting proxies have limitations that I would like to avoid such as: having to have serializable concrete classes, ...

Develop remotely in XCode using iPad and VNC / RDP.

Okay, this is a simple question. Which VNC/RDP app for iPad has features (maybe such as developer-friendly keyboard layouts) that are good for using Xcode remotely? Maybe some of you Mac developers out there have an iPad, and have tried using Xcode remotely on your iPad using some VNC / RDP app. The question is, which one is BEST for WOR...

.Net Remoting not working in Windows 7

We have a server application (developed using .Net 1.1, C#) which listen the port 8086 and the client application, before starting will handshake with this server using remoting. The application is working fine in almost all environments - Windows 2000/2003/2008/XP/Vista. Now we are facing an issue with Windows 7. When we are starin...

C# IPC Recommendations and comparisons

I've been working in .net for a few years, and this is my first foray into IPC. I know of the various possibilities for doing IPC (Named Pipes, Remoting, Clipboard Managment, Win32API messaging), but I don't know whats "right for me". I plan on using the following setup: Site Object: This is the reason the ipc is needed. It will be ...

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

Having an IAsyncResult fire a "completed" event

I'm using Remoting to perform some IPC communication, and have the following question: When I invoke delegates to gather data server-side, it is possible to have an event fired on the client when an IAsyncResult is gathered? The following code is in VC++, but .net code is .net code. GetFileTextDelegate ^svd = gcnew GetFileTextDelega...

Can AsyncCallback use a non-static delegate?

I'm using .net remoting, with asynchronous function calls to handle the ipc of my current project. I'm running into an issue where I'd like the client to: ASynchronously request information Continue loading the GUI When the ASynchronous call is complete, load it into the gui I do this with the following code GetFileTextDelegat...

Run programs on other computer in asp.net

Hi experts, I am using asp.net and c#. I know it sounds weird and unusual but I have got a requirement like this: I want to know how I can run an exe or take some control of a user's computer. Please note that when I say user computer I mean only 2-3 computers on which I have admin privileges. So, the complete requirement is that I ha...

.net Remoting: Detect if a server isn't running

I'm working on an app that uses .net remoting for IPC. When my client app starts up, it uses the following code to connect to the server: chnl = gcnew HttpChannel(); ChannelServices::RegisterChannel(chnl, false); IPCObjectInstance = (BaseRemoteObject)Activator.GetObject( typeof(BaseRemoteObject), "http://localhost...

C# Remoting IPC, how to test if remote application is running?

Good morning everyone! I'm doing a distributed application using .NET 4.0, C# and Remoting (IPC at the moment but that may change, Object is WellKnownObjectMode.Singleton). Upon startup of the client I'd like to test whether the server is up and running. What would be the best practice to implement this? Call any one method? Impleme...

ASyncCallback\BeginInvoke for Remoting, debbuging peculiararity

I'm currently using BeginInvoke(with ASyncCallback) to handle my Client\Server communications with remoting. Here is my current setup: ... //Main Remoter.StationDelegate svd = new Remoter.StationDelegate(IPCObjectInstance, &Remoter.GetStationInformation); AsyncCallback callback = new AsyncCallback(this, &CentralControlClient.Sta...