This topic describes how to use the C# framework to write functions in Function Compute.
Limits
The C# programming language is different from scripting languages such as Python and Node.js. In a C# runtime, you can upload compiled and packaged code by selecting Upload ZIP, Upload Folder, or OSS in Function Compute. Online compilation is not supported in C# runtimes.
C# runtime
Function Compute supports the following C# runtimes.
Version | Operating System |
.NET Core 3.1 | Debian 9 |
Function Compute provide the following dependency libraries for C# runtimes.
Aliyun.Serverless.Core: defines information such as the event handler interface and the context object used in a request handler. This library is required.
Aliyun.Serverless.Core.Http: defines the information about the handler interface of an HTTP request.