jcotton42
jcotton42
CC#
Created by aetherclouds on 5/14/2025 in #help
Why use `await AbcAsync()` instead of `Abc()`
(Well, and it implicitly wraps the return value in a task)
40 replies
CC#
Created by aetherclouds on 5/14/2025 in #help
Why use `await AbcAsync()` instead of `Abc()`
The only thing the async keyword does is enable the use of await in the method body.
40 replies
CC#
Created by Daiko Games on 5/10/2025 in #help
✅ How to add Text to a specific Line of a Document
Okay so, what part do you need help with?
26 replies
CC#
Created by axl on 5/11/2025 in #help
Struggling to Learn HTTP Client
What in particular are you jammed on?
11 replies
CC#
Created by Daiko Games on 5/10/2025 in #help
✅ How to add Text to a specific Line of a Document
You were asked “Does the file store json” and replied “yes, but does it matter?” So, which is it?
26 replies
CC#
Created by dvdmeer on 5/8/2025 in #help
Data seeding with anonymous objects in .NET 9
18 replies
CC#
Created by dvdmeer on 5/8/2025 in #help
Data seeding with anonymous objects in .NET 9
@TeBeCo @Jimmacle if you click through to the full article
The new seeding methods are called as part of EnsureCreated operation, Migrate and dotnet ef database update command, even if there are no model changes and no migrations were applied.
18 replies
CC#
Created by Daiko Games on 5/10/2025 in #help
✅ How to add Text to a specific Line of a Document
Well, you’ve got the rough idea already. Grab the first N lines, insert yours, grab the rest.
26 replies
CC#
Created by Daiko Games on 5/10/2025 in #help
✅ How to add Text to a specific Line of a Document
What have you tried so far? @Daiko Games
26 replies
CC#
Created by VoidPointer on 5/10/2025 in #help
✅ How to Get DI Services in a Console Application
That’s service locator, don’t do that.
29 replies
CC#
Created by VoidPointer on 5/10/2025 in #help
✅ How to Get DI Services in a Console Application
No.
29 replies
CC#
Created by VoidPointer on 5/10/2025 in #help
✅ How to Get DI Services in a Console Application
@VoidPointer you really should be starting everything from the DI root.
29 replies
CC#
Created by h3x4by73 on 5/5/2025 in #help
✅ Visual Studio doesn't recognize windows form as form anymore (no designer view)
Share your csproj @h3x4by73
81 replies
CC#
Created by I Fart? You Die on 5/4/2025 in #help
✅ i need help my project heavy and laggy need someone tell me how make it lighter
It’s unlikely to be the cause, but you really should not have 20,000 line files.
27 replies
CC#
Created by osadriofary on 5/2/2025 in #help
Serialization and retrocompatibility
and they're moving away from BF?
39 replies
CC#
Created by osadriofary on 5/2/2025 in #help
Serialization and retrocompatibility
it's an advanced topic note that you'll need to be building with a recent .NET SDK (though your projects can still target older runtimes)
39 replies
CC#
Created by osadriofary on 5/2/2025 in #help
Serialization and retrocompatibility
$ig
39 replies
CC#
Created by osadriofary on 5/2/2025 in #help
Serialization and retrocompatibility
and generate the necessary bits of ISerializable accordingly
39 replies
CC#
Created by osadriofary on 5/2/2025 in #help
Serialization and retrocompatibility
if you have a lot of members to do this with, it could be worth whipping up a source generator that SG would look for something like an OldNameAttribute on fields or props
39 replies
CC#
Created by space nerd 11!1!!! on 5/2/2025 in #help
helloo ! , i have a C# file that i want to convert into APK , any one know how to?
if it's like, a maui android or avalonia android app, just build it @شہویز PS
23 replies