this_is_pain
this_is_pain
CC#
Created by kratos on 3/12/2025 in #help
CancellationTokenRegistration disposal.
there could be resources allocated when you make a registration, so as a general rule yes when its use is finished it should be disposed
5 replies
CC#
Created by Exdraem on 3/12/2025 in #help
it seam Entity Framework dont like me. But i will force it to
'System.Runtime, Version=10.0.0.0 version 10?
21 replies
CC#
Created by ero on 2/12/2025 in #help
Named Pipe IPC: Protocols & Status Codes
there's also godbolt that can do some of that i never dared to try it on mobile tho
515 replies
CC#
Created by Crowz on 3/12/2025 in #help
Website Cookie Deletion
i guess you ha tried this on same browser same everything but also you should have look if in the browser the cookie is the same
2 replies
CC#
Created by Ellopis on 3/11/2025 in #help
✅ Using Identity with bearer. How do I retrieve the user, or userId in a request?
without knowing anything about the software you're working on it seems ok to me i guess that's a context where user must be authenticated
4 replies
CC#
Created by bylinkarr on 3/11/2025 in #help
✅ THREADING & CHARTS
$details
12 replies
CC#
Created by WizzyWodich on 3/11/2025 in #help
How to store keys
you can search for secrets management, like https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html usually you keep a specific service (cloud or local) that has keys, credentials, and so on then you decide how much security you want for the services that access that to recover stuff so you could have ip whitelisting, some kind of digital certification checking, and so on
4 replies
CC#
Created by Eyris on 3/11/2025 in #help
How to best manage DTOs in Clean arch DDD project
i guess atm nobody knew better
15 replies
CC#
Created by ero on 2/12/2025 in #help
Named Pipe IPC: Protocols & Status Codes
sorry i understand you're stressed about this i wanted to take a deeper look at the thread but i've got a bunch of stuff to worry about myself it seems it's a low activity period this week on the server, i don't know
515 replies
CC#
Created by ero on 2/12/2025 in #help
Named Pipe IPC: Protocols & Status Codes
at least you got fancy emojis
515 replies
CC#
Created by Eyris on 3/11/2025 in #help
How to best manage DTOs in Clean arch DDD project
there are a few factors to consider; personally i wouldn't have an issue using infrastructure from application, but if you have everything implemented as app->dom->infra and only this feature would differ then for sake of clarity having a domain service woud probably help, even if thin (consideration still goes to how much organization and interaction with other parts of the service this feature has) if/when you (and eventually team) get more experience and are comfortable being a little more creative (and have sufficient internal documentation) then things could change
15 replies
CC#
Created by Eyris on 3/11/2025 in #help
How to best manage DTOs in Clean arch DDD project
external index means that even if it's not article it's still a kind of surrogate of it? like a flattened version or a subset of the fields?
15 replies
CC#
Created by Eyris on 3/11/2025 in #help
How to best manage DTOs in Clean arch DDD project
because you have to identify which feature this is, and for who
15 replies
CC#
Created by Eyris on 3/11/2025 in #help
How to best manage DTOs in Clean arch DDD project
This means I need to know in the domain layer about a DTO from the external service
a dto is just data transfer object, you use when you need to transfer data to a remote host or whatever, so it's not a problem instead i would say this is a more interesting question: "should I just define it as IArticleSearchService<T> ?"
15 replies
CC#
Created by Eyris on 3/11/2025 in #help
How to best manage DTOs in Clean arch DDD project
having a shared objects project is accepted practice (as a reference: https://abp.io/docs/9.0/framework/architecture/best-practices/module-architecture) although this: "the application layer with mediatr uses virtually identical CommandHandler/QueryHandler/Responses" catches my attention a bit, but ok
15 replies
CC#
Created by Eyris on 3/11/2025 in #help
How to best manage DTOs in Clean arch DDD project
I could have treated the API layer as pretty much the Application layer
api layer does external access stuff, like autodoc (e.g. swagger), authorization, validation (eventually), etc
15 replies
CC#
Created by Auger on 2/12/2025 in #help
Azure Data API Builder - Partial Match
hmmm it should be part of odata 🤔
9 replies
CC#
Created by Blink182 Submarine pi on 3/10/2025 in #help
beginner in asp.net trying to understand why console.writeline isnt logging to output->debug window
if i understand this correctly output->debug is another thing you write in there with system.diagnostics.debug
4 replies
CC#
Created by this_is_pain on 3/10/2025 in #help
adding a resource approval feature and fighting against ef core
no helpy helpy anyway atm i've deleted the types and flattened the fields, can't spend days on this
6 replies
CC#
Created by Ryze on 3/10/2025 in #help
Problem with the first iteration in the loop, wont wait the set delay
also Convert.ToInt32 should be TryParse
33 replies