SharePoint 2010

System Center Operations Manager Management

http://blogs.msdn.com/sharepoint/archive/2010/01/11/try-system-center-operations-manager-management-packs-for-sharepoint-server-2010-beta-and-sharepoint-foundation-2010-beta.aspx

SharePoint 2010 Custom Actions

From SharePoint Team Blog

http://blogs.msdn.com/sharepoint/archive/2010/02/15/enabling-a-button-on-the-ribbon-based-on-selection.aspx

Chris O’brien

http://www.sharepointnutsandbolts.com/2010/01/adding-ribbon-items-into-existing.html

SharePoint 2010 Enable / Disable Developer Dashboard

Enable / Disable over stsadm:

stsadm –o getproperty –pn developer-dashboard get the current setting from developer dashboard (On |Off | OnDemand )
image
stsadm –o setproperty –pn developer-dashboard –pv “On” set the setting from developer dashboard (On |Off | OnDemand)
image

Enable / Disable over powershell

Turn On: Set-SPFarm –DeveloperDashboardEnabled

Turn Off: Set-SPFarm –DeveloperDashboardEnabled $false

 

Found this over @ http://blogs.technet.com/patrick_heyde/archive/2009/11/16/sharepoint-2010-enable-using-developer-dashboard.aspx

If you got some spare time? Get Started Developing on SharePoint 2010

Microsoft added this Get Started Developing on SharePoint 2010 located @ http://msdn.microsoft.com/sv-se/sharepoint/ee513147(en-us).aspx , If you have som spare time on your hands the go see it. It gives a good overview of what a developer can work with on SharePoint 2010.

Visual studio: Get Public Key Token

In Visual Studio, go to the Tools menu and click the External Tools menu item. replicate the following settings shown in the picture below.

Then just choose tools -> Get SN token and the result is shown in the Output Window in Visual studion.

Twitter API and LinQ to XmL

Here is a simple C# exampel of how to retrive information from the Twitter API search in atom format.

Create  a class to host the properties in a tweet.

 

class Tweet

{

public string Id { get; set; }

public DateTime Published { get; set; }

public string Link { get; set; }

public string Title { get; set; }

public string Author { get; set; }

public string Uri { get; set; }

}
 

  

 To load the twitter search in atom format use the folling code:

XDocument feed = XDocument.Load(http://search.twitter.com/search.atom?q=sharepoint); 

  

A method to parse the xml data using LinQ to XmL, and return it as a List<Tweet>.

XNamespace atomNS = "http://www.w3.org/2005/Atom";  

           m_tweets = (from tweet in feed.Descendants(atomNS + "entry") 

                 select new Tweet 

                        { 

                            Title = (string)tweet.Element(atomNS + "title"), 

                             Published = DateTime.Parse((string)tweet.Element(atomNS + "published")), 

                             Id = (string)tweet.Element(atomNS + "id"), 

                             Link = tweet.Elements(atomNS + "link") 

                                 .Where(link =&gt; (string)link.Attribute("rel") == "alternate") 

                                 .Select(link =&gt; (string)link.Attribute("href")) 

                                 .First(), 

                             Author = (string)tweet.Element(atomNS + "author").Element(atomNS + "name"), 

                             Uri = (string)tweet.Element(atomNS + "author").Element(atomNS + "uri"),  

                        }).ToList&lt;Tweet&gt;(); 

   

then its just to bind the List<Tweet> as a datasource to eg. a DataGridView or what ever suits your need.

Guide to install SP2010

Found this guide on how to install SP2010 on ws2010.

http://sharepointdevwiki.com/display/spadmin2010/Install+SharePoint+2010+Public+Beta+on+Standalone+Windows+Server+2008

enjoy!

I havent tried it yet :)

What’s New in SharePoint Foundation 2010? MSDN

http://msdn.microsoft.com/sv-se/library/ee539826(en-us,office.14).aspx

Enjoy!

Remove Broken Web Part?

There’s an easy trick to get to the web part maintentance page.

If your malfunctioning page is:

http://testsite.com/pages/default.aspx

simply add a querystring onto the end of the URL

http://testsite.com/pages/default.aspx?contents=1

Free SharePoint Web Parts!

http://www.amrein.com/apps/page.asp?Q=572

Check it out!