Walkthrough: Using ASP.NET Application Services
April 5, 2008 — vincenthome
ASP.NET provides application services on the Web that enable client applications to access user authentication, role, and profile information. This information can be accessed by client applications that are written in different languages and that run on different operating systems. The only requirement is that these clients be able to communicate through SOAP 1.1 protocol.
This walkthrough is divided into the following parts:
Part 1 shows how to configure an ASP.NET Web site (Web Application and WCF Web Service) to expose the application services.
Part 2 shows how to build a Windows console application that accesses a user’s authentication, roles, and profile information. In this walkthrough you will build a Windows console application, but the ASP.NET application services are available to client applications that run on any operating system.
Mapping and Configuring the Application Services
Before you can access the user’s credential and profile information from the client, you must create mapping files - WCF service file (.svc) that point to the application services. This makes the services available to any application that is running on any platform that can send and receive messages in SOAP format. You must also configure the Web site so the application services are exposed on the network