Go to DotNetFunda.com
 Online : 1461 |  Welcome, Guest!   Login
 
Home > Articles > Silverlight > Lets Start devlopment using Silverlight2

Submit Article | Articles Home | Search Articles |

Lets Start devlopment using Silverlight2

red flag  Posted on: 9/9/2009 8:04:09 AM by G_arora | Views: 581 | Category: Silverlight | Level: Beginner


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



Introduction
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.



If you like this article, subscribe to our RSS Feed. You can also subscribe via email to our Interview Questions, Codes and Forums section.

Found interesting? Add this to:

| More



Please Sign In to vote for this post.

 
Latest post(s) from G_arora

Latest Articles

About Gaurav Arora

Experience:7 year(s)
Home page:http://www.mynangal.com
Member since:Monday, September 07, 2009
Level:Starter
Status: [Member]
Biography:MCA, M.Phill(Comp.Sc.),MCP, MCTS, Sr. Software Engineer.

Submit Article

About Us | The Team | Advertise | Contact Us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 9/3/2010 4:32:10 AM