mikhailshilkov / azure-functions-fsharp-examples Goto Github PK
View Code? Open in Web Editor NEWExamples of Azure Functions implemented in F#
License: MIT License
Examples of Azure Functions implemented in F#
License: MIT License
This was an excellent aid to writing functions - things have moved on.
For ServiceBus outputs the new preferred method is to use a return type binding as per
[<FunctionName("my_V3_functiony")>]
let ``sBus In and Sbus Out``
(executionContext: ExecutionContext, log: ILogger,
[<ServiceBusTrigger("inQueue", Connection = "InQueueSetting")>] message: string)
: [<return: ServiceBus("outTopic", ServiceBus.EntityType.Topic, Connection = "outTopicSetting")>] string =
message
|> ``domain Function That Return Output Message As String``
Note - Fantomas messes up the return attribute.
Hi @mikhailshilkov,
Do you know if class-based F# Azure Functions with Dependency Injection (need this TelemetryConfiguration) are possible? Just trying but the AF runtime tells me 0 functions found ...
Thanks in advance!
Hello @mikhailshilkov I really like your examples but I'm wondering If you've ever tried using the combination of precompiled FSharp Azure Functions + FAKE + Package?
• Takes a root Directory value as an input parameter.
• Calls a function to get a recursive list of files under root Directory.
• Makes multiple parallel function calls to upload each file into Azure Blob Storage.
• Waits for all uploads to complete.
• Create a table File Info(id, root Directory, File Name, Extension, Created Date, Created BY) in DB
• Save the each file details in the table.
• Retrieve all the files saved Today and save it on another blob.
• Returns the sum total bytes that were uploaded to Azure Blob Storage
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.