Describe the bug
I have a .net framework 4.8 project with code coming from Durable Issued Token Providersample referencing System.ServiceModel 4.0.0.0.
After upgrading this project to .net standard2.0 using VS Upgrade tool and fixing some incompatible code im stuck on migrating the functionality provided from Durable Issued Token Provider.
I've also tried to multi-target the project, <TargetFrameworks>net6.0;net48</TargetFrameworks>, without luck as these classes:
WSSecurityTokenSerializer and IssuedSecurityTokenProvider are no longer available in .net standard2.0, .net6 or .net8 and could not find any equivalent class which achieve the same functionality.
Is there any workaround for this process?
How could i migrate this functionality about issued security tokens to .net standard or .net6/.net8 ?
To Reproduce
Steps to reproduce the behavior:
.NET Framework 4.8 project including Durable Issued Token Providersample.
Migrating this project to .net standard using VS Upgrade tool
Build fails with next error: DurableIssuedSecurityTokenProvider.cs(14,9,14,36): error CS0246: The type or namespace name 'IssuedSecurityTokenProvider' could not be found (are you missing a using directive or an assembly reference?)
Expected behavior
Some workaround to migrate this functionality.
Describe the bug I have a
.net framework 4.8
project with code coming fromDurable Issued Token Provider
sample referencingSystem.ServiceModel 4.0.0.0
.After upgrading this project to
.net standard2.0
using VS Upgrade tool and fixing some incompatible code im stuck on migrating the functionality provided fromDurable Issued Token Provider
.I've also tried to multi-target the project,
<TargetFrameworks>net6.0;net48</TargetFrameworks>
, without luck as these classes:WSSecurityTokenSerializer
andIssuedSecurityTokenProvider
are no longer available in .net standard2.0, .net6 or .net8 and could not find any equivalent class which achieve the same functionality.Is there any workaround for this process? How could i migrate this functionality about issued security tokens to .net standard or .net6/.net8 ?
To Reproduce Steps to reproduce the behavior:
Durable Issued Token Provider
sample.DurableIssuedSecurityTokenProvider.cs(14,9,14,36): error CS0246: The type or namespace name 'IssuedSecurityTokenProvider' could not be found (are you missing a using directive or an assembly reference?)
Expected behavior Some workaround to migrate this functionality.