@dimsuz@TheGingerBill @oxcrowx No, it's to encapsulate the logic that should be called. If you're using pseudo private like originally recommended, you're still designing with the same intent, it's just not enforced by the compiler
@DamianEdwards Aspire.Npgsql.EntityFrameworkCore.PostgreSQL/ Npgsql.EntityFrameworkCore.PostgreSQL block this without a workaround: https://t.co/r2yoXOwItx
@VicVijayakumar@jenboland Use a lower gear and pedal faster. Shorter steps should also improve your running and reduce injury risk:
1. Since you don't lift your foot as much on each step, the impact of each step is reduced
@dariogriffo Do you have any examples of how you do this? Is it one giant log entry? I've used this blog as reference for my logging practices, which has worked very well: https://t.co/jdxSAiJxCX
@Petrroll@Aaronontheweb@davidfowl I work in a 100+ million euro revenue company that stores secrets in source code... Any good practice would be good here 🥲
@Petrroll@Aaronontheweb@davidfowl Scoped is per request, transient always gives a new instance
Maybe I could have used it to disable a middleware yesterday... Do you have the configs in source control?
@Petrroll@Aaronontheweb@davidfowl Monitor is the "transient" one (it's registered as singleton). I never really had a use case for it, honestly. I just use IOptions
@Aaronontheweb@davidfowl Yes. IOptionsSnapshot gets the values per scope, IOptionsMonitor gets the values per call, even though it's registered as singleton
@MrBildo@Aaronontheweb Hey, I've been thinking about a clean way to do this
Do you reuse the validation logic somehow, or do you implement it for every case (FluentValidations, constructor, static method)?
Any repo you can share?