Skip to content

Instantly share code, notes, and snippets.

Avatar

Azamat Kurbanaev azkurban

View GitHub Profile
@azkurban
azkurban / Gobal.asax.cs
Created Dec 29, 2016 — forked from shammelburg/Gobal.asax.cs
Angular2 + Windows Authentication
View Gobal.asax.cs
protected void Application_BeginRequest()
{
if (Request.Headers.AllKeys.Contains("Origin") && Request.HttpMethod == "OPTIONS")
{
Response.Flush();
}
}