The hidden performance hit when using Get Methods

There are many ways to write a loop when using C#. But when iterating you need to be very much aware of the data you are iterating. If you are not being taking good enough care of your code you may suffer from bad performance. For example when using a property like this property public static List<string> Strings { get { Console.WriteLine("GET"); retu... [More]

Linkedin

Just received a mail from LinkedIn with the following text Dear Allan Agerholm, At LinkedIn, we strive to provide a simple and efficient experience for members so we continually evaluate how our current products and features are being used. This sometimes means we remove a feature so we can focus our resources on building the best products. We'll be retiring the LinkedIn Network ... [More]

Simple tip for identifying Sharepoint site (server information leakage)

Just the other day, when implementing a new Sharepoint solution I spotted a strange behaviour in Sharepoint 2010.   For the current solution some querystring parameters had to be passed around between various pages. One of these parameters happened to have a name of "id". When using this I started seeing a strange behaviour on my Sharepoint site. Suddenly it started throwing exceptions when... [More]

Læserbrev til Dagbladet

Dette indlæg er også indsendt til Dagbladet, som respons på en artikel i Dagbladet udgivet fredag d. 31 maj som omhandler denne rapport  Stakkels byrådspolitikere Da jeg sad og læste artiklen i Dagbladet d. 31 maj omkring den nye vindmøllerapport for Ringsted kommune udarbejdet af NIRAS, så var min første tanke "Stakkels byrådspolitikere". Grunden til, at jeg tænkte det, skyldtes, at jeg på l... [More]