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 41381135
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

This request does not have a Content-Type header. Forms are available from requests with bodies like POSTs and a form Content-Type of either application/x-www-form-urlencoded or multipart/form-data.

.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 3713d39de8e9faf2f885db90035fe5a2
X-Real-IP 10.0.0.4
X-Forwarded-For 10.0.0.4
X-Forwarded-Host developer.lubi.se
X-Forwarded-Port 80
X-Forwarded-Proto http
X-Forwarded-Scheme http
X-Scheme http