pirrippu
pirrippu
CC#
Created by pirrippu on 4/16/2024 in #help
✅ Updating packages in Directory.Packages.props
I thought I'm gonna have a good time with managing these transitive packages for multiple applications I handle. Guess I'll do it the challenging way then. thank you @TeBeCo
11 replies
CC#
Created by pirrippu on 8/1/2023 in #help
✅ SQL Command Timeout does not work with async calls
Yes, thanks for this, I considered your proposal and it looks better now. I also did combine CancellationTokens from the controller and the database request.
25 replies
CC#
Created by pirrippu on 8/1/2023 in #help
✅ SQL Command Timeout does not work with async calls
I'll open an issue with MySql.Data. And use Pomelo nuget instead.
25 replies
CC#
Created by pirrippu on 8/1/2023 in #help
✅ SQL Command Timeout does not work with async calls
Cheesus crust. CommandTimeout and CancellationTokens are indeed working.
The problem is with MySql.Data, I tried using Pomelo as some suggested in other forums. But going back to your reply, yes, I do have cancellationToken and a command timeout. The problem was that if my client didn't configure a proper timeout, the query will run indefinitely because the cancellation does not work. So the command timeout is there as a final catch for this kind of scenario. And do note that this query is expected to run for more than few seconds due to the nature of the schema and that the query is there for the sake of example.
25 replies
CC#
Created by pirrippu on 4/23/2023 in #help
❔ Strategy for plugin architecture dependency injection
I see, thank you! But what you said above makes a good point, I'll do something similar. Won't hurt me if I make an intermediate and separate IServiceCollection for DbContext and other IOptions I need for plugin configuration
33 replies
CC#
Created by pirrippu on 4/23/2023 in #help
❔ Strategy for plugin architecture dependency injection
I'll test this one out tomorrow, maybe I just need to sleep on this
33 replies
CC#
Created by pirrippu on 4/23/2023 in #help
❔ Strategy for plugin architecture dependency injection
holy schomkes, hol 'up I forgot ServiceProvider can be disposed
33 replies
CC#
Created by pirrippu on 4/23/2023 in #help
❔ Strategy for plugin architecture dependency injection
Interesting approach, thanks. That will take care of possible singleton registrations, right? since setupServiceProvider is disposed.
33 replies
CC#
Created by pirrippu on 4/23/2023 in #help
❔ Strategy for plugin architecture dependency injection
What do you mean, setup-only IoC container? I make an intermediary ServiceProvider, like a child container?
33 replies
CC#
Created by pirrippu on 4/23/2023 in #help
❔ Strategy for plugin architecture dependency injection
Yes exactly like that, and then register services required by the plugins
33 replies
CC#
Created by Hercules on 3/17/2023 in #help
✅ I get dotnet.exe' has exited with code 4294967295 (0xffffffff). When im try to run my WASM project
Close the solution. Then in the directory of your solution, there should be a hidden folder named ".vs". Delete this folder. Re-open solution and try running the application again.
25 replies