Author Archives: david

CI 2

End result? For a small team, using the service provided by the likes of Github or Bitbucket provide ample issue reporting and project wiki features with much less support required. I guess you could outsource the actual continuous build to … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

CI

Well, time to get things done. I’ve a product to build and I need a sensible environment to build it in. I’m going to run some VMs on my Mac Pro for the less exciting parts of the environment. So … Continue reading

Posted in Uncategorized | Leave a comment

The remote certificate is invalid according to the validation procedure wcf

Sometimes the Microsoft tools are too clever for their own good. We have a WCF service which we wanted to move to SSL. The problem was: having changed the WCF security configuration to Transport, and obtaining and configuring a certificate … Continue reading

Posted in WCF | Tagged , | Leave a comment

Duplicate Key Exception

Entity Framework throws exceptions from the DbContext’s SaveChanges method if there is a constraint violation in the database. If you have a property marked as invariant w.r.t. concurrency, that too will raise an exception at this point (a DbUpdateConcurrencyException Exception. … Continue reading

Posted in EF | Tagged , , , | Leave a comment

Glimpse

That turned out to be a profitable search. A bug that suggested that there was a routing configuration issue in a .Net MVC app. I was looking for a way to troubleshoot the issue and I came across this: Glimpse … Continue reading

Posted in C# | Tagged , , , | Leave a comment

SignalR

Wow. I just looked at Signalr again… Just added the Git package to a web application, added the git package for the stock ticker example, fixed the bug on the stockticker html page that referenced the wrong version of the … Continue reading

Posted in C# | Tagged , , , | Leave a comment

Silverlight HyperlinkButton Background Colour

Oh dear – I think I over thought this one. To cut a long story short, a client app I was maintaining had a top level menu composed of HyperlinkButtons. The requested change would involve a proliferation of these controls. … Continue reading

Posted in C# | Tagged , , | Leave a comment

Architecture : Entity Framework

I’ve had an extensive opportunity to play with entity framework. Here are my few thoughts. Code first does work reasonably well if you are starting from scratch, but managing the release of vital enterprise applications, which require care around the DB become … Continue reading

Posted in EF | Tagged , , | Leave a comment

Architecture : Implementing IOC

I’m guessing this is obvious to most of you, but it would be good to get some comments. Most IOC examples I have seen tend to be kind of trivial, it’s easy to expose the required dependent as a property … Continue reading

Posted in Uncategorized | Leave a comment

Moving Entity Diagrams in Entity Framework

I had a project with a .EDMX in it. I had matching classes and stuff in another project that had started out as a code first development. I copied the .EDMX to the new project and lo there was the … Continue reading

Posted in Uncategorized | Leave a comment