WPF C# Professional Modern UI Music App Tutorial

  Рет қаралды 24,944

Payload

Payload

Күн бұрын

Пікірлер: 42
@_buffer
@_buffer 2 жыл бұрын
Discord for free help: discord.gg/2RNRx73aDE
@DavideGarbetta
@DavideGarbetta 2 жыл бұрын
What can I say finally, a TRUE programmer, with some funny sparkles here and there, keep it you're doing a great job.
@_buffer
@_buffer 2 жыл бұрын
That means the world to me, thank you so much! :D
@DavideGarbetta
@DavideGarbetta Жыл бұрын
@@_buffer at all bud, I'm in this field since a long time, I started with the C64 and basic when I was a child, IMHO you are really good, I think all people that commented or gave you a like felt the same. Final words "Well done"
@kingoffline3188
@kingoffline3188 2 жыл бұрын
yeah. Finally a channel that has a lot of sweet c# tutorials. I really appreciate your hard work. Please Upload more c# tutorials for beginners and intermediates. :)
@Dexter_x
@Dexter_x 2 жыл бұрын
i regularly check your channel for uploads. love the content man!!!
@_buffer
@_buffer 2 жыл бұрын
Thank you so much!! :-)
@octopro8937
@octopro8937 Жыл бұрын
If your here in 2023 then make sure to get old version of restsharp (the one he has) then go to spotify developer log in, create new app then look for client id and client secret in basic information then run in a python shell and make sure to fill out the CLIENT_ID and CLIENT_SECRET then it will return you a token for your app! import requests, datetime ''' Implementation of Token class for gaining, storing and verifying Spotify developer tokens. Using text file to store; explore databases for production code. ''' # Enter client ID and secret from developer console; store in .env or similar # for production CLIENT_ID = ' ' CLIENT_SECRET = ' ' class Token: # Token class will try to load an existing saved token rather than # send unnecessary requests; at scale this would improve performance def __init__(self): self.__token = None self.__time = None self.load_token() try: if self.__time + datetime.timedelta(hours=1) < datetime.datetime.now(): # token out of time; update print('Token out of time') self.get_token() else: print('Token up to date') except TypeError: # token time is not a datetime object; update print('Token time format incorrect') self.get_token() self.save_token() def get_token(self): endpoint = "accounts.spotify.com/api/token" headers = {"Content-Type": "application/x-www-form-urlencoded"} body = { "grant_type": "client_credentials", "client_id": CLIENT_ID, "client_secret": CLIENT_SECRET } response = requests.post(endpoint, headers=headers, data=body) self.__token = response.json()['access_token'] self.__time = datetime.datetime.now() self.save_token() def save_token(self): details = self.__token + ',' + self.__time.strftime("%d-%b-%Y (%H:%M:%S.%f)") with open('token.txt', 'w') as file: file.write(details) def load_token(self): try: with open('token.txt', 'r') as file: result = file.read() result = result.strip().split(',') self.__token = result[0] self.__time = datetime.datetime.strptime(result[1], "%d-%b-%Y (%H:%M:%S.%f)") except FileNotFoundError: # no token file saved print('File not found') self.get_token() except ValueError: # token file corrupted print('File corrupt') self.get_token() def token(self): return self.__token def time(self): return self.__time token = Token() print(token.token()) # access your token
@DavinGucci13th
@DavinGucci13th 7 ай бұрын
you literally save my life bro, respect
@DonaldFranciszekTusk
@DonaldFranciszekTusk Жыл бұрын
You're so professional in 'nested' styling. Can you add a video about it? I know that it's likely not very hard, but on your level it seems like that, you're so fast in it, maybe too fast for a tutorial, but you're great.
@GuildOfCalamity
@GuildOfCalamity 2 жыл бұрын
Great video, as usual!
@_buffer
@_buffer 2 жыл бұрын
Thank you so much! I really do appreciate it! :D
@bomfanti
@bomfanti 2 жыл бұрын
hey man, i loved your video, keep up with the good work
@Worthical
@Worthical 2 жыл бұрын
WE NEEDED THIS!!!! Especially after spotify refusing to let people cancel their subs lmaooo
@_buffer
@_buffer 2 жыл бұрын
Hahah thank you! :D
@retronexusnet
@retronexusnet 2 жыл бұрын
fantastic content! i hope there will come more!!
@_buffer
@_buffer 2 жыл бұрын
Thank you! I'm currently working on a new video, I'm hoping to release it tonight :-)
@meidan3819
@meidan3819 2 жыл бұрын
Great video! just something to mention if you've run into an issue called "ProtocolViolationException". Just try to not include your "request.AddHeader" in your code. That solve the issue for me.
@irvingurrutia424
@irvingurrutia424 2 жыл бұрын
Awesome, I love your content!!!
@sumitevs
@sumitevs 2 жыл бұрын
really cool stuff. totally appreciate it.
@_buffer
@_buffer 2 жыл бұрын
Thank you so much! I appreciate your comment! :-)
@ВладимирКовяко
@ВладимирКовяко 2 жыл бұрын
awesome as always
@_buffer
@_buffer 2 жыл бұрын
Thank you Gard! :-)
@justin8037
@justin8037 2 жыл бұрын
Hey man, I love your teaching style. Please make more videos! Is there anyway you can do some on LINQ, EF, etc. You know all that fun database stuff?
@_buffer
@_buffer 2 жыл бұрын
Thank you so much, I really do appreciate it! And I do have videos ideas written down where I'll go over that actually! :-)
@LucasRamon91
@LucasRamon91 2 жыл бұрын
Valeu!
@mrusakow
@mrusakow 2 жыл бұрын
Great tutorial, thank you! However, I have a question: I styled a scroll bar as you explained, it is themed and displays the current scrolling position, but it isn't clickable. I can't scroll the list by dragging the scrollbar indicator by mouse. Furthermore, it doesn't show up and down arrows (which isn't a problem, actually). My question is how to make the themed scrollbar fully function? Thank you!
@ninny9430
@ninny9430 2 жыл бұрын
Good question! Maybe you can have a look at Pro WPF in C#, It will answer your problem.
@fluffymaverick
@fluffymaverick 2 жыл бұрын
Bro where's the cat as what you said in beginning 🙀. Great tutorial.
@no_freaze3319
@no_freaze3319 2 жыл бұрын
it's really cool
@_buffer
@_buffer 2 жыл бұрын
You're really cool!
@GAGANDEEP901
@GAGANDEEP901 2 жыл бұрын
why do we need to style the ListItemView inside ItemContainerStyle of the ListView, we can straight away style the ListItemView, i tried and it worked the same way, could please explain why did you do this?
@ErenCode
@ErenCode 2 жыл бұрын
epic!!
@_buffer
@_buffer 2 жыл бұрын
Thank you Eren! :D
@rajasmahadule2697
@rajasmahadule2697 2 жыл бұрын
Awesome Video, Request: can you make a video on MVVM?
@all-dj
@all-dj 2 жыл бұрын
There are already multiple videos of MVVM on this channel
@mehmudmalek5190
@mehmudmalek5190 2 жыл бұрын
I did the same code as you did. But there is 1 error "XDG0062 Request failed with status code Unauthorized" Please resolved this...
@_buffer
@_buffer 2 жыл бұрын
Make sure to get a new key
@ViscoRecordsMTA
@ViscoRecordsMTA 2 жыл бұрын
Heyo, very helpfuly video man ! I watched your last WPF videos and improved a lot because of you. Anyways this time i got a problem. When i copy and paste the code on quicktype it always says "Unknown character '{, expecting end of file." I cant really find out what i'm doing wrong here :/
@Bennybiscuits2
@Bennybiscuits2 2 жыл бұрын
I just removed the top bit that was allready there
@MrBroomX
@MrBroomX 2 жыл бұрын
Not validation
WPF C# How To Create Your Own Modern VPN Tutorial
59:21
Payload
Рет қаралды 32 М.
How To Create a Chat App and Server Tutorial WPF C#
55:29
Payload
Рет қаралды 70 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 105 МЛН
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 23 МЛН
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 105 МЛН
Is LEARNING WPF still WORTH it in 2023?
10:59
tutorialsEU
Рет қаралды 58 М.
How to Switch Themes in a WPF App at Runtime
24:11
Tactic Devs
Рет қаралды 16 М.
C# WPF Modern UI Flat Design Tutorial
20:25
Payload
Рет қаралды 222 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 735 М.
C#, how to make a basic game with WPF.xaml Pt 1, movement
16:01
Friendly Neighborhood Programmer
Рет қаралды 6 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 105 МЛН