Want to master Clean Architecture? Go here: bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
@paulmdevenney8 күн бұрын
dude - your timing is impeccable. I was just tidying up my version of the same thing. Took some notes, made some refinements. Thanks as always.
@MilanJovanovicTech8 күн бұрын
Nice, happy to help!
@ghoulking7158 күн бұрын
we are waiting for the continuation of the series about authorization via keycloak and setting up user roles and attributes 😊
@MilanJovanovicTech8 күн бұрын
Working on it
@enricoroselino75578 күн бұрын
if girlfriend also have problem details, men doesnt need to think hard
@MilanJovanovicTech8 күн бұрын
You're screwed either way 😅
@fakhrulhilal7 күн бұрын
I've been using Seq for logging for years, but I never realize we can use it for telemetry. Nice video as always.
@MilanJovanovicTech7 күн бұрын
Tracing is a new feature
@androidsavior18 сағат бұрын
Where request it and trace it are stored in the server ? Where are the logs
@luisnataren41493 күн бұрын
Hey Milan, do you know when the REST API course will be ready?
@MilanJovanovicTech3 күн бұрын
January
@10Totti8 күн бұрын
Best tutorial! But Service ProblemDetails is add with .net 9 ?
@MilanJovanovicTech8 күн бұрын
No, it's there from way before
@JuanOG8 күн бұрын
How about using the hellang problem details package which seems to do this all well enough.
@MilanJovanovicTech8 күн бұрын
Prefer not to use 3rd party packages for simple things
@sotsch92806 күн бұрын
How do you handle Results using the Result pattern? First naive thoughts would be simply using a middleware and checking for failed results?... I mainly use Results instead of throwing, except for Domain objects like ValueObjects, they throw if validation fails
@MilanJovanovicTech6 күн бұрын
if (Failure) - > return Result converted to Problem Details
@sotsch92806 күн бұрын
@MilanJovanovicTech sorry, I meant not the mapping part, i meant how to handle that globally like with global exception handling. I thought you must have encountered this problem. Or am I missthinking this?
@ivansusic5628 күн бұрын
A kinda offtopic, but - I faced issue with postgres, ef migrations and docker compose - api was trying to do a migration on startup before postgres was ready. Do you have any suggestions here? Btw., great video. I just bought one of your courses - looking forward.
@JollyGiant198 күн бұрын
Don’t run migrations on start up, run them outside the application. EF Core gives you a few ways to do that: script or binary.
@MilanJovanovicTech8 күн бұрын
Use "depends_on" to tell the API container to wait for the DB
@ivansusic5628 күн бұрын
@@MilanJovanovicTech I think I tried it - but it does not meen that postgres is ready if its container is up and running.
@dinulilea41848 күн бұрын
Had the same issue with sqlx and postgres (rust project) where it tried to run queries at compile time before the posgres db was ready. Turns out there was an SQLX_OFFLINE env var that could be configured for docker compose. Maybe there is something similar with EF Cofe
@Crisicus_017 күн бұрын
@@ivansusic562You can add health checks to see if the container is actually ready
@MahbuburRahman-uc7np8 күн бұрын
How are you showing inline values during debug in Visual Studio?
@MilanJovanovicTech7 күн бұрын
ReSharper
@emanuelcordovamontiel10178 күн бұрын
Thank a lots, Milan!. Where can I found the source code of this solution?
@MilanJovanovicTech8 күн бұрын
Here: www.patreon.com/milanjovanovic
@jeancarlosreyesencarnacion8 күн бұрын
I know it's gonna be good. 🙌🙌
@MilanJovanovicTech8 күн бұрын
Was it?
@jeancarlosreyesencarnacion8 күн бұрын
@MilanJovanovicTech Yes, it was. 🤙
@cuserroro8 күн бұрын
I realy like!!
@MilanJovanovicTech8 күн бұрын
Thanks
@lolyasuo12357 күн бұрын
How something that is fully opinionated can be wrong? Both approaches are just fine. I am sorry to say this, but I miss old era where developers were thinking about a solution. Today in many cases we are simply following guidelines (use ProblemDetails, use Result etc).