Visual studio 2010 part 30

Silverlight là một công nghệ Web cho phép bạn thêm một kinh nghiệm người dùng phong phú cho các ứng dụng Web. Nó sử dụng XAML, giống như các ứng dụng WPF, nhưng chạy trong một trang Web được hỗ trợ bởi . Các phần khác của cuốn sách này bạn chuẩn bị để làm việc với Silverlight. | Chapter 10 Designing Silverlight Applications 285 286 Microsoft Visual Studio 2010 A Beginner s Guide Key Skills Concepts Start a New Silverlight Project Work with the Silverlight Designer Add Controls to an Application Play Silverlight Videos Deploy Silverlight Applications Silverlight is a Web technology that allows you to add a rich user experience to Web applications. It uses XAML just like WPF applications but runs in a Web page supported by . Other parts of this book prepare you for working with Silverlight. Since Silverlight uses XAML you can review Appendixes A and B to get up-to-speed on XAML essentials. Silverlight also has many features in common with WPF. Therefore it would be useful to review Chapter 8 before reading this chapter. What you ll learn in this chapter is how VS helps you create a Silverlight project how to add controls to the Silverlight designer and how to deploy Silverlight applications. Starting a Silverlight Project As when starting other projects you can select File New Project or press ctrl-shift-n you then select a Silverlight application in the New Project window. After you set up the project with a name and folder VS will display another window for configuring the Silverlight application shown in Figure 10-1. Silverlight gives you the option to create a Web site at the same time as you create the Silverlight application. You can opt not to create the Web site but ultimately you ll need to host your Silverlight application on a Web page. There is an alternate Web technology based on Web forms but this book concentrates on the MVC Web development model discussed in Chapter 9 which is why you see the New Web project type set to MVC Web Project. Click OK to create the Silverlight application shown in Figure 10-2. You ll also see a screen asking if you want to create a unit test project which is the same window discussed in Chapter 9. Click OK to continue. Chapter 10 Designing Silverlight Applications 287

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.