DEV Community

artydev
artydev

Posted on • Edited on

Desktop Apps : Code your backend from Javascript with Photino.API

With Photino.API you can code nearly all your backend-logic in Javascript.
Here is a non exhaustive list of the available IO API methods accessible from Javascript

Image description

You can read, write files using Javascript, awesome.

Tasks to accomplish this :

Here is what you get :

Image description

When creating trimed executable, put this code in project file

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net8.0</TargetFramework>
    <Platforms>AnyCPU;x64</Platforms>
    <PublishTrimmed>true</PublishTrimmed>
    <TrimMode>partial</TrimMode>
  </PropertyGroup>
Enter fullscreen mode Exit fullscreen mode

If you want more informations, simply post a comment

Regards

Top comments (0)