Azure-Samples / functions-custom-handlers

Sample code for Azure Functions custom handlers
MIT License
91 stars 31 forks source link

Deleted code samples #18

Closed daniloraisi closed 1 month ago

daniloraisi commented 3 years ago

Why did code samples for C#, Java, and Node were deleted by Pull Request #12?

anthonychu commented 3 years ago

Customers should be using the supported Azure Functions language workers for those languages, not custom handlers. We found that having them here led to confusions.

daniloraisi commented 3 years ago

I understand, but there are edge cases on Node, for example, that custom handlers saves a lot of time and work.

anthonychu commented 3 years ago

Can you share what these edge cases are? Would like to address them in the Node worker if possible.

SIkebe commented 3 years ago

Customers should be using the supported Azure Functions language workers for those languages, not custom handlers.

@anthonychu Then C# with .NET 5.0 supported?

SIkebe commented 3 years ago

Also README.md still includes those samples. Those links cause 404.

The following samples demonstrate how to implement a custom handler in the following languages:

damoodamoo commented 2 years ago

Could someone from the team elaborate on why they were removed? For Java, for instance, using a custom handler means:

...why wouldn't I want that?

ZaourbekGerikhanov commented 1 year ago

@anthonychu for Node, there is one edge case that I can share. If I have a big legacy project in Express.js with lots of endpoints and I want to deploy it to Azure Functions without rearchitecting my code, then Custom Handler can do the job.