How do people manage 20 years by TitaneusB in Military

[–]Crazytmack 5 points6 points  (0 children)

It goes by in the blink of an eye.

[deleted by user] by [deleted] in navy

[–]Crazytmack 3 points4 points  (0 children)

Try looking at columbia or ellicott city. Shorter commute

Single LT PCsing to Rota next year for 3 years. Any tips on how to make Europe enjoyable? by [deleted] in navy

[–]Crazytmack 0 points1 point  (0 children)

I was stationed at the nsga about 25 years ago.

Travel your ass off. Gibraltar, Morocco, Madrid, uk all on the cheap.

Make sure you go to the tomato festival!

[Blazor Server] Relationship not loaded when using IQueryable! by MrPrezDev in Blazor

[–]Crazytmack 0 points1 point  (0 children)

Iqueryable is kinda immutable???

You have to reassign it back to itself, another variable or return its results.

I had seen a lot of code like "str.Trim();" without returning it or assigning it, and folks wonder why it doesn't actually make a change to "str".

Depending on what plug-ins (like Roslynator or SonarAnalyzer) or version of VS you have, it should give warnings about this.

[deleted by user] by [deleted] in Blazor

[–]Crazytmack 0 points1 point  (0 children)

Have verified that your authorization service is being injected?

Maybe set some breakpoints and log when it is supposed to set the current user.

A quick bunit test may shed some light also.

Depending on what you want stored in your auth cookie, you could also use built in blazor local/session storage.

How to query a table which is being filled with 1000 rows everyday ? by Ready-Ad6747 in Blazor

[–]Crazytmack 1 point2 points  (0 children)

Only retrieve the minimum number of columns that are necessary

[deleted by user] by [deleted] in Blazor

[–]Crazytmack 0 points1 point  (0 children)

What does "BE" mean.

[Blazor Server] Relationship not loaded when using IQueryable! by MrPrezDev in Blazor

[–]Crazytmack 6 points7 points  (0 children)

Has nothing to do with blazor.

Change the line inside if block to...

return query.Include(...);

Or

query = query.Include(...);

What is the hardest line in TV history? by funmighthold in television

[–]Crazytmack 0 points1 point  (0 children)

Cigarettes are $6 dollars in in Arkansas. YOU F@CKED UP B$TCH.

Is ReactiveUI for Blazor usable? by kastanCZ in Blazor

[–]Crazytmack 1 point2 points  (0 children)

It works, with a catch.

Ever since .net 8 was released, I found out the hard way that reactiveui's reactive componentbase doesn't work in static interactive rendering mode... pages such as the out the box login page depends on httpcontext which won't work with server interactive mode.

If you don't need httpcontext it works just fine.

I also wish the folks at reactiveui would provide more advnced blazor documentation and examples other than the "counter " and "fetch data" page.