Click here to Skip to main content
15,893,486 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,

I want to develop a windows login form, that send the information encrypted to the web service. the web service decryption this information and insert it into the DB.

can any one explain to me how can we implement this process. or at least how i can send this data to the web service.

many thanks for your cooperation
Posted

1. Have your web pags retrieve the credentials from the user.
2. A class for Ecryption manager to encrypt the password. one can be found here: EncyptionManager.cs[^]

3. Create a web service that will do the Db access logic.

Refer:
Db access logic: Find the UserAction.cs and functions.cs from the above link.

how to create web service: Understanding the Basics of Web Service in ASP.NET[^]

Hope it will help.
 
Share this answer
 
1) create a web form
2) get the data to move database
3) Asp.net Web Service Application
4)in that service1.asmx.cs file will be ther with Web methode \
4)Add your web methode

Ex:
C#
  [WebMethod]

 public methodename(Parameters)
        {

//Here u can do the data base operations

     
        }


5) after creating this method Run this service1.asmx file
6)take your windows application in maenu bar Website->Add service Reference click on that
7)copy your web service URL and paste Address box Click GO then click ok
8) Servicename.Service1 ob1= new Servicename.Service1()
9)ob1.methodename(parameter);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900