eid
eid
CC#
Created by eid on 6/30/2024 in #help
await in c#
result=task<int>.exception vs result=await method why the exception result is diffrent? await return normal exception ,but task.exception return another exception type(aggregation exception)
45 replies
CC#
Created by eid on 6/20/2024 in #help
✅ what is the name of the pattern that used in types that end with *source?
i don't know, but i think it is pattern,or may more than one pattern
27 replies
CC#
Created by eid on 6/18/2024 in #help
svelte with asp.net core
yes
37 replies
CC#
Created by eid on 6/18/2024 in #help
svelte with asp.net core
it's related , i said that in my question:(I don't know why svelte not popular with asp.net core, i see it very easy and similar to blazor and overcome on the problem of blazor, i can't find book that talk about svelte with asp.net core , if u know a book that talk about that , please tell me about it), u may not noticed that
37 replies
CC#
Created by eid on 6/18/2024 in #help
svelte with asp.net core
blazor problem will not be solved ,it need a lot of years
37 replies
CC#
Created by eid on 6/18/2024 in #help
svelte with asp.net core
😆 , i know, if u can reach my sound to Microsoft ,tell them about my suggestion
37 replies
CC#
Created by eid on 6/18/2024 in #help
svelte with asp.net core
if i were microsoft , i will buy svelte and use it instead of blazor
37 replies
CC#
Created by eid on 6/18/2024 in #help
svelte with asp.net core
ok, but it seem it's not popular
37 replies
CC#
Created by eid on 6/18/2024 in #help
svelte with asp.net core
no, i mean a book like that: ASP.NET Core 6 and Angular - Fifth Edition: Full-stack
37 replies
CC#
Created by eid on 6/18/2024 in #help
svelte with asp.net core
i know, but i'm a biggner , i need guide book
37 replies
CC#
Created by eid on 6/18/2024 in #help
svelte with asp.net core
i'm a bigner, there r a lot of book that focus on api and front-end framwork, all talk about asp.net core and vue, recat or angular(the most)
37 replies
CC#
Created by eid on 3/16/2024 in #help
Application.DoEvents method in winform, can't understand it, any one can explain it?
ok, i will return to that, but my question now ,how the doevents does that job( it basically tells WinForms "take a moment to process the incoming and buffered mouse clicks, key presses, window moves, etc. then get back to me")
20 replies
CC#
Created by eid on 3/16/2024 in #help
Application.DoEvents method in winform, can't understand it, any one can explain it?
good, how he did that , in await i know how it does that, it does that by running the long task in background thread
20 replies
CC#
Created by eid on 3/16/2024 in #help
Application.DoEvents method in winform, can't understand it, any one can explain it?
i don't want to use it, i want to know the work of it, i'm reading a book in manning site, it's name c# conconrency(chapter 11) he talk about configureawait(false) and await, and he talk about doevents, i want to know the concept of it only, because i can't understand using it to allow ui thead to interacts with actions like click etc while the ui thread stucking with syncronize long task
20 replies
CC#
Created by eid on 3/16/2024 in #help
Application.DoEvents method in winform, can't understand it, any one can explain it?
I'm read tutorial that explain using doevent to temporary free the ui thread which long task block and stuck it
20 replies
CC#
Created by eid on 12/19/2023 in #help
interface vs extension method vs method in class
only i need any type that has map to be mapable, mean(has method map)
8 replies
CC#
Created by eid on 12/19/2023 in #help
interface vs extension method vs method in class
i know when to use interface, extension method,and the member method. i mean if i have method it's name is map like select, i want type to have it(i can edit type),(i don't need to make the type interchangeably or use it in polymorphism) i make map as a member method in it, or as extenion method, or interface
8 replies
CC#
Created by eid on 12/19/2023 in #help
can any one explain that?
In functional programming, a functor is a type that implements a map operation, allowing you to transform the values inside the functor while preserving its structure. The confusion seems to arise from the desire to return the same type as the current instance, but also expecting a transformed type.
6 replies
CC#
Created by eid on 12/4/2023 in #help
decorator pattern vs adapter pattern
decorators add or change behavior!!! i think i can do that with adapter too
3 replies
CC#
Created by eid on 12/4/2023 in #help
decorator pattern vs adapter pattern
the idea behind adapter pattern is to implement an interface for a class which doesn't implement it??? what the idea behind decorator? a class could be a decorator and an adapter at the same time?? how?
3 replies