python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
HttpContext.Current not supporting for Self hosting
When I am installing my application through IIS the installation is successful and when doing a SelfHosting installation, it fails. When debugging found that HttpContext.Current is always coming as nu...
Jess
Votes: 0
Answers: 1
What is the .net core version of HttpContext.Current.Request.ServerVariables["HTTP_HOST"]
I am trying to rewrite this line of code HttpContext.Current.Request.ServerVariables["HTTP_HOST"] it cant find current it doesn't contain a definition.
Spafa9
Votes: 0
Answers: 1
HttpContext is "null" during MSTest execution
For my program, it requires httpContext to be present, but, during MSTest, the values is set to "null".
Is there any way to provide the value to httpContext?
Chiraag D
Votes: 0
Answers: 1
ASP.NET Core , .NET 6> Overwirte appsettings based on HttpContext / Current URL
In my ASPNET Core App, how to overload / overwrite appsettings based on current url ?
I have actually one application "my app", in .NET 6.
I host this application in IIS, 2 times :
http://lo...
Pika
Votes: 0
Answers: 0