Best practices to version Web API

Posted on

Once you publish an Web API, it’s set stone. Publishing an API is not a trivial move to do. Users or customers rely on the API not changing after publishing. But however requirements will change always. So there’s a need to evolve the API without breaking existing clients.

Unit test SharePoint list with TypeMock Isolator

Posted on

Testing your code can be a time consuming business with SharePoint. You’ll to F5 Build. Deploy, And test. This cycle is extremely slow and you don’t want to do this often. Then there’s unit testing. But SharePoint is a complex system. It needs loads of infrastructure to get anywhere. The best to speed up is […]

Show All Draft Documents with Content Query WebPart

Posted on

SharePoint has the capability to show all checkout page of web. Manage Content and Structure has several built-in filters like: All Draft Documents and Checked Out to Me. This filter options can be extended by defining a CAML query in the list Content and Structure Reports list. However this has drawbacks. It is not possible […]

Enable Browser File Handling for Flash with Powershell

Posted on

Browser File Handling was introduced into SharePoint 2010 as a security feature and the same applies to SharePoint 2013. When a user requests a file within SharePoint, the web server (IIS) will respond including the “X-Download-Options: noopen” HTTP Response Header if Browser File Handling is set to Strict and the file (MIME) type accessed is […]

How to add icon to represent PDF documents

Posted on

We have a website with a lot of PDF documents. In content hyperlinks are made to these documents. The design that is given us, says we need to show a PDF icon in front the hyperlink. SharePoint has an option with hyperlinks to show a pictogram in front of a hyperlink. But there’s no default […]

Prevent XSL namespaces to be rendered in result

Posted on

Working on a SharePoint 2010 site we had a requirement to make the site HTML5 valid. To test this we use the W3C validator on internet. After a lot of improvements we got stuck with just these kind of errors. Attribute xmlns:ddwrt not allowed here.Attribute with the local name xmlns:ddwrt is not serializable as XML […]