How To Use IHttpContextAccessor In ASP.NET Core #shorts

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

What book do you recommend to learn good fundamentals of c#?

jonathaneugeniosandovalmar
Автор

Accessing the httpcontext from anywhere besides controllers and above (Middleware, action filters etc) is an anti-pattern. You should unwrap everything you need before sending a DTO down

ronsijm
Автор

Is using ihttpcontextaccessor how i would handle getting correlationid in a service and sending it forward to another service?

tilentratnjek