ASP.NET Core Request property values

method
url

.Host

HasValue True
Host developer.lubi.se
Port null
ToString developer.lubi.se
ToUriComponent developer.lubi.se
Value developer.lubi.se

.PathBase

HasValue False
ToString empty
ToUriComponent empty
Value empty

.Path

HasValue True
ToString /aspnet-core-request-property-values
ToUriComponent /aspnet-core-request-property-values
Value /aspnet-core-request-property-values

.Query

.QueryString

HasValue False
ToString empty
ToUriComponent empty
Value empty

properties

ContentLength null
ContentType null
HasFormContentType False
IsHttps False
Method GET
Protocol HTTP/1.1
Scheme http

methods

GetHashCode 26902586
ToString Microsoft.AspNetCore.Http.DefaultHttpRequest

extensionmethods

GetDisplayUrl http://developer.lubi.se/aspnet-core-request-property-values
GetEncodedUrl http://developer.lubi.se/aspnet-core-request-property-values
GetEncodedPathAndQuery /aspnet-core-request-property-values

.RouteValues

controller AspnetRequestProperties
action Index
suffix null

.Form

Incorrect Content-Type:

.Cookies

.Headers

Accept */*
Host developer.lubi.se
User-Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Accept-Encoding gzip, br, zstd, deflate
X-Request-ID 4865f0f511a06fec26da3414a88f19d0
X-Real-IP 216.73.216.198
X-Forwarded-For 216.73.216.198
X-Forwarded-Host developer.lubi.se
X-Forwarded-Port 443
X-Forwarded-Proto https
X-Forwarded-Scheme https
X-Scheme https