Angius
Angius
Explore posts from servers
CC#
Created by Cheems🤡 on 11/23/2024 in #help
NU1902 NU1903 warnings
Open the nuget packages UI, llok for any outdated dependencies, update the ones where an update is available
9 replies
CC#
Created by Kirieshka on 11/23/2024 in #help
How do I create my own file extension?
You can make it hard, but never impossible
9 replies
CC#
Created by Cheems🤡 on 11/23/2024 in #help
NU1902 NU1903 warnings
If it's, like, a school assignment, then ignore them
9 replies
CC#
Created by Cheems🤡 on 11/23/2024 in #help
NU1902 NU1903 warnings
If it's something that's supposed to go live and run in production, then yeah, it's bad
9 replies
CC#
Created by Cheems🤡 on 11/23/2024 in #help
NU1902 NU1903 warnings
Although, depending on what the project is, you can just not care about them
9 replies
CC#
Created by Cheems🤡 on 11/23/2024 in #help
NU1902 NU1903 warnings
Start by updating your depencencies
9 replies
CC#
Created by Kirieshka on 11/23/2024 in #help
How do I create my own file extension?
Even if it's by reading bytes directly from RAM
9 replies
CC#
Created by Kirieshka on 11/23/2024 in #help
How do I create my own file extension?
If your program can access it, the user can access it
9 replies
CC#
Created by Impulsive on 11/23/2024 in #help
.NET 8.0, PostgreSql and left over Idle sessions
Yeah, basically. Use Dapper if you really want to write SQL, use EF if you'd rather not
19 replies
CC#
Created by Impulsive on 11/23/2024 in #help
.NET 8.0, PostgreSql and left over Idle sessions
Yep
19 replies
CC#
Created by Impulsive on 11/23/2024 in #help
.NET 8.0, PostgreSql and left over Idle sessions
Or EF, yes
19 replies
CC#
Created by Impulsive on 11/23/2024 in #help
.NET 8.0, PostgreSql and left over Idle sessions
You're trying to make a Temu version of Dapper
19 replies
CC#
Created by Impulsive on 11/23/2024 in #help
.NET 8.0, PostgreSql and left over Idle sessions
Yes
19 replies
CC#
Created by Impulsive on 11/23/2024 in #help
.NET 8.0, PostgreSql and left over Idle sessions
You could probably rawdog NpgSqlConnection if you're a masochist, but there are more pleasant ways to engage in that kink
19 replies
CC#
Created by Impulsive on 11/23/2024 in #help
.NET 8.0, PostgreSql and left over Idle sessions
The proper way to handle all of that would be to use EF or Dapper, use them with dependency injection, and just let the DI container handle everything about the lifetime and disposal
19 replies
CC#
Created by on 11/21/2024 in #help
When should one use a custom delegate instead of Func/Action/Predicate?
For content
122 replies
CC#
Created by on 11/21/2024 in #help
When should one use a custom delegate instead of Func/Action/Predicate?
I won't be of much help here, I literally never seen bare Delegate used anywhere
122 replies
CC#
Created by on 11/21/2024 in #help
When should one use a custom delegate instead of Func/Action/Predicate?
Uh, I guess another weirdness of Delegates...?
122 replies
CC#
Created by on 11/21/2024 in #help
When should one use a custom delegate instead of Func/Action/Predicate?
Or just a list of Actions you can keep adding to and execute them in a loop
122 replies
CC#
Created by on 11/21/2024 in #help
When should one use a custom delegate instead of Func/Action/Predicate?
What you're looking for is events, then
122 replies