79764709

Date: 2025-09-15 02:59:25
Score: 0.5
Natty:
Report link

For those who are using a nuget package FakeHttpContext for .net framework 4.5, just try something like below

using (var fakeHttpContext = new FakeHttpContext.FakeHttpContext)
{
    fakeHttpContext.Request.Add("column-name", "custom-value");
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tyr