skywalking 部署到iis上配置

web.config ->iis 站点配置管理器

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="." inheritInChildApplications="false">
    <system.webServer>
      <handlers>
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      </handlers>
      <aspNetCore processPath="dotnet" arguments=".KeyingPlatform.Api.dll" stdoutLogEnabled="false" stdoutLogFile=".logsstdout" hostingModel="inprocess">
	     <environmentVariables> 
          <environmentVariable name="ASPNETCORE_HOSTINGSTARTUPASSEMBLIES" value="SkyAPM.Agent.AspNetCore"/> 
		  <environmentVariable name="SKYWALKING__SERVICENAME" value="KeyingPlatform.Api"/> 
        </environmentVariables> 
	  </aspNetCore>
    </system.webServer>
  </location>

</configuration>
<!--ProjectGuid: 10D65B5C-09C8-45AB-9058-84F8474411FC-->

  

https://zhuanlan.zhihu.com/p/132404145

原文地址:https://www.cnblogs.com/xinzhyu/p/15102849.html