Keswiik
Keswiik
CC#
Created by DANTE on 2/28/2025 in #help
Can anyone help me with C# ?
this should be the control you want to work with
15 replies
CC#
Created by DANTE on 2/28/2025 in #help
Can anyone help me with C# ?
15 replies
CC#
Created by DANTE on 2/28/2025 in #help
Can anyone help me with C# ?
buttons on the left show different content when clicked?
15 replies
CC#
Created by DANTE on 2/28/2025 in #help
Can anyone help me with C# ?
ok, so you're trying to set up a tabbed view of sorts
15 replies
CC#
Created by DANTE on 2/28/2025 in #help
Can anyone help me with C# ?
So tell us where you're having issues and we can go from there. A single picture and no info about what you've tried doesn't give us a lot to work with.
15 replies
CC#
Created by Moebytes on 2/27/2025 in #help
class constructor in c#
27 replies
CC#
Created by Moebytes on 2/27/2025 in #help
class constructor in c#
it depends on what you're doing, those are called primary constructors
27 replies
CC#
Created by Faker on 2/23/2025 in #help
✅ What is Repository pattern design and how to implement it
stuff that is generally considered a bad idea or in poor practice
21 replies
CC#
Created by Faker on 2/23/2025 in #help
✅ What is Repository pattern design and how to implement it
a repository isolates all of your interactions with a database from the code you have that uses said data
21 replies
CC#
Created by Faker on 2/23/2025 in #help
✅ What is Repository pattern design and how to implement it
data access is how you're storing and retrieving the data
21 replies
CC#
Created by Faker on 2/23/2025 in #help
✅ What is Repository pattern design and how to implement it
the business logic side is what you're doing with the data (and constraints applied to it)
21 replies
CC#
Created by Faker on 2/23/2025 in #help
✅ What is Repository pattern design and how to implement it
as for the "business logic and data access logic", it's pretty straightforward
21 replies
CC#
Created by Faker on 2/23/2025 in #help
✅ What is Repository pattern design and how to implement it
repositories with EF is generally considered an anti-pattern as your db context is your repository
21 replies
CC#
Created by Faker on 2/21/2025 in #help
✅ Should we include database name in connection string when creating new db using EF core ?
that is what i normally do, it's similar to how we handle our databases at work as well
25 replies
CC#
Created by Faker on 2/21/2025 in #help
✅ Should we include database name in connection string when creating new db using EF core ?
if these projects aren't related i would, at the very least, try to have them use different schemas
25 replies
CC#
Created by Faker on 2/21/2025 in #help
✅ Should we include database name in connection string when creating new db using EF core ?
This will probably depend on which database provider you end up using. I normally use the same database with postgres but specify different schemas for each of my projects
25 replies
CC#
Created by Faker on 2/21/2025 in #help
✅ Project not found when trying to add migration in rider
the terminal will default the CWD to your solution folder though, afaik
21 replies
CC#
Created by Dyda on 2/20/2025 in #help
✅ Problem with binding (#AvaloniaUI)
SearchViewModel.ThumbnailButtons is an ObservableCollection<SearchViewThumbnailButtonViewModel> collection, and the DataType argument for my template lets me access SearchViewThumbnailButtonViewModel.OnClickCommand and SearchViewThumbnailButtonViewModel.Thumbnail directly
32 replies
CC#
Created by Dyda on 2/20/2025 in #help
✅ Problem with binding (#AvaloniaUI)
in the second example, ThumbnailButtons and OnClickCommand come from two different VMs
32 replies
CC#
Created by Dyda on 2/20/2025 in #help
✅ Problem with binding (#AvaloniaUI)
This is to access item-specific bindings without having to do ugly casting
32 replies