What should I learn in order to develop modern asp.net web projects?

You have a job doing WebForms .net development and you get the feeling that the world is moving in a different direction. You want to take steps in that direction. But what technology should you learn? MVC?, Web API? .net core? “I’ve been working as .NET developer for about a year on an established web application (large codebase, web-forms). It’s …


Building Microservices using Azure Service Fabric 2.0

Azure Service Fabric is now GA (general availability) meaning it’s out of preview and ready for production use. In this post we’ll take a look at the new version and see how to create and deploy our first Service Fabric service.


Reduce coupling: Free your code and your tests

If you’ve ever tried to refactor some code only to find that your tests broke (even though you retained the same functionality) then the chances are your tests were tightly coupled to your implementation. This coupling meant that your tests had too much knowledge of the implementation details of your code.


Apply “Tell Don’t Ask” and reduce coupling

A few days ago I wrote an article on how coupling (when left unchecked) can impact your code. We looked at exceptions and considered the impact of throwing them in one part of your code, to catch them somewhere else.

I had some great feedback on that post and one comment in particular regarding the viability of the delegate approach in a more realistic example.

Let’s remind ourselves where we ended up.


Why coupling will destroy your application and how to avoid it

Left unchecked, tight coupling between components (especially when distributed around your application) can slowly kill your software; rendering it hard to maintain and much more likely to suffer from bugs.

How can we identify and reduce coupling in our applications?


Azure Bites: Background tasks for your web site using Azure WebJobs

Offloading tasks to run in the background can be really useful. There are times when your users don’t need to wait around for a task (such as sending an email) to finish.

I recently heard about Azure webjobs and decided to give them a go. It turns out they really simplify your message consuming code and finally get rid of those pesky loops!


How (not) to send emails from your web site – The Problem (Part 1)

A few years ago I was working on a project where we needed to add email functionality to a web site.

You know the drill, a customer fills in their details on the site, clicks “Contact Us” and an email wings it’s way to someone in the office.

Read on to find out how not to do it before we look at a better solution using Azure.


Azure Bites: Microservices in Azure

It seems everyone is talking about them. You want to build scalable reliable software where each component can be considered in isolation and called asynchronously.

How does Service Fabric help you create a microservices architecture?