C# ASP.NET API constructor looping on WIndows Server 2008 R2

45 views Asked by At

I host my Web API application on Windows Server 2008 R2 (IIS Version 7.5), development using .NET Framework 4.8. When I try to make a request, in the class below and perform remote debugging, the process always loops over the constructor without stopping. Its running well on IIS 10.

public class CustomAuthenticationFilter : Attribute, IAuthenticationFilter
{
    public CustomAuthenticationFilter()
    {
        ReadAllowedAppsIDFile();
    }
    
    .... etc .....
}

Can anyone help?

0

There are 0 answers