This repo shows a minimal example of how to write an Azure function using F# and run it on .NET 6 isolated mode.
It should be as simple as cloning the repo and running the function app.
Built using Microsoft Visual Studio Community 2022 (64-bit) Version 17.0.1 and Dotnet 6 version 6.0.100.
I ran into a couple of issues when trying to publish to app to azure:
- When publishing to azure I could not get linux to work. However windows deploy seems to work fine. Seems linked to this issue Issue 556. I tried all workarounds suggested but alas nothing seemed to work.
- When publishing I had success when configuring Deployment mode:Self Contained and Target Runtime:Portable.