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. Windows Forms
  4. Connecting with webserver?

Connecting with webserver?

Scheduled Pinned Locked Moved Windows Forms
questionsysadminsecurityhelp
5 Posts 3 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.
  • A Offline
    A Offline
    amnewone
    wrote on last edited by
    #1

    Greetings I want to build a windows application that can connect to a webserver for user authentication. for eg when we install an IM messenger it's jus like a windows form application. But to authenticate a user it connects to a server. How can I achieve this functionality. Plz help.

    R A 2 Replies Last reply
    0
    • A amnewone

      Greetings I want to build a windows application that can connect to a webserver for user authentication. for eg when we install an IM messenger it's jus like a windows form application. But to authenticate a user it connects to a server. How can I achieve this functionality. Plz help.

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2
      1. Build a service that offers an authentication API, typically by verifying a user's credentials stored in a database.
      2. Build a client API that communicates with this service.
      3. Call the client API from your Windows application.

      I recommend using WCF to simplify this task. You can host the service in a Windows service, a standalone app (uncommon, but useful for testing) or a web app. /ravi

      My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

      A 1 Reply Last reply
      0
      • A amnewone

        Greetings I want to build a windows application that can connect to a webserver for user authentication. for eg when we install an IM messenger it's jus like a windows form application. But to authenticate a user it connects to a server. How can I achieve this functionality. Plz help.

        A Offline
        A Offline
        Aman Bhullar
        wrote on last edited by
        #3

        All you have to do is Write a webservice, consume this webservice in your windows application For details check this article Consuming Web Services from a Win Forms Application[^]

        A 1 Reply Last reply
        0
        • R Ravi Bhavnani
          1. Build a service that offers an authentication API, typically by verifying a user's credentials stored in a database.
          2. Build a client API that communicates with this service.
          3. Call the client API from your Windows application.

          I recommend using WCF to simplify this task. You can host the service in a Windows service, a standalone app (uncommon, but useful for testing) or a web app. /ravi

          My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

          A Offline
          A Offline
          amnewone
          wrote on last edited by
          #4

          Thank u Ravi....

          1 Reply Last reply
          0
          • A Aman Bhullar

            All you have to do is Write a webservice, consume this webservice in your windows application For details check this article Consuming Web Services from a Win Forms Application[^]

            A Offline
            A Offline
            amnewone
            wrote on last edited by
            #5

            thank u Aman

            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