Chocolatey: The ‘minClientVersion’ attribute is not declared

While testing the Particular Platform Installer I got a message ‘This installer has detected you are running an old version of Chocolatey ….

platform installer

So i launched powershell and typed ‘cup’ and got an error: ‘The ‘minClientVersion’ attribute is not declared’, not a very informative error…

However, a quick google search lead me to this post: and following the instructions in ‘Update your chocolatey nuget client’ did the job. Kudos to David Alpert

So now all i had to do is to click the Re-Check button and continue with the installation.



The software craftsmanship conference

I had the opportunity to attend the the first Craft Conference in Budapest at the end of April 2014. It was a great conference, well organised, an impressive list of speakers and a interesting list of talks to select from.

Video streaming by Ustream

If you weren’t able to attend, videos of the talks are available online at the Craft Conference website.

Some interesting talks:

Stefan Tilkov – Architecture War Stories: I loved this one 🙂

Video streaming by Ustream

All and all it was a great conference.… More

Getting Started with ServiceMatrix step one: Send Recive

I gave a presentation at the July meeting, the presentation is up on Slide Share here and the code is on GitHub here.

I was under time pressure as Damian Hickey was doing his great presentation on NAncy after me, therefor i had to cut the demo short, so here is a quick getting started with ServiceMatrix and ServiceInsight. Now, I’m going to do it in iterations and this is the first one 🙂

Getting Started with ServiceMatrix

If you don’t have ServiceMatrix installed, you can download ServiceMatrix form here.

The simple scenario we are going to build is:

  • A customer goes to our web site and creates a new account
  • When the back end receives the ‘CreatAccount’ command it sets the account to pending state, sends an email to the user with a link to validate his email address.
  • Once the user click on the link in the email, a ValidateAccountEmailAddress’ command is sent from the web site and we can mark the account as verified.
  • at this stage an event is published to that the account is Verified

Ok, let’s do it.

Create a new project and select NServiceBus system as the project type.

solution builder

You should see folders in Solution Builder called Infrastructure, Libraries, Endpoints, and Services:

  • Infrastructure is where cross-cutting concerns like authentication and auditing are handled.
  • Libraries are units of code that can be reused, including logging and data access.
  • Endpoints are where components are ultimately deployed. They are the executable process. They can be web applications (both Web Forms and MVC) or NServiceBus Hosts (a special kind of Windows Service that allows you to debug it as a Console Application).