ML.NET is a new open source project released by Microsoft few months ago implemented for .NET applications and available as a NuGet package. Now in version 0.4 is growing rapidly but it already has a significative number of algorithms that show the power of the framework. It's a group of libraries used internally by microsoft... Continue Reading →
Resetting Entity Framework migrations
It's very often that when working on projects that has years of life and we are using Entity Framework, the migrations growth a lot over time and suddenly we encounter problems when we try to add new ones. Furthermore, opening the migrations folder and see tons of migration files is not very nice, so we... Continue Reading →
Deferred execution with LINQ
The execution of queries on collection of objects in C# is an operation that we can do of course using LINQ, the popular component introduced 10 year ago in the .NET framework. With LINQ we can write queries on objects with a SQL-like sintax, it give us a lot of flexibility but, as all the... Continue Reading →
Deleting related entities with entity framework
Entity framework has some features and peculiarities that are useful in a lot of situations and with they can help us to do some operations in very smart and efficient mode. Anyway in some circumstances it could surprise us with some very strange side effects or behaviors that may we don't know; we can meet... Continue Reading →
Managing SSH connections with C# Part 2
As discussed in the previous post, disposing an SSH connection is very important to free the port and leave it usable to the next connection. Unfortunately, implementing the connector as disposable is not enought, because if the application crash or stop unexpectedly, the dispose method will no be called and the port will remain busy... Continue Reading →
Managing SSH connections with C#
A new business requirement discussed recently was to connect and retrieve some data from a database hosted in an external network. Deep in dive on the preconditions I discover that the only way to connect to the database was to establish an SSH connection, so I started to ask about the parameters to be used... Continue Reading →
Versioning a Visual Studio 2017 project with Atlassian Bamboo
In the latest post I talked about how we can migrate project files from VS 2015 to VS 2017 and the changes introduced in this migration. One of the improvements is that the new project file is based on .NET SDK that we can use to manage the project. Of course we can continue to... Continue Reading →