How to enable or disable the windows and anonymous authentication in Microsoft Visual Studio 2019?
To enable or disable Windows and anonymous authentication in Visual Studio 2019, you need to modify the properties from the project property window or from the project file.
Option 1 (Property window):
- Go to View, select the properties, or press F4.
- Select the project for which you want to enable or disable the windows and anonymous authentication.
- Choose the Windows authentication as “enabled” or vice versa.
- Choose the Anonymous authentication as “Disabled” or vice versa.
Option 2 (Project file):
- Right-click and edit the project file.
- Find and change the mode in the below tags.
<IISExpressAnonymousAuthentication>enabled</IISExpressAnonymousAuthentication>
<IISExpressWindowsAuthentication>disabled</IISExpressWindowsAuthentication>
Leave a comment