{"id":2141,"date":"2019-01-11T07:57:23","date_gmt":"2019-01-10T23:57:23","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/iotdev\/?p=2141"},"modified":"2020-01-12T06:59:45","modified_gmt":"2020-01-11T22:59:45","slug":"azure-iot-hub-toolkit-2-1-0-great-performance-optimization-more-code-generation-templates-and-ux-improvement","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/iotdev\/azure-iot-hub-toolkit-2-1-0-great-performance-optimization-more-code-generation-templates-and-ux-improvement\/","title":{"rendered":"Azure IoT Hub for VS Code 2.1.0: Great performance optimization, more code generation templates and UX improvement"},"content":{"rendered":"<p>Happy New Year! <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=vsciot-vscode.azure-iot-toolkit\">Azure IoT Hub for VS Code <\/a>2.1.0 is the first version released in the year of 2019. In the release, we have several great updates for performance optimization, code generation and user experience! You could see the full Changelog\u00a0here: <a href=\"https:\/\/marketplace.visualstudio.com\/items\/vsciot-vscode.azure-iot-toolkit\/changelog\">https:\/\/marketplace.visualstudio.com\/items\/vsciot-vscode.azure-iot-toolkit\/changelog<\/a><\/p>\n<h3>Great performance optimization<\/h3>\n<p>With the <a href=\"https:\/\/github.com\/Microsoft\/vscode-azure-iot-toolkit\/pull\/226\">adoption of Webpack<\/a>, we have tremendously improved the load time and performance of Azure IoT Hub Tool. Below is the summary of the improvement:<\/p>\n<ul>\n<li>Bring down the extension size from 9.3MB to 1.2MB<\/li>\n<li>Number of files shrank from 5600 to 50<\/li>\n<li>Install times shrank from over 30 seconds to mere a couple of seconds<\/li>\n<li>Code loading time shrank from 2\u201320 seconds to 500ms, sometimes less.<\/li>\n<\/ul>\n<h3>More code generation templates<\/h3>\n<p>Last year, we shipped the release of <a href=\"https:\/\/github.com\/Microsoft\/vscode-azure-iot-toolkit\/wiki\/Generate-Code\">Code Generation<\/a>, with support for multiple languages and templates. One feedback from our user is to provide more templates. In this release, we have added Direct Method template for Node.js code generation. However, it is not the end. We\u2019d like to hear from you what template and languages you\u2019d like to have.<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/Microsoft\/vscode-azure-iot-toolkit\/issues\/181\">[Generate Code] Support more languages<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Microsoft\/vscode-azure-iot-toolkit\/issues\/182\">[Generate Code] Support more templates<\/a><\/li>\n<\/ul>\n<h3>User experience improvement<\/h3>\n<p>One of the important features of v2.1.0 is that we have better support to control the device-to-cloud message monitoring. Now, when the monitoring job is started, you could easily click the button in Status Bar to stop the device-to-cloud message monitoring.<\/p>\n<p><img decoding=\"async\" width=\"950\" height=\"340\" class=\"wp-image-2142\" src=\"https:\/\/devblogs.microsoft.com\/iotdev\/wp-content\/uploads\/sites\/24\/2019\/01\/word-image.png\" srcset=\"https:\/\/devblogs.microsoft.com\/iotdev\/wp-content\/uploads\/sites\/24\/2019\/01\/word-image.png 950w, https:\/\/devblogs.microsoft.com\/iotdev\/wp-content\/uploads\/sites\/24\/2019\/01\/word-image-300x107.png 300w, https:\/\/devblogs.microsoft.com\/iotdev\/wp-content\/uploads\/sites\/24\/2019\/01\/word-image-768x275.png 768w\" sizes=\"(max-width: 950px) 100vw, 950px\" \/><\/p>\n<p>Besides, we have reorder and group our context menu, so that you could quickly find the correct command you want!<\/p>\n<p><img decoding=\"async\" width=\"388\" height=\"391\" class=\"wp-image-2143\" src=\"https:\/\/devblogs.microsoft.com\/iotdev\/wp-content\/uploads\/sites\/24\/2019\/01\/image.png\" alt=\"image\" srcset=\"https:\/\/devblogs.microsoft.com\/iotdev\/wp-content\/uploads\/sites\/24\/2019\/01\/image.png 388w, https:\/\/devblogs.microsoft.com\/iotdev\/wp-content\/uploads\/sites\/24\/2019\/01\/image-150x150.png 150w, https:\/\/devblogs.microsoft.com\/iotdev\/wp-content\/uploads\/sites\/24\/2019\/01\/image-298x300.png 298w\" sizes=\"(max-width: 388px) 100vw, 388px\" \/><\/p>\n<p>If you have any feedback or suggestion, feel free to submit an issue in our <a href=\"https:\/\/github.com\/Microsoft\/vscode-azure-iot-toolkit\/issues\/118\">GitHub<\/a> !<\/p>\n<p><strong>Useful Resources:<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/Microsoft\/vscode-azure-iot-toolkit\/wiki\">Wiki page of Azure IoT Hub for VS Code<\/a><\/li>\n<li><a href=\"https:\/\/channel9.msdn.com\/Shows\/Internet-of-Things-Show\/Azure-IoT-Toolkit-extension-for-Visual-Studio-Code\">Channel 9 video: Walkthrough of Azure IoT Hub Toolkit extension<\/a><\/li>\n<li><a href=\"https:\/\/channel9.msdn.com\/Shows\/Internet-of-Things-Show\/Whats-new-in-the-IoT-Toolkit-extension-for-VS-Code\">Channel 9 video: What&#8217;s new in the IoT Hub extension for VS Code<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/iot-hub\/iot-hub-create-use-iot-toolkit\">Create an IoT hub using the Azure IoT Hub for Visual Studio Code<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/iot-hub\/iot-hub-vscode-iot-toolkit-cloud-device-messaging\">Use Azure IoT Hub for VS Code to send and receive messages between your device and IoT Hub<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/iot-hub\/iot-hub-device-management-iot-toolkit\">Use Azure IoT Hub for VS Code for device management<\/a><\/li>\n<li><a href=\"https:\/\/blogs.msdn.microsoft.com\/iotdev\/2018\/08\/08\/quickly-build-your-azure-iot-application-in-vs-code-with-node-js-python-or-rest-api\/\">Quickly build your Azure IoT application with Node.js, Python or REST API<\/a><\/li>\n<li><a href=\"https:\/\/blogs.msdn.microsoft.com\/iotdev\/2018\/08\/31\/c-go-java-node-js-php-python-or-ruby-choose-your-favorite-language-to-develop-azure-iot-application-in-vs-code\/\">Azure IoT Hub extension supports C#, Go, Java, Node.js, PHP, Python and Ruby to develop Azure IoT application in VS Code<\/a><\/li>\n<li><a href=\"https:\/\/blogs.msdn.microsoft.com\/iotdev\/2018\/07\/12\/use-vs-code-as-iot-hub-device-simulator-say-hello-to-azure-iot-hub-in-5-minutes\/\">Use VS Code as IoT Hub Device Simulator<\/a><\/li>\n<li><a href=\"https:\/\/devblogs.microsoft.com\/iotdev\/call-azure-iot-hub-rest-apis-in-vs-code\/\">Use VS Code to call Azure IoT Hub REST APIs<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Microsoft\/vscode-azure-iot-toolkit\/wiki\/Quickstart-Node.js\">Create and control an IoT device connected to an IoT hub (Node.js)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Microsoft\/vscode-azure-iot-toolkit\/wiki\/Quickstart-.NET\">Create and control an IoT device connected to an IoT hub (.NET)<\/a><\/li>\n<li><a href=\"https:\/\/blogs.msdn.microsoft.com\/iotdev\/2017\/09\/01\/handy-tool-when-you-develop-with-azure-iot\/\">Handy Tool When You Develop With Azure IoT<\/a><\/li>\n<li><a href=\"https:\/\/devblogs.microsoft.com\/iotdev\/azure-iot-toolkit-for-visual-studio-code-generally-available-for-managing-azure-iot-hub-and-devices-with-ease\/\">Azure IoT Hub for Visual Studio Code generally available for managing Azure IoT Hub and Devices with ease<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Happy New Year! Azure IoT Hub for VS Code 2.1.0 is the first version released in the year of 2019. In the release, we have several great updates for performance optimization, code generation and user experience! You could see the full Changelog here: https:\/\/marketplace.visualstudio.com\/items\/vsciot-vscode.azure-iot-toolkit\/changelog<\/p>\n","protected":false},"author":672,"featured_media":1855,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[290,1],"tags":[5,6,7,16,17,19,33,34,35],"class_list":["post-2141","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-iot-hub","category-iot-dev","tag-azure","tag-azure-iot","tag-azure-iot-hub","tag-internet-of-things","tag-iot","tag-iot-development-tools","tag-visual-studio-code","tag-visual-studio-extensions","tag-vs-code"],"acf":[],"blog_post_summary":"<p>Happy New Year! Azure IoT Hub for VS Code 2.1.0 is the first version released in the year of 2019. In the release, we have several great updates for performance optimization, code generation and user experience! You could see the full Changelog here: https:\/\/marketplace.visualstudio.com\/items\/vsciot-vscode.azure-iot-toolkit\/changelog<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/iotdev\/wp-json\/wp\/v2\/posts\/2141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/iotdev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/iotdev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/iotdev\/wp-json\/wp\/v2\/users\/672"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/iotdev\/wp-json\/wp\/v2\/comments?post=2141"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/iotdev\/wp-json\/wp\/v2\/posts\/2141\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/iotdev\/wp-json\/wp\/v2\/media\/1855"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/iotdev\/wp-json\/wp\/v2\/media?parent=2141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/iotdev\/wp-json\/wp\/v2\/categories?post=2141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/iotdev\/wp-json\/wp\/v2\/tags?post=2141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}