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.
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.
Can we use silverlight for VS2005.
If so what steps are required.