Silverlight Games
Forum    Resources    Communities    Members   

Action Games | Sports Games | Puzzles | Kids Menu | Showcase | Show All
Bookmark and Share

My Profile
Active Members
Today
    Last 7 Days more...



    Resources » Articles » General »

    Silverlight: Lets Start building applications


    Posted Date: 27 Mar 2009    Resource Type: Articles    Category: General
    Author: Gaurav AroraMember Level: Gold    
    Rating: 2 out of 52 out of 5Points: 10



    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 presented article within the scope we have gone through the installation and start-up of a silverlight application. Believe me its all easy and fun.




    Responses to the resource: "Silverlight: Lets Start building applications"
    Author: Shuby Arora    02 Apr 2009Member Level: Bronze   Points : 1
    a very good and informative resource.


    Author: Raghav    04 Apr 2009Member Level: Bronze   Points : 2
    Gaurav,

    It is an informative article on Silverlight. it will be useful to the new people in silverlight. Can you help me out to install Visual Studio 2008 with visual web developer feature. is it available free in internet?

    Raghav




    Author: Miss Meetu Choudhary    04 Apr 2009Member Level: Silver   Points : 2
    Very Well Explained...

    Thanks a lot for sharing your knowledge..

    WE came to learn a Lot by Your Articles...

    Loking forward for your next article soon..


    ++
    Thanks and Regards
    Meetu Choudhary


    Author: Hefin Dsouza    07 Apr 2009Member Level: Bronze   Points : 1
    Thanks A Lot This was Really helpfull.

    Regards Hefin Dsouza


    Author: Gaurav Arora    23 Apr 2009Member Level: Gold   Points : 1
    Hi all!

    Thanks for your appreciable words.

    I am planning to submit more tutorials in next couple of days. Hope, you will revert back for the same.

    Regards,
    Gaurav Arora
    Webmaster - http://silverlightcub.com


    Author: Miss Meetu Choudhary    25 Apr 2009Member Level: Silver   Points : 1
    I have done with all the stepsp on installation but and all the controls are comming in the toolbar too...

    but when i try to drag and drop no control pastes on the page...

    please help me in this regards...



    Author: Gaurav Arora    25 Apr 2009Member Level: Gold   Points : 0
    Hi Meetu,

    You can drag and drop the controls on UI - XAML code.


    Author: Gaurav Arora    25 Apr 2009Member Level: Gold   Points : 0
    Hi Meetu,

    You can drag and drop the controls on UI - XAML code.


    Author: Gaurav Arora    25 Apr 2009Member Level: Gold   Points : 0
    Hi Meetu,

    You can drag and drop the controls on UI - XAML code.


    Author: Miss Meetu Choudhary    26 Apr 2009Member Level: Silver   Points : 1
    Thanks Gaurav,
    I tried it I was doing wrong way..
    I am new to this na that's why..
    Thanks for the support



    Feedbacks      
    Popular Tags   What are tags ?   Search Tags  
    Sign In to add tags.
    Silverlight application  .  VS2008  .  IDE  .  SDK  .  SIlverlight  .  

    Post Feedback


    This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
    You must Sign In to post a response.
    Next Resource: Silverlight : A deeper look
    Previous Resource: Build MySpace apps with Silverlight
    Return to Discussion Resource Index
    Post New Resource
    Category: General


    Post resources and earn money!
     




    About Us    Contact Us    Privacy Policy    Terms Of Use