asp.net-core-logging Questions
2
Solved
Constructor injection of a logger into Startup works in earlier versions of ASP.NET Core because a separate DI container is created for the Web Host. As of now only one container is created for Gen...
Involucel asked 25/7, 2021 at 11:44
2
Solved
I have an ASP.NET Core web project deployed to Azure with Application Insights configured. Insights is receiving data fine for requests etc. but I am unable to get it to display my logs.
I am usin...
Spelt asked 14/4, 2017 at 11:11
2
In a blazor application I have start-up logging configured in main as follows;
public static void Main(string[] args)
{
var assembly = Assembly.GetExecutingAssembly().GetName();
var appInsigh...
Capella asked 11/11, 2020 at 16:28
1
Lately I have configured Serilog to play nice with ASP.NET Core 2 MVC app and next task is to trace incoming request to web app on every layer of the system. So basically, we want to propagate some...
Landward asked 5/2, 2018 at 15:15
4
Solved
I have ASP.NET Core web api project. Now I want to log the errors and events. I previously used ELMAH in my project but it seems that elmah is not available for ASP.NET Core. I referred to this Off...
Shelby asked 30/6, 2016 at 9:53
1
© 2022 - 2024 — McMap. All rights reserved.