Can it work with class library based functions?
I have a function app where the functions are library based C# functions. This works generally works very well and gives a pleasant and familiar development experience in Visual Studio 2017.
When I try your extension I get the functions and triggers next to each other. No arrows. No storage (it uses table storage).
The function.json files look like: { "generatedBy": "Microsoft.NET.Sdk.Functions.Generator-1.0.6", "configurationSource": "attributes", "bindings": [ { "type": "httpTrigger", "methods": [ "get", "post" ], "authLevel": "function", "name": "req" } ], "disabled": false, "scriptFile": "../bin/MyAwesome.Functions.dll", "entryPoint": "MyAwesome.Functions.FunctionName.Run" }
The Graph:

I think the program would have to open the referenced dll files and fetch the attributes.
I totally understand if you do not want to do that type of work - I don't know if there are any node based packages that can do .NET reflection.
Hrm interesting. It only works with function triggers etc that are defined in the JSON files, you're right would need to reflect to pull the attributes. Node could reflect a DLL as long as .net is installed without too much fuss I think.
I have not tried to do that from Node, but I found the "edge" project ( https://github.com/tjanczuk/edge#how-to-integrate-c-code-into-nodejs-code) that seems to bridge the .net and Node worlds so it seems doable
On 17 October 2017 at 01:46, Jordan Knight [email protected] wrote:
Hrm interesting. It only works with function triggers etc that are defined in the JSON files, you're right would need to reflect to pull the attributes. Node could reflect a DLL as long as .net is installed without too much fuss I think.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jakkaj/funcgraph/issues/4#issuecomment-337075854, or mute the thread https://github.com/notifications/unsubscribe-auth/AGhvqJArYwPSGP9MzvxVB1sgvqWbUEAiks5ss-rrgaJpZM4P6YaI .
I'd probably write a .NET exe that returns the results as JSON rather than muck about too much. Maybe there is something that already does it around the place...