Tom
Tom
CC#
Created by Tom on 9/24/2024 in #help
✅ Folder Structure
thanks for your input 🙂
9 replies
CC#
Created by Tom on 9/24/2024 in #help
✅ Folder Structure
I also thought about creating "src" folder to separate "logic", models, etc. from bin and obj folders which I don't need to publish. Do you think it's a good idea or are there any other common solution for that?
9 replies
CC#
Created by Doggy on 8/24/2024 in #help
ASP.NET Core (backend) + Avalonia UI (desktop frontend)
thanks, could be useful one day 😉
24 replies
CC#
Created by Doggy on 8/24/2024 in #help
ASP.NET Core (backend) + Avalonia UI (desktop frontend)
24 replies
CC#
Created by Doggy on 8/24/2024 in #help
ASP.NET Core (backend) + Avalonia UI (desktop frontend)
can you elaborate a bit on that? Sounds interesting...
24 replies
CC#
Created by Doggy on 8/24/2024 in #help
ASP.NET Core (backend) + Avalonia UI (desktop frontend)
intel i3 7th gen and 8gb of ram, thats why I chose C# because my thinking is that if I try to create a web app is that I'd be working with the chromium engine which is slow (please correct me on this)
Do you mean that on such hardware modern browser won't work? I don't know but could be the case, although you may check firefox/chrome requirements. You can make backend api in whatever works on that hardware (maybe Java Spring which you've mentioned are ok with that or ASP.NET or nodeJS) and then front in Avalonia or maybe something else. You've mentioned that you understand Java and your mates C# - is there any technology you all have in common? As delivering a project and learning new language on the same time may be difficult.
24 replies
CC#
Created by Tom on 8/23/2024 in #help
Global key events listener (when app window is minimalised or out of focus)
I'm looking rather for smth cross-platform
4 replies
CC#
Created by Tom on 8/12/2024 in #help
✅ Methods (with bodies) in interfaces
good approach! thanks for your input @ZZZZZZZZZZZZZZZZZZZZZZZZZ and @Jimmacle
13 replies
CC#
Created by Tom on 8/12/2024 in #help
✅ Methods (with bodies) in interfaces
😄
13 replies
CC#
Created by Tom on 8/12/2024 in #help
✅ Methods (with bodies) in interfaces
cool, I think I got it, thanks for explanations 🙂 btw. I had small confusion how to tag this post, can this be considered as a "beginner" question?
13 replies
CC#
Created by Tom on 8/4/2024 in #help
✅ Predicates
thanks for input, let's wait, maybe someone will come up with "making-sense" example of utilizing that...
8 replies
CC#
Created by Tom on 8/4/2024 in #help
✅ Predicates
exactly
8 replies
CC#
Created by Tom on 7/25/2024 in #help
✅ Design of events
Thanks, now I get your point. I think I'll try to use strongly typed param in handler definition, unless some framework force me to use object. But I may of course change my opinion after having some more practice 😉 Good talk, thank you, I'm closing the topic now. See you! 🙂
35 replies
CC#
Created by Tom on 7/25/2024 in #help
✅ Design of events
@canton7 You've written:
Obviously if you subscribe to TextBox.TextChanged you expect the sender parameter to be an instance of TextChanged. You're not going to get some other control raising that event and inserting itself as the sender parameter. But sometimes you have a list of 20 textboxes, and you want to do something when the text changes in any of them, and you don't want to define 20 handlers. So you define a single handler, and you use that sender parameter to interact with the specific textbox which raised the event
I've assumed that you meant using object sender instead of e.g. TextBox.TextChanged sender make that (interaction without having 20 handlers) possible. I thought the latter makes it possible too (and the type in handler parameter precise kind of sender you are dealing with).
35 replies
CC#
Created by Tom on 7/25/2024 in #help
✅ Design of events
@canton7 Not sure I understood you, as I mean typing instead of object sender, TextBox sender (or smth like that). But anyway, I'm now playing around a bit with Avalonia UI and its events, which may give me more insight, then I may "feel" more what you have writtten. Thank you both @ZZZZZZZZZZZZZZZZZZZZZZZZZ and @canton7 Btw. It's my first post in this channel, should I mark it as "answered" or smth like that?
35 replies
CC#
Created by AceChewy on 7/25/2024 in #help
School Project
@AceChewy I can't help you technically, I'm affraid, just wanna say that I respect sincerity between teachers and students, could make the world much better
15 replies
CC#
Created by Tom on 7/25/2024 in #help
✅ Design of events
then won't having specific TextBox as a sender class be good enough? However I may imagine that there are kinds of text boxes which you deal with differently...
35 replies
CC#
Created by Tom on 7/25/2024 in #help
✅ Design of events
Thanks for your insight @canton7.
35 replies
CC#
Created by AceChewy on 7/25/2024 in #help
School Project
you can risk telling them the model was not required to be trained 😄
15 replies
CC#
Created by Tom on 7/25/2024 in #help
✅ Design of events
good to know many ways to solve things
35 replies