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

IPC

Scheduled Pinned Locked Moved C#
csharpwcfsecurityhelpquestion
8 Posts 2 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.
  • H Offline
    H Offline
    Hamed Musavi
    wrote on last edited by
    #1

    Hi. I have a windows service. I want to write an (C# .net) application that users run to communicate with the service. There is no restriction on .net version but security is important. What solution do you suggest? I did a bit of research and found out named pipes and LRPC are good choices among other technologies. However it looks like in .net we'd better use WCF which, for IPC, supports named pipes. But WCF seems to have a steep learning curve. So I decided to ask you before I start to learn it. Thank you very much for you help in advanced.

    "I hope you live a life you're proud of. If you find that you're not, I hope you have the strength to start all over again."    
     - I wish I knew who is this quote from

    N 1 Reply Last reply
    0
    • H Hamed Musavi

      Hi. I have a windows service. I want to write an (C# .net) application that users run to communicate with the service. There is no restriction on .net version but security is important. What solution do you suggest? I did a bit of research and found out named pipes and LRPC are good choices among other technologies. However it looks like in .net we'd better use WCF which, for IPC, supports named pipes. But WCF seems to have a steep learning curve. So I decided to ask you before I start to learn it. Thank you very much for you help in advanced.

      "I hope you live a life you're proud of. If you find that you're not, I hope you have the strength to start all over again."    
       - I wish I knew who is this quote from

      N Offline
      N Offline
      Nicholas Butler
      wrote on last edited by
      #2

      I used WCF for exactly this purpose. There is a learning curve - mostly because of the number of configurable options exposed. I recommend "Programming WCF Services" by Juval Lowy - it's on Safari. Nick

      ---------------------------------- Be excellent to each other :)

      H 3 Replies Last reply
      0
      • N Nicholas Butler

        I used WCF for exactly this purpose. There is a learning curve - mostly because of the number of configurable options exposed. I recommend "Programming WCF Services" by Juval Lowy - it's on Safari. Nick

        ---------------------------------- Be excellent to each other :)

        H Offline
        H Offline
        Hamed Musavi
        wrote on last edited by
        #3

        Nick Butler wrote:

        I recommend "Programming WCF Services" by Juval Lowy

        Thanks. I found it here[^]. Thank you so much for your great help. I'll start reading in a few minutes. :)

        "I hope you live a life you're proud of. If you find that you're not, I hope you have the strength to start all over again."    
         - I wish I knew who is this quote from

        1 Reply Last reply
        0
        • N Nicholas Butler

          I used WCF for exactly this purpose. There is a learning curve - mostly because of the number of configurable options exposed. I recommend "Programming WCF Services" by Juval Lowy - it's on Safari. Nick

          ---------------------------------- Be excellent to each other :)

          H Offline
          H Offline
          Hamed Musavi
          wrote on last edited by
          #4

          By the way, How was the performance? Does it support only named pipes for IPC? I think there must be these information in the book but I can't wait to know them! Sorry. :-O

          "I hope you live a life you're proud of. If you find that you're not, I hope you have the strength to start all over again."    
           - I wish I knew who is this quote from

          N 1 Reply Last reply
          0
          • H Hamed Musavi

            By the way, How was the performance? Does it support only named pipes for IPC? I think there must be these information in the book but I can't wait to know them! Sorry. :-O

            "I hope you live a life you're proud of. If you find that you're not, I hope you have the strength to start all over again."    
             - I wish I knew who is this quote from

            N Offline
            N Offline
            Nicholas Butler
            wrote on last edited by
            #5

            Performance was fine. It supports everything from named pipes to https. You need the ABCs: Address, Binding, Contract. You can mostly mix and match these - I think I used a tcp binding as I needed to support remote access. Nick

            ---------------------------------- Be excellent to each other :)

            H 1 Reply Last reply
            0
            • N Nicholas Butler

              Performance was fine. It supports everything from named pipes to https. You need the ABCs: Address, Binding, Contract. You can mostly mix and match these - I think I used a tcp binding as I needed to support remote access. Nick

              ---------------------------------- Be excellent to each other :)

              H Offline
              H Offline
              Hamed Musavi
              wrote on last edited by
              #6

              Thank you so much Nick. Your help is really appreciated. And thank you again for the book recommendation. It's a nice book. I hope to be ready to code the communication part within a few weeks (or less maybe.) Thanks for all the help. :rose:

              "I hope you live a life you're proud of. If you find that you're not, I hope you have the strength to start all over again."    
               - I wish I knew who is this quote from

              1 Reply Last reply
              0
              • N Nicholas Butler

                I used WCF for exactly this purpose. There is a learning curve - mostly because of the number of configurable options exposed. I recommend "Programming WCF Services" by Juval Lowy - it's on Safari. Nick

                ---------------------------------- Be excellent to each other :)

                H Offline
                H Offline
                Hamed Musavi
                wrote on last edited by
                #7

                Hi. I just wanted to thank you again for the book recommendation. What a nice book. I enjoy reading every line. Such books can't be found easily these days. It has been kind of you. Thank you very much. :)

                "I hope you live a life you're proud of. If you find that you're not, I hope you have the strength to start all over again."    
                 - I wish I knew who is this quote from

                N 1 Reply Last reply
                0
                • H Hamed Musavi

                  Hi. I just wanted to thank you again for the book recommendation. What a nice book. I enjoy reading every line. Such books can't be found easily these days. It has been kind of you. Thank you very much. :)

                  "I hope you live a life you're proud of. If you find that you're not, I hope you have the strength to start all over again."    
                   - I wish I knew who is this quote from

                  N Offline
                  N Offline
                  Nicholas Butler
                  wrote on last edited by
                  #8

                  Thanks :) Nick

                  ---------------------------------- Be excellent to each other :)

                  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