Developing ASP.NET 2.0 Applications with the Microsoft Data Access Application Block - Developing an ASP.NET application using the Data Access Application Block: adding references
(Page 3 of 5 )
In this section, I shall develop a small ASP.NET application which works with the Data Access Application Block existing in the Enterprise Library for .NET Framework 2.0. Let us proceed through the following steps.
- Open Microsoft Visual Studio 2005.
- Go to File -> New -> Web Site.
- Select “ASP.NET Web site” as the template and provide your own location. In this scenario, I selected "FileSystem" for the "Location" and named the solution "SampleWebSite."
- Within the solution explorer, right click on the project (SampleWebSite) and select "Add Reference" (Fig 01).

- Within the "Add Reference" dialog, select the "Browse" tab. Go to the "bin" folder of the Microsoft Enterprise Library January 2006 which you installed. (Fig 02)

- Select "Microsoft.Practices.EnterpriseLibrary.Common.dll" and "Microsoft.Practices.EnterpriseLibrary.Data.dll" and click "OK." This should add three "dll" files and three "xml" files to your "bin" folder. (Fig 03)
Next: Configuring a connection string >>
More ASP.NET Articles
More By Jagadish Chaterjee