Skip to content

Updated CustomPolicyProvider to DotNet10 Style Project #61474

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

samabos
Copy link

@samabos samabos commented Apr 13, 2025

Updated CustomPolicyProvider to DotNet10 Style Project

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Summary of the changes (Less than 80 chars)

Description

  • Refactored Program.cs to use top-level program style in line with .NET 10.
  • Removed Startup.cs.
  • Updated CustomPolicyProviderTest to ensure tests can use Program.cs.

Fixes #61462

… and made changes to make the tests to detect the program.cs.
@samabos samabos requested a review from halter73 as a code owner April 13, 2025 14:56
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Apr 13, 2025
Copy link
Contributor

Thanks for your PR, @@samabos. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@samabos samabos changed the title updated the program.cs to top-level program style, removed startup.cs… Updated CustomPolicyProvider to DotNet10 Style Project Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-security community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update src/Security/samples/CustomPolicyProvider sample from .NET 2, to .NET 9
1 participant