Anatomy of a Sitecore bug (and some things that all of us developers must learn) 04 februar 2017 Allan C#, Sitecore Recently Sitecore published the following critical report https://kb.sitecore.net/articles/039942 including a fix. Sitecore has rightly marked it as critical as the result of the bug actually is that all contents of the website can be downloaded by simply specifying a custom crafted url. I will not post the format of the url but will only describe why some of the checks that where done in... [More]
Iterating items in a list - for vs. while vs. foreach 20 november 2016 Allan C#, .NET When iterating over the items in list in C# you have at least 3 options as to how you want to do it. [More]
Variable scopes in C# - Beware of naming similiarities 12 september 2014 Allan .NET Just the other day I came across a sample of code with some similar named variables, where the flow [More]