14.7. Creating a New Silverlight Project

Get started creating a new Silverlight project:

  1. Open Visual Studio.

  2. Select File New Project.

  3. Select the C# node and then the Silverlight node.

  4. Select Silverlight Application.

  5. Call your project Chapter14.HelloSilverlight.

  6. Make sure the "Host the Silverlight application in a new Web site" option is selected (this will be essential later).

  7. Click OK.

Visual Studio will now create a Silverlight solution for you to use.

14.7.1. Project Structure

Visual Studio has created two projects (see Figure 14-4):

  • Chapter14.HelloSilverlight

  • Chapter14.HelloSilverlight.Web

Why two projects?

  • Chapter14.HelloSilverlight.Web acts as ...

Get Introducing .NET 4.0: with Visual Studio 2010 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.