Last post Mar 02, 2016 11:19 AM by navneetmitawa
Mar 02, 2016 01:58 AM|asplearning|LINK
Hello everyone, I am new to this, so please bear with me. I have created a web api and hosted it on a shared hosting server. But I don't want everyone to be able to call the service without proper authentication. How could I do that? I reckon there are two
1. I need to set up the authentication logic. Where do I set up the authentication logic in my MVC 4 web api application?
2. I need to pass the valid user name when there is a call from a client application, how do I pass the valid user name for authentication?
I am familiar with web application where you can create a login page and you authenticate users when the login is successful. But with Web api, there is no login page.
Mar 02, 2016 10:35 AM|asplearning|LINK
Mar 02, 2016 11:19 AM|navneetmitawa|LINK