In the first part of this series, I tried to explain what delegates are in the .NET context. Now, as promised, I’m going to explain the mechanics of delegates in particular: Declaration of a delegate type Providing an implementation compatible…
In the first part of this series, I tried to explain what delegates are in the .NET context. Now, as promised, I’m going to explain the mechanics of delegates in particular: Declaration of a delegate type Providing an implementation compatible…
When learning about a new technique/tool, I think is it is important to ask the following questions: Why i.e. what problem does this technique I’m trying to learn about solve? What i.e. what are the concepts/ideas behind the technique? How…
For a very long time, I have been what JP Boodhoo describes as being a “consumer developer” i.e. I’ve been using frameworks e.g. ASP.NET MVC, Castle Windsor, etc and generally programming at a “high level of abstraction”. Whatever the reasons…
Oftentimes as developers we use frameworks without really knowing how hte magic happens because we are so focussed on delivery and lean upon the frameworks. So for instance, have you ever wondered how the following are achieved: How do images,…
This post is an aggregation of various posts found on the web which aim to address the issue of global logging of exceptions as well as the display of nice “error” pages in ASP.NET MVC 4. As developers, we do…
Today I was setting up a new project that was using Castle Windsor’s NLog integration facility. However, when I tried running my ASP.NET MVC project I got the following error: Could not load file or assembly ‘NLog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c’…
This is an aide-memoire for how ASP.NET MVC will output label and error messages and what “settings” will override which ones. Model public class LoginModel { [Required] public string UserName { get; set; } [Required] [DataType(DataType.Password)]…
This post is about fleshing out the Request Response implementation of EasyNetQ. Request class using System; using EasyNetQ; using SubscribeWithLoggerConsoleAppNamespace; namespace RequestClosureConsoleAppNamespace { class Program { static void Main() { var logger = new MyLogger();…
In part 1 of this series about EasyNetQ, I’ve provided an overview of what happens when we use the Publish and Subscribe methods as well as explaining the actual default behaviour. In part 2, I will experiment with the logger…
Following on from the series I had on RabbitMQ, I then moved onto EasyNetQ. Now, if you have no idea what RabbitMQ is, then this post is unlikely to be appropriate. I would suggest to first go through the blog…