Reply to Message

View discussion in a popup

Replying to:
Mario_Giese
Enthusiast
Enthusiast

Hi,

this is the complete content of my web.config in the MetadataTransformService:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <!-- To customize the asp.net core module uncomment and edit the following section.
  <system.webServer>
    <handlers accessPolicy="Read, Script">
      <remove name="aspNetCore" />
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
    </handlers>
    <aspNetCore processPath="dotnet" arguments="exec &quot;VMware.UEM.MetadataTransformService.API.dll&quot;" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" hostingModel="outofprocess">
      <environmentVariables>
        <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Production" />
        <environmentVariable name="SwaggerBaseUrl" value="metadatatransformservice" />
        <environmentVariable name="RUN_BG_DB_UPDATE" value="true" />
        <environmentVariable name="HOSTED_ON_IIS" value="true" />
      </environmentVariables>
    </aspNetCore>
    <!-- Removes IIS server info from Response Header -->
    <security>
<requestFiltering removeServerHeader="true" />
</security>
<httpProtocol>
<customHeaders>
<remove name="X-Powered-By" />
</customHeaders>
</httpProtocol>
        <directoryBrowse enabled="false" />
  </system.webServer>
    <system.web>
        <authentication mode="Windows" />
    </system.web>
</configuration>
Reply
0 Kudos