Azure Functions portal and host improvements

2 minute read • October 26, 2016

Donna Malayeri
Based on lots of great customer feedback, we've redesigned the Azure Functions portal experience. Now you can see more of your code and see your logs and the Run window at the same time. The Run window has new features for HTTP-triggered functions: you can now specify the HTTP verb and add query parameters and request headers. This makes it easy to test these functions without leaving the Functions portal. Aside from the visual improvements, we've released a lot of great new functionality in the Azure Functions 0.7 host and 0.8 host, including support for custom routes and route templates.

Portal

You can now view the editor in a classic three-pane view, where your code is at the top, logs are at the bottom, and the Run tab is on the right. You can show and hide the logs and the Run tab to allow more room for editing code. Check out the new buttons on the right (highlighted with a purple rectangle in the screenshot below). 3-pane-view Clicking on the Run button will pull up the test harness, which will let you easily craft HTTP calls without having to launch a new tool. Just choose your verb and add query parameters and headers. (Note that we're not trying to reinvent other great HTTP tools like Fiddler or Postman, but we've heard from customers that it's convenient to quickly run HTTP triggered functions without leaving the Azure portal.) run-tab HTTP and Webhook triggers now have richer options in the Integrate tab. You can now easily restrict the permitted HTTP verbs by choosing "Selected methods" and checking off the appropriate options. verbs

API Routing

The portal is not the only place we've made changes--the Azure Functions Host is now at version 0.8. By popular request, we've added the following:
  • Custom route support. You can now specify complex route constraints, such as "route": "products/{Category:alpha}/{Id:int}". The supported constraints are the same as those in ASP.NET Web API Attribute Routing.
  • Route prefix customization. Customize the api route prefix (or remove it completely) in host.json.
To learn more, see Route support in the Azure Functions triggers and bindings developer reference.

Provide feedback

As always, we're interested in your feedback. There are a lot of channels available: Our development is done in the open, so we encourage you to watch issues, ask questions and see our progress. You can submit issues directly on GitHub (Functions Host repo and Functions Portal repo). If you're not sure where an issue belongs, you can file it on the Azure-Functions GitHub repo.