Connecting with webserver?
-
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.
-
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.
- Build a service that offers an authentication API, typically by verifying a user's credentials stored in a database.
- Build a client API that communicates with this service.
- 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
-
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.
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[^]
-
- Build a service that offers an authentication API, typically by verifying a user's credentials stored in a database.
- Build a client API that communicates with this service.
- 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
-
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[^]