Jump to content

Sending data from c# application to web serve

- - - - -

  • Please log in to reply
1 reply to this topic

#1
mrdon

mrdon

    Newbie

  • Members
  • Pip
  • 1 posts
Hi all,I am making an application in c# in which the client will input username,password,id,ip and that info will be sent to a webserver where a database resides and that info will be checked in the data base ,if the info exists in the database then the user will be signed in otherwise he/she will be sent a msg e.g "wrong username or password"
Plz tell me how can I do this
Thanks
Yours World | Telecom,bollywood,IT,web,mobile phones

#2
sam_coder

sam_coder

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 372 posts
There is much to consider, for example, what are you authenticating against?
And what style of web service are you planning on implementing? (SOAP? Restful?)

but by the sounds of it, you could likely most easily implement this with something like WCF or Web Methods (ASMX)

typically, with this type of scenario, you would have your normal response come back in somethin glike a SOAP-Envelope, and if you failed authentication, you'd get an HTTP exception indicating as such




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users