In ASP.NET core you can append headers using the Append method -
Code example,
response.Headers.Append("Some-Header", HeaderValue);
Is there a way to achieve the same in .NET Framework 4.8?
In ASP.NET core you can append headers using the Append method -
Code example,
response.Headers.Append("Some-Header", HeaderValue);
Is there a way to achieve the same in .NET Framework 4.8?
You can use HttpResponse.AppendHeader.
response.AppendHeader("Some-Header", HeaderValue);