private static bool CheckRequireAuthentication( HttpContext context )
{
var extension = System.IO.Path.GetExtension(context.Request.Url.LocalPath);
if (extension != null)
{
if (IgnoreAuthExtensions.Contains(extension.ToLower()))
return false;
}
return true;
}