Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating Durable Issued Token Provider to .net standard2.0 #5647

Open
JoseAngelSalmeronMorote opened this issue Sep 16, 2024 · 0 comments
Open
Assignees
Labels

Comments

@JoseAngelSalmeronMorote

Describe the bug
I have a .net framework 4.8 project with code coming from Durable Issued Token Provider sample 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:

  1. .NET Framework 4.8 project including Durable Issued Token Provider sample.
  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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants