Beginning Silverlight 2.0 Development using Visual Studio 2008 - Developing your first Silverlight 2 application
(Page 2 of 6 )
Once you have the necessary software installed (as discussed in the previous section), you are ready to develop a new Silverlight 2 application from scratch!
The following are the steps you need to take to get started:
Open Visual Studio 2008
Go to File || New Project
Select "Silverlight" for the “Project Type,” “Silverlight Application” for the "Template," “FirstSilverlightApp” for the "Name" and finally click on “OK” (as shown in Fig 01).

You will be provided with the “Add Silverlight Application” dialog.
Select “Web Application Project” for the "Project Type," “FirstSilverlightAppWeb” for the "Name" and finally click on “OK” (as shown in Fig 02).


If you observe the “Solution explorer,” you will find two projects. One is the Silverlight application itself and the other is simply a web application which is used to render and test the Silverlight application developed.
Within the web application project, you should be able to find the folder name “ClientBin.” This mainly contains our Silverlight application in a compiled zip format file named “.xap” (pronounced “zap” file). This gets automatically populated (at run time) based on the configuration as shown below (which is the default; see Fig 04 and Fig 05):


Next: Coding your first Silverlight 2 application >>
More BrainDump Articles
More By Jagadish Chaterjee