Dropps
options pattern not working
migrated not so long ago .net 8 did they change something with the options pattern? it seems to not work anymore for some reason that i cant explain myself
see code below:
inside here it should retrive the stuff from the appsettings.json
but whenever i hit my AddInfrastructure point i get an error that it would be null see her:
options classes have similar schema each:
someone knows how to fix this?
28 replies
✅ SSL Certificate for Docker for local development
hello there... i currently run into some issues with testing my app (asp.net web api and blazor web app) as i have both set to require an ssl certificate to run i would have to use some sort of local test cert well the issue with that is that when i run my apps using riders build in config starter everything is fine but as soon as i build the docker images for it and run it via that the development ssl certificate does not want to work anymore even tho i ran dotnet dev-certs https --trust before docker deploy
anyone some ideas what could be wrong?
env variables for both the api and the blazor web app are set to ASPNETCORE_ENVIRONMENT=Development on my local machine as well as in the docker compose file
55 replies
❔ question around testing techniques and ressources for it
good evening everyone
i recently started learning more in depth about testing tdd ddd and corresponding frameworks which seems to me the best matching for how i wanna work on my projects
long story short i would like to start here a small discussion around your toughts about tdd and ddd as well as their frameworks and ressources (for learning) for it
currently iam building a sample application using principles of clean architecture around 3 daya ago i heard about tdd and how the red green blue cycle is supposed to work which i really liked in theory at least
today i tried getting that into practice but there are a few issues concerning me:
- missing ressources about E2E testing with web apis (spend 3h searching found nothing useful)
- missing ressources about integrationtesting (spend 2h and found some small things but again nothing really useful or compatible to what iam doing)
- unclear practices about unit testing (what defines a unit what types of dependencies to mock what to fake and what to leave as is)
- except for playwright there seem to be no frameworks for automated UI tests in blazor webassembly i may be wrong there?
last but not least iam eager to take courses or webinars teaching those things in depth so iam also interested in maybe some suggestions around courses or something like that to buy
155 replies