-
Recent Posts
- Measure Your Carbon Footprint on Azure Programmatically With the Carbon Optimization REST APIs
- Measuring Your Azure Carbon Footprint with the Carbon Optimization Service
- Measuring Your Azure Carbon Footprint with the Sustainability API
- Performance Optimization C#.NET For Energy Efficiency
- Use Spot Containers With Azure Container Instances And Lower Your Carbon Emissions
Recent Comments
Archives
- March 2024
- February 2024
- January 2024
- November 2023
- September 2023
- July 2023
- June 2023
- May 2023
- February 2020
- April 2017
- December 2016
- September 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- February 2015
- August 2013
- November 2012
- May 2012
- October 2011
Categories
Meta
Tag Archives: .NET
Performance Optimization C#.NET For Energy Efficiency
In today’s tech-driven world, sustainable software engineering has become a focal point for developers. But when we talk about sustainability in software, we’re not just referring to long-term maintenance. One of its pivotal dimensions is energy efficiency. With power-hungry data … Continue reading
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 .NET, ASP.NET Core 1.0, C#, C# 6.0, Dependency Injection, Middleware
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
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 .NET, ASP.NET 5, ASP.NET Core 1.0
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 .NET, ASP.NET Core 1.0, C#, DNX, MSTest
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
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 .NET, Agile, C#, Dependency Injection, Scrum
4 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
Improve Your Productivity With Code Snippets
With a combination of hotkeys or via the context menu you can insert pieces of code into your code file, called Code Snippets. They can be used to insert entire methods and or classes, but are used more often to … Continue reading
Real world example of Dependency Injection based on run-time values
Synopsis: This is a real world example from my work in which I solved a Dependency Injection problem, where the dependencies are based on run-time values, with an Abstract Factory. Get the example from my GitHub: https://github.com/DannyvanderKraan/EntityActionAbstractFactory Intro Last time I introduced … Continue reading
Posted in .NET programming, C# 6.0, Dependency Injection, Software design patterns
Tagged .NET, Abstract Factory, C#, Dependency Injection, Design Patterns, Unity
2 Comments