Share via


New Silverlight Application Dialog Box

Microsoft Silverlight will reach end of support after October 2021. Learn more.

The New Silverlight Application dialog box appears when you create or add a new Silverlight application.

To access the New Silverlight Application dialog box

  1. In the Visual Studio File menu, click New, and then Project.

    The New Project dialog box appears.

  2. In the Installed Templates pane, expand Visual Basic or Visual C#, and then select Silverlight.

  3. In the list of templates, select Silverlight Application.

  4. Specify a name and a location for the application and then click OK.

    The New Silverlight Application dialog box is displayed as shown in the following illustration.

    New Silverlight Application dialog box

    For more information, see How to: Create a New Silverlight Project.

Host the Silverlight application in a new Web site

Select this check box if you want to add a separate ASP.NET-based Web site or ASP.NET-based Web application project to your solution to host the Silverlight application. If you do not select this check box, an HTML test page will be generated dynamically to host your application.

When you select this check box, the following additional options are enabled.

  • New Web project name
    Specifies the name of the project that will host your Silverlight application.

  • New Web project type
    Specifies the type of the Web site project that will host your Silverlight application. It can be an ASP.NET Web Application Project or an ASP.NET Web Site. For more information, see Web Application Projects Overview.

Options

The Options area has various options for your Silverlight application.

  • Silverlight Version
    Specifies the version of Silverlight to target, if you have multiple versions installed.

  • Enable WCF RIA Services
    Select this check box if you want your new Silverlight application to be linked to an ASP.NET Web Application project that uses WCF RIA Services.

    NoteNote:

    This check box is enabled only when you have WCF RIA Services installed.

    When you select this check box, WCF RIA Services will:

    • Generate proxy classes in the Silverlight client project that allow integration with domain services in the ASP.NET Web Application project.

    • Copy shared business logic classes from the ASP.NET Web Application project to the Silverlight client project.

      For more information, see the WCF RIA Services.