Hot Chocolate with Azure Functions net-iso Http Trigger functions? #5351
-
I am looking for recommendations, docs, or code examples on how to use Hot Chocolate with Azure Functions net-iso apps, say, similar to ASP.NET Web API but written using Azure Functions net-iso apps with HTTP triggers. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
What exactly do you mean by "net-iso"? Are you referring to running Azure Function in the Isolated Process model? If so, then that is not currently officially supported by Hot Chocolate out-of-the-box. . . yet. But it's on the way soon! The work has been committed into v13 future release, and is slated to also be included in the new upcoming release for v12.13. Until then your best (and fully working option for v12) has been the GraphQL.AzureFunctionsProxy library -- which will be deprecated once the official support is released for Isolated Process model . . . because the solution from that project has been merged with the official code and improved a little. |
Beta Was this translation helpful? Give feedback.
-
Hi @kosalanuwan I am using GraphQL in the same way you have indicated (Azure Function / .Net Isolated) .... Is there a specific question you have right now? The documentation on the CC website assumes that everyone uses WebAPI which does make things a little..... challanging ;) |
Beta Was this translation helpful? Give feedback.
-
Az Func with Isolated process is now officially supported in v13 preview, and the new video from Michael demonstrates it using the latest v13 preview: Hopefully it’ll be back ported to v12 in a soon upcoming release also… The new template project shows how easy it will be to use the new official implementation…and migrating from the AzureFunctionProxy library should be very straightforward and easy. |
Beta Was this translation helpful? Give feedback.
What exactly do you mean by "net-iso"? Are you referring to running Azure Function in the Isolated Process model?
If so, then that is not currently officially supported by Hot Chocolate out-of-the-box. . . yet. But it's on the way soon!
The work has been committed into v13 future release, and is slated to also be included in the new upcoming release for v12.13.
Until then your best (and fully working option for v12) has been the GraphQL.AzureFunctionsProxy library -- which will be deprecated once the official support is released for Isolated Process model . . . because the solution from that project has been merged with the official code and improved a little.