Category
.NET
4 posts
Add a JSON configuration file to a .NET Core console application
A .NET Core application can handle configuration using different formats (providers) like memory, command line and environment. Here, we will be using a file …
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 …