At Sitecore Symposium 2016, I will be giving a talk on unit testing in Sitecore. The focus of this talk is on the notion of testability.
Thursday, September 15, 2016
Tuesday, June 14, 2016
Being able to debug Sitecore code is an important skill for supporting Sitecore solutions. There have been a number of excellent articles on how to do this, but they typically describe using JetBrains DotPeek product as a "symbol server". (See http://bilyukov.com/debugging-sitecore-dotpeek/, and https://jammykam.wordpress.com/2015/01/11/how-to-debug-sitecore-kernel-in-visual/). An alternative, which I find somewhat simpler, is to use ReSharper to generate PDB files, and place those in your solution bin directory. I will walk you through that approach in this article.
Wednesday, January 13, 2016
There is a special, lonely dread that accompanies a big, complex task. Am I up to it? Is it harder than I think? Am I missing something fundamental? I wonder what's going on on Twitter. Hey, I got retweeted...
Wednesday, January 6, 2016
Wednesday, December 30, 2015
This post is a quick look at one of my favorite features in Git, interactive rebases. I like this feature because it lets you do two conflicting things: make micro commits (like saving every couple of minutes when editing a Word doc) so you can replay your work, and always go back to a working state of your code, and making clean, well worded, self contained commits to a project repo. Interactive rebasing lets you squish your commits together when you are ready to share them.
Wednesday, December 23, 2015
Git is a locally stored database with integrity guarantees. To get a feel for how this works, this post takes a look at a very simple repository using the commands hash-object and cat-file. Although these are not commands you would normally use (they are among the "plumbing commands" that lie behind the "porcelain commands" like clone and commit), they are very helpful for inspecting the objects that a Git repository manages.
Wednesday, December 16, 2015
Wednesday, December 9, 2015
Last weekend I took my first steps in Node.js development, adding a small feature to a Hexo plugin. Hexo, as I blogged last week, is a static site generator written in Node.js, to which I am planning to migrate this blog. I made good progress as first, but soon required a debugger, and took the opportunity to learn the basics of VS Code as a Node editor and debugger. This article will walk through the basics of environment set up and debugging with VS Code.
Wednesday, December 2, 2015
It's been five years since I wrote my first blog post, a look at XSLT that still gets pretty good traffic. I chose Blogger because it was free and easy, and the fact Google owned it gave me some confidence it would stick around. But it's been feeling like less and less of a good fit recently.
Wednesday, November 25, 2015
In the MongoDB University course "M101N: MongoDB for .NET Developers", there is a walk through of a UNIX script to create a 3x3 set of shards and replica sets. To brush up on my MongoDB and my Powershell, I decided this weekend to try to rewrite and extend the script in Powershell. A somewhat painful, but ultimately rewarding, experience: You can see what I came up with here. In this post I will walk through some of the powershell and some of the MongoDB syntax and tricks.