This How To includes the following steps:
Create an ASP.NET Client Web Application
Test the Application
Modify the Web Application to Read an Encrypted Connection String from Web.Config