Model binding in ASP.NET MVC can be fun

Model binding is a technique that allows you to map data to your controller actions in ASP.NET MVC. In the old days one would manually call

to get the value of а parameter, but this could quickly become annoying as you get many parameters (f.x., via form POST). Model binding abstracts away this tedious activity and allows us to focus on designing our controllers. The process itself looks like this:

Model binding mechanism

A nice bonus is that we can map our models from any kind of request, for example a form POST or AJAX. Continue Reading…

The power of feature toggles

Many organizations employ a complex deployment process where every code change has to go through a series of different steps in order to reach the production environment. This is typically due to organizational rules, which require many people to approve the deployment. The result is a big package with many updates to the code that is supposed to be deployed at once. At deployment time the level of stress rises drastically, as there often are unexpected errors – missing configurations, misunderstandings in the team, or special (not well-tested) scenarios. Moreover, if the deployment fails, it needs to be rolled back, which could be a painful process.

Long deployments process

Continue Reading…

taskhostw.exe high CPU usage on Windows 10

I have had my Dell XPS 13 for more than 2 years now and I am still very happy with it. When I bought it initially, it came with Windows 8. Later on I upgraded it to Windows 8.1. And lastly I upgraded it to Windows 10 – the free upgrade offered to many people. Windows 10 suits my computer well as it can be used both as a regular laptop and as a tablet (its screen can be flipped around). Moreover, there are a lot of performance optimizations and configuration improvements in this version of Windows that makes my life better. However, after the upgrade one problem occurred. Continue Reading…

Why it is important to go live a.s.a.p.

At the last sprint retrospective meeting some of my colleagues raised the following concern: “We are going live with a version that is far behind our vision to deliver good service for our customers.” We are now working on a big project and soon the first version will be released. However, as the project is indeed very big, we have decided to go live with a very limited feature set. Is this a problem? Continue Reading…