Answers for "add header in action asp.net mvc"

C#
0

add header in action asp.net mvc

public class HomeCotnroller : Controller
{
     	public HomeCotnroller()
        {
            HttpContext.Response.Headers.Add("Content-Language", "en-US");
        }
}
Posted by: Guest on December-02-2020

Code answers related to "add header in action asp.net mvc"

C# Answers by Framework

Browse Popular Code Answers by Language