2010-02-19

I'm ready for the SharePoint 2010 certifaction run!

Finally I took the time to prepare myself and take the last SharePoint 2007 Certifaction: 70-542 Microsoft Office SharePoint Server Application Development. I'm very happy with a passing score of 960 (out of 1000) :-)

I'm ready for the 2010 run!

2010-02-09

Creating custom web services in a SharePoint 2010 environment

I needed to write a custom web services to read and return all Term info based on a given Term name. I need that info to make adjustments to the File Classification Infrastructure scripts to upload files from the file system to SharePoint and set the correct Terms/Tags on the files.

Because SharePoint 2010 already are Ajax/Javascript enabled you don't need to make adjustments to SharePoint, but follow these very simple steps:


  1. Add a App_Code catalog to your web application, e.g. c:\inetpub\wwrwroot\wss\virtualdirectoris\80\App_Code
  2. Copy MySimpleService.asmx to c:\inetpub\wwrwroot\wss\virtualdirectoris\80 or to [14]/Template/Layouts/..
  3. Copy MySimpleService.asmx.cs to c:\inetpub\wwrwroot\wss\virtualdirectoris\80\App_Code
  4. Try your service: http://sharepoint2010/MySimpleService.asmx

That's it!

There are for certain issues, but it all depends on your scneario and what you need to do; KISS - Keep It Simple Stupid - but don't be stupid! :-) Of course you need to wrap-up and make a solution package of everything before you make it into a production environment...

Console Application, SharePoint 2010, accessing SPSite, and FileNotFoundException

When you try to open a site collection using new SPSite("") in e.g. a Console Application you get a FileNotFoundException - "The Web application at http://sharepoint2010/sites/development could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application."

Then the first thing to check is that the Build Platform target is set to x64.

If that doesn't do it for you, thenn hopefully Google will find the anser for you.

2010-02-04

SharePoint 2010 RC and Office 2010 RC are available on Microsoft Connect

and I'm going to test it a lot during the next few weeks/months. Avenir is in the Office 2010 PEP program, and I'm fortunate to be involved in a customer project. There is an NDA at work here so I guess it not much we'll be allowed post to the public.

Extending or upgrading your SharePoint 2007 farm to use Microsoft ASP.NET AJAX 3.5

Then check out Telerik's procedure (including a link to a complete solution/feature). http://www.telerik.com/help/aspnet-ajax/moss-install-aspnet-ajax-35.html

I've used both the solution and the step-by-step procedure with great success.