August 2010
Intermediate to advanced
1224 pages
34h 17m
English
Now let’s explore developing an actual web service with Visual Studio 2010. For this example, you develop the CustomerProfile example as an ASP.NET web service. This web service provides methods for retrieving customer information from a data store and saving changes to that information. Along the way, you look at the finer points of developing an ASP.NET web service. The following steps outline this process:
1. Create an empty ASP.NET website (name it Contoso.Web). Add a Web Service file (.aspx). Name this file CustomerProfile.asmx.
2. Next, remove the HelloWorld sample method and in its place create methods called GetCustomer, GetActiveCustomers, CreateCustomer, UpdateCustomer, and DeleteCustomer. Each method should ...