Just Some Code
I'm Cesar Aguirre. Software engineer
Blog
About
Projects
Contact
© 2024. All rights reserved.
#csharp
csharp
tutorial
todayilearned
career
showdev
sql
mondaylinks
productivity
misc
books
writing
asp.net
interview
visualstudio
git
learning
codereview
bugoftheday
letsX
vim
react
go
2024
2024-11-14
Getting Rid of Nulls Is Indeed A Good Idea
2024-11-12
Two Alternatives to Assertion Messages — and Two Ideas if You Do Want To Keep Them
2024-10-30
The Power of Function Composition — to Find If an Array Is Special
2024-10-29
Using Lambda Expressions Doesn't Make Your C# Code Functional
2024-09-30
TIL: How to Use the Specification Pattern in C# to Simplify Repositories
2024-08-19
It Seems the C# Team Is Finally Considering Supporting Discriminated Unions
2024-08-05
For Cleaner Domains, Move IO to the Edges of Your App
2024-07-22
5 Unit Testing Best Practices I Learned from This NDC Conference Talk
2024-07-08
What I Don't Like About C# Evolution: Inconsistency
2024-06-10
Testing DateTime.Now Revisited: .NET 8.0 TimeProvider
2024-04-15
Two new LINQ methods in .NET 9: CountBy and Index
2024-04-01
How to Test Logging Messages with FakeLogger
2023
2023-10-30
TIL: Five lessons while working with OrmLite
2023-10-16
TIL: How to join to subqueries with OrmLite
2023-08-07
Too many layers: My take on Queries and Layers
2023-06-26
TIL: How to pass a DataTable as a parameter with OrmLite
2023-05-29
Let's refactor a test: Speed up a slow test suite
2023-05-15
Let's refactor a test: Update email statuses
2023-04-03
Goodbye, NullReferenceException: Separate State in Separate Objects
2023-03-20
Goodbye, NullReferenceException: Option and LINQ
2023-03-06
Goodbye, NullReferenceException: Nullable Operators and References
2023-02-20
Goodbye, NullReferenceException: What it is and how to avoid it
2022
2022-12-22
Let's refactor a test: Remove duplicated emails
2022-12-21
To Value Object or Not To: How I choose Value Objects
2022-12-20
Dump and Load to squash old migrations
2022-12-16
Six helpful extension methods I use to work with Collections
2022-12-15
How to create ASP.NET Core Api project structure with dotnet cli
2022-12-14
How to write good unit tests: Use simple test values
2022-12-13
TIL: Five or more lessons I learned after working with Hangfire and OrmLite
2022-12-11
TIL: How to automatically insert and update audit fields with OrmLite
2022-12-08
Let's refactor a test: Store and Update OAuth connections
2022-12-07
I'm banning Get, Set, and other method and class names
2022-12-06
How to replace BackgroundServices with a lite Hangfire
2022-12-04
On Unit Testing Logging Messages
2022-12-02
TIL: Always check for missing configuration values inside constructors
2022-12-01
How to write tests for HttpClient using Moq
2022-12-01
Advent of Code 2022
2022-08-22
Three set-like LINQ methods: Intersect, Union, and Except
2022-07-25
LINQ Aggregate Method Explained with Pictures
2022-07-11
Peeking into LINQ DistinctBy source code
2022-06-27
Four new LINQ methods in .NET 6: Chunk, DistinctBy, Take, XOrDefault
2022-06-13
Five common LINQ mistakes and how to fix them
2022-05-30
How to use LINQ GroupBy method: Two more use cases
2022-05-16
Five LINQ Methods in Pictures
2021
2021-11-08
BugOfTheDay: There are pending requests working on this transaction
2021-10-25
TIL: Dictionary keys are converted to lowercase too on serialization
2021-10-11
Don't duplicate logic in Asserts: The most common mistake on unit testing
2021-09-27
Two C# idioms: On defaults and switch
2021-09-13
My Top 16 newest C# features by version
2021-08-30
Unit Testing 101: From Zero to Hero
2021-08-16
Write custom Assertions to improve your tests
2021-08-02
Let's refactor a test: Payment report
2021-07-19
How to write better assertions in your tests
2021-07-05
Unit Testing Best Practices: A checklist
2021-06-21
Write simpler tests with Type Builders and AutoFixture
2021-06-07
Five tips for better stubs and mocks in C#
2021-05-24
What are fakes in unit testing? Mocks vs Stubs
2021-05-10
How to write tests that use DateTime.Now
2021-04-26
How to create test data with the Builder pattern
2021-04-12
How to name your unit tests: Four test naming conventions
2021-03-29
Four common mistakes when writing your first unit tests
2021-03-15
Unit Testing 101: Write your first unit test in C# with MSTest
2021-02-24
TIL: How to convert 2-digit year to 4-digit year in C#
2021-02-10
Decorator pattern. A real example in C#
2021-02-05
How to write good unit tests: Write failing tests first
2021-01-18
A quick guide to LINQ with examples
2020
2020-12-10
A case of primitive obsession. A real example in C#
2020-12-04
TIL: Always Use a Culture When Parsing Numeric Strings in C#
2020-11-17
TIL: LINQ DefaultIfEmpty method in C#
2020-11-02
How to write good unit tests: Noise and Hidden Test Values
2020-09-23
BugOfTheDay: The slow room search
2020-08-21
How to read configuration values in ASP.NET Core
2020-08-15
How to keep your database schema updated with Simple.Migrations
2020-08-11
How to create fakes with Moq. And what I don't like about it
2020-08-01
Two C# idioms: On Dictionaries
2020-07-28
Another two C# idioms
2020-06-29
How to add an in-memory and a Redis-powered cache layer with ASP.NET Core
2020-02-14
Pipeline pattern: An assembly line of steps
2019
2019-11-19
Two C# idioms
2019-09-16
How to Shift Array Elements in C# (Space Complexity)
2019-08-29
How to Solve The Two-Sum Problem in C# (Time Complexity)
2019-08-02
Postfix Notation: An Interview Exercise
2019-03-22
What the Func, Action? Func vs Action
2019-03-08
Parsinator, a tale of a pdf parser
2018
2018-11-17
The C# Definitive Guide
2018-10-22
How to handle holidays in C# with DateTimeExtensions
2018-07-18
When logging met AOP with Fody