Updating your web config to enable asp net ajax
The Employee Service will contain five web methods.
The three variables are wrapped inside three public properties namely Employee ID, First Name and Last Name.
AJAX harnesses the power of client side Java Script and XML HTTP object to provide these features.
Though AJAX is essentially a client side technique most of the real world cases call for server side processing.
To do so, right click on the App_Code folder of your web site and choose "Add New Item...".
Using the "Add New Item" dialog add a new class called Employee.