This is a set of demos related to Azure Functions.
To start using this project you can either use VS Code or Visual Studio / Jetbrain's Rider.
You can run the ResizeImages
demo using the Azure Storage Emulator and having the following containers created:
images-to-resize
container where images that needs to be resized are uploadedimages-resized
container where images are being stored afterresize-image
function is executed and an image is being resized.
For the DurableHello
demo you can view execution history in Tables\TestHubNameHistory
table:
- Azure Functions extension
- Azure Functions Core Tools
To run the functions you can run:
dotnet restore
to restore dependenciesfunc start --script-root ResizeImages
to run the ResizeImages demo.func start --script-root DurableHello
to run the DurableHello demo.
Open the demo-msp-functions.sln
, build the project and run the function project you are interested in.
You can run the durable hello demo APIs using the resources found in assets/postman
folder:
- Postman Collection: imports the API Urls used in the demo and
- localhost environment with environment variables to run demo locally.
When you deploy the demo to Azure you can change the FUNCTIONS_URL
variable with the url from your newlly created Azure Function App.