filmov
tv
How to access the HttpContext in Asp.Net Core apps
Показать описание
Accessing and working with HttpContext across different #AspNetCore apps is not complicated per se, but it can get a little bit confusing. That's why in this video we aim to clarify this topic by looking into how we can access the HttpContext in a Razor Pages app, in a regular MVC app and in a WebAPI. Last but bot least, we look into how to inject, access and use the HttpContext in Asp.Net Core middleware classes and custom components/services that are registered in the Asp.Net Core DI container.
#DotNet #DotNetCore
Chapters
1. Intro: 00:00
2. Accessing the HttpContext in Razor Pages apps: 01:34
3. Accessing the HttpContext in MVC apps: 09:39
4. Accessing the HttpContext in WebAPIs: 14:31
5. Accessing the HttpContext in custom middleware: 16:38
6. Resolving HttpContext through DI: 19:39
How to access the HttpContext in Asp.Net Core apps
ASP NET CORE 6 API : HOW TO GET USER ID OF CURRENTLY LOGGED IN USER using HTTPCONTEXT - Part 13
Dangers of using IHttpContextAccessor
Mocking HttpContext and HttpHeaders in ASP.NET Core
C# : How to access current HttpContext in ASP.NET Core 2 Custom Policy-Based Authorization with Auth
C# : How to get access token from httpcontext using owin and Mvc 5
C# : How to get access token from HttpContext in .Net core 2.0
C# : Access the current HttpContext in ASP.NET Core
C# : How do I access HttpContext.Current in Task.Factory.StartNew?
Let's Learn AdonisJS 5: Ep 1.3 - Understanding the HttpContext Object & HttpContextContract
C# : C# ASP.NET: how to access cache when no HttpContext.Current is available (is null)?
C# : Can't access to HttpContext.Current
Get Current Logged In UserId of User in ASP.NET CORE Identity
#13 Reading Request Body | HTTP Request & Response | ASP.NET Core MVC Course
C# : Access HttpContext.Current from different threads
C# - How To Use Session Variables In .NET Core 6.0
How To Add A Global Property To Your HttpContext in AdonisJS 5
How to get authenticated user identity name in asp net web api
How to Apply Session in ASP.NET CORE Short Example
How to Read Claims of a JSON Web Token in a .NET 7 Web API 🔒
http request and response example | Asp.Net Core Web API tutorial
#08 HTTP Request & Response | HTTP Request & Response | ASP.NET Core MVC Course
Getting HTTP Headers in C# is SUPER easy!
Stop using the HttpClient the wrong way in .NET
Комментарии