简体   繁体   中英

Where is AsymmetricSecurityBindingElement in .NetStandard2.0?

I'm upgrading my class library from Net Framework 4.7.1 to NetStandard 2.0 and I have encountered a problem because I can't seem to find:

  1. AsymmetricSecurityBindingElement
  2. X509SecurityTokenParameters

I have added the following packages:

<PackageReference Include="System.ServiceModel.Http" Version="4.5.3" />
<PackageReference Include="System.ServiceModel.Primitives" Version="4.5.3" />
<PackageReference Include="System.ServiceModel.Security" Version="4.5.3" />

What additional packages to I need?

根据apisof.net参考, AsymmetricSecurityBindingElement在.net标准2.0中不可用,仅在完整的.net Framework和Mono中可用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM