Can we authenticate an Web Application hosted on ISS with Application Identity instead of Windows Authentication.
The Application will have Windows Authentication disabled and Anonymous enabled and the application should be authenticated as with the credentials entered in Application Pool identity.
If so you should just set anonymous authentication user to Application pool identity.
Then authenticate the Login user with your code.