Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. New to Remoting (C#)

New to Remoting (C#)

Scheduled Pinned Locked Moved C#
csharphelptutorial
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mevivekdua
    wrote on last edited by
    #1

    Please help me to find a good and simple Remoting tutorial. I have 6 mnth exp in c# (So now you know my level of understanding). Thanks in advance. v

    P P 2 Replies Last reply
    0
    • M mevivekdua

      Please help me to find a good and simple Remoting tutorial. I have 6 mnth exp in c# (So now you know my level of understanding). Thanks in advance. v

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Try this[^]. You can find it easily enough by using Google[^]

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      J 1 Reply Last reply
      0
      • P Pete OHanlon

        Try this[^]. You can find it easily enough by using Google[^]

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        J Offline
        J Offline
        Jared Bienz MSFT
        wrote on last edited by
        #3

        Petes article above is a great place to start. You might also want to dive into the .Net Remoting Overview[^] section on MSDN. Specifically there's a good article titled Building a Basic .NET Framework Remoting Application[^] I'd also like to make sure you're aware of Windows Communication Foundation (WCF). You may have a business reason for using Remoting so I wanted to provide those resources, but if this is a hobby project or you’re starting new product development you really should consider using WCF instead. .Net Remoting will be around for a long time yet, but Microsoft is no longer developing that technology and WCF is the recommended platform for all new communications development. WCF will still let you do the same things that Remoting will (cross-process communication, fast binary encoding, singletons, serialization, etc.) but it will also let you do so much more. A WCF service can be hosted in-process like a Remoting service can, but it can also be hosted, activated and load balanced on an IIS server. WCF allows the same service instance to be contacted over a binary TCP channel, a SOAP web service channel, a named pipe or even a message queue -- all without changing a single line of code. How a service behaves, how security is applied and how a service communicates can all be described in code or alternatively in an XML configuration file without needing to recompile the application. You can even use WCF to write P2P applications! If you'd like to check out WCF I recommend you start with http://wcf.netfx3.com[^] or the Windows Communication Foundation[^] area on MSDN. I hope you find what you're looking for, and happy coding! Jared

        My posts may include factual data, educated guesses, personal opinion and dry humor. They should not be treated as an official Microsoft statement.

        P 1 Reply Last reply
        0
        • M mevivekdua

          Please help me to find a good and simple Remoting tutorial. I have 6 mnth exp in c# (So now you know my level of understanding). Thanks in advance. v

          P Offline
          P Offline
          Paul Conrad
          wrote on last edited by
          #4

          Do a search here at CP and there are plenty of good articles.

          "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

          1 Reply Last reply
          0
          • J Jared Bienz MSFT

            Petes article above is a great place to start. You might also want to dive into the .Net Remoting Overview[^] section on MSDN. Specifically there's a good article titled Building a Basic .NET Framework Remoting Application[^] I'd also like to make sure you're aware of Windows Communication Foundation (WCF). You may have a business reason for using Remoting so I wanted to provide those resources, but if this is a hobby project or you’re starting new product development you really should consider using WCF instead. .Net Remoting will be around for a long time yet, but Microsoft is no longer developing that technology and WCF is the recommended platform for all new communications development. WCF will still let you do the same things that Remoting will (cross-process communication, fast binary encoding, singletons, serialization, etc.) but it will also let you do so much more. A WCF service can be hosted in-process like a Remoting service can, but it can also be hosted, activated and load balanced on an IIS server. WCF allows the same service instance to be contacted over a binary TCP channel, a SOAP web service channel, a named pipe or even a message queue -- all without changing a single line of code. How a service behaves, how security is applied and how a service communicates can all be described in code or alternatively in an XML configuration file without needing to recompile the application. You can even use WCF to write P2P applications! If you'd like to check out WCF I recommend you start with http://wcf.netfx3.com[^] or the Windows Communication Foundation[^] area on MSDN. I hope you find what you're looking for, and happy coding! Jared

            My posts may include factual data, educated guesses, personal opinion and dry humor. They should not be treated as an official Microsoft statement.

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            Jared I'm glad you brought this up, and am kicking myself for not mentioning it myself. Something that you didn't mention, but I think is a big plus, is that WCF also outperforms remoting (in all the cases I've encountered so far). Added to that, the fact that you can change transport mechanisms (within certain limits) without too much trouble, and this is indeed a very powerful way to go forward. There are certain things I would have liked to see present in WCF, but on the whole I really like it (enough that all of my clients are now getting WCF solutions instead of the alternatives).

            Deja View - the feeling that you've seen this post before.

            My blog | My articles

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups