bookuha
bookuha
CC#
Created by bookuha on 5/2/2023 in #help
❔ Why .Where() doesn't work with .Include()?
By the way, 75% time spent on debugging is fixing mapper issues. Think twice if you need it
8 replies
CC#
Created by bookuha on 5/2/2023 in #help
❔ Why .Where() doesn't work with .Include()?
After removing ProjectToType everything started working just fine
8 replies
CC#
Created by bookuha on 5/2/2023 in #help
❔ Why .Where() doesn't work with .Include()?
It’s ProjectToType method on Queryable issued some Selects and in EF Select() shadows Include() entirely
8 replies
CC#
Created by bookuha on 5/2/2023 in #help
❔ Why .Where() doesn't work with .Include()?
Solved. The problem was … MAPPER
8 replies
CC#
Created by bookuha on 3/21/2023 in #help
❔ CRUD(REST) + DDD
How would you handle this kind of logic?
5 replies
CC#
Created by bookuha on 3/21/2023 in #help
❔ CRUD(REST) + DDD
There are some ways I see to handle this: 1) Change entity using JsonPatch, then run a domain validator on it (looks very bad) 2) Define EntityDomainService.Update() & Entity.Update() methods that will validate any changes that happen 3) In Application Service figure our what properties have changed, then call related Entity.UpdatePropertyName1(), UpdatePropertyName2() methods 3) looks the most correct yet the most difficult way and I have never seen anything like that before 1) looks simple and working, but not so expressive
5 replies
CC#
Created by bookuha on 3/5/2023 in #help
❔ S3 Buckets over HTTP? Is it ok?
And I wonder, if it is proper to send 5-100 MB videos over HTTP
11 replies
CC#
Created by bookuha on 3/5/2023 in #help
❔ S3 Buckets over HTTP? Is it ok?
Oh, sorry. I develop a monolithic REST API Messanger app, and there might be a need in file transfer, and I wonder how it is usually done in this kind of applications
11 replies
CC#
Created by bookuha on 3/5/2023 in #help
❔ S3 Buckets over HTTP? Is it ok?
Or just make my app serve files
11 replies
CC#
Created by bookuha on 3/5/2023 in #help
❔ S3 Buckets over HTTP? Is it ok?
But, seemingly, it is not really neccessary. I can do this any way, and use buckets as a storage, and return either stream of bytes or a file location on the bucket
11 replies
CC#
Created by bookuha on 3/5/2023 in #help
❔ S3 Buckets over HTTP? Is it ok?
Well, having my main monolithic app to do this kind of work, I guess
11 replies
CC#
Created by bookuha on 3/5/2023 in #help
❔ S3 Buckets over HTTP? Is it ok?
Please me explain a normal flow of the file upload/unload!
11 replies
CC#
Created by bookuha on 1/1/2023 in #help
❔ Locating views in another Assembly
but no idea how to make it fetch views from another
4 replies
CC#
Created by bookuha on 1/1/2023 in #help
❔ Locating views in another Assembly
well works fine when in the same project/assembly
4 replies
CC#
Created by cipro on 12/17/2022 in #help
❔ Comparing an answer to a question stored in a list
Why not dictionary?
15 replies