Unless they’ve updated it since I last checked, it does not. I remember it being stuck on C# 7 or so, with limited C# 8 features. Or maybe it was C# 6 with limited C# 7 features. Either way, we’re looking at C# 12 coming out sometime soon.
Which Synology NAS? Is it one of the ARM based ones or an Intel based one? You’ll need to compile targeting the right arch.
For the actual scheduling, you can schedule jobs through the web UI. Control panel > task scheduler. I have a few scheduled jobs on mine, but they’re just bash scripts.
Is this something you want to run manually or automatically? If you want to run automatically either look into dotnet service workers, or run the console app with a crontab.
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@beehaw.org
All things programming and coding related. Subcommunity of Technology.
Install the Mono package using the package manager. Then you should be able to copy your application to the NAS and run it in a terminal.
This is a bit outdated with .NET Core. You can just compile it for a Linux target or install the .NET runtime from Microsoft.
I’m not sure Mono supports all the newer language features.
Unless they’ve updated it since I last checked, it does not. I remember it being stuck on C# 7 or so, with limited C# 8 features. Or maybe it was C# 6 with limited C# 7 features. Either way, we’re looking at C# 12 coming out sometime soon.
I don’t think you need mono. Net 7 can complete for Linux natively.
Which Synology NAS? Is it one of the ARM based ones or an Intel based one? You’ll need to compile targeting the right arch.
For the actual scheduling, you can schedule jobs through the web UI. Control panel > task scheduler. I have a few scheduled jobs on mine, but they’re just bash scripts.
Not really familiar with Synology, but you could build and run it as a docker container. https://learn.microsoft.com/en-us/dotnet/core/docker/build-container
Synology supports Docker so I think that’s the answer
I think only on certain models (not the home arm systems).
Is this something you want to run manually or automatically? If you want to run automatically either look into dotnet service workers, or run the console app with a crontab.
You can use https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish to create an executable. Then you would just transfer the resultant files, or file if you publish as a single executable file.