22 C# Best Practices
In the ever-evolving world of software development, writing clean and efficient code by using C# best practices is crucial. It not only enhances the maintainability of our codebase but also contributes to the overall success of our projects. In the upcoming sections,...
Database First Development With EF Core Power Tools
In this article, we'll explore EF Core Power Tools, a popular toolbox aimed at simplifying the development workflow when using Entity Framework Core in .NET applications. Its standout feature is the graphical user interface (GUI) it provides for reverse engineering...
Memory Optimization With ArrayPool in C#
In this article, we will learn how to achieve memory optimization in C# through the utilization of the ArrayPool class. We'll explore the significance of memory efficiency and validate its effectiveness via benchmarking, providing a comprehensive guide to enhance...
Using a Discard Variable in C#
In this article, we are going to learn about the differences between a discard variable and the usual variables in C#. We will also see some practical uses of a discard. Let's learn what discriminated unions are and why this feature has been...
Using ML.NET CLI To Automate Model Training
As we continue our article series about ML.NET, we will look at the ML.NET Command Line Interface (CLI) tool. Like ML.NET Model Builder, the ML.NET CLI uses AutoML to produce machine learning models. Sending...
How to Use onchange Event with Select DropDown in Blazor
When we write applications, we want to know when a user changes the value in input fields and what the new value is. We get this information through change events available for HTML input-type elements. We can define an onchange event attribute on the input element to...
How to Use Moq to Return a Value That Was Passed Into a Method?
In this article, we are going to learn about mocking with the Moq framework for .NET. Specifically, we're going to learn how we can mock a method, which returns a value passed to it. The more complex the...