Click here to Skip to main content
15,908,264 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
Hello Guys

I am using .net 4.0 with sql server 2008.

I want to create an API for login and after creating it I want to use it in my other projects for login.The main motive is,AS we know in every project we use login page functionality so I dont want to do code for login again and agin.I want to create an API for it and want to use it in all applications.
I mean I want to obtain usability in my projects.I want to do it in ASP.NET.

Guys Please guide me.I am new to create web api.So please help me it's urgent.
Posted

1 solution

You can create a webservice for login functionality in your all project like this :

http://www.c-sharpcorner.com/UploadFile/718fc8/creating-web-service-for-login-page/

Consume this service in your all projects to login.
 
Share this answer
 
Comments
Rahul_Pandit 20-Feb-14 1:03am    
We wanna do it without web service or wcf.
zapbuild 21-Feb-14 7:18am    
You have to make login application and use that application in your other application by making connection for login application and authenticate your users.

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