Azure Functions Monthly Update – Jan 2018

After the holiday season, the Azure Functions team were back with their monthly Google Hangout session. This was quite an interesting session with lots of updates on the new features that were built over the months. Also, this session happened to be the first session for Jeff Hollan in Azure Functions webcast. Jeff was joined by Fabio Cavalcante who was returning after the holiday being spent in Brazil. So here are the updates from this month webcast. 

New Things in Azure Functions

  1. Precise error messages in the portal – This is a quality improvement that the team has put a lot of effort in this improvement to get the error messages clear when you’re using Azure Functions. This will help you to take the self-help instead of having to engage with a support team. 
  2. V2 runtime version – A new V2 runtime version of Azure Functions which runs on top of .net core. This version will also have Java support, you can write Azure Functions in Java (currently in preview mode).
  3. Azure Functions extension is now available in Visual Studio code, this allows you to manage the complete Azure Functions life cycle from Visual Studio code. Now you can also create Java Apps in Visual Studio code, therefore making VS Code a phenomenal experience for JavaScript and Java Apps.

Note: The team will release new GitHub Wiki page highlighting the progress on V2, what’s new coming in this release and the importance of shifting from V1 to V2.

Demo

Jeff on his holiday has developed few sample projects and demonstrated one such capability by creating an Azure Functions (Durable Functions) to watch the cryptocurrency fluctuations by sending text messages in Twili app. The similar pattern can be created to watch anything like monitoring the latency of your server and notifying on violations. Now you can create projects like these inside Visual Studio tools, as its support Durable Functions projects.

Durable-Function-Project

The code is written to watch the currency fluctuation every 15 minutes and go back to sleep. 

Functions-Demo

You can debug your code for any exceptions through the Application Insights by running a query on the code. You can also view the workflow through the Application Insights to understand what actually broke the code. 

Azure-Demo-Exceptions

Extensive Microsoft documentation to test your Azure Functions Code:

  1. https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local
  2. https://docs.microsoft.com/en-us/azure/azure-functions/functions-test-a-function
  3. https://docs.microsoft.com/en-us/azure/azure-functions/durable-functions-diagnostics

Webcast Survey

You can help the Azure Functions team by contributing your feedback on the monthly webcast here:

http://aka.ms/azurefunctionslive-survey

Serverless360 is a one platform tool to operate, manage and monitor Azure Serverless components. It provides efficient tooling that is not and likely to be not available in Azure Portal. Try Serverless360 free for 30 days!

Free-Trial
Author: Mohan Nagaraj

Mohan as a Product Marketing Executive is responsible for Product messaging and positioning, Sales Enablement, Market, customer, and competitive analysis. He combines his passion for business, technology, and writing to spread the word about Serverless360. Mohan is responsible to work with cross-functional teams to visualize and create product documentation and marketing content. He feels writing is so much fun and it is satisfying to capture the company’s soul & passion and make it live through documentation.