Chapter 6. Using Visual Studio to Program Silverlight Applications
The best place to start when developing .NET Silverlight applications is with Microsoft Visual Studio. Starting with Silverlight 2, Microsoft provides templates for creating Silverlight applications and libraries in C# and Visual Basic. This chapter is designed to briefly introduce you to some important concepts of using Visual Studio to build a Silverlight application.
Note
This chapter is designed to quickly get you started developing Silverlight applications. We will discuss the structure of Silverlight applications in more detail in Chapter 7.
If you are familiar with Visual Studio, you know that it provides a rich set of features such as IntelliSense that can speed up your application development. The following sections take you through the process of building a .NET Silverlight application in Visual Studio.
Developing a .NET Silverlight Application in Visual Studio
This section jumps right into programming Silverlight applications by stepping through a basic example. If you look at the basic makeup of most Silverlight applications, they are all the same. XAML code is used to render the UI from Silverlight controls, managed code-behind pages are used to handle functionality, and event handlers link the two together.
The following sections take you through the process of building a basic Silverlight application in Visual Studio that creates a TextBlock
and a Button
control and implements a mouse click event handler ...
Get Silverlight™ 2 Bible 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.