In a ASP.NET Core 2 application, I need a unique identifier (e.g. Guid) for each request so I can include that id in each log and understand the sequence of logs of each req
Sounds like you're looking for a correlation id. Maybe Correlation ID Middleware would help?