A work-in-progress list of my favorite Git commands
A concise reference of my most-used Git commands. Updated September 2024.
Read the complete articleA concise reference of my most-used Git commands. Updated September 2024.
Read the complete articleWhen debugging your .NET application with Visual Studio, you will come along Framework- or Application-Exceptions. In specific cases you see the line where the Exception was thrown (line 132 in the following screenshot) but you cannot see the content (message, stacktrace, etc.) of the Exception. To find this information simple type the following in the watch list area of Visual Studio:
Read the complete articleWhen working with “9 to 5” web applications you deal with idle time periods where the users submit few or no requests to specific services of your application. In that cases the first request landing to a service hosted on IIS will take much longer than usual because the service was in sleep mode for better management of resources.
We can avoid this behavior and keep our services in an always-running mode by applying the following three configurations in IIS:
Read the complete articleSome time ago I wrote an article about Moq with some tricks I used while unit testing my code.
In this article you will find some more tips that I found very useful while using the framework.
Read the complete articlePostman requires no introductions and plenty of resources about this tool can be found online. However, while testing I recently noticed, that the binding of JSON objects to C# primitive types or POCO classes is not documented in detail.
We are going to see different scenarios of binding while we test against a .NET WebAPI and try to answer the question “why my action is not getting called when everything is set up in Postman?”.
Read the complete article