My name is Jonathan Cartwright and I am the designer / developer of MOSSDAL. This is an active project and as such feedback and discussion is welcome. I will make every attempt to address issues and feature requests, so leave comments. If there is a problem with MOSSDAL, comment on it. If there is a feature that you would like to see added, tell me about it.

I have noticed downloads of the .NET framework but not the samples. This leads me to believe that the downloads were misleading. To get started, I would download the NET Sample or the Silverlight Sample. They both use a list called "sites gallery". There is a list template in each of the sample zips to create that library. There is also a readme file that gives the basic steps to get started with the samples.

What is MOSSDAL?
MOSSDAL is a lightweight framework for Silverlight and .NET that helps a developer access data in SharePoint Lists. It accesses data using the SharePoint Lists web service and loads that data into business objects created by the developer. It also simplifies the creation of service queries and the loading of results into business objects.

What is in this framework?
The framework consists of a two custom attributes, a base class that can load list service xml into custom business objects, a static class for helping create CAML queries and a service helper class for fetching data.

How does MOSSDAL work?
MOSSDAL uses special attributes to decorate business object classes and fields or properties. These attributes help MOSSDAL to map list fields to properties or fields in the business object. To retrieve data from SharePoint, MOSSDAL uses helper classes called Service Helpers. The framework uses DotNetServiceHelper for .NET and SilverlightServiceHelper in Silverlight. In .NET, the framework Service Helper fetches data synchronously. Since Silverlight does not allow synchronous service calls, the SilverlightServiceHelper uses asynchronous calls and an ObservableCollection. Once the Service Helper has retrieved data it uses the load method in the SharepointListItem base class to load data from the xml service response into the business object. This is done with reflection using the SharepointListField attribute. Data is returned to the caller as a List of objects of the business class in .NET and as an ObservableCollection of objects of the business class in Silverlight.

How do I get started using MOSSDAL?
First download theNET Sample or the Silverlight Sample. In the download, there is a list template called sitesgallery. Install the template and create a list with it. Now you should be able to run the sample.

Last edited May 4, 2010 at 11:57 AM by jcart, version 8