Geeks With Blogs

Steve Clements .Net and then some....

Right, the virtual server is up and running...time to soak up some SharePoint...get some dnrTv episodes down my throat.

Sahil Malik recorded a series of SharePoint episodes, 4 in fact. He starts with what happens when SharePoint is installed and finishes with some massive XML files for a Business Data Catalogue application. Tip: They are an hour long, so watch it in fast mode, the talking speed is still good and it only takes 30 mins to watch.

Session 1

Session 2

Session 3

Session 4

Note: You can get the XML from his website for the BDC apps. You will need Northwind if you want to use them "as is".


Edit Master Pages

Using SharePoint designer you can edit the master page of your site - although I didn't do any editing, I did open the master page in designer, just to have a look at it!



SharePoint is obviously made up of webparts; being able to write your own and add them to SharePoint, I think, is a huge advantage. There are a couple of steps to get them into SharePoint that without some help, you'll never figure out! AJAX in SharePoint (if you are using the AJAX framework in .net 3.5 you will need to amend the XML accordingly)

Although I have been able to get the XML done, added a scriptmanager to the master page, I am having problems getting the update panel to wrap the contents. I haven't spent a great deal of time looking at it – perhaps someone is aware of a Gotcha??


Host WCF service in SharePoint


Use WCF service from outside Sharepoint

Calling a WCF service from within a custom web part is really, really easy. Basically follow exactly the same steps you would in any other project, just remember to put add the ServiceModel section to the web.config on your SharePoint site. I didn't try this originally as my web part and WCF service are .NET 3.5 and Sharepoint site is .NET 2.0, I thought it wouldn't work, however as .NET 3.5 is an extension to .NET 2.0 it does! :) Happy days! I did consider writing the endpoint code in C#, but when you use a reference to a hosted service, the endpoint is read only.



Hosting Silverlight

Join up at - if you haven't seen it, you can upload your Silverlight apps and movies to MS servers – it's a pretty cool service and if Silverlight is your bag, you NEED to use it!!

Once you have uploaded your app you, you can either reference the JavaScript files in the page or use an iframe to host the app in your page. Either way, they give you the code to paste in! Which is always nice! To show the control in SharePoint all I did was create my own webpart, override the render contents event and write the code out on the HtmlTextWriter. Same as any other control :)



I created a couple, a blog site and some others, it's pretty self explanatory really, especially if you watch the dnrTv videos.



  1. I want to figure out how to call WCF services from BDC applications - direct to SQL is not for me!
  2. More AJAX in Sharepoint, perhaps the toolkit.
  3. Sharepoint API, what can I do?
  4. I didn't touch on Security at all; everything is using the "admin" user. Yuk!
  5. Site content types, Sahil covered these in the second webcast, but I am still not 100% sure how I could make use of these, or if I would even want too!
  6. The other 4 million things that Sharepoint has! It's really big you know! J - Take some guidance on direction from "The Book" when it arrives!!


Technorati Tags: Sharepoint, MOSS 2007, ajax, WCF

Posted on Monday, March 3, 2008 8:55 PM AJAX , .NET 3.5 , Sharepoint | Back to top

Comments on this post: Go Sharepoint : From the beginning

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Steve Clements | Powered by: