My server is still windows based, which I know is a bit of a sin at this point, but just bear with me please

There seem to be a few options avaliable, but I can’t figure out if they all both support windows and C#, and a lot of the information I’m finding is linux specific.

Why? Well, I like to make little roguelikes and card battlers on my phone in pure c# code, it’s a fun way to pass the time that isn’t doom scrolling. A lot of my free time at work is spent sitting on a boat just waiting with no access to my PC

I’ve been using a C# ide on my phone, but Android as become such a fucking nightmare, most stuff seems locked down for some reason, and I can’t access the local files to sync with syncthing to move it my PC when I do want to work with my PC.

So I’d like to use a browser based solution that will just store everything locally on my server

  • Lunya \ she/it
    link
    fedilink
    English
    141 year ago

    You can selfhost VSCode. I don’t think there are any other good selfhostable IDEs that work with C#. I assume you could host VSCodium, but that’s annoying to setup optimally for C#.

    • @Waluigis_Talking_Buttplug@lemmy.worldOP
      link
      fedilink
      English
      31 year ago

      I’ve looked into Code Server, which is a github project I’ve found for self hosting VS Code, but it only works on Linux

      Are you saying VS Code itself has a built in self hostable option?

        • @MilderRichter@feddit.de
          link
          fedilink
          English
          41 year ago

          i think this is the best solution

          Linux Docker Containers can run on Windows using WSL and if you later migrate the host to linux, you can also run the same container there natively

      • nelson
        link
        fedilink
        English
        3
        edit-2
        1 year ago

        Are you sure about that?

        https://coder.com/docs/code-server/latest/install#npm

        Below is quoted from the article

        We recommend installing with npm when:

        You aren’t using a machine with amd64 or arm64. You are installing code-server on Windows. You’re on Linux with glibc < v2.28 or glibcxx < v3.4.21. You’re running Alpine Linux or are using a non-glibc libc. See #1430 for more information.

        Installing code-server with npm builds native modules on install.

        This process requires C dependencies; see our guide on installing with npm for more information.

  • @Corngood@lemmy.ml
    link
    fedilink
    English
    4
    edit-2
    1 year ago

    What’s the android IDE? To me solving the file permissions thing sounds simpler.

    Android should allow you to do something like that with storage scopes.

    Edit: I know I’m not answering your question, but I couldn’t find anything like what you were asking for.

  • Presi300
    link
    fedilink
    English
    21 year ago

    VSCode… No, that’s literally it. You can self host code-server.

  • @CameronDev@programming.dev
    link
    fedilink
    English
    21 year ago

    An alternative (which doesnt fully meet your requirements for browser based) is Jetbrains Rider. You can use its remote development feature to have your code on your server, and the IDE on your local computer.

    https://www.jetbrains.com/help/rider/Remote_development_overview.html

    Another option to get code to and from your device would be to use git to commit and push your code. There are git apps for android that should work for this?