Archive

Archive for March, 2011

Dev week

March 18, 2011 Leave a comment

I’ve been attending Dev Week 2011 this week and have to say it is VERY good. This is just a post so i can link to the blogs I need to keep an eye on as these speakers where very good.

http://rocksolidknowledge.com/Blog.mvc/ViewBlog?blogName=All%20Blogs

http://odetocode.com/blogs/scott/

http://weblogs.thinktecture.com/cweyer/

http://aspadvice.com/blogs/robertb/

and not forgetting http://www.devweek.com/

Categories: work Tags:

Prototypes and Inheritance in JavaScript

March 18, 2011 Leave a comment
Categories: work Tags:

Interesting looking training course

March 11, 2011 Leave a comment
Categories: work Tags:

Using LINQ to get items from a list vs caml

March 9, 2011 Leave a comment
Categories: work Tags: ,

Creating Sharepoint web services

March 8, 2011 Leave a comment

From a colleague

When generating classic .ASMX web services that are supposed to be context aware, i.e. the SPContext objects provides references to the correct SPSite and SPWeb object a wsdl.aspx and disco.aspx file is required.

This can be generated using a disco.exe utility as outlined in the following article:

http://msdn.microsoft.com/en-us/library/ms464040(v=office.14).aspx

This works the same way for SharePoint 2007 (article is for SP 2010).

For SharePoint 2007 a Codeplex Utility (SPDev | http://spdev.codeplex.com/ ) simplifies this process but that appears to not be compatible with SharePoint 2010.
In that case simply adding the web service assembly to the GAC (if CAS is not used) and running SPDev –o GenWS –URL http://localhost –asmx will result in the two files being created automatically.

Please note: In the above – localhost might require to be replaced with the hostname / host header – depending on how SharePoint has been setup with. The command will need to be run on the SharePoint server.

 

Here is another nice article on how to improve the above within visual studio

http://www.sharepoint-tips.com/2007/08/web-services-on-sharepoint-making-f5.html

Categories: work Tags: , ,