Tag Archives: .NET

Realworld example ASP.NET Core 1.0’s Middleware

Synopsis: HTTP Modules and HTTP Handlers are not used anymore with ASP.NET Core 1.0. But what if your web app relies on HTTP Modules/Handlers to function? Well, I had a web application that relied on HTTP Modules and a Handler. … Continue reading

Posted in .NET programming, ASP.NET Core 1.0, ASP.NET MVC, C#, C# 6.0, Dependency Injection, DNX | Tagged , , , , , | Leave a comment

NDepend and why .Net developers need it

Intro: Let me start this article with mentioning that I had exactly the same sentiments as Henry Cordes in 2009. I was also approached by C# MVP Patrick Smacchia to look at the tool NDepend he developed, and after a … Continue reading

Posted in .NET programming, .NET tools | Tagged , | 1 Comment

ASP.NET Core 1.0: Goodbye HTML helpers and hello TagHelpers!

Synopsis: ASP.NET Core 1.0 [MVC 6] comes with a new exciting feature called TagHelpers. Read on to see why I think we can kiss HTML helpers goodbye. Find the accompanying sourcecode on my GitHub [4]. Please note that MVC 6 … Continue reading

Posted in ASP.NET Core 1.0, ASP.NET MVC, DNX, Uncategorized | Tagged , , | 6 Comments

ASP.NET Core 1.0’s DNX and MSTest

Intro DNX is .NET’s new cross platform Execution Environment that was developed next to ASP.NET core 1.0 (formerly known as ASP.NET 5)[1]. I came across multiple sources (here for instance [2]) that claimed you can’t write tests for code based … Continue reading

Posted in .NET programming, ASP.NET Core 1.0, DNX, MSTest | Tagged , , , , | Leave a comment

Tracking code comments with Task List

Intro I discourage the use of code comments (no keep reading please), because they are unmaintainable, don’t force you to write readable code and are often written so poorly that they don’t reveal intent anyway. I’ve written about this a … Continue reading

Posted in Visual Studio | Tagged , | Leave a comment

Unit Testing made easy with Dependency Injection

Synopsis: An example in which we walk through a case in which Dependency Injection made writing automatic tests, and in particular unit tests, a delight. Which also makes the discipline Test Driven Development much more an option. Find the example … Continue reading

Posted in .NET programming, Agile Scrum, Dependency Injection, Software design patterns | Tagged , , , , | 2 Comments

Increase productivity with XML documentation

Intro This post was originally a guest blog which you can find: here. Let’s talk about commenting code for a second. I was triggered by this rant http://blog.codefx.org/techniques/documentation/comment-your-fucking-code/ to examine how we actually do this on our team. And as … Continue reading

Posted in .NET programming, Visual Studio | Tagged , | 1 Comment