Develop a simple Silverlight 2 application

Source: Internet
Author: User

Once the preparations are ready, you can begin the development of the Silverlight 2 application.

Start VS2008, new project, you can see "Silverlight" Under Project type, select Silverlight, and in the template on the right you can see the "Installed templates" lists "Silverlight Application" and " Silverlight Class Library "Two types of templates.

Select the Silverlight application template, and the following dialog box appears:

Since the Silverlight application is currently unable to run alone, it must be embedded inside the page, starting it with the OBJECT tag element, so when creating the "Silverlight application", VS will prompt you to choose a way to run the Sliverlight program. If you choose Add a new web to the solution for hosting, you need to create a Web site: You can either create a Web site or create a Web application type project, as shown in the following illustration:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.