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”
In May of this year, I wrote an article on how to get JetBrains Rider to generate SpecFlow files. The biggest problem I still had back then was that I couldn’t generate the step definitions. I finally found a workaround so I don’t need to use Visual Studio anymore.
Continue reading “SpecFlow steps generation and general Rider changes”
While optimising a query, I noticed that a many-to-many relationship still used a class in between. There is a more optimised way to configure many-to-many relationships in Entity Framework.
Continue reading “Entity Framework many-to-many relationship”
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”
The graph is a good way to understand the structure of smaller projects, but gets messy in larger projects. That’s why I compare the matrix of a big project against the matrix of the smaller project.
Continue reading “NDepend: Matrix”
After viewing the dashboard, the next thing I took a look at is the Graph. This report gives an overview how the code is linked together. Either by projects or namespaces. In a smaller project, I immediately spotted something off. Let’s delve a little deeper.
Continue reading “NDepend: Graph”
Since some time, I’ve been wanting to use the NDepend tool to analyse the code base I’m currently working on. Then the opportunity presented itself for me to test out NDepend and see how it can help me understand my current code base better.
Continue reading “NDepend: introduction”
At the moment, there is no official SpecFlow support in Jetbrains .net IDE Rider. I found a way to make it more bearable. Keep in mind that it’s not a perfect solution.
Continue reading “Generating SpecFlow files in Rider”
Last week, I wrote about the program that will read the emails from my Outlook account. This week I’ll grant the application read rights so that it can actually read the emails.
Continue reading “Connecting to Office365 by API: the setup”
At work, we made the switch from a local mail server that was accessed over POP3 and IMAP to Office365 Outlook which we access through their RESTful API. To learn more about how this works, I tried to duplicate this process so I can access my personal Outlook emails via a console application.
Continue reading “Connecting to Office365 by API: the code”