Please don’t put Sitecore in Source control

If you’re looking for the simplest possible developer setup for Sitecore then creating an ASP.Net web project, dropping Sitecore over the top, configuring it for shared databases and checking it in to source control is the answer. Back in the day it was an accepted pattern to to work this way – so you could click “play” in Visual Studio to run your site. And I still find myself workig on projects running that way. But today this is considered a bad idea. So why do I keep finding projects set up this way, and why isn’t it a good approach? Continue reading

The official Sitecore NuGet feed is here!

Wild times in the Sitecore world, as the release of v8.2 is has brought a load of new features. One I’m particularly pleased about is that there is now an official NuGet feed for your Sitecore references. I’ve been asking pretty much every Sitecore employee I’ve spoken to about doing this for years now, and finally it’s here.

So now I’ve read the release notes and finished a quick chair dance of joy, it’s time to dive in and see what it’s all about… Continue reading

Sitecore builds with Visual Studio Online – Part 1: Private NuGet feeds

While I’ve read plenty of articles in the past about configuring build servers for Sitecore projects, I’ve not seen much written about using Visual Studio Online. (Or “Team Foundation Services”, or whatever it’s called this week) Since the company I work for are in the process of transitioning all their development infrastructure to Azure, trying to get hosted builds working in VSO seemed like a userful area of research for me. This is the first part of what will probably turn into a few posts on the topic of how I got to the point of being able to run a hosted build for a Sitecore / TDS / FakeDB solution… Continue reading

Using NuGet for Sitecore dev instances (Part 3)

In my last two posts [first part, second part] I’ve outlined the results of some research into an approach for how you can package Sitecore with NuGet. I presented this at a recent Sitecore Technical User Group, and am documenting it here with a bit of detail that didn’t fit into the presentation. This week I’ll finish off the set of posts with a few conclusions from this experiment. Continue reading

Using NuGet for Sitecore dev instances (Part 1)

A couple of weeks ago I had the chance to speak at the Sitecore Technical User Group in Manchester. I gave a talk about experiments into how you can put Sitecore into a NuGet package in order to create low-effort developer instances. Due to time constraints I wasn’t able to get all of the information I wanted into the presentation, so over the course of my next three posts I plan to write up the key info from the presentation with that extra detail. Continue reading

A question for the community: Development patterns

A bit of a change of tack this week. Rather than writing about something I’ve been doing, I’d like to ask for your ideas on something I’ve been thinking about. This issue is way to complex to compress into a tweet to ask on Twitter, and it seems too opinion based to be asked on Stack Overflow. So I’ll ask it here, in the hope that some of you clever people might offer your opinions. Comment below, tweet me, write blog posts in response, send carrier pigeons or whatever. All thoughts appreciated…

So here’s what I’m thinking about: How do you set up your projects for development? Continue reading

Using Nuget for your references to Sitecore DLLs

NuGet is a really useful tool for managing external references for your .Net projects. It’s also a tool that the Sitecore community are making good use of, with loads of useful Sitecore extensions available as packages. Plus it’s been extended with the ability to deploy things into a Sitecore instance. Another potential use in Sitecore projects (that I’ve not found much discussion of) is for your references to the Sitecore DLLs themselves. I’ve been experimenting with this on some of my projects, so thought I’d write down what I’ve tried. Continue reading