Welcome Guest
Tanvtech logo
Tanvtech logo


Silverlight is a powerful development platform for creating rich media applications and business applications for the Web, desktop, and mobile devices.
Silverlight is a free plug-in powered by the .NET framework that is compatible across multiple browsers, devices and operating systems to bring a new level of interactivity wherever the Web works. With support for advanced data integration, multithreading, HD video using IIS Smooth Streaming, and built in content protection, Silverlight enables online and offline applications for a broad range of business and consumer scenarios. .

My First Silverlight Application using Silverlight 4 and ASP.net 3.5

Here are the steps i will follow to create my first Hello Application

Step 1:I will Create a new Project and call it MyFirstSilverlightApplication as show below

Step2:By default it ask clik OK

Step3: By Default it create two project one you create and second web project as show below

Step 4:Define your Grid i specify like 3 columns and 4 rows as shown below

Step 5:I added a TextBox, lable and a Button label in first column TextBox in second and button in the 3rd column as show below.

Step 6:Just add the following code to the button click event
 private void findButton_Click(object sender, RoutedEventArgs e)
    MessageBox.Show("Hello " + firstNameTextBox.Text);
Step 7:Build and run you application

© Tanvtech. All Rights Reserved.