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-->