Can anyone share if it is possible for the below configuration to be written in .Net Core. If there are any obvious roadblocks and if there are any workaround.
I have used the code equivalent for the configuration tags I could find with the System.ServiceModel 6.0.0 packages.Currently, running into PlatformNotSupported exception.
<bindings>
<customBinding>
<binding name="WifNetTcpServiceBinding">
<transactionFlow transactionProtocol="WSAtomicTransaction11" />
<security defaultAlgorithmSuite="Default" authenticationMode="SecureConversation" requireDerivedKeys="false">
<secureConversationBootstrap defaultAlgorithmSuite="Default" authenticationMode="IssuedTokenOverTransport" requireDerivedKeys="false" >
<issuedTokenParameters >
<additionalRequestParameters>
<trust:SecondaryParameters xmlns:trust="">
<trust:TokenType xmlns:trust="">http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1</trust:TokenType>
<trust:KeyType xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://docs.oasis-open.org/ws-sx/ws-trust/200512/SymmetricKey</trust:KeyType>
</trust:SecondaryParameters>
<apm:RequireUniqueDomainName xmlns:apm="">false</apm:RequireUniqueDomainName>
<apm:EpCode xmlns:apm="">APM</apm:EpCode>
</additionalRequestParameters>
<issuer address="" binding="ws2007HttpBinding" bindingConfiguration="SecurityTokenServiceBinding">
<identity>
<certificate encodedValue="AwAAAAEAAAAU" />
<dns value="abp-app3.abp.local" />
<userPrincipalName value="[email protected]" />
</identity>
</issuer>
<issuerMetadata address="https://abp-app3.abp.local:8035/apm/core" />
</issuedTokenParameters>
<localClientSettings detectReplays="false" />
<localServiceSettings detectReplays="false" />
</secureConversationBootstrap>
</security>
</binding>
</customBinding>
<ws2007HttpBinding>
<binding name="SecurityTokenServiceBinding">
<security mode="TransportWithMessageCredential">
<transport clientCredentialType="None" />
<message establishSecurityContext="false" />
</security>
</binding>
</ws2007HttpBinding>
</bindings>
Tried trial and error with the methods from ServiceModel nuget package.
New contributor
Anirudh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.