I just made the switch to Starship and I am not looking back. The main reason is performance and consistency. Built using Rust, Starship describes itself as the minimal, blazing-fast, and infinitely customizable prompt for any shell. Check it out!
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. Follow along to learn how we can add a JSON configuration provider to a console application.
The OverflowException is thrown in .NET when an arithmetic operation or casting, inside a checked context, results in a type overflow. In Visual Basic (VB.NET), the checked context is on by default, but NOT in C#.
This is a collection of five lessons I learned working with legacy code. They are mostly soft skill. I learned that maintaining a legacy code base has more to with how you face it, than with your technical skills.
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 of your controller and have different validations for each of them.
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 doesn’t matter. As long as you have unit tests in place for it, you are covered.