Category Archives: .NET Development

Yes, we do do development other than SharePoint!

Returning cypher query aggregate values such as SUM and COUNT via the .NET Neo4jClient

Take a look at the following cypher query which is used to return regions with ‘east’ in their names and their associated research grants. START region=node:vop(‘region:east’) MATCH region<-[?:RESIDES_IN]-organisation-[?:HOLDS]->grant RETURN region, grant Nothing wrong with the above query…..

Posted in .NET Development, Neo4j, Tips and Tricks | Leave a comment

How to flush the SharePoint cache

It is possible to use the CacheManager, an internal class, found in the Microsoft.SharePoint.Publishing assembly to flush the cache as follows -

Posted in .NET Development, SharePoint, SharePoint 2007, SharePoint 2010, SharePoint 2013, Tips and Tricks | Leave a comment

Using log4net to log workflows

Log4net is very good at logging events to local log files. However, if you are looking for centralized logging, take great care. If you want – 1. to remove the need of having to add log4net configuration to every web.config. … Continue reading

Posted in .NET Development, SharePoint, SharePoint 2007, SharePoint 2010, SharePoint 2013, Tips and Tricks | Leave a comment

Removing Visual Source Safe (VSS) from c# and vb projects and solutions

This is a PowerShell script that I use to remove all traces of source safe from vb or c# projects and solutions. This script behaves as follows – 1. The script acts recursively throughout a designated folder. 2. The script … Continue reading

Posted in .NET Development, SharePoint, Tips and Tricks | Tagged , , | Leave a comment

A fix for the Contact Detail web part

I’ve noticed that adding two or more Contact Details web parts to a page breaks the presence information behaviour. Moving the mouse over the first entry works but all others on the page do not. There have been various fixes … Continue reading

Posted in .NET Development, SharePoint, SharePoint 2007, Tips and Tricks | Tagged , | 1 Comment