SimBu

Reassembling your website with Resharper 6

I recently found myself in the position where I needed to reassemble an ASP.Net site from its deployed files. The first part was easy, create a website project and pull in the front-end files, then it was on to the harder parts, recreating the backing code and making sense of the minified files. The first […]

Lazy load property the resharper way.

Just some more reshaper magic… Resharper took this public IThing Thing { get { if (_thing == null) _thing = new Thing(); return _thing; }} and re-factored it to this which is obvious when u look at it… public IThing Thing { get { return _thing ?? (_thing = new Thing()); }}