1
My Windows authentication is getting lost with time.
I do the following validation:
if(HttpContext.Current.User.Identity.IsAuthenticated == true)
dsHostName = User.Identity.Name.Split('\\')[1].ToString();
-Authentication IIS Anonimo: Disabled Windows: On The Go
On the first access makes the authentication, I want to force the authentication when lost, as the image below: