Visual Studio Tooling for Precompiled Functions
It is possible to create a Function from a proper compiled class (.cs file), see https://github.com/Azure/azure-webjobs-sdk-script/wiki/Precompiled-functions.
However the Visual Studio Tooling now available for creating Functions only supports C# Script (.csx file), it is not possible to add a class file to the project.
Please provide VS tooling for precompiled Functions.
An estimated date of arrival would be more than welcome!
Jason Steele commented
This article https://blogs.msdn.microsoft.com/appserviceteam/2017/03/16/publishing-a-net-class-library-as-a-function-app/ provides the current best way to get this working until the feature is made available.
The plan is that the project type would build on the Visual Studio side and publish as an assembly. Gerald, if you're saying that you want assemblies to be built on the server, that can still be accomplished the same way as App Service support for Continuous Integration (where the build happens on the server).
Victor Villas commented
Expected release date? Compatible with VS 2017? Really looking forward!
Gerald Wiltse commented
This is a -1 vote for manually uploading DLL's. A better solution would be adding support in the Azure FunctionApp to point to additional GIT repositories which hold the source code of shared assemblies, and have them cloned and recompiled dynamically just like the function. This would of course need to also include dependency download for those shared assemblies.
After all, it's common for several function apps to use some shared assemblies, and you have the same updating and maintaining problems you do with the functions.