michalgrzyska
Looking for AI dev to back me up a little in open source project
Hi guys, trying to make some open source project for face blurring in C#, I need to remove one dependency from some small, (looks like) abandoned project to fully switch to OpenCvSharp. I want to use CenterFace ONNX model to detect faces. Code is almost done, I just don't have enough DNN knowledge to replace the "3rd party" library partial implementation with OpenCvSharp one. Anyone interested? 🙂
7 replies
Testcontainers in integration tests vs BackgroundService
I have an issue with Testcontainers + WebApplicationFactory in integration test. I created my implementation of WebApplicationFactory implementing
IAsyncLifetime
from xUnit and I'm migrating my EF Core context in InitializeAsync
method. However, it is probably too late - one of my background services tries to access in StartAsync
(with ServiceProvider scope) db context to check some data and it results with an exception of "column ... does not exist". Is there any workaround for managing that problem?
code in comment2 replies
❔ A way to persist access token from external API in my .NET API
I need to store access token for my Auth0 Management API somehow in my .NET backend app. Of course, if I get 401, I want to renew my token and override the previous one. I want to keep this token when API is off, so it needs to be persisted. Should I keep it in database (e.g. SQL) or there actually is any other way to store it?
4 replies