toddlahakbar
toddlahakbar
CC#
Created by fenixblades on 3/1/2023 in #help
❔ Serilog file sink from multiple servers has interleaved messages
I mean, it's kind of a common use case. At the point where you're running 10 servers logging to the same sink, I think the assumption is you're using a more mature log aggregation than a shared file
10 replies
CC#
Created by fenixblades on 3/1/2023 in #help
❔ Serilog file sink from multiple servers has interleaved messages
Yeah, from everything I can see the shared functionality is implemented either by a lock or by a mutex, either of which is only going to work for multiple processes on the same box.
10 replies
CC#
Created by fenixblades on 3/1/2023 in #help
❔ Serilog file sink from multiple servers has interleaved messages
So from what I can see, the SharedFileSink is only really applicable for multiple processes on the same server as it utilizes an os mutex. Are these servers on windows or Linux?
10 replies
CC#
Created by muskagap on 12/30/2022 in #help
❔ How to properly design microservice architecture in ASP Net Core?
I smell destructive decomposition
28 replies
CC#
Created by Alta on 12/20/2022 in #help
❔ How to organise mappers
Our largest json payloads run between 40 and 75 MB (which is larger than our entire compiled app and all its dependencies to give you some context on complexity
9 replies
CC#
Created by Alta on 12/20/2022 in #help
❔ How to organise mappers
@Alta the projects are complex investment management line-of-business applications
9 replies
CC#
Created by Alta on 12/20/2022 in #help
❔ How to organise mappers
Plus it's intentional and obvious what's being done.
9 replies
CC#
Created by Alta on 12/20/2022 in #help
❔ How to organise mappers
We don't use any sort of mapper at all, my dtos take the entities in their constructors. It'svthe same amount of work without the extra dependency
9 replies
CC#
Created by nauvran on 12/7/2022 in #help
✅ testing EF CRUD functions
But is there business logic in the database? If so, why? If not, why does the database matter for unit tests. If business logic is properly isolated, there should be no need for the db to test it
16 replies
CC#
Created by nauvran on 12/7/2022 in #help
✅ testing EF CRUD functions
Unit tests are for business logic
16 replies
CC#
Created by nauvran on 12/7/2022 in #help
✅ testing EF CRUD functions
My question is why are you unit testing or thinking you need to unit test the database?
16 replies
CC#
Created by Thinker on 10/11/2022 in #help
TSelf generic confusion [Answered]
What is the intent? Like of the TSelf vs T
12 replies
CC#
Created by bookuha on 9/6/2022 in #help
File comparison
Also last- first is usually a really quick algorithm to search
29 replies