Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Rated
Read 37,269 times

Contents

Related Categories

Using Interfaces In .NET Remoting - Conclusion

David Talbot

Conclusion

Running the completed example

Run the server application we created in step 2 by double clicking the .exe file we created. Then run the client application by double clicking the .exe file created in step 3. If all goes well, you should see the formatted resume output.

Conclusion

Interfaces are the preferred way to access .NET remote objects. They enable the developer to create clean code with a complete seperation between client side use of remote objects and the server side implementation. In most cases it is a good idea to use a DLL for your interfaces, another DLL for your implementation in order to maximize reuse potential.

David Talbot is an experienced Software Architect with a diverse background including creating network applicances, working with television set top boxes, building Billing/CRM systems, Web Portals and more. He has also provided technical guidance in different capacities on two C# books. David is currently finishing up work on a real estate analytics application in C# for Pathfinder Technologies and seeking additional contract or permenet work.

Comments

  • Posted by PaulLeo on 24 May 2004

    Hi,

    I too have the same problem. Did you find any solution for that?

    Regards
    Paul

  • re:

    Posted by asafsn on 28 May 2003

    Thanks again but I'm sorry to say I'm still not even in the stage you described in your reply of using a method of the remote object. I'm getting this exception in the following line:

    -------------...

  • Posted by James Crowley on 28 May 2003

    You may well find that is due to the use of the "Optional" keyword in VB.NET with a default value, rather than overloading the methods. Default values are not supported in C#. (... there are a few cav...

  • Re: C# and VB remoting

    Posted by asafsn on 28 May 2003

    thanks for the reply.

    Its time for me to be more specific.

    I wrote a server client application in C# using remoting
    and it worked. Then I replaced the client with another
    clients written in...

  • Posted by James Crowley on 28 May 2003

    I can certainly say that it is possible - the great thing with .NET is its ability to not care what .NET language you write any components in.... but I haven't got any examples, I'm afraid.