Andrew Connell [MVP SharePoint]
1579 Posts |  42 Articles |  4864 Comments
.NET  |  MCMS  |  SharePoint  |  Office System
SharePoint Quick Links
Article Categories
Archives
Post Categories


Add to Technorati Favorites

[via John Holliday]

Are you a SharePoint developer? Then you know how you've got to deal with CAML (Collaborative Application Markup Language) to issue queries against a SharePoint implementation: they are clumsy, error prone, and frustrating. If you don't know what I'm talking about (you non SharePoint developers or those just getting into the platform), think of CAML as your TSQL when working against a MS SQL Server database.

I don't really have a problem with CAML, it's just a bit tedious to write & debug. Today I usually pop open U2U's CAML Query Builder, build my query, copy the XML into Notepad++, do my string replacements, then copy it into my code file in VIsual Studio assigning it to a string variable. Yikes, that's tedious (and not to mention too many hoops).

Enter CAML.NET: SharePoint ninja John Holliday (MVP MOSS) has built this slick little assembly that lets you build your CAML string queries in a pure object oriented sense. VERY slick... VERY VERY SLICK! Check the announcement post on his blog and then rush to get the assembly from CodePlex. His post does a fantastic job of selling the idea.

» John Holliday: Write Your CAML Queries in C# using CAML.NET

Technorati tags: , , ,

[Update 4/24/2007] Links fixed... thanks Andy.

posted on Sunday, April 22, 2007 5:14 PM

Feedback

# re: The perfect ointment for that CAML burn... 4/24/2007 6:41 AM Andy Burns
Gravatar The URL doesn't work - he seems to have a problem with subtext. Try just www.johnholliday.net

Post Feedback

Title:
Name:
Email:
(email will not be displayed)
Url:
Comments: 
Please add 8 and 6 and type the answer here:    
All Comments Are Filtered & Moderated
Unfortunately comment spammers are just too effecient and are constantly dirtying up blogs with irrelevant and unwanted comments trying to improve their standing on search engines. All comments on this blog are moderated. I do not censor comments, but I don't approve comments with vulger language or those soliciting products. Most of the time comments are approved within a few hours of being submitted with the only exception when I'm traveling.

Why are you asking for my email address?
The only reason I'm asking for your email address, which isn't required to submit a comment, is to provide a gravatar if you've created an account for yourself and associated your email address with a small image. If you have a gravatar created for the email address you submit, it will appear next to your comment. Otherwise nothing will appear.

What is a gravatar?
A gravatar is a "globally recognized avatar." You can get more information about gravatars, as well as create your own for free, at www.gravatar.com. You can also view my gravatar here.


Copyright © 2003 - 2010 Andrew Connell
Creative Commons License 
This work is licensed under a Creative Commons License
Site design by Heather Solomon.

 
 
MOSS WCM Training
Looking for MOSS 2007 WCM developer training? Look no further! I teach my 5-day hands-on and online WCM classes for developers I offer through my company: Critical Path Training.

Get more information on the WCM courses!