Mamma Mia Dev
Mamma Mia Dev
  • Видео 16
  • Просмотров 80 155
How to use Reddit API with Postman and C#
Hello everyone and welcome to this new video on MammaMiaDev. In this episode we’ll see how to consume Reddit content by leveraging their API. We will prototype an API client, first using Postman and then with C#, so that we can customize the Reddit experience based on our own preferences.
► Reddit first announcement: www.reddit.com/r/reddit/comments/12qwagm/an_update_regarding_reddits_api/
► Apollo shutdown announcement: www.reddit.com/r/apolloapp/comments/144f6xm/apollo_will_close_down_on_june_30th_reddits/
► API Controversy wiki page: en.wikipedia.org/wiki/2023_Reddit_API_controversy
► Reddit Protest Is Finally Over. Reddit Won: www.reddit.com/r/technology/comments/15ic0td/the_reddit_protes...
Просмотров: 123

Видео

Avalonia UI - 13 - Charts
Просмотров 2,1 тыс.4 месяца назад
Hello everyone and welcome to this new episode of the Avalonia UI series. In this video we’ll see how to add modern and animated charts to our applications by using LiveCharts2. ► GitHub repo: github.com/MammaMiaDev/avaloniaui-the-series ► Live charts 2: livecharts.dev/docs/avalonia/ 0:00 Intro 1:33 Final application 2:38 Lines chart 4:19 Racing bards 6:14 World Heat Map 7:14 Live chart 8:49 Co...
Avalonia UI - 12 - Create a login page (part 2)
Просмотров 2 тыс.5 месяцев назад
Hello everyone and welcome to this new episode of the Avalonia UI series. In this second and last part of the video we’ll continue making our login page, by registering the components inside the DI container and setting up a messaging system to let the views communicate with each other. ► GitHub repo: github.com/MammaMiaDev/avaloniaui-the-series ► Typed clients: learn.microsoft.com/en-us/aspnet...
Avalonia UI - 12 - Create a login page (part 1)
Просмотров 3,5 тыс.5 месяцев назад
Hello everyone and welcome to this new episode of the Avalonia UI series. In this first part of the video we’ll see how to make a super simple login page, and we'll simulate a login service by making real HTTP calls. ► GitHub repo: github.com/MammaMiaDev/avaloniaui-the-series ► Avalonia DockPanel docs: docs.avaloniaui.net/docs/reference/controls/dockpanel ► DummyJSON: dummyjson.com/ ► Make HTTP...
Avalonia UI - 11 - Application Refactoring
Просмотров 1,1 тыс.5 месяцев назад
Hello everyone and welcome to this new episode of the Avalonia UI series. This will just be a quick update on small refactoring I did on the application. ► GitHub repo: github.com/MammaMiaDev/avaloniaui-the-series ► Splash screen video: ruclips.net/video/-Ii4QmcYQUU/видео.html ► Avalonia ItemsRepeater docs: docs.avaloniaui.net/docs/reference/controls/itemsrepeater ► ItemsRepeater removal PR: gi...
Avalonia UI - 10 - Create Mobile Applications
Просмотров 3,4 тыс.6 месяцев назад
Hello everyone and welcome to this new episode of the Avalonia UI series. In this video we’ll see how to use AvaloniaUI to create mobile applications. ► GitHub repo: github.com/MammaMiaDev/avaloniaui-the-series ► AvaloniaUI documentation for cross-platform development: docs.avaloniaui.net/docs/guides/building-cross-platform-applications/ ► Wordle-onia source code: github.com/AvaloniaUI/Wordle-o...
Avalonia UI - 09 - Making a splash screen
Просмотров 2,5 тыс.7 месяцев назад
Hello everyone and welcome to this new episode of the Avalonia UI series. In this video we’ll see how to make a beautiful splash screen. ► GitHub repo: github.com/MammaMiaDev/avaloniaui-the-series ► video on how to use FluentAvaloniaUI package: ruclips.net/video/NnF6YRN4B5o/видео.html ► avalonia dotnet templates: github.com/AvaloniaUI/avalonia-dotnet-templates ► kivarsen splash screen demo: git...
Avalonia UI - 08 - Drag and Drop
Просмотров 5 тыс.8 месяцев назад
Hello everyone and welcome to this new episode of the Avalonia UI series. In this video we'll see how to implement drag-and-drop inside our application. ► GitHub repo: github.com/MammaMiaDev/avaloniaui-the-series ► Tutorial on draggable elements: abdesol.medium.com/how-to-make-a-movable-control-in-avalonia-970b3507b0ac ► Reference API docs for the DragDrop class: reference.avaloniaui.net/api/Av...
Avalonia UI - 07 - Beautiful apps with Fluent UI
Просмотров 10 тыс.9 месяцев назад
Hello everyone and welcome to this new episode of the Avalonia UI series. In this video we'll see how to make wonderful applications using the Fluent Avalonia UI library. ► Fluent Avalonia UI theme Github repo: github.com/amwx/FluentAvalonia Getting started docs: amwx.github.io/FluentAvaloniaDocs/pages/GettingStarted ► Fluent design guidelines: learn.microsoft.com/en-us/windows/apps/design/ ► O...
Avalonia UI - 06 - Dependency Injection
Просмотров 4 тыс.9 месяцев назад
Hello everyone and welcome to this new episode of the Avalonia UI series. In this video we'll dive into Dependency Injection and how to use it inside an Avalonia project. ► DI definitions: Wikipedia: en.wikipedia.org/wiki/Dependency_injection Microsoft learn: learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection ► 3rd party DI containers: DI in Avalonia using Lamar by Khalid Abu...
Avalonia UI - 05 - Grids
Просмотров 3,2 тыс.9 месяцев назад
Hello everyone and welcome to this new episode of the Avalonia UI series. As you may have noticed from the title, today’s topic is Grids: one of the most flexible and versatile layout controls that can be used for arranging child controls in columns and rows. ► GitHub repo: github.com/MammaMiaDev/avaloniaui-the-series ► Grid control documentation : docs.avaloniaui.net/docs/reference/controls/gr...
Avalonia UI - 04 - Images
Просмотров 3,8 тыс.9 месяцев назад
Hello everyone and welcome to this new episode from the Avalonia UI series. Today we’ll see how to include images in our Avalonia applications. ► GitHub repo: github.com/MammaMiaDev/avaloniaui-the-series ► Avalonia image element docs.avaloniaui.net/docs/next/reference/controls/image 0:00 Intro 1:14 Assets 1:55 Reference an asset 2:20 Complex scenarios 2:48 Demo 5:42 Binding converters 6:29 Conc...
Avalonia UI - 03 - Sidebar Menu
Просмотров 16 тыс.10 месяцев назад
In this episode we'll see how to create a cool sidebar menu using the SplitView control and Avalonia fluent icons. ► GitHub repo: github.com/MammaMiaDev/avaloniaui-the-series ► Avalonia Fluent Icons avaloniaui.github.io/icons.html 0:00 Intro 0:58 SplitView design 5:07 SplitView interaction 9:05 Navigation logic 17:56 Icons 23:42 Conclusions
Avalonia UI - 02 - Data Binding
Просмотров 8 тыс.10 месяцев назад
Second video of the series where we explore Avalonia UI: a cross-platform UI framework based on .NET. In this episode we'll go through what is data-binding and how we can use it inside an Avalonia application to make sure the UI and application data are always synchronized ► GitHub repo: github.com/MammaMiaDev/avaloniaui-the-series ► Introduction video: ruclips.net/video/1mzM6N4drCU/видео.html ...
Avalonia UI - 01 - Project Setup
Просмотров 14 тыс.Год назад
First video of the series where we explore Avalonia UI: a cross-platform UI framework based on .NET. In this episode we'll see how to setup a new Avalonia MVVM project and some basic interactions between UI components. ► GitHub repo: github.com/MammaMiaDev/avaloniaui-the-series ► .NET SDK: dotnet.microsoft.com/en-us/download 0:00 Avalonia presentation 2:00 Create a new project 5:38 Project over...
How to create a small terminal-based game in C#
Просмотров 462Год назад
How to create a small terminal-based game in C#

Комментарии

  • @李通-b3v
    @李通-b3v 5 дней назад

    It's Cool!! Thank you!

  • @mdsafikulislam9113
    @mdsafikulislam9113 6 дней назад

    Please continue this series...

  • @mdsafikulislam9113
    @mdsafikulislam9113 6 дней назад

    How to communicate with APIs?

  • @mdsafikulislam9113
    @mdsafikulislam9113 6 дней назад

    Please Continue...

  • @MonderMurshed
    @MonderMurshed 10 дней назад

    I was hoping to go with visual studio :(

  • @djhohnstein
    @djhohnstein 13 дней назад

    You're one of like a dozen creators who makes content on Avalonia. Thank you for this!

  • @imakethesites3048
    @imakethesites3048 14 дней назад

    This is great, thank you!

  • @МихаилЗайков-к6л
    @МихаилЗайков-к6л 18 дней назад

    Is there a way to do all this stuff automatic from gui constuctor or something else? Not writing all gui properties, positions at code? No? At 2024 year, right?

  • @jabeztadesse
    @jabeztadesse 18 дней назад

    11:24 I get: {"message": "Unauthorized", "error": 401}

    • @imakethesites3048
      @imakethesites3048 13 дней назад

      Actually I'm receiving this as well. Have you solved it?

  • @willgordon5737
    @willgordon5737 21 день назад

    Thanks for the video, I don't understand why Avalonia and related libraries have such a poor documentation and tutorials.

  • @willgordon5737
    @willgordon5737 22 дня назад

    I wanted to see how ComboBox works, so I went to the Official documentation and this is what I found <ComboBox /> Avalonia has the worst documentation ever, it's all because they want you to pay for support!

  • @giampaolo004
    @giampaolo004 24 дня назад

    Exactly what I was looking for! Thanks, very good content.

  • @SimplyUnnamed250
    @SimplyUnnamed250 Месяц назад

    As somone who likes to follow along with examples as a way of learning, I had the following issue: I started by using the mutiplatform template. Doing this, your assembly reference may be different to the one the images are in, and as such, I updated my Assembly reference to `Assembly.GetExecutingAssembly()`

  • @loconeko42
    @loconeko42 Месяц назад

    I picked Avalonia UI for a side project without the intention to spend too much time learning the framework itself. When I realised I needed to spend a bit more than planned in order to do things reasonably well, I got a little overwhelmed. Your tutorial helped me get a nice looking Split View design for my app without having to spend days learning everything from scratch, plus it taught me a few basics I was missing, as you show all the code (and I learn better by reading other people's code) Very well done !

  • @ricardopdvtech
    @ricardopdvtech 2 месяца назад

    Thanks for the video !

  • @JustCallMeQuincy
    @JustCallMeQuincy 2 месяца назад

    Great stuff! Small tip: Hold control while using the arrows to navigate code, in order to skip entire words. That way you won't need to go 1 letter at a time Doing that has saved me immeasurable amounts of time

  • @aftolmolog
    @aftolmolog 2 месяца назад

    I don't have [ObservableProperty] and [RelayCommand]. I tried to add the Community ToolKit via using, but I got an error. I created a regular Avalonia project. Maybe I missed something?

    • @aftolmolog
      @aftolmolog 2 месяца назад

      I solved my problem. I forgot to install Avalonia Templates

  • @_MaiT
    @_MaiT 2 месяца назад

    How to make multi window app in avalonia? I need also an entry and registration windows, but working in vscode in linux i cant find a solution

  • @marcelpalmer2681
    @marcelpalmer2681 2 месяца назад

    The part where you define the HomePageView.axaml.cs is not here and cause me to be stuck on set up for a while could you please add it in :)

  • @poullorca5060
    @poullorca5060 2 месяца назад

    Great video and excellent explanation! 🇨🇱

  • @mustafadincer8107
    @mustafadincer8107 2 месяца назад

    The best RUclips series i've ever watched on Desktop development. I really appreciate your work man. ❤

  • @lukasvasadi
    @lukasvasadi 3 месяца назад

    Top content!

  • @TheBombFox
    @TheBombFox 3 месяца назад

    First of all, I would like to say thank you. I'm enjoying the video. In this video, GeometryIcon cannot be used because the Icon link on GitHub has disappeared. So I tried to use a png file, but Bitmap doesn't work and Image doesn't work as StaticResouce. Please tell me how to load an image as StaticResource.

  • @NEProductionE
    @NEProductionE 3 месяца назад

    Sad to see you stopped doing content for avalonia

    • @MammaMiaDev
      @MammaMiaDev 21 день назад

      Sorry for that! I'm doing my best but sometimes life gets in between :D

  • @fatemeh2222
    @fatemeh2222 3 месяца назад

    I don't know how to say thank you. This was exactly what I was looking for!

  • @hippotizer
    @hippotizer 3 месяца назад

    This is a really useful tutorial - thank you so much!

  • @danielhunter-yq9bl
    @danielhunter-yq9bl 3 месяца назад

    Great tutorials but I don't understand why you play background music the entire time on a loop. It's very distracting.

    • @MammaMiaDev
      @MammaMiaDev 3 месяца назад

      Hey thanks! I just use it as a background music. Is it better if I lower it a bit?

    • @Mr.taxevador
      @Mr.taxevador 17 дней назад

      ​@@MammaMiaDev Yes, it would be better if it was a lil bit lower

  • @zemorango
    @zemorango 3 месяца назад

    Nice job, really good videos

  • @Julian_Fitzek
    @Julian_Fitzek 3 месяца назад

    Is there a way to use the [RelayCommand] in the GridPageView.axaml.cs ? or is it only usabel in the viewmodel.cs? if so why cant the gridpageview.axaml bind anything to the viewmodel.cs?

  • @tuxmc
    @tuxmc 3 месяца назад

    Hi Mamma Mia! Thanks for the tutorial, however, I am stuck on the Binding CurrentPage. I have created the view and the model but kept saying "Not found: AvaloniaApplication.Views.HomePageView Would you have the code for this episode to see what am I doing wrong?

    • @tuxmc
      @tuxmc 3 месяца назад

      Plz disregard this, I found the solution. Stupid Visual Studio built the View as "x:Class="AvaloniaApplication.HomePageView"" instead of AvaloniaApplication.Views.HomePageView

  • @ottomaier7127
    @ottomaier7127 3 месяца назад

    Man, you are my hero! I'm an experienced C# developer, and for me, Avalonia is the way to go! Thanks for your videos, which save me really really a lot of time.

  • @Diegovnia
    @Diegovnia 3 месяца назад

    I swear to god... Every time I'm starting even a simple project I end up using this Microsoft Di and I waste about 2-4 hours because I never remember that shit... Then I promise myself to just make a template for myself on git... of course I don't do that...

    • @MammaMiaDev
      @MammaMiaDev 3 месяца назад

      ahahahah story of my life :D

  • @h_kings
    @h_kings 4 месяца назад

    I did the same on the video but for me it stills shows the message "NotFound: AvaloniaApplicationMVVM.Views.HomePageView". The files are in their folders, but on the debbug the ViewLocator just don't find it.

    • @h_kings
      @h_kings 4 месяца назад

      Ok I found the problem. The automatically generated namespaces on the files was wrong and worked after the fix to namespace where views are in.

    • @MammaMiaDev
      @MammaMiaDev 3 месяца назад

      Happy that you solved it!

  • @Disksoft
    @Disksoft 4 месяца назад

    Hi, since this week I am started with Avalonia thanks to your videos. Thanks for the good explanation. I have a question, is it possible to make a button to switch quickly between dark / light mode? Or Dark/Light/System. I tried so many things now but without result. Hopefully you will cover this is a next video.

    • @MammaMiaDev
      @MammaMiaDev 3 месяца назад

      I have seen a lot of application offering this possibility, so it should be doable. I'll see if I can cover this in a next video.

  • @adrianajaworska3224
    @adrianajaworska3224 4 месяца назад

    Hi. My ISplitViewIcon is not working. Could you help me ? Thanks in advance ;)

  • @Supernewsfan
    @Supernewsfan 4 месяца назад

    more content like this please

  • @Talkren
    @Talkren 4 месяца назад

    As a tutorial on how to do something, there was next to no explaining any of the code. I started learning C# about a month ago and wanted to work on something and found this video. I made it 3 mins in before I called it quits just due to not having any clear explanation for why things were coded the way the were. It was just me copying what you did and not learning anything from it. Thanks for the effort though.

    • @MammaMiaDev
      @MammaMiaDev 3 месяца назад

      Hey, sorry for that. I understand and, this is probably not the best video for a beginner. You should probably look for a very beginner course out there. There's plenty of them. Good luck with your new journey!

  • @dimka59ru
    @dimka59ru 4 месяца назад

    On linux with kde it doesn't work😢

    • @MammaMiaDev
      @MammaMiaDev 3 месяца назад

      uh really? mhhh I'll try to test it as soon as I can get a linux machine (virtual or real).

  • @gahshunker
    @gahshunker 4 месяца назад

    what can we do so you can post more often?

    • @MammaMiaDev
      @MammaMiaDev 4 месяца назад

      Those words are worth more than anything else. Thank you so much ❤

  • @АндрійКарпенко-ю8ш
    @АндрійКарпенко-ю8ш 4 месяца назад

    Thank you much for a guide!) I have been looking for long for such a simple, beginner-oriented series of Avalonia, and now I can complete my course project properly)

  • @ymk6369
    @ymk6369 4 месяца назад

    Thank you. It helped me a lot!

  • @Liyiqi-e6i
    @Liyiqi-e6i 4 месяца назад

    great video!

  • @maggot008
    @maggot008 4 месяца назад

    Excelent.. more videos

  • @Leopold95
    @Leopold95 4 месяца назад

    make more videos pls

  • @tapstrafe69
    @tapstrafe69 4 месяца назад

    Can you help me, please? Do you understand that when I try to stock up on my project, this label appeared after adding _isPaneOpen = true; An unhandled exception. System.MethodAccessException: An attempt using the 'CompiledAvaloniaXaml.XamlIlTrampolines.MVVMProject:MVVMProject' method.ViewModels.MainWindowViewModel+TriggerPaneCommand_0!The executetrampoline command(System.Object, System.Object)' to access the MVVMProject method.ViewModels.MainWindowViewModel.Failed to execute the trigger command()'.

    • @MammaMiaDev
      @MammaMiaDev 4 месяца назад

      Hey, I'm not really sure I understand what's going on. if you put the code somewhere online where we can take a look, it'd be easier :)

    • @tapstrafe69
      @tapstrafe69 4 месяца назад

      Guys, if someone runs into the same problem, then the fact is that you don't have an internet connection for Rider

  • @avaloniaui
    @avaloniaui 5 месяцев назад

    Nice 👌

  • @RatedA4Aliens
    @RatedA4Aliens 5 месяцев назад

    12:52 New to Avalonia - I get an error here or for TextBlock binding when I do the binding - it says Error AVLN:0004 Avalonia: Cannot parse a compiled binding without an explicit x:"Datatype directive to give a starting data type for bindings. I then tried "{Binding #MainViewModel.TextBlockName}" for binding and it cant find MainViewModel . My default view model class that was created is called MainViewModel , not MainWindowViewModel - probably becaude I am on tyhe latest version. So any idea - and its kind of understandable that it wont file whats burried within the Cs file, so is there something i am missing - like a reference to videomodel in the axaml file?

    • @MammaMiaDev
      @MammaMiaDev 5 месяцев назад

      That errors usually means that the UI control doesn't know which view model was assigned to the DataContext. You might be missing the 'x:DataType="vm:MainViewModel"' declaration inside the root Window tag. Try adding it, together with the "vm" namespace (something like 'xmlns:vm="using:AvaloniaApplication1.ViewModels"') and see how it goes.

  • @YZNIK_Farlight84_Play
    @YZNIK_Farlight84_Play 5 месяцев назад

    Hello, can you help me implement some project please?

    • @MammaMiaDev
      @MammaMiaDev 5 месяцев назад

      Hey, what's the issue with your project?

  • @IBNEKAYESH
    @IBNEKAYESH 5 месяцев назад

    Thank you Mama Mia Dev, I want this!!! Love it

  • @matsydoodles
    @matsydoodles 5 месяцев назад

    The issue I have is that, Avalonia wants to have an empty constructor for DesignTime and I'm inclined not to use what is essentially a service locator to do this as that makes it less obvious from the outset of its dependencies.

    • @MammaMiaDev
      @MammaMiaDev 5 месяцев назад

      A workaround could be to have 2 constructors maybe: one with injected parameters, and an empty one where you manually create the services (or fakes). The empty one will be used at design time, and the other one at runtime.

    • @matsydoodles
      @matsydoodles 5 месяцев назад

      @@MammaMiaDev Yeah, I had that initially, but it looked smelly because it was never used, and Visual Studio would complain that it could be deleted, etc. I really don't like the idea of mixing live and debug code together. In the end, I settled on creating "DesignTime" ViewModels, e.g., DesignTimeMainWindowViewModel.cs, which inherits from the MainWindowViewModel. I then used NSubstitute to mock the services and pass them down to the base of the MainWindowViewModel. Not that I plan to, but this then would allow me to easily mock service interactions for the design time and not pollute my code with if(designtime etc.