BigggMoustache
❔ Registered Services ArMissing
This is in a Hosted Blazor WASM Client project in case that matters. The Index page injecting dependency for UserAuthenticationStateProvider and UserService, which give missing type or namespace error.
) There's no typos lol
here's the program.cs builder stuff
3 replies
❔ VS SQL Server Object Explorer Default Click Behavior
Is there an option for changing the on click behavior of items in the SQL Server Object Explorer like you can the objects in Solution Explorer window pane? I'd like the default to be 'View Data' on click, the same way Solution Explorer on click shows file content by default.
2 replies
✅ IEnum and IQueryable usage.
My Controller action is here.
The pagination example from docs uses IQueryable so I was doing this to get the IEnum from the sorting part above to work with it.
It says
decksIQ
is equal to the filtered down decks
Enum after processing the first line, but the third line when passing decksIQ
in the parameter says it's the full unfiltered list again. Why would this happen?17 replies
❔ External Login Callback (Facebook works, Google doesn't)
This is copied from a youtube tutorial and I've been trying to step through and figure out the problem but I can't get the google part sorted. I added the redirecturi in the
return Challenge(properties, provider);
to my redirect uri's because I figure that's what's passed to the ExternalLoginCallback
. That's the only thing I could think of doing tbh. Here's the code.
https://paste.mod.gg/cqujalvdtsac/16 replies
Example of 'Exception Continuing Up The Stack'? [Answered]
Quote from book "Only Handle What You Can Fix: If an exception handler cannot resolve the problem represented by the exception, the handler should not exist. Instead, the exception should be allowed to continue up the call stack, hoping that something farther up has meaningful resolution steps for the problem. This is a counterpoint to the previous item. If there is no recourse for an error, it is reasonable for the program to end. There are some allowances here. Sometimes, a handler will repair or address what it can (even just logging the problem) while still allowing the exception to continue (described later)."
I'm having a hard time conceptualizing when to use try catch because things break all over the place lol and how 'continuing up the stack' can resolve the issue.
22 replies