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

Submit Article | Articles Home | Search Articles |

Lets Start devlopment using Silverlight2

 Posted on: 9/9/2009 8:04:09 AM by G_arora | Views: 428 | Category: Silverlight | Level: Beginner | Print Article
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

.NET Training Videos!
Buy online comprehensive training video pack just for $35.00 only, see what's inside it.

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.

Interesting?   Share and Bookmark this kick it on DotNetKicks.com


About Gaurav Arora

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

   ◘ Discussing Constructors in C# posted on 9/15/2009 5:58:48 AM
   ◘ Explore State Management posted on 9/11/2009 10:38:15 AM
   ◘ Working with Silverlight2 controls : A detailed look posted on 9/9/2009 9:31:20 AM
   ◘ Silverlight2 : A detailed look posted on 9/9/2009 9:04:17 AM
   ◘ Lets Start devlopment using Silverlight2 posted on 9/9/2009 8:04:09 AM


Submit Article

About Us | The Team | Advertise | Contact Us | Feedback | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found copied contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
All rights reserved to DotNetFunda.Com. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks.
(Best viewed in IE 6.0+ or Firefox 2.0+ at 1024 * 768 or higher)