EricAwesomeness
EricAwesomeness
CC#
Created by EricAwesomeness on 5/30/2024 in #help
.net ecosystem questions
I am a bit confused on what is .net and it's ecosystem. From my understand and please correct me if I'm wrong .net framework and .net core are just other older names for .Net .net is an ecosystem with other frameworks to build things under it which can be used with multiple coding languages but mostly C#, but F# and VB(isn't this also used to write office macros?) For example asp.net is a main product (framework) of .net specifically designed to create websites? If I'm understanding that correctly can you explain a few terms I've heard that come up and confuse me. EF - chatgpt told me this is a product in the .net ecosystem like asp.net which confused me more because I thought it was just a way to map dbs to your code so you didn't have to use raw SQL querys. Doesn't this mean it can be used with Asp.net or wpf or Maui or anything? Asp.net - framework to make websites? Blazor - no idea what this one is I just hear it a lot when googling things. Docker - I'm not even positive this has anything to do with .net Maui vs Xamarin - from what I understand it's the framework that is cross platform between windows Linux and Mac for just desktop programs which means these would be main products of .net? Wf/wcf? - chat gpt threw these out when i was asking about this also which did nothing but confuse me more. Seems like for this question the more I look it up the more I'm confused. Especially with ChatGPT which I think is steering me in even more of a wrong direction here.
67 replies
CC#
Created by EricAwesomeness on 1/13/2024 in #help
✅ Which Technologies should I use?
So I'm looking to write code that will be used to take a discord thread (like this one) and convert it to a forums post on the web for people to be able to search. I feel like there's a lot of REALLY good info, answers, and questions and such lost in help channels like this to the nature of discord. Id like to write something to convert this to store them elsewhere like a forums or reddit type community so that this info can be searched or used to train ai or tons of other uses. The problem is I'm not sure how hard of a project this will be. I've done some smaller projects using WPF, Maui, Asp.net core, but never really finished any of them and never used an ORM at all which I'm sure will be used a lot in this type of project. Connecting DBs is usually what stopped my progress from finishing any of the old apps I've worked on. So I guess my questions are. 1. Is a project like this been done before or would I just be reinventing the wheel? 2. Is this something that would be in scale for someone of my skill level? I'm willing to stick with this project long term and learn what I need to get it done. 3. What technologies would I need to learn or use? Thanks for your help guys.
3 replies
CC#
Created by EricAwesomeness on 12/20/2023 in #help
✅ Updating Migrations
From my understanding Migrations are the code for EF to create a SQL DB. Ive followed this crash course https://www.youtube.com/watch?v=BfEjDD8mWYg&t=2848s to create my first one but I added more properties to the model so wondering how to update the migration to include those properties on the table. Any help would uh help haha. Does anyone have any tutorials or info on migrations and how to work with them?
21 replies
CC#
Created by EricAwesomeness on 10/18/2023 in #help
❔ IEnumerable to ObservableCollection
I am not sure if im doing this correctly but I am trying to create a sqlite table with some data in it and then load the data from the table. I havent tried to run the code yet because when I follow along with the tutorial the code he writes pulls the list as a IEnumerable but I have the list as an observable collection so that the UI will change when the list is updated. Is there a way to change IEnumerables to ObservableCollections? And is that even what I should do here? Thanks https://paste.mod.gg/cpttdpqbguai/0
47 replies
CC#
Created by EricAwesomeness on 10/18/2023 in #help
✅ Databinding using CommunityTooklit.MVVM
When I am trying to bind to a property on a custom class I am running into some trouble because im not sure how to do it. I am able to get the list to show items using ItemsSource="{Binding Players}" however the items themselves are not showing their properts (Ex: PlayerName) All I see is a blank row. I have changed line 49 to say PlayerName to try to bind to the property of the actual item in the list but that did not work. Any tutorials or tips? https://paste.mod.gg/diqyvgttkvos/0
36 replies
CC#
Created by EricAwesomeness on 10/18/2023 in #help
❔ ✅ Databinding using CommunityToolkit.MVVM
I am getting intellisense telling me "Member not found in Data context MainViewModel" on lines 23 and 28 on CreatePlayer. https://paste.mod.gg/leozuymwsqvt/0 Anyone mind pointing out an error I made?
9 replies