In some situations, like generate a live console for a web api or generate code using T4 template we need a way to read the code documentation at runtime. Some time ago I’ve faced that situation again and I thought: “Should be an easy way to read this code documentation!”....Read "Getting your code documentation ..."
There is an amazing and easy to use custom attribute on .NET Framework stack that I rarely see in use. It helps and improve the way you can debug your code and you just need a line of code to use it: DebuggerDisplay. Maybe you’ve used it a lot and...Read "Improving your debug with Debugg..."
You have programmed an amazing functional tests to validate your infrastructure service that connect on Google Docs. These functional tests run perfect well on your development machine and now you want to run them on Travis CI, but how to do this without reveal your Google’s username and password worldwide? Travis...Read "Using sensitive data on your Tra..."
Because we can get unexpected results! (after read this tip, will be expected results ;)) What is the diference between these two Linq queries? Query 1 var filterDate = DateTime.UtcNow; ctx.Set.Where(m => m.DateTime > filterDate); Query 2 ctx.Set.Where(m => m.DateTime > DateTime.UtcNow); The first one will generate a SQL with...Read "Why we should avoid DateTime.Utc..."
The Eric Evans’ book “Domain-Driven Design - Tackling Complexity in the Heart of Software” is like a Bible for who intend to use DDD, so, I guess that some quotes of the book can help us to validate our DDD approach. The list below is just a “check-point list”, because,...Read "DDD by quotes"
Looking in some backups I found one of my first games. I made it about 14 years ago: a Nibble in 461 lines of C. I push the source code and binary files to a GitHub repository: https://github.com/giacomelli/NibbleRead "Nibble"