All the [security samples ](https://github.com/dotnet/aspnetcore/tree/main/src/Security/samples) use [startup](https://github.com/dotnet/aspnetcore/blob/main/src/Security/samples/CustomPolicyProvider/Startup.cs). It would be nice to have them updated to .NET 10. cc @martincostello