Blog Archives

The mechanics of delegates

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

Posted in .NET


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

Posted in .NET

Delegates and Events series

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

Tagged with: , ,
Posted in .NET

ASP.NET MVC Deep Dive – Routing

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,

Posted in ASP.NET MVC

Global exception logging in ASP.NET MVC 4

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

Posted in .NET, ALT.NET, ASP.NET MVC, NLog

Castle Windsor NLog Integration dll versioning problem

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=, Culture=neutral, PublicKeyToken=5120e14c03d0593c’

Posted in .NET, ALT.NET, Castle.Windsor, NLog, Troubleshooting

ASP.NET MVC Label display name and validation messages

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)]

Posted in AideMemoire, ASP.NET MVC

Getting to grips with EasyNetQ – Part 3 – Request Response

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();

Posted in .NET, ALT.NET, EasyNetQ, RabbitMQ

Getting to grips with EasyNetQ – Part 2 – Logger

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

Posted in .NET, ALT.NET, EasyNetQ, RabbitMQ

Getting to grips with EasyNetQ – Part 1- PubSub

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

Posted in .NET, ALT.NET, EasyNetQ, RabbitMQ

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 3 other followers

May 2022