Click here to Skip to main content
14,700,041 members

Articles by Daan Acohen (Articles: 4, Tip/Tricks: 6)

Articles: 4, Tip/Tricks: 6

RSS Feed

Average article rating: 4.39

Internet / Network
HTTP
Posted: 2 Jun 2020   Updated: 2 Jun 2020   Views: 2,461   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
A description of how you can let the HttpClient client do exactly what you want and test for that with xUnit
CodeProject FAQs
General
Posted: 7 May 2020   Updated: 7 May 2020   Views: 7,642   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Learn how to do integration testing while mocking external dependencies of your .NET Core application
Posted: 10 May 2020   Updated: 10 May 2020   Views: 5,119   Rating: 3.78/5    Votes: 4   Popularity: 2.27
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
The test problems you face when having a database dependency and how to resolve these problems
Posted: 13 May 2020   Updated: 13 May 2020   Views: 3,675   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
An explanation of the concept of a Fixture and how it can be used for unit testing and integration testing
No blogs have been submitted.

Average tips rating: 4.71

Web Security
General
Posted: 25 May 2020   Updated: 25 May 2020   Views: 3,601   Rating: 4.92/5    Votes: 4   Popularity: 2.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
The HttpClient can cause a security issue depending on how it is used so this article explains how to prevent that.
.NET Framework
General
Posted: 19 May 2020   Updated: 19 May 2020   Views: 4,502   Rating: 4.62/5    Votes: 4   Popularity: 2.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
An explanation of how to support multiple platforms in .NET development
Posted: 26 May 2020   Updated: 26 May 2020   Views: 3,620   Rating: 4.20/5    Votes: 2   Popularity: 1.26
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Some functionality of Moq can be really important but can also be easily forgotten as explained here
Design and Architecture
General
Posted: 21 Feb 2017   Updated: 21 Feb 2017   Views: 7,800   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
A general technique is shown how to resolve circular dependencies with Ninject and a helper class
CodeProject FAQs
General
Posted: 21 May 2020   Updated: 21 May 2020   Views: 3,656   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
An explanation of how to test validation attributes with xUnit
Posted: 24 May 2020   Updated: 24 May 2020   Views: 2,774   Rating: 4.53/5    Votes: 4   Popularity: 2.73
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
By using xUnit the right way, your logging can be improved and production problems can be solved easily or even prevented
No reference articles have been posted.
No projects have been posted.

Daan Acohen
Software Developer (Senior)
Netherlands Netherlands
I am a self-employed software engineer working on .NET Core. I love TDD.