SleepWellPupper
SleepWellPupper
CC#
Created by emerged_entity on 6/30/2024 in #help
FluentResults in the Domain layer
If you're interested, I use a source generator so I don't have any external runtime dependencies for my projects. But that SG doesn't generate the FluentResults API, only union types so it might not exactly fit your need.
14 replies
CC#
Created by eid on 6/30/2024 in #help
await in c#
That's just like, your opinion, man.
45 replies
CC#
Created by eid on 6/30/2024 in #help
await in c#
looking at the three diagrams I can see no paralellism involved
45 replies
CC#
Created by eid on 6/30/2024 in #help
await in c#
It explicitly states that there is no parallelism involved in the example model:
Cooking breakfast is a good example of asynchronous work that isn't parallel.
and
For a parallel algorithm, you'd need multiple cooks (or threads).
45 replies
CC#
Created by eid on 6/30/2024 in #help
await in c#
I disagree, the article seems well suited to explaining asynchronicity.
45 replies
CC#
Created by emerged_entity on 6/30/2024 in #help
FluentResults in the Domain layer
Don't overcomplicate simple things. KISS is a good friend you should seek. The way I see it, FluentResults is a cross-cutting dependency so having it referenced where needed is preferable to whatever complicated solution might remedy this apparent "problem".
14 replies
CC#
Created by neSHa on 6/30/2024 in #help
Dictionary translation
Seems to me like regular grammars are just barely able to express your format; maybe a context-free grammar would be better suited. I'd imagine using a tool like ANTLR for this task would be feasible.
8 replies
CC#
Created by neSHa on 6/30/2024 in #help
Dictionary translation
Yeah if reading raw pdf data, one might be able to extract font weight. If using OCR, that might be more difficult
8 replies
CC#
Created by emerged_entity on 6/30/2024 in #help
FluentResults in the Domain layer
Package references are transient, so any layer depending on your domain layer will of course also depend on your result types. Personally, I use result types also (lots of custom ones, too), albeit without 3rd party libraries. I associate them to the service/operation that produces them; general result types usually land in Common. What is the specific functionality you require from FluentResults?
14 replies
CC#
Created by emerged_entity on 6/30/2024 in #help
FluentResults in the Domain layer
Sounds like your problem stems from CA, are you free to choose the architecture of this project? If so, maybe give $vsa a try
14 replies
CC#
Created by Komitet on 6/26/2024 in #help
I want to find file when the file it's found I want to say where is the file path
Especially this part:
what you expect the result to be
12 replies
CC#
Created by Komitet on 6/26/2024 in #help
I want to find file when the file it's found I want to say where is the file path
$details
12 replies
CC#
Created by Giovani Ferro on 6/26/2024 in #help
Simple Injector with mediatR
So you would be able to resolve services from the default container via the SimpleInjector container
10 replies
CC#
Created by Giovani Ferro on 6/26/2024 in #help
Simple Injector with mediatR
Also, if you find yourself unable to integrate MediatR with SimpleInjector, you might want to look into the SimpleInjector ASP integration guides. They showcase how you can use the default DI container (to register MediatR properly) and then cross-wire into a SimpleInjector Container
10 replies
CC#
Created by Giovani Ferro on 6/26/2024 in #help
Simple Injector with mediatR
You're registering an interface onto an interface. Your registration has to register an implementation (concrete type) onto the IMediator interface.
10 replies
CC#
Created by DevLop games on 6/25/2024 in #help
I need to render text in my game with opentk
yes please
8 replies
CC#
Created by DevLop games on 6/25/2024 in #help
I need to render text in my game with opentk
I meant the name of the library, so I can look at the documentation.
8 replies
CC#
Created by DevLop games on 6/25/2024 in #help
I need to render text in my game with opentk
Which opentk wrapper library are you using?
8 replies
CC#
Created by ziptie.entity on 6/24/2024 in #help
StateHasChanged not working in timers.
What rendermode is the component being rendered in?
2 replies
CC#
Created by DevLop games on 6/24/2024 in #help
✅ Namespace error
basically, this
63 replies