Skip to content

Drop the CustomPolicyProvider sample app? #61969

@guardrex

Description

@guardrex

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

This is WRT the sample app at https://github.com/dotnet/aspnetcore/tree/main/src/Security/samples/CustomPolicyProvider.

On the docs side, we maintain both ...

I'm updating our coverage to better describe how the sample works and how to demo an age requirement, noting that our article describing the use of IAuthorizationRequirementData and the sample is versioned .NET 8 or later. We're only going to maintain the .NET 7 (or earlier) approach for the code and text shown in the .NET 8 release notes, where I'm also making some small updates.

Since the CustomPolicyProvider sample app uses the older approach but is still being built for each release after .NET 7 here, do you just want to drop it from the engineering repo?

Describe the solution you'd like

Possibly drop the https://github.com/dotnet/aspnetcore/tree/main/src/Security/samples/CustomPolicyProvider sample app from this repo.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions