zuf
zuf
CC#
Created by zuf on 2/15/2023 in #help
❔ EF Core Query filters and DbContext lifetime
bump
5 replies
CC#
Created by zuf on 10/13/2022 in #help
EF Core & Repository pattern
Okay cool! Thank you for your time. Will use that approach then as well
10 replies
CC#
Created by zuf on 10/13/2022 in #help
EF Core & Repository pattern
Okay, so basically you have a read extension that returns the user for example, you make changes to the entity and then just call DbContext.SaveChanges...() in your service layer?
10 replies
CC#
Created by zuf on 10/13/2022 in #help
EF Core & Repository pattern
Was just a quick copy from a blog post to explain what I mean, but yeah moving to extension methods on the DbSets is what we are thinking, just wanted some confirmation. You use that for reading, updating & deleting data?
10 replies
CC#
Created by zuf on 10/12/2022 in #help
Dynamic settings (auto update)
We use a class because its easier to use the values that way, statically typed instead of IConfiguration etc..
12 replies
CC#
Created by zuf on 10/12/2022 in #help
Dynamic settings (auto update)
It was rather a very basic example, we have other settings that we would like to update runtime without restarting the application. Another example would be toggling certain features/functions etc
12 replies
CC#
Created by zuf on 10/12/2022 in #help
Dynamic settings (auto update)
12 replies