Rockford Lhotka
    CTO at Magenic
    Author, speaker, software architect
    Creator of the CSLA .NET framework

Home
Blog
CSLA .NET
Magenic
Speaking
Publications
About me
Contact me

Login

CSLA .NET for Silverlight downloads

 

Please note: CSLA 4 (including Silverlight 4 support) is found on this download page.

Bolded items are recommended for download

CSLA
Version
Silverlight
Version
3.8.4 3.0 Framework  Tests  Samples  Change log
3.8.3 3.0 Framework  Tests  Samples  Change log
3.8.2 3.0 Framework  Tests  Samples  Change log
3.8.1 3.0 Framework  Tests  Samples  Change log
3.8.0 3.0 Framework  Tests  Samples  Change log
3.7.1 3.0 Framework  Tests  Samples  Change log
3.7.0 3.0 Framework  Tests  Samples  Change log
3.6.3 2.0 Framework  Tests  Samples  Change log
3.6.2 2.0 Framework  Tests  Samples  Change log
3.6.1 2.0 Framework  Tests  Samples  Change log
3.6.0 2.0 Framework  Tests  Samples  Change log

Before going far, I recommend reading some key Silverlight blog posts. and the Silverlight FAQ (technical and non-technical).

There are several usage scenarios to consider with CSLA .NET for Silverlight:

  • Build client app using CSLA .NET for Silverlight and communicate with arbitrary server-side services
  • Build client/server app using CSLA .NET for Silverlight on the client and CSLA .NET for Windows on the server
    • Download the framework
    • Open the solution and build
    • Reference Csla.dll (from the cslalight\ClientBin folder) in your Silverlight application
    • Reference Csla.dll (from the cslacs\bin folder) in your .NET application
    • Use the data portal to communicate between client and server
  • Build the CSLA .NET for Silverlight test application(s)
    • Download the framework
    • Download the tests
    • Unzip both archives at a peer level
    • Open the solution in the UnitTest folder and build
  • Build the CSLA .NET for Silverlight sample applications
    • Download the framework
    • Open the solution and build
    • Download the samples
    • For each individual sample solution
      • Fix references to Csla.dll in all projects to point to your Csla.dll files (Silverlight and .NET)
      • Build solution

Some notes:

Building CSLA .NET for Silverlight requires the CSLA .NET code base. This is because numerous code files from CSLA .NET are linked into the CSLA .NET for Silverlight project. The CSLA .NET for Silverlight download includes CSLA .NET so you can build CSLA .NET for Silverlight. Put the cslacs and cslalightcs folders at a peer level:

\cslacs
\cslalightcs

For client-only development you can use just CSLA .NET for Silverlight 3.6 to build your application. In this case, you'll need to run the data portal in local mode, and your client-side DataPortal_XYZ methods or object factory methods will need to make calls to your services from the client.

For client/server scenarios using the data portal to communicate from Silverlight client to .NET server, you will also need to use CSLA .NET 3.6 to configure a web/application server. In this case, you'll configure the Silverlight data portal to communicate with this .NET web server, and your business objects will move between client and server automatically.

All code requires Visual Studio 2008, .NET 3.5 SP1, Silverlight 2.0 and the Silverlight 2.0 pre-release tools for Visual Studio 2008.

The cslatest and cslalighttest projects need either nunit or MSTest. Also, the cslalighttest project requires files from cslatest, and so the download includes the CSLA .NET test project along with the CSLA .NET for Silverlight test project. The test projects also need UnitDriven (required assemblies are in the download). All folders should be placed at a peer level:

\cslacs
\cslalightcs
\cslalighttest
\cslatest
\Dependencies

 

 

(Updated 10/3/2011 12:22:01 PM)