dotNET Weekly
Add a link
LoginRegister
PrevFebruary 2020Next
WSMTWTFS
52627282930311
62345678
79101112131415
816171819202122
923242526272829

Want to receive every Tuesday the best .NET links?

Once subscribed you can login, submit a link and receive the weekly newsletter.

Join more than 4847 .NET professionals!

C# how to convert a string to int

by ThomasArdal, 2020-02-04T07:09:29.808Z

Get all the details about how to convert a string to int with C#. Learn how to handle exceptions and all of the worst practices that everyone is doing.

.net.net-core.net-standard

Tips & tricks for unit testing in .NET Core 3: Checking matching and non matching arguments on ILogger

by anthonygiretti, 2020-02-05T05:32:06.172Z

You must have been like me for a long time unable to do one thing with ILogger: test the arguments that are passed to its methods during your unit tests. You must most likely use extension methods such as LogDebug, logError etc …… and indeed you can neither mock nor test the arguments passed to them. We will see in this article how to get around this difficulty in order to finally be able to test arguments passed to extension methods of ILogger.

.net-core

NewslettersAboutPrivacy Policy