DaHermansson · @DaHermansson
1 followers · 1 posts · Server dotnet.social

If you remove a cache item in System.Net.Caching that has been expired. The CacheItemRemovedReason parameter in CacheItemRemovedCallback will be overwritten with reason Expired.

The Remove-method checks if the item is expired and if it is simply overwrite the reason.
Turns out that not have that in the documentation can introduce buggs that takes days to find :/

If the behaviour is correct (as it probably is) it should be mentioned in the docs.

#dotnet #netframework

Last updated 1 year ago

Marco Siccardi :dotnet: · @MSicc
372 followers · 89 posts · Server dotnet.social

If you are interested in how came to its current incarnation, these two blog posts by @andrewlock are drawing a pretty complete picture:

Understanding the .NET ecosystem: The evolution of .NET into .NET 7
andrewlock.net/understanding-t

Understanding the .NET ecosystem: The introduction of .NET Standard
andrewlock.net/understanding-t

#dotnet #learning #knowledge #netframework #netstandard #dotnet7 #history #ecosystem

Last updated 1 year ago

Lars Hanisch · @flensrocker
44 followers · 320 posts · Server troet.cafe

TIL about: `__declspec(appdomain)`

#netframework #dotnet

Last updated 1 year ago

Lars Hanisch · @flensrocker
43 followers · 286 posts · Server troet.cafe


Sorry, but you suck.

#netframework #dotnet #printing #wpf

Last updated 1 year ago

🇺🇦luc · @luc
119 followers · 953 posts · Server troet.cafe

Ich verzweifle gerade an UnitTests und dem alten .Net Framework 4.7.2. Manchmal habe ich das Gefühl, dass sich Objektorientierung und UnitTests ganz schön beißen können. Ich komme zumindest seit geraumer Zeit nicht sinnvoll weiter. Alte Frameworks sind halt auch einfach 😤

#legacycode #programming #unittests #ttd #netframework #ObjektOrientierteProgrammierung

Last updated 2 years ago