NDepend Blog

Improve your .NET code quality with NDepend

Not planning now to migrate your .NET 4.8 legacy, is certainly a mistake

January 16, 2020 4 minutes read 2020 will see the achievement of the massive remodeling of the .NET platform initiated by Microsoft in November 2014 with the introduction of .NET...
NDepend January 16, 2020

4 Predictions for the Future of .NET

October 8, 2019 6 minutes read In May 2019, Microsoft officially announced .NET 5, the future of .NET: it will be based on all the .NET Core work already achieved....
NDepend October 8, 2019

.NET Core 3.0 New APIs

September 25, 2019 2 minutes read .NET Core 3.0 has just been released, see here the official announcement. In this post we’re going to explain how to list and explore...
NDepend September 25, 2019

Find API Breaking Changes in your .NET Libraries and Frameworks

September 24, 2019 3 minutes read If you are developing a framework, the last thing you want to happen when releasing a new version of your product is to break...
NDepend September 24, 2019

Business Complexity vs. Implementation Complexity

September 19, 2019 6 minutes read It is good software design practice to make sure that methods can be entirely viewed in the code editor that typically shows 30 to...
NDepend September 19, 2019

Answers to arguments against 100% coverage

September 10, 2019 7 minutes read I’ve been enthusiast about 100% coverage for more than a decade. The large code base of NDepend we are working on will reach soon...
NDepend September 10, 2019

Static Analysis and Dependency Injection

September 3, 2019 4 minutes read For quite some years now, we (the NDepend team) got some demand about resolving Dependency Injection, see this page on our User Voices. Lately...
NDepend September 3, 2019

Are SOLID principles Cargo Cult?

August 13, 2019 6 minutes read My last post about SOLID Design: The Single Responsibility Principle (SRP) generated some discussion on reddit. The discussion originated from a remark considering SOLID...
NDepend August 13, 2019

Identify .NET Code Structure Patterns with no Effort

July 16, 2019 7 minutes read The two pillars of code maintainability are automatic testing and clean code structure. Testing is used to regularly challenge code correctness and detect regression...
NDepend July 16, 2019

Ensure that your classes are declared as sealed when possible

July 10, 2019 3 minutes read Inheritance is one of the pillar of OOP. However, in the real world, most classes are not designed to be properly inheritable. Properly designing...
NDepend July 10, 2019

The continuous adaptation of Visual Studio extensions

July 4, 2019 5 minutes read One could think that developing an extension for a two-decades+ product as mature as Visual Studio is headache-less. Not really. Visual Studio is a...
NDepend July 4, 2019

Simplifying a Visual Studio extension menu: A Case Study

April 2, 2019 4 minutes read NDepend version 2019.2.1 has just been released. This new version proposes a simplified menu for the NDepend Visual Studio extension. Before going further I...
NDepend April 2, 2019

An in-depth analysis of .NET Core 3.0 support for WPF and Winforms APIs

February 28, 2019 5 minutes read .NET Core 3.0 will be RTM soon and it supports WPF and Winforms APIs. In my last post I’ve been exploring .NET Core 3.0...
NDepend February 28, 2019

Exploring .NET Core 3.0 new API

February 21, 2019 9 minutes read .NET Core 3.0 is representing a major step for the .NET community. It is interesting to analyze what’s new in the API directly from...
NDepend February 21, 2019

Advanced Code Search : A Case Study

January 16, 2019 3 minutes read This morning I stumbled on a complex test to write. The need was to create and show a custom Form (written with Windows Form)...
NDepend January 16, 2019

NDepend and .NET Fx v4.7.2: an extension method collision and how to solve it easily

May 17, 2018 2 minutes read In Oct 2017 I wrote about the potential collision problem with extension methods. At that time the .NET Framework 4.7.1 was just released with...
NDepend May 17, 2018

Quickly assess your .NET code compliance with .NET Standard

April 19, 2018 4 minutes read Yesterday evening I had an interesting discussion about the feasibility of migrating parts of the NDepend code to .NET Standard to ultimately run it...
NDepend April 19, 2018

Checking DDD Ubiquitous Language with NDepend

March 13, 2018 4 minutes read Since NDepend version 2018.1, the tool proposes a default rule to check Domain Driven Design (DDD) Ubiquitous Language validity. DDD Ubiquitous Language Let’s quote Martin Fowler...
NDepend March 13, 2018

New .NET Core 2.1 and ASP.NET Core 2.1 APIs

March 8, 2018 2 minutes read .NET Core 2.1 and ASP.NET Core 2.1 Preview1 have just been released (see here the official announcement) and we are going to explore new...
NDepend March 8, 2018

A problem with extension methods

November 13, 2017 2 minutes read We like extension methods. When named accordingly they can both make the caller code clearer, and isolate static methods from classes on which they...
NDepend November 13, 2017

Static analysis of .NET Core 2.0 applications

October 12, 2017 3 minutes read NDepend v2017.3 has just been released with major improvements. One of the most requested features, now available, is the support for analyzing .NET Core 2.0...
NDepend October 12, 2017

Migrating from HTTP to HTTPS in a IIS / ASP.NET environment

September 5, 2017 5 minutes read Google is urging more and more webmasters to move their sites to HTTPS for security reasons. We did this move last week for our IIS...
NDepend September 5, 2017

Our experience with using third-party libraries

August 3, 2017 5 minutes read NDepend is a tool that helps .NET developers write beautiful code. The project was started in April 2004. It is now used by more...
NDepend August 3, 2017

Code Metric Visualization: Lines of Code and Code Coverage

April 19, 2016 1 minutes read One of the features of NDepend that we get a lot of positive feedback about is its data visualization, and it’s really no surprise....
NDepend April 19, 2016

A Visual Studio script that saves time and pain

March 7, 2016 2 minutes read After years of pain, I finally found a clean-and-definitive way to get rid of the dreadful issue Could not copy assembly, the process cannot...
NDepend March 7, 2016

The Better Code Book – Our MVPs of 2015

February 24, 2016 3 minutes read We firmly believe spaghetti belongs on the dinner table and not in code. Our mission when starting NDepend was to create a tool to...
NDepend February 24, 2016

How Siemens Healthcare manages over 500 million lines of code – An NDepend Case Study

February 23, 2016 1 minutes read Siemens Healthcare produces imaging equipment for the medical sector in a variety of fields and is based in Germany. Looking to reduce development costs on...
NDepend February 23, 2016

NDepend updated to Version 6.2

December 3, 2015 2 minutes read NDepend version 6.2 has just been released. We have addressed over 20 bug fixes, including a blocker one for Visual Studio 2015 update 1 Git...
NDepend December 3, 2015

NDepend Case Study: Increasing Development Efficiency in the Medical Laboratory Sector

November 11, 2015 2 minutes read Developing applications for use in the health care industry is stressful because the margin of error is almost non-existent. Whether your tool is for...
NDepend November 11, 2015

Toward Bug Free Software: Lines of Defense

July 21, 2015 9 minutes read Hurrah!! Last week we released NDepend v6 RTM. Once again we relied on a 2 months private beta-testing period and a one month Release Candidate period to do...
NDepend July 21, 2015