After much trial and error I finally gave up and asked Ayende what he uses to post to his blog. His posts are always nicely formatted - including code snippets in Google Reader
It's that code snippet part that I have problems with, so I'm going to give the Syntax Highlighter for WLW that Ayende uses a shot. If it works for him, it should work for me. Lets give it another shot shall we?
[TestFixture] public class UnitOfWorkTests { [Test] public void Should_return_same_instance() { var c = new Customer { Address = new Address(), CustomerID = 1, Name = "Sneal" }; UnitOfWork uow = new UnitOfWork(new StubDataStore()); uow.Save(c); Assert.AreSame(c, uow.Single(new Customer { CustomerID = 1 })); } [Test] public void Can_save_instance() { var c = new Customer { Address = new Address(), CustomerID = 1, Name = "Sneal" }; UnitOfWork uow = new UnitOfWork(new StubDataStore()); uow.Save(c); } }
Well that was nice, and boy does this thing support a lot of programming languages (way more than I know).
I've been using Windows Live Writer for a while now and would never go back to directly posting via a webform, WLW is just too easy.
Powered by: newtelligence dasBlog 2.1.8102.813
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2010, Shawn Neal
E-mail