Towards the end of a rather busy Saturday of coding in the office I decided to take on the exposing of some services at the boundary of a system I am working on. We're using the Castle project's Windsor container for our IOC on all of our new projects and so I figured that it would make sense to do a short spike into the WCF facility that ships with it to see whether this would be worth using
Saturday, December 6, 2008
Wednesday, November 19, 2008
Continuous Integration with CI Factory part 2
Posted on 5:47 AM by Unknown
I've just finished setting up a new build instance with CI Factory. This time I used the latest version (1.0.1.5 at the time of writing). I followed the steps here, together with some from my last CIFactory post.I tried this time to add a property in Arguments.xml of this:< property name="MSBuild.Framework.Version" value="${framework::get-framework-directory('net-3.5')}" />In addition then I
Sunday, November 16, 2008
Defending Scrum
Posted on 5:18 PM by Unknown
Recently Scrum has been taking a bit of a battering in the wider community, being made to take responsibility for some of the perceived failings of Agile. Under particular attack has been the scrum based certifications which are seen to churn out 'experts' on the basis of short courses. But who then in many cases lack the necessary expertise, of which experience is an important constituent, to
Friday, November 14, 2008
Continuous Integration with CI Factory
Posted on 11:58 AM by Unknown
For the project that I'm currently working on I've needed to set up an automated build process, no surprises there. Having worked in environments previously where the development and maintenance of the build occupied a large amount of effort, and required a reasonable amount of specialised knowledge I was keen to ensure that this would not be the case (it wouldn't be sustainable here). That in
Thursday, November 6, 2008
Visual Studio 2010 (Rosario) - First Impressions (1)
Posted on 3:11 PM by Unknown
I've just gone through the pain of downloading each of the files required to extract the Visual Studio 2010 aka Rosario September CTP VPC. Why couldn't they use the Microsoft Download Manager??Anyway, first things first, I opened Visual Studio 2010 and went to the New Project dialog. The first thing that I noticed was that the MVC Framework is missing. Now I'm not surprised as it is yet to be
Sunday, October 26, 2008
Searching, Ordering, and Paging with NHibernate
Posted on 5:06 PM by Unknown
For a while now I've been looking at ways of making it as simple as possible to create scalable searches and add ordering and paging to them when using NHibernate as my ORM. I read this article by Oren a while back and it has guided my thinking since. I had the pleasure of mentioning this to Oren at the last ALT.NET drinks in London. He grabbed Seb's laptop and threw some code together, code very
Thursday, October 2, 2008
I Wish the Framework Team Used Interfaces More
Posted on 11:41 AM by Unknown
One of the things that often bugs me about the .NET Framework is that so many of the classes are written without an interface. A case in point is the System.Net.Mail.SmtpClient class. This is an excellent class and very useful. It extends System.Object, but it does not implement an interface. This is extremely frustrating!It's not that I would like to write my own version and swap it in, but I
Sunday, September 28, 2008
Keeping code clean - Decorators for Error Handling?
Posted on 12:06 PM by Unknown
I read a review a few days ago of the new book by Robert C Martin (Uncle Bob) 'Clean Code'. I'm going to order a copy as soon as I clear a couple of books from my current reading list backlog as it sounds interesting and the Uncle Bob blog on Object Mentor is one that I always enjoy to read. One of the things that stuck in my mind from the review was that the 'Do one thing' principle applies even
Saturday, September 27, 2008
Testing DateTime Type Properties for Value Equality in Integration Tests
Posted on 6:36 PM by Unknown
I've just been writing some integration tests to ensure that some Repositories I'm writing work with NHibernate properly, basically ensuring that the mappings do what I want. The Repository classes in question use the latest release of NHibernate (2.0.0.GA) for their implementation and I'm using MbUnit for my integration tests.To try and save on the number of asserts that I have to write I
Tuesday, September 23, 2008
Uninstalling AVG Anti-Virus SBS Edition broke my MS Exchange
Posted on 3:42 AM by Unknown
The licence for my AVG Small Business Server 2003 Edition recently came to an end and after looking around I decided that rather than renew it I'd replace it with Microsoft's new Forefront products. This is probably vast overkill, but I figured it'd be interesting to see how it all works and I generally prefer vast overkill anyway.What I discovered was that it's quite an involved process to get
Monday, September 22, 2008
ASP.NET MVC - If it feels this right it can't be wrong!
Posted on 4:19 PM by Unknown
Having had a few days leave from work I've spent most of my evenings playing with the not-so new MVC framework. It's been great to spend some focused time playing with this new toy for web development from Microsoft. One thing that I've noticed is how nicely and quickly you can start to put together powerful, enterprise happy software with it. My starting point has been a model (a bunch of POCOs
Monday, September 1, 2008
Google Chrome
Posted on 2:00 PM by Unknown
Google this and you will find a slew of links talking about a new open source browser that Google are developing.Check this link for a scanned in copy of a comic book that is apparently being sent out to various chosen people/organisations. Also this link (same site) for a description.It looks interesting, a bit more competition in this space should be good. I just hope that they implement the
Monday, August 25, 2008
Getting Ubuntu 'Hardy Heron' on to a VM - Part 2
Posted on 4:19 PM by Unknown
New day, and armed with the download of the Desktop version of 'Hardy Heron' I'm installing it on to a Virtual PC VM following the instructions that I found here: http://blogs.technet.com/seanearp/archive/2008/05/13/installing-ubuntu-8-04-hardy-heron-in-virtual-pc-2007.aspxAfter reaching the point where I have started the install on the desktop - so far so good. It already is looking far more
Saturday, August 23, 2008
Getting Ubuntu 'Hardy Heron' on to a VM - An Unhappy Saga
Posted on 9:32 AM by Unknown
I've been meaning to dip my toes into the Linux water for a while now - my last exposure being a brief one about ten years ago at Uni. Yesterday evening I thought I'd actually do it. My particular motivation in this case was to run Oracle, something I'm working with a lot at work, and I figured I might as well run it on Linux as not (although we run it on Windows at work). So, with my Ubuntu
NHibernate 2.0 is Finally Released
Posted on 9:20 AM by Unknown
I've just read on Ayende's blog that the final release of NHibernate 2.0 is now available. I've just got the latest release and TortoiseSVN just finished getting me the latest code now. That's my bank holiday sorted!
Thursday, August 21, 2008
Simian - A Copy and Paste Code Hunter Killer!
Posted on 6:50 AM by Unknown
In my new(ish) job I have to look after a legacy application with a very large code base. Over the years this has been developed with a lot of copy and paste coding practices. This is a significant contributor to our 'technical debt' and certainly increases the costs of ownership associated with the application, adversely affecting troubleshooting, maintenance, and new feature development.I have
Wednesday, August 6, 2008
SQL Server 2008 is RTM!
Posted on 2:22 PM by Unknown
So SQL Server 2008 has finally made it to RTM. I can't wait to get it installed and to start seeing how the features look now, and how the performance compares. They're available now on MSDN and TechNet. So there they are, although I don't seem to be able to download the Developer version yet. Expect blog posts on this before long...
Wednesday, July 30, 2008
.NET 3.5 Microsoft Courseware with IEEE Computer Society
Posted on 7:04 AM by Unknown
I logged on to the IEEE Computer Society site for the first time in a few months today and got a pleasant surprise when I saw that at least some of the latest .NET 3.5 courseware is available free (usually £210.33 last time I looked) to members. It even includes courses on the ADO.NET Data Services and the Entity Framework.I've done a few of the course they provide before including the Certified
Monday, July 28, 2008
Resharper 4 Bug with 'Use Format String'
Posted on 3:58 AM by Unknown
I'd like to say first that I really, really like Resharper 4.0 and have made it my mission to persuade my boss to buy it for all of the Dev's where I work. I got my copy free at a NxtGenUG Southampton meeting and it continues to make my life as a developer easier.But...I've come across a small bug in Resharper 4.0 today, so I thought that I'd share so that others become aware.Real code has been
Saturday, July 19, 2008
You Grok What You Eat
Posted on 7:37 AM by Unknown
Following on from conversations that I've had with various people recently it has struck me, and its' not a revolutionary thought, that my practice, and my thinking about my practice, is intimately linked to the feeds I subscribe to, the books I read, the events I attend, the people I chat with, and my work. So, as I finally got around to adding my ALT.NET Geek Code, I thought I'd write a short
Thursday, June 19, 2008
Resharper 4.0 and Lambda Expressions
Posted on 4:52 AM by Unknown
Now I'm fairly new to the wonderful world of Resharper, so barely a day goes by where I don't discover something new about it, or through it. But today I found a feature that just made me want to share about it straight away. Let me set the scene. I'm coding a Lambda expression for use as a predicate and when finished I notice the now familiar little light bulb. Hmmm I thought, now what could
Thursday, June 12, 2008
NxtGenUG Fest '08
Posted on 2:02 PM by Unknown
Just got back from an excellent day attending the NxtGenUG Fest '08 at Microsoft's campus at Reading. Like all NxtGen related events everything was smooth and incredibly well put together. I enjoyed all of the talks and some of them have definitely inspired me to go and hit the computer for a play. Mike Taulty's talk on ADO.NET Data Services was an excellent and engaging introduction to this
Saturday, June 7, 2008
Revisited: Insufficient Permissions on web.config when delegating administration of a web site to remote users in IIS 7
Posted on 7:15 AM by Unknown
I have been meaning to return to this since I first posted on it and gave my talk about the remote management of IIS 7 at NxtGenUG Southampton. Well I've finally gotten around to it. This error occurred when remote administration of an IIS 7 web site and/or application is delegated to an IIS 7 user, and that user attempts to alter a setting of the site/application from a remote machine. The
Friday, June 6, 2008
Team Foundation Server (TFS) 2008 Licensing Change
Posted on 3:00 AM by Unknown
I'm looking into the licensing for TFS 2008 for my employers as my team are looking to migrate from VSS to TFS (hooray) and I have been asked to take the lead in this work. With TFS 2005 anyone who was going to raise issues (bugs, requests, and the like) in TFS, even if using the TeamPlain web client, had to have a valid CAL. This was a bit of an expensive pain and meant that at my last company (
Wednesday, June 4, 2008
Looking for a good developer
Posted on 1:07 PM by Unknown
Recently where I work we have been interviewing candidates for developer roles in our team. I have been involved in conducting some of these interviews and this has been causing me to reflect on other interviews I have been involved in, both as candidate and interviewer. Most of the candidates that I have seen, both recently and over the years, have been fairly strong when it came to their
Tuesday, June 3, 2008
Using TextFieldParser objects and the My library in C# code
Posted on 3:25 PM by Unknown
I read this article on InfoQ (a great site for information for those that don't know it) and saw that there might be some confusion about whether this useful class could be used in C# projects. The answer of course is yes. Just reference the Microsoft.VisualBasic dll in your project and away you go.The My library is a little different it does a whole bunch of different things, providing both new
Sunday, May 18, 2008
Extension Methods - My new best friend*
Posted on 9:28 AM by Unknown
No that doesn't mean that I'm going to be [ab]using extension methods everywhere - though I suspect that extension methods could become the new singleton. That said I think that I am really starting to get them. Here's an example. Last night I'm doing some coding and I want to get some objects that I have written to serialise nicely to Xml. Now I don't want to give them public constructors as
Tuesday, May 13, 2008
The Price of .Net's Diversity
Posted on 1:47 PM by Unknown
.Net, since its' inception, has always tried to be a friend to everyone. A truly general purpose set of software development technologies. It offer both RAD and enterprise level development tools, dynamic languages, functional languages, type-safe languages, and OOP languages. With the Entity framework, Astoria, the DLR, dynamic data, and more shortly on the way the incredible breadth of the .Net
Wednesday, April 16, 2008
Insufficient Permissions on web.config when delegating administration of a web site to remote users in IIS 7
Posted on 4:43 PM by Unknown
****** Note: This post has been revisited with new, and better, advice here! ******Preparing a talk I'm giving at NxtGenUG Southampton tomorrow evening on IIS 7s ability to allow the administration of aspects of web sites and web applications to be delegated to non-admins I started to get a really frustrating error."Error: Cannot write configuration file due to insufficient permissions"I looked
Sunday, March 23, 2008
FileStream (Sql Server 2008)
Posted on 6:36 PM by Unknown
The Filestream attribute is new to Sql Server 2008 (Katmai) and allows large binary objects (blobs) to be stored on the file system but to be managed by Sql Server. Since I first started looking into Katmai this has been the feature that I was most looking forward to because it solves a number of design challenges that I have faced in the past. Before the FileStream attribute was available if
Subscribe to:
Posts (Atom)