Saber
Saber
CC#
Created by ZerkyXII on 7/3/2024 in #help
Multiple 1 to Many Relationships in Entity Framework
35 replies
CC#
Created by Frite on 6/26/2024 in #help
how can I avoid chaos like this ?
Then deal with the mess
18 replies
CC#
Created by n on 5/27/2024 in #help
Weird error to do with index out of range
well you should verify that
14 replies
CC#
Created by n on 5/27/2024 in #help
Weird error to do with index out of range
Does your Rand.Next generate a random number that is out of bounds, ie Event.Events.Count not Event.Events.Count - 1
14 replies
CC#
Created by n on 5/27/2024 in #help
Weird error to do with index out of range
have you considered debugging and verifying _possibleEvents contains the number of elements you think it does
14 replies
CC#
Created by MONO on 5/1/2024 in #help
Cant get my list to work
where do you see a property called Search in that json object?
6 replies
CC#
Created by MONO on 5/1/2024 in #help
Cant get my list to work
what makes you think APIsearchResault.Search is valid based on that json result
6 replies
CC#
Created by Ayin on 4/27/2024 in #help
How things get to the place
that specific example would be razor pages so its not a controller
7 replies
CC#
Created by Cloudheart on 4/7/2024 in #help
Linq help
yeah the new way to learn is to use the largest database of information in the world (google) to search for answers to questions
15 replies
CC#
Created by oussama on 3/22/2024 in #help
Integration testing with testcontainers and cosmosdb
Are you expecting there to be examples of using testcontainers for your specific usecase? Should be pretty simple to find out how to use the cosmos emulator with docker and from there doing it with test containers should be straight forward
3 replies
CC#
Created by Kuno on 3/17/2024 in #help
Logging in ASP.NET
stop creating instances of your classes and let the DI system handle that for you.
53 replies
CC#
Created by Rem on 3/2/2024 in #help
How do I do a HTTP request in C#?
put a breakpoint and validate json contains what you think it should
101 replies
CC#
Created by Rem on 3/2/2024 in #help
How do I do a HTTP request in C#?
probably because your passing invalid json
101 replies
CC#
Created by ffmpeg -i me -f null - on 2/25/2024 in #help
✅ Reengineering repository layer
Well you should figure out those concerns then as an interceptor is very common for something simple like this
6 replies
CC#
Created by ffmpeg -i me -f null - on 2/25/2024 in #help
✅ Reengineering repository layer
Assuming your using EF, you can use a SaveChangesInterceptor to update those fields before saving
6 replies
CC#
Created by clownshark5503 on 2/17/2024 in #help
Unit Testing(post request) confusion with ActionResult[Solved]
ActionResult doesn't, but the actual type does which is CreatedAtActionResult
3 replies
CC#
Created by datasaur on 2/15/2024 in #help
Replacing AzureKeyVault with Azure.Extensions.AspNetCore.Configuration.Secrets
The nuget package official website links to the github with an example and I'm sure theres documentation out there. what are you stuck on.
6 replies
CC#
Created by TearsRfuel on 1/20/2024 in #help
why is this while loop infinite?
your not generating a new random position, your just reusing the exact same position
13 replies