Deborah's Developer MindScape

         Tips and Techniques for Web and .NET developers.

January 15, 2011

Building a Silverlight LOB Application

Filed under: C#,Silverlight,VB.NET @ 7:27 pm

This is the first in a series of posts that will build a Silverlight Line of Business (LOB) application. This application builds a Student Management application for my company, InStep Technologies, Inc.

One of the goals for these posts is to find the right level of sample code that is complex enough to be useful, yet simple enough to understand and short enough to paste relevant code. So this example tries to keep the code as simple as possible and yet accomplish the application’s requirements.

These posts use Silverlight 4.0 and the Silverlight Toolkit. So if you are going to work through these posts, here are the prerequisites:

1) Download and install Silverlight 4.

Visual Studio 2010 comes with Silverlight 3. You need to download and install the Silverlight 4 Tools for Visual Studio 2010 from here.

NOTE: Visual Studio 2010 SP1 comes with Silverlight 4, so you don’t need to download and install it separately.

2) Download the Silverlight Toolkit.

This download provides many additional controls and themes. You can download it from here.

That’s it. Now you are ready to dive into building a Silverlight LOB application following these posts:

Click on a link to navigate to the desired post.

NOTE: The Silverlight XAML code requires that namespaces be defined with an xmlns statement, similar to the Import statement (VB) and Using statement (C#). These xmlns lines are very long and do not wrap well went pasted into blog posts. For this reason, carriage returns were added to the xmlns statements in the posts in this series. However, THERE MUST BE NO EXCESS SPACES OR RETURNS in the xmlns quoted strings in the code. Otherwise you will get "does not exist in xxx namespace" errors.


EDIT 2/19/11: Added the note regarding the namespaces as per reader feedback. Thanks for the suggestion!

EDIT 2/25/11: Corrected a broken link.

EDIT 5/1/11: Added note regarding Visual Studio 2010 SP1.


  1.   Brian Byrdsong — February 13, 2011 @ 3:10 pm    Reply

    This series is incredible. Thanks for taking the time to show a newcomer to silverlight (like me) great fundamentals.

    Thanks again,

  2.   Magno — February 14, 2011 @ 9:18 pm    Reply

    LoB Application:

  3.   Magno — February 14, 2011 @ 9:22 pm    Reply

    Lob Application:

  4.   Eduardo (Brazil) — May 4, 2011 @ 10:17 am    Reply

    Congratulations, your articles are great.
    I’m learning a lot from them.

    I’m starting to develop a model project (LOB Application via Silverlight) and I would take any questions.

    In the MVVM, what the best validation mechanism? is via DataAnotation?

    If I am using Command and need to make alterations to the layout, what better mechanism?
    Spending Panel by parameter and change it in VM?
    Or in the traditional way, via events?
    It’s possible to use both modes?
    And if the firing of an animation? (Storyboard)

    Thank you.

  5.   DeborahK — May 4, 2011 @ 6:21 pm    Reply

    Hi Eduardo –

    I am writing a set of validation topics now. What I have so far you can find here:

    The layout issue has several options:
    1) You can pass the layout and adjust in the VM.
    2) You can define properties that change the layout, bind those properties, and change the properties in the VM. (This is the one I try to do.)
    3) Since layout changes are UI, you could modify it in the view. (This one is often not popular.)

    Hope this helps.

  6.   Josie — June 30, 2011 @ 5:23 am    Reply

    Extremely helpful atircle, please write more.

RSS feed for comments on this post. TrackBack URI

Leave a comment

© 2022 Deborah's Developer MindScape   Provided by WPMU DEV -The WordPress Experts   Hosted by Microsoft MVPs