The biggest advantage of Azure Functions is reducing time-to-market of our application. We can also use them to make prototyping more effective. From some time you are able to define mock of our function in Azure Portal. Function defined as mock will respond on request according to its configuration.
I believe that this solution has a great potential. It can be very useful in all sort of application’s prototyping activities. You just need to define our end point and its response. And that is all. You can start using it in you prototype. So you define correct connections in your application from early begin. Then you will need only to change mock definition with correct implementation of your function.
There is also other benefit. You can optimize work between people in your team. I think that everybody at least once has taken part in situation when two groups – one responsible for front-end and second one for back-end – defined common interfaces. And finally both parts of this solution couldn’t talk to each other in the end. Mocks allow us to define well described interfaces by providing working end-point. With that approach both groups would have materialized version of their contract and they can use it.
Unfortunately described feature is still not so well known and popular because it has not been introduced to Azure Portal as feature that can be configured easily by user from UI. You will need to modify manually configuration files. Read more