Jimmacle
Jimmacle
CC#
Created by CarlJohnson on 9/6/2024 in #help
✅ map structure for my exercises
it's easier as a beginner
23 replies
CC#
Created by CarlJohnson on 9/6/2024 in #help
✅ map structure for my exercises
if you have the choice between vsc and vs, use vs
23 replies
CC#
Created by CarlJohnson on 9/6/2024 in #help
✅ map structure for my exercises
that is probably the easiest solution
23 replies
CC#
Created by CarlJohnson on 9/6/2024 in #help
✅ map structure for my exercises
so just create folders there for your code
23 replies
CC#
Created by CarlJohnson on 9/6/2024 in #help
✅ map structure for my exercises
what is a "map structure"?
23 replies
CC#
Created by Thommy on 9/6/2024 in #help
App to Google App Store
yeah it's not a matter of finding someone who speaks german, it's a matter of being able to moderate discussions and allow more people to participate
25 replies
CC#
Created by Nurglini on 9/5/2024 in #help
How do you declare an Array's Count property to be consistent within a Struct?
e.g. if you copy that struct, all copies will reference the same array
16 replies
CC#
Created by Nurglini on 9/5/2024 in #help
How do you declare an Array's Count property to be consistent within a Struct?
also, a struct with reference type members will work unexpectedly
16 replies
CC#
Created by hutonahill on 9/6/2024 in #help
✅ using Logging with ASP.NET
if you inherit from a BackgroundService instead of implementing IHostedService it will take care of a lot of the boilerplate for you
137 replies
CC#
Created by hutonahill on 9/6/2024 in #help
✅ using Logging with ASP.NET
137 replies
CC#
Created by hutonahill on 9/6/2024 in #help
✅ using Logging with ASP.NET
you register the hosted service in your app's DI and it will start and stop it for you when needed
137 replies
CC#
Created by hutonahill on 9/6/2024 in #help
✅ using Logging with ASP.NET
if you want to run a long-running task inside an ASP.NET Core app (like a discord bot) then hosted service is the correct solution
137 replies
CC#
Created by hutonahill on 9/6/2024 in #help
✅ using Logging with ASP.NET
i never brought up processes, you shouldn't have 2
137 replies
CC#
Created by hutonahill on 9/6/2024 in #help
✅ using Logging with ASP.NET
when you say "2 processes" that means "2 exes"
137 replies
CC#
Created by hutonahill on 9/6/2024 in #help
✅ using Logging with ASP.NET
but definitely not standard
137 replies
CC#
Created by hutonahill on 9/6/2024 in #help
✅ using Logging with ASP.NET
i mean, that's a way to do it
137 replies
CC#
Created by hutonahill on 9/6/2024 in #help
✅ using Logging with ASP.NET
but if you want to run a discord bot in-process with your ASP.NET Core application, a hosted service is the most proper way to do that
137 replies
CC#
Created by hutonahill on 9/6/2024 in #help
✅ using Logging with ASP.NET
2 processes would mean you have 2 different exes that you're running
137 replies
CC#
Created by hutonahill on 9/6/2024 in #help
✅ using Logging with ASP.NET
so i'm confused
137 replies
CC#
Created by hutonahill on 9/6/2024 in #help
✅ using Logging with ASP.NET
i'm saying that's better than 2 processes, but at this point i don't think you're actually using 2 processes
137 replies