Migrating Durable Issued Token Provider to .net standard2.0
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 576
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 2
Description
**Describe the bug**
I have a `.net framework 4.8` project with code coming from `Durable Issued Token Provider` [sample](https://learn.microsoft.com/en-us/dotnet/framework/wcf/samples/durable-issued-token-provider) 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, `net6.0;net48`, 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:
1. .NET Framework 4.8 project including `Durable Issued Token Provider` [sample](https://learn.microsoft.com/en-us/dotnet/framework/wcf/samples/durable-issued-token-provider).
2. Migrating this project to .net standard using VS Upgrade tool
3. 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.
Contributor guide
Assessment
This issue has not been assessed yet.