Silverlight opens the door for exciting new ways to provide more productive, engaging, and innovative experiences across multiple platforms. Excitingly, developers are able to leverage existing development skills to create these experiences.
Note: The material that follows is intended for the Silverlight Beta 1 Release.
Silverlight also provides an excellent opportunity to cement a product or organization's identity within users' minds. Once a product or organization has established an identity, that identity is something that will often remain constant for a sizable timetable. The process of establishing an identity is often referred to as "branding."
This situation of branding provides an excellent opportunity to walk through how to develop a reusable ASP.NET user control that assists in setting an application's experience apart from others. For an overview of ASP.NET user controls, please visit http://msdn2.microsoft.com/en-us/library/fb3w5b53.aspx.
Within any web application, it is likely that several different technologies are used. It is important to understand how these various technologies interact with each other. It is equally important to understand where each technology is being invoked (in other words, on the client or the server). This is important because that, by understanding where each technology is invoked, you receive a easier understanding of how the technologies interact with each other.
This simple example will show how easily Silverlight can be integrated with existing web applications. This straightforward integration is accomplished via a model that is consistent with the web architecture. This consistency also allows for the utilization of pre-existing development skills.
Silverlight utilizes a subset of the Windows Presentation Foundation. Similar to WPF, Silverlight is XAML-based. XAML code can be used to define the look-and-feel of visual components. The XAML code for the corporate logo displayed earlier is as follows:
<Canvas xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <!--Remove the following XAML and define your logo XAML here--> <Ellipse Height="50" Width="50" Stroke="#648CBE" StrokeThickness="5" Fill="Transparent" /> <TextBlock Text="C" Canvas.Left="12" Canvas.Top="6" FontFamily="Verdana" FontWeight="ExtraBold" FontSize="30" Foreground="#84A58D" /> <!--End of logo XAML-->
Creating designs entirely from a text editor leaves something to be desired. Thankfully, Microsoft has created an application called "Microsoft Expression Blend," that allows individuals to create designs using a designer-centric set of tools, which automatically generates XAML from designs created within Blend.
Hosting Silverlight Content