C
C#β€’13mo ago
theholyhuub

❔ app dev help:3

how to make a app in c# and are there any good tutorials for?
45 Replies
Buddy
Buddyβ€’13mo ago
$helloworld
theholyhuub
theholyhuubβ€’13mo ago
what video is for app dev?
Jimmacle
Jimmacleβ€’13mo ago
all of them "app dev" is the entire field of programming
theholyhuub
theholyhuubβ€’13mo ago
oh ok thx
ZacharyPatten
ZacharyPattenβ€’13mo ago
1. how new are you to C# and development in general? 2. when you say "app" what do you mean? "app" pretty much means everything. do you have something specific in mind? like do you want a desktop app with a graphical user interface? or a web app?
theholyhuub
theholyhuubβ€’13mo ago
1: ehm pretty new with c# maybe its better to start with the basics i already have some good python, html and css knowledge 2: a desktop app with as goal know a startingup animation and some basic buttons
ZacharyPatten
ZacharyPattenβ€’13mo ago
so, there are multiple GUI frameworks in C# $guiframeworks
MODiX
MODiXβ€’13mo ago
Windows Presentation Foundation (WPF): + Has a lot of resources online due to how old it is. + There are a lot of UI libraries for it - No longer maintained, as in, didn't receive any major updates since a long time. Universal Windows Platform (UWP): + Fast, and has a small binary size. + Has a nice UI out of the box (And also there's WinUI 2.7 to achieve Windows 11's looks and feel). - Is packaged and requires a developer license. Avalonia: + Cross-platform and is under active development. - Relatively new, so there are not a lot of online resources for it. Note: All of the mentioned GUI frameworks are XAML-based.
ZacharyPatten
ZacharyPattenβ€’13mo ago
there is also Winforms (not listed above) ---- Winforms is generally the easiest GUI framework for beginners, but it is also the oldest and most limited framework. For example it doesn't have transparancy support, and it doesn't have GPU acceleration. It renders the view entirely on the CPU
theholyhuub
theholyhuubβ€’13mo ago
thats not good
ZacharyPatten
ZacharyPattenβ€’13mo ago
yes, but it is also very easy to learn and use so it might not be a bad place to start, just go in with the intent to learn a little bit and then move on to other frameworks once you get a little more confidence
theholyhuub
theholyhuubβ€’13mo ago
ok, you maybe know a good tutorial?
ZacharyPatten
ZacharyPattenβ€’13mo ago
there are tons of tutorials on youtube for winforms. do you have any idea what kind of app you want to make?
ZacharyPatten
ZacharyPattenβ€’13mo ago
I personally hate videos... they are slow and they only teach to you follow directions... not problem solve on your own. but if you really want a video, this one might not be too bad: https://www.youtube.com/watch?v=0zLZQesgV5o
IAmTimCorey
YouTube
Intro to Windows Forms (WinForms) in .NET 6
Windows Forms, also known as WinForms, is one of the original project types in .NET. It is designed to be a rapid application development environment for desktop applications. Over the past twenty years, other desktop application types such as WPF, UWP, and now .NET MAUI have come along. So, when would we use WinForms? In this video, I am going ...
theholyhuub
theholyhuubβ€’13mo ago
i have a design in my head, and my idear for the is is a kinda agenda, chat/call room in 1 maybe to big just like the idear
ZacharyPatten
ZacharyPattenβ€’13mo ago
it is good to have an idea and some passion πŸ™‚
theholyhuub
theholyhuubβ€’13mo ago
i dont realy want a video a tutorial page is better for me but its just not for everything is 1 (:
ZacharyPatten
ZacharyPattenβ€’13mo ago
then perhaps start there πŸ™‚
theholyhuub
theholyhuubβ€’13mo ago
thank you gonna do it rn
ZacharyPatten
ZacharyPattenβ€’13mo ago
we also often help people in the voice chats with winforms/gui development
theholyhuub
theholyhuubβ€’13mo ago
ok dont need it rn but if i walk to a problem, i wil do that Also do you maybe know how to make a animation when you open the app and then opens the app
ZacharyPatten
ZacharyPattenβ€’13mo ago
usually in coding there are multiple ways to do anything. yes I have several ideas do you already have an animation?
theholyhuub
theholyhuubβ€’13mo ago
Him its a little bit harder without transparancy Ehm like a fuly animation or just the things i want to move and that i code the movement in c#
ZacharyPatten
ZacharyPattenβ€’13mo ago
so that is a "no" you don't have an animation yet? I can make you some examples but if I had something to go off of in terms of what you are looking for that would help
theholyhuub
theholyhuubβ€’13mo ago
Ehm just a simple lets do white circle as background and then 3 letters the A, V and T (maybe a little bit to hard idk) and like the V under the circle and the A and the T above and they ale ho tho the circle Idk if this text is good to read It prob isbt Isbt Isnt
Jimmacle
Jimmacleβ€’13mo ago
ale ho tho the circle
what language is this
theholyhuub
theholyhuubβ€’13mo ago
? C#
Jimmacle
Jimmacleβ€’13mo ago
no, i mean what is "ale ho tho" supposed to mean
theholyhuub
theholyhuubβ€’13mo ago
I dont see it
Jimmacle
Jimmacleβ€’13mo ago
ok
theholyhuub
theholyhuubβ€’13mo ago
Lol Nope Is it doable @ZP β–‘β–’β–“β–ˆβ”œβ– ΜΆΛΎΜΆΝžβ– β”€β–ˆβ–“β–’β–‘ ?
ZacharyPatten
ZacharyPattenβ€’13mo ago
sure. If I can find the time to make an example I will ping you πŸ™‚
theholyhuub
theholyhuubβ€’13mo ago
Ok, already thx!!! Thx already* You think you have time today:)
ZacharyPatten
ZacharyPattenβ€’13mo ago
Here you go: https://github.com/ZacharyPatten/dotnet-winforms-examples if you click the "Animated Logo On Launch" button it will show a loading gif. Hopefully that is along the lines of what you want. In that example I used a .gif image. you can make custom animations inside Winforms too, but a .gif was the quickest for me to make an example for. you can use transparency as well.. but the gif I used there didn't have transparency, and although transparency is possible in winforms, you tend to get rough edges still (because it uses a transparency key, so anything not at the exact key will not be considered transparent)
ZacharyPatten
ZacharyPattenβ€’13mo ago
@theholyhuub just pinging you to ensure you see it
theholyhuub
theholyhuubβ€’13mo ago
Ok thx! Gonna try it out Is it al the code? Or just 1 file
theholyhuub
theholyhuubβ€’13mo ago
Ok! Thx How to code the designer
ZacharyPatten
ZacharyPattenβ€’13mo ago
the designer is an auto generated file in winforms you dont have to code it
theholyhuub
theholyhuubβ€’13mo ago
Ok so i dont have to care about that file
ZacharyPatten
ZacharyPattenβ€’13mo ago
you do have to care about it, but it is auto generated. you need to spend some time and learn how windows forms development works. make your own windows forms project and start learning πŸ™‚ visual studio has a designer that lets you click and drag and visually edit forms. as you edit the form in the designer the code behind those changes are automatically generated in the designer file by visual studio
theholyhuub
theholyhuubβ€’13mo ago
I know i did tutorial 1 and 2 (doing 3 rn)
Accord
Accordβ€’13mo 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
More Posts
❔ Remainders and % ModulusIm not sure if I am just super dumb, but for example, 3%2 = 1, but wouldnt it be 1.5? Again 10%4=2, βœ… Google Sheets API Randomized valueIm trying to use the value of a string to assign a value to an int, however whatever I have done doe❔ Handling OpenAI/GPT API Functions with strong typesThis is a fun design problem and really I have no idea how to approach it, any thoughts are welcome.❔ Settings model as a singleton in WPFI have been using `Properties.Settings.Default` for my application which automatically saves a confi❔ Unity Animations With Time.deltatimeSo when I make animations in Unity I made all the animations so Idle, Run, Jump etc. I used time.delβœ… Convert from string to Type?```cs public class Foo { public string MyTypeInString = "Foo"; } public static class SomeFunctionReturning a value after a insert statementThis is the code im running in DotNet: ```c++ var testQuery = $@" INSERT INTO [{databaseName}].[db❔ ASP.NET Core port remaining :5000 even after setting it to something else in launchSettings.jsonTitle pretty much explains it, it also runs on :38120 on my local computer but not on a release builβœ… ASP.NET Web API cant be reached: (SOLVED: Setup reverse proxy)im making a small web api using ASP.NET and im having issues with running my code on a server to tesβœ… How to get class structure with types?I have following class: ```cpp public class ReportTemplatesListArguments { [JsonProperty( Proper