Sunday, 1 October 2017

First look at Azure Functions

Azure Functions allows you to write code that can be triggered by an event or timer. You don’t need a machine to run it on. All the computing runs on the Azure cloud ie sevrverless computing.

Below is a quick walk through. Keep in mind Microsoft has great documentation on their site. Just google it.

In this post I will put a simple walkthrough. Save you from the information overload.


Make sure you are using Visual Studio 2017.

Create a project of type “Azure Function”

image

Give it a minute to resolve the NuGet package. You will see a warning icon and watch it disappear by it self.

image

Once its done. Right click and Add item.

Select the type of function. The easiest to do is the Http trigger.

image

This will create a class with some sample code.

image

When you run it, it will run a local instance.

image

Navigate to the URL and watch it run.

image

There are many applications in the Dynamics space. Hopefully next time I can cover some Dynamics scenarios.

No comments: