Description
One key to success for csx functions is the ability to include a function.proj to added .NET Core assemblies to the runtime. I realize it would be possible to build a custom module that includes the desired assemblies and deploy it with the function, but I think that's probably not the right path.
One example usecase: I'm trying to port my StaticFileServer function to the ps runtime. I rely on Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider
to resolve the mime type of the file.
For a C# function, access to the AspNetCore assemblies via .csproj for compiled and function.proj for csx is essential and easy. PowerShell lacks many of the features in the default modules and runtime to make it an effective webserver language.
Another suggestion may be to include a large number of AspNetCore libraries in the PS function runtime.