ENPT

Hey, I'm Vinicius 👋

I write about software in general - mostly for the pure fun of it.

More about me →

Latest

Handling WPF Window Dialog events, the elegant way

Here are two elegant ways that you can use to handle WPF Dialogs from the ViewModel. I will demonstrate both examples by closing a WPF Window Dialog from the …

ASP.NET Conditional Validation

Conditional validation can be very useful, and I’m glad that I found an elegant way of doing it. You can use the same View-Model on two different actions …

Unit Testing NHibernate Mappings

What is the best approach to map your domain classes to the database using NHibernate? After doing some tests, I believe that the best answer is: it …

About

Hey, I’m Vinicius Rocha, a software developer. I’ve been writing code for more than 20 years. I started in the early .NET days, spent a lot of time …

Archives

Quotes

“The pursuit of excellence does not need justification.” — Mitchell Hashimoto, post on X, July 6, 2026 “Consistency underlies all principles …

Search

Press / or Ctrl+K