views:

35

answers:

1

We have an ASP.NET website that we use internally to do some project tracking and various work. We would like to integrate some pieces of it to co-exist with Sharepoint2007 WSS.

Basically what we would really need to do is be able to add items to a list in one of the Sharepoint sites.

I'm not sure where to begin. I've looked online a bit but it seems overly complicated. Is there a quick start guide somewhere that can get me rolling with ease?

+1  A: 

The SharePoint Web Services would be a logical place to start. In my opinion this would be the easiest way to build interaction between ASP.NET and SharePoint.

A list of available web services can be found on MSDN.

If adding items to a list is the primary goal, then check out the UpdateListItems method of the Lists web service.

With the scope narrowed to Web Services, you can certainly find tutorials/references online. However, this InfoQ post by Trent Swanson is a decent introduction to SP web services. Note that they recommend generating .NET types using XSD files; in practice, for simple projects I have simply parsed the XML myself using LINQ. You can make it as easy or complex as you like, I suppose.

CBono
The XSD stuff is really what was confusing me. I wasn't sure if that was necessary or not.
Joe Philllips
Definitely not necessary. For a larger project, I might consider generating the actual types. But if you have a decent knowledge of XPath and/or LINQ, you can do what you need to do (especially if most of your work will be adding to the List and not querying it).
CBono
Thanks for the great and concise explanation!
Joe Philllips