Building Cross-Platform Desktop Apps with Electron.NET

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • Leverage your ASP.NET skills to deliver native applications for Windows, Mac, and Linux environments using Electron.NET.
    Get your questions answered on the Microsoft Q&A for .NET - aka.ms/dotnet-qa​
    Learn .NET with free self-guided learning from Microsoft Learn: aka.ms/learndotnet

Комментарии • 62

  • @chrisklecker
    @chrisklecker 2 года назад +1

    Is there any way to do an auto reload of the page when the user makes a change and saves it. Having to always start and stop the program will get very tedious with HTML work as sometimes it can be touch and go work.

  • @lukeav6097
    @lukeav6097 3 года назад +1

    Why not use Visual Studio?

  • @user-zo4tf7pn9x
    @user-zo4tf7pn9x 2 года назад +1

    How start build in Linux?

  • @justnothing7080
    @justnothing7080 3 года назад +6

    All we need is to abstract the UI rendering, common OS apis. For specific OS apis, we need a switch to use. Following the path of Html and Javascript is leading to a lot of issues and finally stuck.

  • @lasindunuwanga5292
    @lasindunuwanga5292 3 года назад +6

    I was Waiting for electron to be on C# 😍

    • @io_inc
      @io_inc 3 года назад

      damn...

  • @panadol34
    @panadol34 3 года назад +1

    Thank you so much this was extremely helpful :)

  • @flylord4361
    @flylord4361 2 года назад

    where is your github example?

  • @daanielacosta2395
    @daanielacosta2395 3 года назад

    Where can i find the Repo??

  • @Gamer-xk8bk
    @Gamer-xk8bk 2 года назад

    Can someone tell me how to make a c# program and convert into a mac os application format. I have an apple computer which i use for coding projects and i dont quite know how to compile a c# into an osx application format .app or alternatively, can someone instruct me on how to compile a c++ into a .app format

  • @justintie
    @justintie 3 года назад +3

    on a mac lol, wrapper inside a wrapper lol = double lol

    • @talhashah5454
      @talhashah5454 3 года назад

      Level Comment. that depicts the truth. Lol/lol. total lol

  • @MauricioCaterino
    @MauricioCaterino 3 года назад

    I followed up the video but I couldn't launch the application. It throws an error that the directory name is invalid.
    Do I missing something?
    C:\Processes\obj\Host>npm install
    'npm' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Processes\obj\Host>
    ElectronHostHook handling started...
    Invoke electron.cmd - in dir: C:\Processes\obj\Host
    ode_modules\.bin
    Unhandled exception. System.AggregateException: One or more errors occurred. (The directory name is invalid.)

    • @emmanueladebiyi2109
      @emmanueladebiyi2109 3 года назад +1

      Do you have npm installed?

    • @MauricioCaterino
      @MauricioCaterino 3 года назад

      @@emmanueladebiyi2109 How do I now that?. I installed ElectronNET.APi

    • @carmenperez7857
      @carmenperez7857 3 года назад +4

      @@MauricioCaterino open a terminal and write: node -v
      If it throws an error, go to:
      nodejs.org and download the runtime, I use LTS version but with latest version should work too, after install it, run again "node -v" command.

    • @prasannachoudhari8552
      @prasannachoudhari8552 3 года назад +4

      install nodejs on your computer.
      that should fix it

    • @singatias
      @singatias 3 года назад

      @@MauricioCaterino i suggest you to install nvm and install nodejs with nvm, nvm let you have multiple version of nodejs

  • @protaties
    @protaties 3 года назад +6

    Wait, this framework is still alive?

    • @johntheawe3999
      @johntheawe3999 3 года назад

      Dude thats what I said some company hiring me is using asp.net for web apps I'm confused .NET is kinda shit at security and memory handling

    • @the-matrix-has-you
      @the-matrix-has-you 2 года назад +4

      @@johntheawe3999 lol really that is why Windows 10 is 65% C# right... Poor memory Management ehh ok lol😅

    • @roxxel8167
      @roxxel8167 Год назад +5

      @@johntheawe3999 that's why banking systems use C#, they love poor memory management and awful security

  • @robl4836
    @robl4836 3 года назад +2

    LOL those windows animating/appearing like that at the start would annoy the sh!t out of me.

  • @SimpMcSimpy
    @SimpMcSimpy 3 года назад +17

    Oh man... I hate Electron applications.
    This nonsense is spreading everywhere.

    • @_ramen
      @_ramen 3 года назад +6

      you hate VSCode?

    • @yatsuk
      @yatsuk 3 года назад +2

      @@_ramen vs code is that rare exception from the rules

    • @yatsuk
      @yatsuk 3 года назад +2

      @luca diane in majority of cases it looks and feels pretty “webish”.

    • @yatsuk
      @yatsuk 3 года назад +1

      @luca diane exactly and it's pretty sad because you have some expectations of how desktop applications should work and what user experience they should provide.

    • @yatsuk
      @yatsuk 3 года назад +1

      @luca diane I completely agree. And as you just mention VS Code is a good example that it's possible to do. I'm simply saying that the majority are lazy and takes Electron to use it with "bootstrap/material/ant and react/vue/angular".

  • @Kollegah9997
    @Kollegah9997 3 года назад +7

    Please No, No God Nooooooooooooo