Patrick Square
Patrick Square
Explore posts from servers
CC#
Created by Patrick Square on 7/8/2023 in #help
❔ need some advice
Would it be as simple as?
trainers.Select(trainer => InputProvider.GetInput(trainer.Id));
var commands = await Task.WhenAll(inputTasks);
trainers.Select(trainer => InputProvider.GetInput(trainer.Id));
var commands = await Task.WhenAll(inputTasks);
6 replies
CC#
Created by Patrick Square on 7/2/2023 in #help
❔ ASP.NET Core Custom Font Not Applied
Yeah, /fonts and .../fonts worked :)
8 replies
CC#
Created by Patrick Square on 7/2/2023 in #help
❔ ASP.NET Core Custom Font Not Applied
Cheers
8 replies
CC#
Created by Patrick Square on 6/21/2023 in #help
❔ Can't find .NET 6 runtime when running EF Core migration
PS C:\Users\mdabr> dotnet --list-runtimes
Microsoft.AspNetCore.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.18 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.18 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.18 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
PS C:\Users\mdabr> dotnet --list-runtimes
Microsoft.AspNetCore.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.18 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.18 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.18 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
6 replies
CC#
Created by Patrick Square on 6/21/2023 in #help
❔ Can't find .NET 6 runtime when running EF Core migration
And I do have .NET 6 SDK/runtime installed
6 replies
CC#
Created by Patrick Square on 6/21/2023 in #help
❔ Can't find .NET 6 runtime when running EF Core migration
All my projects target NET 7 and I have no reference to .NET 6
6 replies
CC#
Created by Patrick Square on 6/10/2023 in #help
❔ Can't run MAUI app on Android Emulator
I literally pressed nothing all of a sudden and it worked
9 replies
CC#
Created by Patrick Square on 6/10/2023 in #help
❔ Can't run MAUI app on Android Emulator
Wait what the hell
9 replies
CC#
Created by Patrick Square on 6/10/2023 in #help
❔ Can't run MAUI app on Android Emulator
Whenever I run the MAUI app it just opens the Emulator but does not load the app itself
9 replies
CC#
Created by arch_il on 5/8/2023 in #help
✅ cannot be accessed with an instance reference
It should be accessed from the class itself rather than an instance of that class
5 replies
CC#
Created by arch_il on 5/8/2023 in #help
✅ cannot be accessed with an instance reference
I am not too sure what you're doing, but it seems that title is a static property
5 replies
CC#
Created by Milenov on 4/29/2023 in #help
❔ Creating a multiplayer Snake game WPF, Blazor, SignalR
Server: This is where your snake array actually lives. All actual game mechanics should be calculated here. In my opinion, the server should not know the client exists. Client: This is where your players play the game. All the client does is sends data to the server and receives data from the server. In my opinion, the client should not know that the server exists. API: This is the layer that connects the server and the client and is generally an abstraction over your server's chosen connectivity choice, whether it be a web API or real-time framework like GRPC. This is how you will ensure the client and the server don't exactly know about each other, but can be trusted to communicate in a standard way. You do not need to think about an exact schematic for every specific function of how this will work just yet. I strongly recommend you have these three concepts in mind and just start programming!
80 replies
CC#
Created by Patrick Square on 4/26/2023 in #help
❔ OpenGL / Silk.NET - uniform not found on shader
I just had a duplicate line in the vertex shader
4 replies
CC#
Created by Patrick Square on 4/26/2023 in #help
❔ OpenGL / Silk.NET - uniform not found on shader
Nevermind I am an idiot
4 replies
CC#
Created by Patrick Square on 4/25/2023 in #help
❔ JWT still being accepted after it expires in web API
The minium JWT expiration is 5 mionuites?
6 replies
CC#
Created by Patrick Square on 4/25/2023 in #help
❔ JWT still being accepted after it expires in web API
Oh shit wait
6 replies
CC#
Created by Patrick Square on 4/25/2023 in #help
❔ JWT still being accepted after it expires in web API
But it is now well passed that time and I can still use this token
6 replies
CC#
Created by Patrick Square on 4/25/2023 in #help
❔ JWT still being accepted after it expires in web API
The exp seems to be correct
6 replies