23.3. Creating a Component

To create a component, you create a new class library project in Visual Studio. Just select File New Project, and choose the Class Library project template in the New Project dialog box (see Figure 23-2). You'll need to choose a file location and a project name.

Figure 23.2. Creating a component in Visual Studio

Rather than just choosing File New Project to create the class library, you can add it to the same solution ...

Get Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.