Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all, i have created a webservice named WebService1 and i published it. To consume the webservice i have created a form ConsumeService1.aspx
I want to put authentication to this webservice. Also i have created a user(project-->ASP.NET configuration-->Security tab-->Users-->Login id,Password & Emailid).
Q1. What is the next step after this?
Q2. What code need to write in <authentication> & <authorization> tags in web.config file?
Q3. Is it required to create a Form(Login.aspx) to give Userid & Password?

Thanks
Rajesh
Posted

You can check the below link in this application they have created the Webservice and through login.aspx they are authenticating the webservice call.

Sending Files in Chunks with MTOM Web Services and .NET 2.0[^]
 
Share this answer
 
 
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