locked
Authenticate User from web service to asp.net web application RRS feed

  • Question

  • I Have asp.net web application for which have to create a web service , through this web service have to connect to web application

    and authenticate user and process data.

    Tuesday, December 8, 2015 6:39 AM

All replies

  • Hello There,

    Create a web service and pass credential to webservice function. write authentication logic in that function which communicate with database to check the provided userid & password is exist or not, if exist then return usedId & if not exist return null value.

    Now call this webservice function on Login button click and check if return value is not null then user authenticated & if not tell user to retry with another credentials

    Cheers

    Dinesh

    • Proposed as answer by Dinesh Gabhane Tuesday, December 8, 2015 9:14 AM
    Tuesday, December 8, 2015 9:13 AM