ASP.NET RESTful web service

This project was awarded to softdir for £200 GBP.

Get free quotes for a project like this
Project Budget
£20 - £250 GBP
Total Bids
Project Description

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"


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

Awarded to:

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online