2
Answers

Rest Web API in .Net

Photo of Rohit Nair

Rohit Nair

9y
775
1
Hello,
I am a newbie in API's,I need to create a simple login where user can enter their login credentials which is already present in the database.I need to create a Rest API for the above..
 
Expecting Guidance and help .!!

Answers (2)

0
Photo of Gowtham K
60 28.6k 9.6m 9y
Hello Rohit,
 
You can use JWT ( Token based authentication) 
 
Refer below link to implement it,
 
http://www.asp.net/web-api/overview/security/individual-accounts-in-web-api
http://www.dotnetcurry.com/aspnet/1223/secure-aspnet-web-api-using-tokens-owin-angularjs
 
If you think about more security just go for Membership Reboot, ncache and Redis
 
 
 
0
Photo of Amit Kumar
282 6.6k 3.9m 9y
Hi Dear,
 
please open this below link and follow all instructions.
 
http://www.c-sharpcorner.com/UploadFile/0c1bb2/creating-Asp-Net-web-api-rest-service/
 
http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api
 
http://blog.scottlogic.com/2016/01/20/restful-api-with-aspnet50.html
 
Regards,
Amit