jayfromengland
jayfromengland
CC#
Created by Avalari on 1/13/2023 in #help
❔ Claim type of JwtRegisteredClaimNames.Name unrecognized as ClaimTypes.Name
I recommend using the debugger to see if the values you're expecting are getting populated.
3 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
I didn't know they were called "top-level statements" so I learned a thing.
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
No worries
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
It doesn't know whether to run the Main or the standalone code
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
You have one file with classes and one that's just standalone code. Feels weird to me to have it like that.
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
That makes sense
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
Woohoo! Adding that code reproduces it.
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
Oooh
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
What was in it?
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
Woohoo
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
I was about to come onto that :p
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
Oh, so deleting that fixed it?
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
Weeeeird
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
When you run dotnet build is the warning displayed under "Build succeeded"?
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
Ahh you're in Visual Studio Code rather than Visual Studio
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
What are they named?
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
I'm struggling to reproduce that with just the code you shared.
78 replies
CC#
Created by j_uice on 1/13/2023 in #help
❔ Ignoring Main?
Visual Studio supports writing code without a main or classes. Could do that if you're just looking to play around.
78 replies
CC#
Created by jayfromengland on 11/10/2022 in #help
❔ ❔ Upgrading my function app to .NET 7 - Could not load file or assembly System.ComponentModel
It is serverless
87 replies