Category Archives: Microsoft

Monty Hall Problem

The Monty Hall problem is one of those brain teasers which has confused me on the three previous occasions that I read about it.  The (many) articles on line explaining it didn’t resonate with me, so I decided to work … Continue reading

Posted in C# | Leave a comment

Sliding Block Puzzle available to developers!

Our first software app for Windows Phone 7.1 is now available to developers on CodePlex.  Sliding Block Puzzle is a game that demonstrates how to achieve many useful techniques on Windows Phone, such as dynamic data-bound menus, item template selectors, … Continue reading

Posted in Microsoft, Windows Phone | Tagged , , , | Leave a comment

SharePoint 2010 Ribbon Development

Ribbon development is probably one of the most frustrating things you can do when developing SharePoint 2010 solutions, for one simple reason. How many times have you changed the element.xml file to change where your new button will appear only … Continue reading

Posted in SharePoint | Leave a comment

Estimating SharePoint 2010 Content Database Sizes

Microsoft published guidance for SharePoint 2010 on how to calculate an estimated size of a content database. The formula is very simple: Database size = ((D × V) × S) + (10 KB × (L + (V × D))) On … Continue reading

Posted in JavaScript, SharePoint, Tools | Leave a comment

Encoding base-N numbers using custom digits

It’s been almost a year since I had to code in anger.  I wanted to do some compression on an XML document by shortening element and attribute names to the bare minimum.  The documents I’m compressing contain an unknown number … Continue reading

Posted in C#, Hints and Tips | Leave a comment

Mobile browsing on SharePoint, it’s not just for mobiles!

SharePoint sites do suffer from performance problems from time to time.  Perhaps the link between clients and WFE’s is congested, or the architects didn’t quite anticipate the usage patterns of their users, or maybe the orbit Neptune is wrongly aligned … Continue reading

Posted in Hints and Tips, SharePoint | Leave a comment

Is “Automatic Logon with current user name and password” a type of Single Sign-on (SSO)?

Martin Hatch published a tweet this morning which caught me in a philosophical mood.  Very simply it was: “fed up of people referring to “automatic logon with current user name and password” options in IE as being “Single Sign On” … Continue reading

Posted in Microsoft, Security | Tagged | Leave a comment

Subtracting days from a DateTime object in PowerShell

For those unfamiliar with DateTime objects, the problem is exceedingly simple – but the solution is even simpler. Take the following DateTime object: PS C:UsersAbrodie> $dt = get-datePS C:UsersAbrodie> $dt 03 November 2011 17:48:56 If I look at the methods … Continue reading

Posted in Hints and Tips, Microsoft, PowerShell | Tagged , | Leave a comment

Strange text behaviour in Visio 2003/2010

Network Diagrams in Visio are extremely useful when trying to design or explain to someone how a set of computers are, or are going to be, connected together.  The user is presented with a set of preset shapes which you … Continue reading

Posted in Hints and Tips, Microsoft, Visio | Leave a comment