Connect to Running Application

  • Thread starter Thread starter bangeye
  • Start date Start date
B

bangeye

Tribe,

I have need to use ASP.NET to connect to an already running
application (non web) that will be running on the same server as IIS.

Start MyServerApp,
MyServerApp is now running - doing work for me.

ASP.NET page request comes in,
Create on the fly object of some sort that can talk to MyServerApp,
Retrieve status from MyServerApp,
Return status to user in web page.

Any ideas?

I do not want to pass data through semaphores, or use the MSMQ to
shuffle messages.

I figure I'll probably have to use a custom socket connection to
exchange data.

Anybody have a reference to something like this?

Thanks,
Dave Cline
~bangeye~
 
So it looks like I should use Remoting to connect to the MyServerApp.

That or WCF.

Hmm, choices choices. Hey Microsoft - will ya quit already? I can't
keep up!
 
Thanks John,

I'll do some searching (codeproject maybe) to see if I can find some
socket Client/Server code to use.

I did see that Remoting and WCF were options. And so I may do that -
but it looks like MS has made Remoting from ASP.NET into a process
more complicated than necessary and we know sockets just work,
regardless.

DC
 
Back
Top