Often, when we write complex entity framework queries we would want to check how the translated query looks like or simply we would want to monitor the efficiency of it. If we have SQL Server Management Studio, we can leverage SQL Profiler to track all the queries on a specific database: This is not very … Continue reading Logging Entity Framework SQL queries
Author: Mirko Maggioni
Configure and analyze Application Insight logs of an ASP.NET Core application
Application insight is an Azure monitoring tool that we can use to inspect the behaviours of .NET application. Based on the logs and the exceptions, it's collect and categorize the datas, that are available for analysis by the developers who want to understand what is the cause of an anomaly or simply know the healty … Continue reading Configure and analyze Application Insight logs of an ASP.NET Core application
Exposing ML.NET features with a typed C# service
As we have seen in the previous post, in order to use ML.NET we have to configure the pipeline with all the operations that we need to do to transform our dataset and the algorithm that we want to use. In my opinion this syntax is rather verbose and of course has to be repeated … Continue reading Exposing ML.NET features with a typed C# service
Training, prediction and evaluation with ML.NET
Train a ML.NET algorithm is the activity that we need to do when we want to prepare and algorithm to predict some values. As we'll see we have to prepare the pipeline with some operations that will be propedeutic to the training, like load the dataset, convert alphanumeric colums and so on. Now that we … Continue reading Training, prediction and evaluation with ML.NET
Choosing an ML.NET algorithm
A tipical question when we approach a machine learning problem is: what is the algorithm that fits better in my dataset? In the previous post we have seen the possible classifications for the ML.NET algorithms and this is the first step to restrict the possible choices. Now we can make considerations about what are our … Continue reading Choosing an ML.NET algorithm
Machine Learning algorithms tipologies in ML.NET
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 Machine Learning algorithms tipologies in ML.NET
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 Resetting Entity Framework migrations
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 Deferred execution with LINQ