SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I don't yet have a development VM with SharePoint installed (I have been using SPServices and JavaScript up to this point), so I cannot quickly answer this for myself...

I am interested in investigating SPMetal, but I can't find anything that will definitively tell me if I can generate Linq to SharePoint classes and then use them in a non-SharePoint project.

For example, if I have a Win Form app that I now want to pull some data from a SharePoint list. Can I use SPMetal or do I need to just use web services and CAML?


share|improve this question
up vote 2 down vote accepted

You cannot use SPMetal without SharePoint object model. If you look at the SPMetal sources you can find that it works with SPContext. Instead of this you can use REST API of SharePoint o client SharePoint Object Model (CSOM).

share|improve this answer
Makes sense. Thanks, Alexander. – Kevin Jan 28 '13 at 15:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.