Skip to content

benperk/AzureFunctionConsumer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Function Consumer

The Azure Function Consumer is a .NET Core console app to consume Azure Functions. This program let's you send blobs, messages or documents to Azure resource which are bound to an Azure Function.

There are Labs available here that will walk you through the creation of Azure Functions bound to numerous Azure products. When you send data to an Azure product (i.e. Azure Blob Storage, Event Hub, Service Bus, etc.) that is bound to an Azure Function, the Azure Function is triggered and the code within your Azure Function is executed.

Sometimes the code doesn't work as expected, here are some labs which can help you learn how to debug, troubleshoot and resolve badly behaving Azure Functions issues.

The Azure Function consumer requires the dotnet runtime, which can be downoaded from here and configured following the provided instructions.

To see which version of the .NET Core runtime you have installed, enter dotnet --version

checking .net code version

Start the program by runnung: dotnet AzureFunctionConsumer.dll

starting the Azure Function Consumer

The Azure Function Consumer currently supports sending data transmissions to:

  • Event Hub
  • Storage Queue
  • Blob Storage
  • Service Bus Queue
  • Cosmos DB
  • HTTP Trigger

Download the Azure Function Consumer program

Download the AzureFunctionConsumer.dll and its dependencies from here. Take the most current version.

Examples

The following examples illustrate how to trigger an HTTP, an Event Hub, Storage Queue and an Azure Cosmos DB bound Azure Function

HTTP Triggered Azure Function

Calling an HTTP triggered Azure Function

Event Hub Triggered Function

Invoking an Event Hub triggered Azure Function

Storge Queue Triggered Function

Invoking a Storage Queue triggered Azure Function

Azure Cosmos DB Triggered Function

Invoking an Azure Cosmos DB triggered Azure Function

Report an issue or have an improvment idea

If you experience an unexpected exceptiion or have an awkward experience, log it here. If you would like to recommend a new feature log it here as well.