In Progress

ASP.NET RESTful web service

This project is to create a sample authentication process to show how JSON data can be sent from an HTML page to .net webservice in form of a PUT request, and then how the webservice can process the data, send a response back to the HTML page, which will then use the results to show whether the user is logged in. (DETAIL BELOW).

HTML page

To contain a username and password textbox, and a submit button.

Write javascript/JQUERY method to check user credentials by calling the web service and passing the username and password values as a header request in JSON format.

.NET web service

Will process the JSON header request from the HTML page, check the username and password (hard code these values in codebehind: username = apple password= orange) and send a response back to the javascript/JQUERY function.

The response from the webservice should be one of the following three

"authenticated" (if the request succeeded and credentials are correct);

"failtoauthenticate" (if the request succeeded but credentials are not correct);

"requesterror" (a catch-all error if the request itself failed)

The HTML page is to process the webservice response as follows

"authenticated" - Show alert "You are logged in!"

"failtoauthenticate" Show alert: "Log in attempt failed"

"requesterror" Show alert: "there was a problem with the request to the server"

NOTES

This code sample must work as .net project that can be run locally

The purpose is to help me understand how to send and process JSON data to a .net back end.

It will be used inside a mobile app based on HTML5, calling a web service that will be integrated in an existing .net site

Please provide annotations on how the code works and on any steps needed to get it to run locally or on a server

Skills: ASP, Javascript, jQuery / Prototype, Visual Basic

See more: service 5, function calling itself, 5 service, asp.net jquery, asp.net html5, how to get html5, web app html5, sample json data, restful, annotations, jquery html5 app, detail html5, json jquery page, javascript function response, jquery web form, net webservice restful, json request response, service needed app, net restful web service json, jquery html format, net restful, show json results web page, alert mobile app, asp net project html5 javascript, create mobile web page

About the Employer:
( 1 review ) London, United Kingdom

Project ID: #4337947

Awarded to:

softdir

Hi There, Please see PM.

£200 GBP in 2 days
(1 Review)
1.0

7 freelancers are bidding on average £187 for this job

zainy01

Hi! I'm interested in it

£200 GBP in 2 days
(58 Reviews)
6.5
babysoftS

Dear Sir, Expert in RESTfull web services. thank you

£210 GBP in 10 days
(18 Reviews)
6.3
sandeep25101982

Hi .Net expert here. Please check private message Thanks

£250 GBP in 15 days
(32 Reviews)
6.0
jerryho1983

Hello Hiring Manager, please visit your PMB for more details about my work ,skills and expertise. I have read your given core description of project at our best and will surely give better results.

£200 GBP in 3 days
(14 Reviews)
5.3
orangelab

Hi there, Greetings! We have reviewed your requirement and we would like to work on it. We would be able to deliver the site beyond your [url removed, login to view] assure quality and time period on the same. Cheers, Jasmine, More

£300 GBP in 15 days
(7 Reviews)
4.2
grtcoder

Dear Sir Already done the similar task. Thanks

£200 GBP in 2 days
(2 Reviews)
3.3
ArpitMody

Hi sir understand your requirement and allready done something like this. Waiting to start work with you.

£50 GBP in 4 days
(0 Reviews)
0.0