Chris Ross

Results 470 comments of Chris Ross

Local builds always use that file version to avoid conflicts with official builds. I think you can do something like `build.cmd -c DEBUG -ci` for a more official looking build....

> Educated guess: `HTTPS_PORTS` means "listen on the following ports for HTTPS connections" and `HTTPS_PORT` means "if you get a non-HTTPS connection, redirect to this port". This is correct, but...

How do you distinguish between form fields and files without the filename parameter? Or do you assume all fields are files?

Try this: https://learn.microsoft.com/en-us/aspnet/core/mvc/models/file-uploads?view=aspnetcore-8.0#upload-large-files-with-streaming

The trouble is that without the file name it's ambiguous if the content is a file or a field. I'm not sure there's anything we could do about that, the...

@kanadaj because you don't expect the config files to change without at least restarting? Seems reasonable. @bradygaster @sebastienros do you know where to file that?

UseOAuthAuthorizationServer has been considered obsolete for many years, you should find another auth server.

You're adding the new claim to a second identity, but you're only searching the first identity for claims later. Try searching ClaimsPrincipal.Claims to see claims from all identities.

Ah, the old interop serializer only supports one identity, so that explains that part. https://github.com/dotnet/aspnetcore/blob/9f359891a031f52b597da1799aa0813b19dbc03c/src/Security/Interop/src/AspNetTicketSerializer.cs#L43-L57