Camlex.NET for Sharepoint

Jan 24, 2010 at 9:41 AM
Edited Jan 24, 2010 at 9:46 AM


first of all I would like to thanks all contributors of spg project - it is really useful guide for our every day Sharepoint development. Also I want to announce the release of Camlex.NET project which allows to create CAML queries using lambda expressions and fluent interfaces: E.g. expression like:

string caml =
.Query() .Where(x => (string)x["Status"] == "Completed").ToString();

will be translated to the following CAML:

    <FieldRef Name="Status" />
    <Value Type="Text">Completed</Value>

I.e. Camlex.NET helps developers to avoid working with CAML and xml directly - and allows them to concentrate over business tasks. There are also another examples of using Camlex on Also Documentation page contains more detailed description of Camlex features (e.g. description of one useful feature - support of non-constant expressions).

Authors hope that Camlex.NET will become useful and that it can bring some value for spg project as well. If you will have any questions you can ask them on Or directly ask authtors of project Alexey Sadomov ( and Vladimir Timashkov (