C
C#14mo ago
AceChewy

❔ Framework and Services for C# desktop chat app

So I started programming a chat app which uses .netframework and wpf and I've recently come back to it. I was planning on making the application use .net core rather than .netframework but that made me question whether I was using the right frameworks or services in the first place. I was and still plan on using Supabase (if there aren't any better alternatives) as it's free and sufficient for the app. The database would be written in Postgres. (someone recommended using Asp.net core for the app but I'm not sure where it would be suitable besdies a login in form) WPF since I haven't designed a GUI without wpf before Signal R or Websockets for real time messaging (Haven't used either before) The app itself is only designed to be a demo and support a few users. The UI is also quite simple, it displays your contacts and the last message sent in the chat between you and said contact. If there aren't any, you can use the search bar to look up the names of people on the app and send them a message. There should be a login and sign up page which the users should have to use to be able to use the app (haven't done either of those things before).There are still a few things I need to learn about, but knowing what I need to know sooner rather than later might be a better idea https://github.com/AbuTar/Solaris (Currently only have some of the UI done and was unsure what to proceed with)
GitHub
GitHub - AbuTar/Solaris: A small-scale messaging app (Solaris)
A small-scale messaging app (Solaris). Contribute to AbuTar/Solaris development by creating an account on GitHub.
9 Replies
Angius
Angius14mo ago
Supabase for the backend is fine. WPF for the frontend is also fine, although if you wanted the app to be cross-platform you should use Avalonia instead. Absolutely do use .NET, Framework is dead and buried. SignalR is fine, and you will need some server code written to handle it, which is where ASP.NET Core might come in handy.
AceChewy
AceChewyOP14mo ago
Cool, switching from framework to .net shouldn’t be too difficult right?
Angius
Angius14mo ago
Upgrading an existing project can be a bit of a pain Starting a new .NET 7 project with existing .NET Framework knowledge should be a breeze
AceChewy
AceChewyOP14mo ago
Ok, I think that’s the best course of action I haven’t been able to find many rescources regarding a c# messaging app, specifically handling sending and receiving messages. Would you happen to know of anything that might help?
Angius
Angius14mo ago
As you mentioned, SignalR should do the trick
Accord
Accord14mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
AceChewy
AceChewyOP14mo ago
Do you have any recommendations for what order to develop the app As in should I handle the frontend or backend first? @ZZZZZZZZZZZZZZZZZZZZZZZZZ
Angius
Angius14mo ago
I'd say eithet the backend first, or just do it in parallel
Accord
Accord14mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server