Silverlight - A detailed look - Part-I

From my last article on Silverlight we have seen that the Silverlight is meant for both Developer and Designers at bit differently from each-other.

A Developer needs following:
• Set up an IDE
• An Editor to create an XAML and managed code
• Moreover, SDK

A designer needs to install some designer tools and a development environment which work with XAML.

How to Set Development Environment


To go with the following I advice you to go first with following link : http://www.silverlight.net/GetStarted

Following are the steps direct how to Set up the Environment?
1. Install Visual Studio 2008 with Visual Web Developer Feature
2. Install SilverLight Plug-in: download Silverlight Plug-in from http://www.microsoft.com/silverlight and Install Silverlight2, make sure you have uninstalled all previous versions of silverlight

How to Install Silverlight SDK



Goto : http://www.silverlight.net/GetStarted

Installation of Silverlight SDK depends upon your environment like if you have Visual Studio 2008 installed or not on your computer.

If you have VS2008 Installed
Install Silverlight for Visual Studio for above link which installed following(s):

• Silverlight 2 plug-in
• Silverlight SDK
• Visual Basic and C# Templates
• Code generators for XAML
• Debugging for Silverligt application
• Integration with expression Blend.

If you have not ‘VS2008' Installed
To download an install go with the following(s):
• Click on install
• Review the requirements
• Download and save the file in your local system.
• Now double click the downloaded file

Steps to start your First Silverlight application



Following are the initial steps to give the overview to just start first application:

• Select File -> New -> Project from Main Menu of Visual Studio
• Select C# / Visual Basic from the project types
• From Template list select Silverlight Template.
• Enter project name and location then create a new project.
• To host Silverlight within the project, select generate HTML test page.
• Finally click ok
• The page.xaml appears
• From toolbox drag and drop any control on the page
• Modify the control and then save the page.xaml file
• To get into code-behind double click on the control
• Write some test message : Like “Hello I am Started!".
• Now build and test the changes.

Conclusion


In the present article within the scope, we have gone through the installation and start-up of a silverlight application. Believe me its all easy and fun.


Article by Gaurav Aroraa
Gaurav is a Microsoft Technology Specialist professional. He has awarded lifetime membership from Computer Society of India (CSI). He has more than 13yrs of experience in the industry. Currently, he is working in the capacity of Solution Architect with an MNC. He is serving to the various communities since 1999.

Follow Gaurav Aroraa or read 149 articles authored by Gaurav Aroraa

Comments

Author: PHANI HARSHITHA MADALA11 May 2009 Member Level: Gold   Points : 0

Hi,

Can we use silverlight for VS2005.
If so what steps are required.

regards,
greeny_1984

Author: Shuby Arora13 May 2009 Member Level: Gold   Points : 1

Hello Greeny,

You need VS2008 or WEbDev to run Silverlight
For more info : http://www.silverlight.net/GetStarted

Author: Gaurav Aroraa24 Apr 2011 Member Level: Gold   Points : 0

Sorry for late reply. I was too late to reply here. Thanks Shuby to reply Greeny.



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: