Updated launchSettings.json to set anonymousAuthentication to true. Modified web.config to add <anonymousAuthentication enabled="true" /> under <authentication>, allowing both anonymous and Windows authentication. Reformatted web.config for improved readability.
25 lines
885 B
XML
25 lines
885 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
<system.webServer>
|
|
<handlers>
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
|
|
</handlers>
|
|
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" hostingModel="InProcess">
|
|
<environmentVariables>
|
|
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
|
|
</environmentVariables>
|
|
</aspNetCore>
|
|
<security>
|
|
<authentication>
|
|
<anonymousAuthentication enabled="true" />
|
|
<windowsAuthentication enabled="true">
|
|
<providers>
|
|
<clear />
|
|
<add value="NTLM" />
|
|
<add value="Negotiate" />
|
|
</providers>
|
|
</windowsAuthentication>
|
|
</authentication>
|
|
</security>
|
|
</system.webServer>
|
|
</configuration> |