나는 오래된 패션 .NET 구성 시스템에게 내가 "MyAssemblyName 같은 어셈블리에 대한 설정 파일을 제공하기 위해 노력했습니다 Asp.Net Core 2.0 App에서 호출하는 전체 프레임 워크 어셈블리 구성?
<appSettings>
<add key="marketDataServiceEndpointName" value="UatMarketDataService"/>
</appSettings>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="DebugBinding"/>
</basicHttpBinding>
<netTcpBinding>
<binding name="ServiceNetTcp"
maxBufferPoolSize="2147483647"
maxReceivedMessageSize="2147483647"
sendTimeout="10:00:00"
closeTimeout="10:00:00" openTimeout="10:00:00"
receiveTimeout="10:00:00">
<security mode="None"/>
</binding>
<binding name="loggingService" sendTimeout="00:05:00">
<security mode="None"/>
</binding>
</netTcpBinding>
</bindings>
<client>
<endpoint
address="net.tcp://localhost/Service/Service.svc"
binding="netTcpBinding" bindingConfiguration="loggingService"
contract="ServiceContracts.IService" name="IVisionLoggingService"/>
<endpoint
address="http://localhost:62698/Service.svc"
binding="basicHttpBinding"
bindingConfiguration="DebugBinding"
contract="Service.IService" name="DebugBinding"/>
</client>
처럼 보이는 구성 파일을 사용하는 전체 프레임 워크 어셈블리를 가지고있다. dll.config "에 모든 구성 매개 변수를 추가하십시오. 불행하게도 설정 파일을 읽지 않는 것 같습니다.
나는 당신이 그것을 사용할 수 있다고 생각하지 않습니다. wcf는 .net 표준의 일부가 아닙니다. –