Collecting telemetry data with ASP.NET Core