Use DebuggerDisplayAttribute to make your life easier

To get information about an object, I mostly overload the ToString method to display information in the local debug or the popup window. Then I found out that there is another way.

Continue reading “Use DebuggerDisplayAttribute to make your life easier”

Advertisements

NDepend: Rules and Metrics

In the last post about what I learned in NDepend, I’ll talk about a pragmatic approach to deciding where to refactor code. The combined views of Queries and Rules Explorer, the Queries and Rules Editor and the Metrics view. On their own, they are not that helpful, but combined they contained a trove of data.

Continue reading “NDepend: Rules and Metrics”

Patterns and disciplines from a proof of concept – Part 4

While I worked at my previous employer, I build a proof of concept to improve their ability to search. I will rebuild that proof of concept and I’ll highlight all the patterns and principles I used to build this code. All code related to this proof of concept can be found in a repository on my Github account.

In this fourth instalment, I want to highlight how I divided the solution in different projects.

Continue reading “Patterns and disciplines from a proof of concept – Part 4”

Patterns and disciplines from a proof of concept – Part 3

While I worked at my previous employer, I build a proof of concept to improve their ability to search. I will rebuild that proof of concept and I’ll highlight all the patterns and principles I used to build this code. All code related to this proof of concept can be found in a repository on my Github account.

In this third part, I’m going to discuss the actual search algorithm. The generic implementation of the search algorithm can be found in the DefaultImplementation project.

Continue reading “Patterns and disciplines from a proof of concept – Part 3”