Skip to content
Back

.NET functions for self-hosted

  • 0
  • Self Hosted
  • Functions
Meister der Magie | Martin
7 Nov, 2024, 14:11

Hey there,

this page lists a huge amount of runtimes for functions, including .NET. https://appwrite.io/docs/products/functions/runtimes It says that Appwrite Cloud doesn't yet support all of these, but I have a self-hosted server, so all of these should be available, right? I wonder how, though. When creating a new function in the console, I can only choose between Node.js, PHP, Ruby and Python.

How do I create a .NET function?

TL;DR
Version 8 of the .NET runtime is not supported, use `dotnet-7.0` instead. To enable .NET functions in a self-hosted server, add `dotnet-8.0` to the `_APP_FUNCTIONS_RUNTIMES` environment variable.
Joshi
7 Nov, 2024, 14:17

Add dotnet-8.0 to the _APP_FUNCTIONS_RUNTIMES env variable

Meister der Magie | Martin
7 Nov, 2024, 14:26

oooh I see. Thank you very much!

Meister der Magie | Martin
7 Nov, 2024, 14:42

Hm no, that didn't seem to change anything. I restarted the appwrite container but I still can't choose .NET from the dropdown. What am I missing?

Joshi
7 Nov, 2024, 14:59

Ah, I think version 8 is the newest runtime and it does therefore not work yet. Try dotnet-7.0

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more