• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on ".NET interprocess communication"

Collapse

  • ASB
    replied
    At the mo it's mainly hypothetical. It's a possible migration of a system. This has a number of different front ends. I'm just looking at options at the moment. One process would be preferable

    Leave a comment:


  • mcquiggd
    replied
    Remoting isnt really as complex as it appears... simplist way is to specify the setup of channels, formatters, types etc in the config file, dont hardcode them for obvious reasons

    Is the object you are calling into already instantiated, e.g. created by a windows service, or is it simply loading a DLL and calling a method? If the latter id look at using ApplicationDomain and loading the DLL into the same process, if possible in your circumstances.

    Leave a comment:


  • ASB
    replied
    Cheers guys. Look like I'll have a read up on remoting. The serialization cost is probably not an issue for me.

    Leave a comment:


  • scotspine
    replied
    google eh? and you thought remoting was a faff?

    "proper "Windows" unabstracted way of sending data." - ?????????????

    mqgd's prompt of asynch vs synch is important. named pipes as above looks to be quite tightly coupled with thread blocking ocurring if the client fails to read completely. you might want something that is a bit looser?

    Leave a comment:


  • mcquiggd
    replied
    First thought is an Application Domain that loads the DLL (if indeed that is what you are calling) into the same Process... or using the Process class....

    Synchronous or asynchronous communication required...?
    Last edited by mcquiggd; 1 April 2006, 20:26.

    Leave a comment:


  • ASB
    started a topic .NET interprocess communication

    .NET interprocess communication

    Ok, I have a .NET process which needs to call an object in a different .NET process. Remoting just seems such a faff, any easier way ?

    In COM for example just create a reference and call it. It will kindly start the process if it isn't running etc.

    It seems there is a bit more to it than that with .NET.
Working...
X