Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://xomino.com/feed

  1. <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
  2. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  3. xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  4. xmlns:dc="http://purl.org/dc/elements/1.1/"
  5. xmlns:atom="http://www.w3.org/2005/Atom"
  6. xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  7. xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  8. xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
  9. >
  10.  
  11. <channel>
  12. <title>Xomino</title>
  13. <atom:link href="https://xomino.com/feed/" rel="self" type="application/rss+xml" />
  14. <link>https://xomino.com</link>
  15. <description>Looking at emerging technology, mostly O365 right now</description>
  16. <lastBuildDate>Fri, 12 Jan 2018 02:40:07 +0000</lastBuildDate>
  17. <language>en</language>
  18. <sy:updatePeriod>hourly</sy:updatePeriod>
  19. <sy:updateFrequency>1</sy:updateFrequency>
  20. <generator>http://wordpress.com/</generator>
  21. <cloud domain='xomino.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
  22. <image>
  23. <url>https://secure.gravatar.com/blavatar/83b5bd662cf40eab40d96aa8eb752093?s=96&#038;d=https%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
  24. <title>Xomino</title>
  25. <link>https://xomino.com</link>
  26. </image>
  27. <atom:link rel="search" type="application/opensearchdescription+xml" href="https://xomino.com/osd.xml" title="Xomino" />
  28. <atom:link rel='hub' href='https://xomino.com/?pushpress=hub'/>
  29. <item>
  30. <title>PSC Director of Technology Solutions</title>
  31. <link>https://xomino.com/2018/01/10/psc-director-of-technical-solutions/</link>
  32. <comments>https://xomino.com/2018/01/10/psc-director-of-technical-solutions/#comments</comments>
  33. <pubDate>Thu, 11 Jan 2018 03:00:17 +0000</pubDate>
  34. <dc:creator><![CDATA[Marky Roden]]></dc:creator>
  35. <category><![CDATA[PSC]]></category>
  36. <category><![CDATA[PSC Labs]]></category>
  37.  
  38. <guid isPermaLink="false">http://xomino.com/?p=3864</guid>
  39. <description><![CDATA[I am very humbled and excited to have been given the title of Director of Technology Solutions at PSC Group. It has been a fascinating and varied 5 1/2 years since I joined PSC. I am very fortunate to have had the opportunity to work in almost every role at PSC and experience how client &#8230; <a href="https://xomino.com/2018/01/10/psc-director-of-technical-solutions/" class="more-link">Continue reading <span class="screen-reader-text">PSC Director of Technology&#160;Solutions</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3864&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
  40. <content:encoded><![CDATA[<p>I am very humbled and excited to have been given the title of Director of Technology Solutions at PSC Group.</p>
  41. <p>It has been a fascinating and varied 5 1/2 years since I joined PSC. I am very fortunate to have had the opportunity to work in almost every role at PSC and experience how client delivery excellence is achieved at all levels. I get to professionally hang out with some of the most talented people I have ever had the pleasure of working with. It&#8217;s so much fun!</p>
  42. <p>I am really excited about what 2018 holds. PSC Labs is going strong and we continue to receive reassuringly positive feedback from clients who truely value our role as trusted technical advisors. In 2017 PSC successfully branched out into a number of new and challenging emerging technologies and we have plans a plenty to continue to learn, evolve and grow.</p>
  43. <p>I love what I do and I am very grateful to have a job which gives me the opportunity to be the best I can be, and still challenge me to be better.</p>
  44. <p>It&#8217;s going to be a fun year, but then it always is&#8230; <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="ūüôā" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xomino.wordpress.com/3864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xomino.wordpress.com/3864/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3864&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
  45. <wfw:commentRss>https://xomino.com/2018/01/10/psc-director-of-technical-solutions/feed/</wfw:commentRss>
  46. <slash:comments>3</slash:comments>
  47. <media:content url="http://0.gravatar.com/avatar/3857e0587f63bb943797213753361d37?s=96&#38;d=identicon&#38;r=G" medium="image">
  48. <media:title type="html">mdroden</media:title>
  49. </media:content>
  50. </item>
  51. <item>
  52. <title>Slides from MS Ignite Office Education day &#8211; Office Add-Ins Script Lab</title>
  53. <link>https://xomino.com/2017/10/04/slides-from-ms-ignite-office-education-day-office-add-ins-script-lab/</link>
  54. <comments>https://xomino.com/2017/10/04/slides-from-ms-ignite-office-education-day-office-add-ins-script-lab/#respond</comments>
  55. <pubDate>Wed, 04 Oct 2017 15:57:38 +0000</pubDate>
  56. <dc:creator><![CDATA[Marky Roden]]></dc:creator>
  57. <category><![CDATA[Learning]]></category>
  58. <category><![CDATA[Office Add-In]]></category>
  59. <category><![CDATA[O365]]></category>
  60. <category><![CDATA[PSC]]></category>
  61. <category><![CDATA[Script Lab]]></category>
  62.  
  63. <guid isPermaLink="false">http://xomino.com/?p=3859</guid>
  64. <description><![CDATA[Last month I was invited by the Office development team to present during the Office Education day at MS Ignite. This presentation was given as part of the Office education day September 24th 2017. The presentation focused on Office Add-Ins and specifically how users could use the Script Lab Add-In to be able to get &#8230; <a href="https://xomino.com/2017/10/04/slides-from-ms-ignite-office-education-day-office-add-ins-script-lab/" class="more-link">Continue reading <span class="screen-reader-text">Slides from MS Ignite Office Education day &#8211; Office Add-Ins Script&#160;Lab</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3859&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
  65. <content:encoded><![CDATA[<p>Last month I was invited by the Office development team to present during the Office Education day at MS Ignite.</p>
  66. <p>This presentation was given as part of the Office education day September 24th 2017. The presentation focused on Office Add-Ins and specifically how users could use the Script Lab Add-In to be able to get started with Office Add-Ins.</p>
  67. <p>There are examples in the presentation of some of the Add-In samples available in the Script Labs and then a challenge</p>
  68. <div class="jetpack-video-wrapper"><iframe src='https://www.slideshare.net/slideshow/embed_code/80461144' width='700' height='574' allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div>
  69. <p>&nbsp;</p>
  70. <p>&nbsp;</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xomino.wordpress.com/3859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xomino.wordpress.com/3859/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3859&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
  71. <wfw:commentRss>https://xomino.com/2017/10/04/slides-from-ms-ignite-office-education-day-office-add-ins-script-lab/feed/</wfw:commentRss>
  72. <slash:comments>0</slash:comments>
  73. <media:content url="http://0.gravatar.com/avatar/3857e0587f63bb943797213753361d37?s=96&#38;d=identicon&#38;r=G" medium="image">
  74. <media:title type="html">mdroden</media:title>
  75. </media:content>
  76. </item>
  77. <item>
  78. <title>Speaking at SharePoint Chicago Dec 2017</title>
  79. <link>https://xomino.com/2017/09/05/speaking-at-sharepoint-chicago-dec-2017/</link>
  80. <comments>https://xomino.com/2017/09/05/speaking-at-sharepoint-chicago-dec-2017/#respond</comments>
  81. <pubDate>Wed, 06 Sep 2017 01:55:17 +0000</pubDate>
  82. <dc:creator><![CDATA[Marky Roden]]></dc:creator>
  83. <category><![CDATA[PSC]]></category>
  84. <category><![CDATA[PSC Labs]]></category>
  85. <category><![CDATA[SharePointFest]]></category>
  86.  
  87. <guid isPermaLink="false">http://xomino.com/?p=3857</guid>
  88. <description><![CDATA[I will be speaking at the 2017 SharePointFest Chicago conference December 8th, at McCormick Place, Chicago. I will be talking about how O365 adoption can be made easier by having and internal emerging technologies team try and solve some simple business problems and lead to a broader adoption of the platform within an organization. This will be &#8230; <a href="https://xomino.com/2017/09/05/speaking-at-sharepoint-chicago-dec-2017/" class="more-link">Continue reading <span class="screen-reader-text">Speaking at SharePoint Chicago Dec&#160;2017</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3857&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
  89. <content:encoded><![CDATA[<p>I will be speaking at the 2017 <a href="http://www.sharepointfest.com/Chicago/">SharePointFest Chicago conference</a> December 8th, at McCormick Place, Chicago.</p>
  90. <p>I will be talking about how O365 adoption can be made easier by having and internal emerging technologies team try and solve some simple business problems and lead to a broader adoption of the platform within an organization.</p>
  91. <p>This will be the third time I have spoken about &#8220;the Labs team&#8221; this year and I am really honored to be able to speak at SharePointFest again this year <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="ūüôā" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
  92. <p>&#8212;&#8212;&#8212;&#8212;-</p>
  93. <h5><a href="http://www.sharepointfest.com/Chicago/index.php/sessions/sessions-2/52-business-value/261-bv205-enabling-o365-adoption-from-within-how-an-emerging-technologies-team-can-make-a-big-difference">BV 205 &#8211; Enabling O365 adoption from within &#8211; How an emerging technologies team can make a big difference</a></h5>
  94. <p>Too often when an organization makes major technology shifts, it is often not the technology change which causes problems, it&#8217;s the people and how they adapt to change. While we often associated this to end users, the same is just as true for developers. If we want to retain our best development talent then we have to give them a part in the transition. Allow them to understand it and own it.</p>
  95. <p>With so many new technologies and capabilities being exposed within Office 365 and Azure, many business are frankly overwhelmed with the possibilities and often fall back on the bare minimum of mail, calendaring and SharePoint. This talk will demonstrate cost effective measures to keep developers engaged while providing benefit to the company in a mutually beneficial manner.</p>
  96. <p>An internal research and development team can create a sustainable balance of creative knowledge growth for the individual, matched with a method to future proof the overall organization. How changes in technology affect the success of a company need to be understood, managed and the effects managed. With the unrestrained freedom to explore emerging technologies and without the constraints of today’s corporate development policies your best talent can achieve great things, stay engaged, and more importantly stay.</p>
  97. <p>In this presentation Mark will discuss and demonstrate how a creative ‚Äúlabs‚ÄĚ team can lead to short, medium and long term benefits for any business willing to invest in people and technology.</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xomino.wordpress.com/3857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xomino.wordpress.com/3857/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3857&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
  98. <wfw:commentRss>https://xomino.com/2017/09/05/speaking-at-sharepoint-chicago-dec-2017/feed/</wfw:commentRss>
  99. <slash:comments>0</slash:comments>
  100. <media:content url="http://0.gravatar.com/avatar/3857e0587f63bb943797213753361d37?s=96&#38;d=identicon&#38;r=G" medium="image">
  101. <media:title type="html">mdroden</media:title>
  102. </media:content>
  103. </item>
  104. <item>
  105. <title>Office Add-Ins: Working with Tables in Word. Part 1: Creation</title>
  106. <link>https://xomino.com/2017/05/30/office-add-ins-working-with-tables-in-word-part-1-creation/</link>
  107. <comments>https://xomino.com/2017/05/30/office-add-ins-working-with-tables-in-word-part-1-creation/#respond</comments>
  108. <pubDate>Tue, 30 May 2017 18:18:57 +0000</pubDate>
  109. <dc:creator><![CDATA[Marky Roden]]></dc:creator>
  110. <category><![CDATA[JavaScript]]></category>
  111. <category><![CDATA[Office 365]]></category>
  112. <category><![CDATA[Office Add-In]]></category>
  113. <category><![CDATA[Office 365 Add-In]]></category>
  114. <category><![CDATA[PSC]]></category>
  115.  
  116. <guid isPermaLink="false">http://xomino.com/?p=3851</guid>
  117. <description><![CDATA[In this article I will show how the Word JavaScript API can be utilized to add tables to your word document using an Office Add-In. This will be a multi part blog post as there are a lot of nuances and interesting ways in which you can play with tables in Word. Introduction In previous articles I &#8230; <a href="https://xomino.com/2017/05/30/office-add-ins-working-with-tables-in-word-part-1-creation/" class="more-link">Continue reading <span class="screen-reader-text">Office Add-Ins: Working with Tables in Word. Part 1:&#160;Creation</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3851&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
  118. <content:encoded><![CDATA[<p>In this article I will show how the Word JavaScript API can be utilized to add tables to your word document using an Office Add-In. This will be a multi part blog post as there are a lot of nuances and interesting ways in which you can play with tables in Word.</p>
  119. <p><strong>Introduction</strong></p>
  120. <p>In previous articles I have written about how to interact with a Word document to <a href="https://xomino.com/2016/08/28/using-an-office-add-in-to-search-and-replace-data-in-a-word-document/" target="_blank" rel="noopener noreferrer">search and replace</a> and even save the word document to Salesforce. Going back to a more basic level we are going to look at how to build tables in word.</p>
  121. <p>We will be using the new <a href="https://www.microsoft.com/en-us/garage/project-details.aspx?project=script-lab" target="_blank" rel="noopener noreferrer">Script Lab </a> which is a new Playground Add-In which can be used for development and general tinkering with Add-Ins. This and other articles on the topic are for demonstration purposes and are not hardened for production use.</p>
  122. <p><strong>The reference</strong></p>
  123. <p>For more information on Tables and how what methods/properties are available check out the documentation page &#8211; <a href="https://dev.office.com/reference/add-ins/word/table" target="_blank" rel="noopener noreferrer">Table Object (JavaScript API for Word)</a></p>
  124. <p><strong>Creating a table </strong></p>
  125. <p>At the most basic level a table is created by instantiating the table object and adding values to it.</p>
  126. <p>insertTable(rowCount: number, columnCount: number, insertLocation: string, values: string[][])</p>
  127. <p>This can be done from a number of different parents:</p>
  128. <ul>
  129. <li>The body</li>
  130. <li>A range</li>
  131. <li>A contentControl</li>
  132. <li>A paragraph</li>
  133. </ul>
  134. <p>The method requires the following:</p>
  135. <ul>
  136. <li>rowCount &#8211; a number</li>
  137. <li>columnCount &#8211; a number</li>
  138. <li>insertLocation &#8211; Depends on parent &#8211; either (body: Start/End/Replace) or (range: Before/After)</li>
  139. <li>values: 2 dimentional Array &#8211; [[&#8220;This is&#8221;, &#8220;a table&#8221;], [&#8220;this is&#8221;, &#8220;a new row&#8221;]]</li>
  140. </ul>
  141. <p>Using these parameters we can create a table from within the Script lab using the following code:</p>
  142. <pre class="brush: jscript; title: ; notranslate">
  143. $(&quot;#run&quot;).click(run);
  144.  
  145. async function run() {
  146.    try {
  147.        await Word.run(async (context) =&gt; {
  148.  
  149.            var body = context.document.body;
  150.            var range = context.document.getSelection();
  151.            var myArray = [[&quot;a&quot;, &quot;b&quot;], [&quot;c&quot;, &quot;d&quot;]];
  152.            var table = range.insertTable(2, 2, &quot;Before&quot;, myArray);            
  153.  
  154.            // Synchronize the document state by executing the queued commands,
  155.            // and return a promise to indicate task completion.
  156.                await context.sync().then(function () {
  157.                    console.log('Table added before the start of the range.');
  158.                });;
  159.        });
  160.    }
  161.    catch (error) {
  162.        OfficeHelpers.UI.notify(error);
  163.        OfficeHelpers.Utilities.log(error);
  164.    }
  165. }
  166. </pre>
  167. <p>&nbsp;</p>
  168. <p><a href="https://xomino.com/2017/05/30/office-add-ins-working-with-tables-in-word-part-1-creation/t1-2/#main" rel="attachment wp-att-3853"><img data-attachment-id="3853" data-permalink="https://xomino.com/2017/05/30/office-add-ins-working-with-tables-in-word-part-1-creation/t1-2/#main" data-orig-file="https://xomino.files.wordpress.com/2017/05/t1.png?w=700&#038;h=409" data-orig-size="800,467" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="t1" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/05/t1.png?w=700&#038;h=409?w=300" data-large-file="https://xomino.files.wordpress.com/2017/05/t1.png?w=700&#038;h=409?w=700" class="aligncenter size-full wp-image-3853" src="https://xomino.files.wordpress.com/2017/05/t1.png?w=700&#038;h=409" alt="" width="700" height="409" srcset="https://xomino.files.wordpress.com/2017/05/t1.png?w=700&amp;h=409 700w, https://xomino.files.wordpress.com/2017/05/t1.png?w=150&amp;h=88 150w, https://xomino.files.wordpress.com/2017/05/t1.png?w=300&amp;h=175 300w, https://xomino.files.wordpress.com/2017/05/t1.png?w=768&amp;h=448 768w, https://xomino.files.wordpress.com/2017/05/t1.png 800w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  169. <p>&nbsp;</p>
  170. <p><strong>Conclusion</strong></p>
  171. <p>Using the Script Lab we have seen how we can easily insert a table into a Word document using the Office Add-In API. In future articles we will look at looking for the table we want to modify and then manipulating tables.</p>
  172. <p>&nbsp;</p>
  173. <p>&nbsp;</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xomino.wordpress.com/3851/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xomino.wordpress.com/3851/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3851&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
  174. <wfw:commentRss>https://xomino.com/2017/05/30/office-add-ins-working-with-tables-in-word-part-1-creation/feed/</wfw:commentRss>
  175. <slash:comments>0</slash:comments>
  176. <media:content url="http://0.gravatar.com/avatar/3857e0587f63bb943797213753361d37?s=96&#38;d=identicon&#38;r=G" medium="image">
  177. <media:title type="html">mdroden</media:title>
  178. </media:content>
  179.  
  180. <media:content url="http://xomino.files.wordpress.com/2017/05/t1.png" medium="image" />
  181. </item>
  182. <item>
  183. <title>Interesting new release &#8211; Istio service mesh microservices management</title>
  184. <link>https://xomino.com/2017/05/24/interesting-new-release-istio-service-mesh-microservices-management/</link>
  185. <comments>https://xomino.com/2017/05/24/interesting-new-release-istio-service-mesh-microservices-management/#respond</comments>
  186. <pubDate>Wed, 24 May 2017 15:37:13 +0000</pubDate>
  187. <dc:creator><![CDATA[Marky Roden]]></dc:creator>
  188. <category><![CDATA[Just Marky]]></category>
  189. <category><![CDATA[Google. IBM]]></category>
  190. <category><![CDATA[Istio]]></category>
  191. <category><![CDATA[PSC]]></category>
  192.  
  193. <guid isPermaLink="false">http://xomino.com/?p=3848</guid>
  194. <description><![CDATA[So this is something which I came across yesterday and was announced this morning &#8211; Istio. https://developer.ibm.com/dwblog/2017/istio/ &#8220;Istio is an open platform for providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies and aggregate telemetry data. Istio&#8217;s control plane provides an abstraction layer over the underlying cluster management platform, such &#8230; <a href="https://xomino.com/2017/05/24/interesting-new-release-istio-service-mesh-microservices-management/" class="more-link">Continue reading <span class="screen-reader-text">Interesting new release &#8211; Istio service mesh microservices&#160;management</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3848&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
  195. <content:encoded><![CDATA[<p>So this is something which I came across yesterday and was announced this morning &#8211; Istio.</p>
  196. <p><a href="https://developer.ibm.com/dwblog/2017/istio/" target="_blank" rel="noopener noreferrer">https://developer.ibm.com/dwblog/2017/istio/</a></p>
  197. <p><em>&#8220;Istio is an open platform for providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies and aggregate telemetry data. Istio&#8217;s control plane provides an abstraction layer over the underlying cluster management platform, such as Kubernetes, Mesos, etc.&#8221; &#8211; (<a href="https://github.com/istio/istio" target="_blank" rel="noopener noreferrer">Istio on github</a>)</em></p>
  198. <p>So this new project from Google IBM and Lyft creating the ability to manage microservices across disparate data sources and clouds/networks.</p>
  199. <p>There are multiple options when it comes to API architecture like capabilities for data management and reporting, but they are generally based on the premise that you are routing your traffic through the gateway before it goes to the end user. In that manner you can control, monitor and report on all the traffic from one place.</p>
  200. <p>What Istio gives you the ability to do is to insert the tool and processes which you gain from an managed gateway but distribute it as a meshed network behind the microservice feed. So instead of feeding through one central point, you can distribute the gateway architecture at the source.</p>
  201. <p>Istio was created to be cloud neutral and although it has the backing of IBM and Google there should be no reason why it cannot be used with services created in AWS or Azure.</p>
  202. <p>For more information follow the new <a href="https://twitter.com/IstioMesh" target="_blank" rel="noopener noreferrer">@istiomesh</a> account on twitter.</p>
  203. <p>I am really curious about this one and will be watching with great anticipation.</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xomino.wordpress.com/3848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xomino.wordpress.com/3848/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3848&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
  204. <wfw:commentRss>https://xomino.com/2017/05/24/interesting-new-release-istio-service-mesh-microservices-management/feed/</wfw:commentRss>
  205. <slash:comments>0</slash:comments>
  206. <media:content url="http://0.gravatar.com/avatar/3857e0587f63bb943797213753361d37?s=96&#38;d=identicon&#38;r=G" medium="image">
  207. <media:title type="html">mdroden</media:title>
  208. </media:content>
  209. </item>
  210. <item>
  211. <title>Office Add-Ins &#8211; JavaScript control over the Content Control lock in a Word document</title>
  212. <link>https://xomino.com/2017/03/29/office-add-ins-javascript-control-over-the-content-control-lock-in-a-word-document/</link>
  213. <comments>https://xomino.com/2017/03/29/office-add-ins-javascript-control-over-the-content-control-lock-in-a-word-document/#respond</comments>
  214. <pubDate>Thu, 30 Mar 2017 01:30:52 +0000</pubDate>
  215. <dc:creator><![CDATA[Marky Roden]]></dc:creator>
  216. <category><![CDATA[Office Add-In]]></category>
  217. <category><![CDATA[JavaScript]]></category>
  218. <category><![CDATA[PSC]]></category>
  219.  
  220. <guid isPermaLink="false">http://xomino.com/?p=3843</guid>
  221. <description><![CDATA[In this article I will show how easy it is to programmatically lock and release the lock on a content control in a word document. This is very helpful when you are populating regions of a document but do not want users to mess with the format of the contents. Introduction In the Word 1.3 release &#8230; <a href="https://xomino.com/2017/03/29/office-add-ins-javascript-control-over-the-content-control-lock-in-a-word-document/" class="more-link">Continue reading <span class="screen-reader-text">Office Add-Ins &#8211; JavaScript control over the Content Control lock in a Word&#160;document</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3843&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
  222. <content:encoded><![CDATA[<p>In this article I will show how easy it is to programmatically lock and release the lock on a content control in a word document. This is very helpful when you are populating regions of a document but do not want users to mess with the format of the contents.</p>
  223. <p><strong>Introduction</strong></p>
  224. <p>In the Word 1.3 release of the office.js model, Microsoft release the new &#8220;cannotEdit&#8221; property of a content control. This is a get and settable property. More information on the properties available are found here in the documentation</p>
  225. <p><a href="https://github.com/OfficeDev/office-js-docs/blob/WordJs_1.3_Openspec/reference/word/contentcontrol.md" target="_blank">https://github.com/OfficeDev/office-js-docs/blob/WordJs_1.3_Openspec/reference/word/contentcontrol.md</a></p>
  226. <p><strong>Unlocking a content control for editing</strong></p>
  227. <p>Here is my locked content control called &#8220;Checklist&#8221;. I am going to use the code to get it by Tagname and then unlock it.</p>
  228. <p><a href="https://xomino.com/?attachment_id=3845#main" rel="attachment wp-att-3845"><img data-attachment-id="3845" data-permalink="https://xomino.com/2017/03/29/office-add-ins-javascript-control-over-the-content-control-lock-in-a-word-document/ch1-3/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/ch1.png?w=700&#038;h=513" data-orig-size="702,514" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="ch1" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/ch1.png?w=700&#038;h=513?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/ch1.png?w=700&#038;h=513?w=700" class="aligncenter size-full wp-image-3845" src="https://xomino.files.wordpress.com/2017/03/ch1.png?w=700&#038;h=513" alt="" width="700" height="513" srcset="https://xomino.files.wordpress.com/2017/03/ch1.png?w=700&amp;h=513 700w, https://xomino.files.wordpress.com/2017/03/ch1.png?w=150&amp;h=110 150w, https://xomino.files.wordpress.com/2017/03/ch1.png?w=300&amp;h=220 300w, https://xomino.files.wordpress.com/2017/03/ch1.png 702w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  229. <p>In your JavaScript code when you are about to update the control you need to execute the following as a minimum. It seems like a lot of code but it is due to the Promised based architecture used for the Office Add-In APIs.</p>
  230. <pre class="brush: jscript; title: ; notranslate">
  231.    Word.run(function (context) {
  232.  
  233.        var contentControlsWithTag = context.document.contentControls.getByTag('Checklist');
  234.        // Queue a command to load the tag property for all of content controls.
  235.        context.load(contentControlsWithTag, 'tag');
  236.  
  237.        // Synchronize the document state by executing the queued commands,
  238.        // and return a promise to indicate task completion.
  239.        return context.sync().then(function () {
  240.            if (contentControlsWithTag.items.length === 0) {
  241.                console.log('No content control found.');
  242.            }
  243.            else {
  244.                return context.sync()
  245.                    .then(function () {
  246.                        //the contentControlsWithTag is always returned as an array of items
  247.                        contentControlsWithTag.items[0].cannotEdit = false;
  248.                        contentControlsWithTag.items[0].insertHtml(&quot;&lt;b&gt;Hello World&lt;/b&gt;&quot;, 'Replace');
  249.                    });
  250.            }
  251.        });
  252.    })
  253.    .catch(function (error) {
  254.        console.log('Error: ' + JSON.stringify(error));
  255.        if (error instanceof OfficeExtension.Error) {
  256.            console.log('Debug info: ' + JSON.stringify(error.debugInfo));
  257.        }
  258.    });    
  259.  
  260. </pre>
  261. <p><a href="https://xomino.com/?attachment_id=3844#main" rel="attachment wp-att-3844"><img data-attachment-id="3844" data-permalink="https://xomino.com/2017/03/29/office-add-ins-javascript-control-over-the-content-control-lock-in-a-word-document/ch2-2/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/ch2.png?w=700" data-orig-size="613,475" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="ch2" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/ch2.png?w=700?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/ch2.png?w=700?w=613" class="aligncenter size-full wp-image-3844" src="https://xomino.files.wordpress.com/2017/03/ch2.png?w=700" alt="" srcset="https://xomino.files.wordpress.com/2017/03/ch2.png 613w, https://xomino.files.wordpress.com/2017/03/ch2.png?w=150 150w, https://xomino.files.wordpress.com/2017/03/ch2.png?w=300 300w" sizes="(max-width: 613px) 100vw, 613px"   /></a></p>
  262. <p>Once you have unlocked the control your code can be inserted and the control is editable. In a real application you just have to make sure you lock averything again with</p>
  263. <pre class="brush: jscript; title: ; notranslate">
  264.   contentControlsWithTag.items[0].cannotEdit = false;
  265.   contentControlsWithTag.items[0].insertHtml(&quot;&lt;b&gt;Hello World&lt;/b&gt;&quot;, 'Replace');
  266.   contentControlsWithTag.items[0].cannotEdit = true
  267. </pre>
  268. <p><strong>Conclusion</strong></p>
  269. <p>Nice, simple to use locking control. Yes the users cant unlock this manually and mess with the document, but if they are going there, then it is their own fault. This way no changes can be made &#8220;by mistake&#8221;.</p>
  270. <p>&nbsp;</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xomino.wordpress.com/3843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xomino.wordpress.com/3843/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3843&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
  271. <wfw:commentRss>https://xomino.com/2017/03/29/office-add-ins-javascript-control-over-the-content-control-lock-in-a-word-document/feed/</wfw:commentRss>
  272. <slash:comments>0</slash:comments>
  273. <media:content url="http://0.gravatar.com/avatar/3857e0587f63bb943797213753361d37?s=96&#38;d=identicon&#38;r=G" medium="image">
  274. <media:title type="html">mdroden</media:title>
  275. </media:content>
  276.  
  277. <media:content url="http://xomino.files.wordpress.com/2017/03/ch1.png" medium="image" />
  278.  
  279. <media:content url="http://xomino.files.wordpress.com/2017/03/ch2.png" medium="image" />
  280. </item>
  281. <item>
  282. <title>Calling an external service from your chat bot</title>
  283. <link>https://xomino.com/2017/03/19/calling-an-external-service-from-your-chat-bot/</link>
  284. <comments>https://xomino.com/2017/03/19/calling-an-external-service-from-your-chat-bot/#respond</comments>
  285. <pubDate>Mon, 20 Mar 2017 01:49:05 +0000</pubDate>
  286. <dc:creator><![CDATA[Marky Roden]]></dc:creator>
  287. <category><![CDATA[Azure]]></category>
  288. <category><![CDATA[Bot Framework]]></category>
  289. <category><![CDATA[PSC]]></category>
  290.  
  291. <guid isPermaLink="false">http://xomino.com/?p=3816</guid>
  292. <description><![CDATA[In this article I will show to how integrate simple commands (intents) into your bot to then integrate with an external service. Introduction In previous articles we have looked at how to create a sample Azure bot and in this article we will be looking into how &#8220;intents&#8221; work. The microsoft documentation on dialogIntents can be found here (for the &#8230; <a href="https://xomino.com/2017/03/19/calling-an-external-service-from-your-chat-bot/" class="more-link">Continue reading <span class="screen-reader-text">Calling an external service from your chat&#160;bot</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3816&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
  293. <content:encoded><![CDATA[<p>In this article I will show to how integrate simple commands (intents) into your bot to then integrate with an external service.</p>
  294. <p><strong>Introduction</strong></p>
  295. <p>In previous articles we have looked at how to create a <a href="https://xomino.com/2017/02/22/how-to-create-a-sample-nodejs-bot-which-utilizes-azure-functions-in-15-minutes/" target="_blank">sample Azure bot </a>and in this article we will be looking into how &#8220;intents&#8221; work. The microsoft documentation on <a href="https://docs.botframework.com/en-us/node/builder/chat/IntentDialog/" target="_blank">dialogIntents can be found here</a> (for the node bot).</p>
  296. <p><strong>URL Shortener</strong></p>
  297. <p>In an effort to learn more about running a node service in Azure, Azure SQL and to help brand some of my tweets a little better I created my own little URL shortening service running at <a href="https://marky.co" target="_blank">https://marky.co</a>. The details are not so important for this article but I took the Coligo.io article on create a <a href="https://coligo.io/create-url-shortener-with-node-express-mongo/" target="_blank">node url shortner with Mongo</a> and modified it to work with Azure SQL instead of Mongo. The service is called very simply by POSTing the appropriate parameters at the appropriate service on my website. What is returned is a shortened URL. Simple process really.</p>
  298. <p><strong>IntentDialog</strong></p>
  299. <p>&#8220;<em>The <a href="https://docs.botframework.com/en-us/node/builder/chat-reference/classes/_botbuilder_d_.intentdialog.html">IntentDialog</a> class lets you listen for the user to say a specific keyword or phrase. We call this intent detection because you are attempting to determine what the user is intending to do. IntentDialogs are useful for building more open ended bots that support natural language style understanding.</em>&#8221;</p>
  300. <p>So in a sense I am looking at this as an opportunity to treat my bot as a CLI client for my own laziness. While the &#8220;intent&#8221; is to allow for natural language understanding I want to look at it as an opportunity to make my bot into a monkey butler of sorts. Do my work for me, I am lazy (or productive).</p>
  301. <p>I am not a fan of CLI in the programming world. Not being a historically Unix kinda guy, never had to¬†and I prefer a point and click tooling approach to things like git and Azure CLI. That said,¬†this is not programming &#8211; this is bots <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f609.png" alt="ūüėČ" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
  302. <p><strong>Setting up your dialogIntent to listen for -sh </strong></p>
  303. <p>The following code snippets is the basis for my simple bot connector &#8211; listen for the &#8220;-sh &#8221; command then take the following argument and process it.</p>
  304. <p>The http module is used for the communication with the shortener service. Once the response is returned from the service the shortened URL is sent back to the user. The process is simple and the intent of this is just to show an example of how to use a command in a bot to make it do something.</p>
  305. <pre class="brush: jscript; title: ; notranslate">
  306. &quot;use strict&quot;;
  307. var builder = require(&quot;botbuilder&quot;);
  308. var botbuilder_azure = require(&quot;botbuilder-azure&quot;);
  309. var azure = require('azure-storage');
  310.  
  311. var http = require('http');
  312.  
  313. var data = &quot;&quot;;
  314.  
  315. var options = {
  316. host: 'marky.co',
  317. port: '80',
  318. path: thepath,
  319. method: 'POST',
  320. headers: {
  321. 'secret': theSercretKeyWhichStopsBots,
  322. 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
  323. }
  324. };
  325.  
  326. var dotenv = require('dotenv').config();
  327.  
  328. var useEmulator = (process.env.NODE_ENV == 'development');
  329.  
  330. var connector = useEmulator ? new builder.ChatConnector({
  331. appId: process.env['MicrosoftAppId'],
  332. appPassword: process.env['MicrosoftAppPassword']
  333. }) : new botbuilder_azure.BotServiceConnector({
  334. appId: process.env['MicrosoftAppId'],
  335. appPassword: process.env['MicrosoftAppPassword'],
  336. stateEndpoint: process.env['BotStateEndpoint'],
  337. openIdMetadata: process.env['BotOpenIdMetadata']
  338. });
  339.  
  340. var bot = new builder.UniversalBot(connector);
  341.  
  342. var intents = new builder.IntentDialog();
  343. bot.dialog('/', intents);
  344.  
  345. intents.matches(/-sh /i, function (session, args) {
  346. var input = args.matched.input
  347. //input will be in the format &quot;-sh http://www.xomino.com&quot;
  348. //better validation would probably be appropriate at some point
  349.  
  350. //split the input into &quot;-sh&quot; and theURL
  351. data=&quot;url=&quot;+input.split(&quot; &quot;)[1];
  352. //match the POST length to the incoming URL
  353. options.headers['Content-Length'] = data.length
  354. session.sendTyping(); //...typing
  355.  
  356. var req = http.request(options, function(res) {
  357. res.setEncoding('utf8');
  358. res.on('data', function (chunk) {
  359. session.send('Your short URL is: '+JSON.parse(chunk).shortUrl);
  360. });
  361. });
  362.  
  363. req.on('error', function(e) {
  364. console.log('problem with request: ' + e.message);
  365. });
  366.  
  367. // write data to request body
  368. req.write(data);
  369. req.end();
  370. });
  371.  
  372. intents.onDefault(function (session, args, next) {
  373. session.send(&quot;I'm sorry &quot;+session.dialogData.name+&quot;. I didn't understand.&quot;);
  374. });
  375.  
  376. if (useEmulator) {
  377. var restify = require('restify');
  378. var server = restify.createServer();
  379. server.listen(3978, function() {
  380. console.log('test bot endpont at http://localhost:3978/api/messages');
  381. });
  382. server.post('/api/messages', connector.listen());    
  383. } else {
  384. module.exports = { default: connector.listen() }
  385. }
  386.  
  387. </pre>
  388. <p>&nbsp;</p>
  389. <p>Using this code I can start to use my bot as a URL shortener rather than having to go to my website and post the URL into a form.</p>
  390. <p><a href="https://xomino.com/2017/03/19/calling-an-external-service-from-your-chat-bot/b7-7/#main" rel="attachment wp-att-3817"><img data-attachment-id="3817" data-permalink="https://xomino.com/2017/03/19/calling-an-external-service-from-your-chat-bot/b7-7/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/b7.png?w=700&#038;h=427" data-orig-size="800,488" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="b7" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/b7.png?w=700&#038;h=427?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/b7.png?w=700&#038;h=427?w=700" class="aligncenter size-full wp-image-3817" src="https://xomino.files.wordpress.com/2017/03/b7.png?w=700&#038;h=427" alt="" width="700" height="427" srcset="https://xomino.files.wordpress.com/2017/03/b7.png?w=700&amp;h=427 700w, https://xomino.files.wordpress.com/2017/03/b7.png?w=150&amp;h=92 150w, https://xomino.files.wordpress.com/2017/03/b7.png?w=300&amp;h=183 300w, https://xomino.files.wordpress.com/2017/03/b7.png?w=768&amp;h=468 768w, https://xomino.files.wordpress.com/2017/03/b7.png 800w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  391. <p>Note &#8211; in case you were curious this does not work in the Skype client itself because a URL is automagically transformed into something else for preview. Ah well that&#8217;s not quite the point really <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="ūüôā" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
  392. <p><a href="https://xomino.com/2017/03/19/calling-an-external-service-from-your-chat-bot/b8-6/#main" rel="attachment wp-att-3818"><img data-attachment-id="3818" data-permalink="https://xomino.com/2017/03/19/calling-an-external-service-from-your-chat-bot/b8-6/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/b8.png?w=700" data-orig-size="608,274" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="b8" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/b8.png?w=700?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/b8.png?w=700?w=608" class="aligncenter size-full wp-image-3818" src="https://xomino.files.wordpress.com/2017/03/b8.png?w=700" alt="" srcset="https://xomino.files.wordpress.com/2017/03/b8.png 608w, https://xomino.files.wordpress.com/2017/03/b8.png?w=150 150w, https://xomino.files.wordpress.com/2017/03/b8.png?w=300 300w" sizes="(max-width: 608px) 100vw, 608px"   /></a></p>
  393. <p><strong>Conclusion</strong></p>
  394. <p>In this article we have see that using the bot¬†IntentDialog class we are able to listen for predetermined commands which will then allow it to take input, act on that input and return an answer. In this case a URL shortener is a simple application but it would be much more useful if I could securely look into my enterprise and extract information relating to my business&#8230;&#8230;</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xomino.wordpress.com/3816/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xomino.wordpress.com/3816/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3816&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
  395. <wfw:commentRss>https://xomino.com/2017/03/19/calling-an-external-service-from-your-chat-bot/feed/</wfw:commentRss>
  396. <slash:comments>0</slash:comments>
  397. <media:thumbnail url="https://xomino.files.wordpress.com/2017/03/b7.png" />
  398. <media:content url="http://xomino.files.wordpress.com/2017/03/b7.png" medium="image">
  399. <media:title type="html">b7</media:title>
  400. </media:content>
  401.  
  402. <media:content url="http://0.gravatar.com/avatar/3857e0587f63bb943797213753361d37?s=96&#38;d=identicon&#38;r=G" medium="image">
  403. <media:title type="html">mdroden</media:title>
  404. </media:content>
  405.  
  406. <media:content url="http://xomino.files.wordpress.com/2017/03/b7.png" medium="image" />
  407.  
  408. <media:content url="http://xomino.files.wordpress.com/2017/03/b8.png" medium="image" />
  409. </item>
  410. <item>
  411. <title>NWCJS Meetup: Creating Bots with JavaScript and the Microsoft Bot Framework</title>
  412. <link>https://xomino.com/2017/03/13/nwcjs-meetup-creating-bots-with-javascript-and-the-microsoft-bot-framework/</link>
  413. <comments>https://xomino.com/2017/03/13/nwcjs-meetup-creating-bots-with-javascript-and-the-microsoft-bot-framework/#respond</comments>
  414. <pubDate>Tue, 14 Mar 2017 01:33:50 +0000</pubDate>
  415. <dc:creator><![CDATA[Marky Roden]]></dc:creator>
  416. <category><![CDATA[Bot Framework]]></category>
  417. <category><![CDATA[NWCJS]]></category>
  418. <category><![CDATA[PSC]]></category>
  419.  
  420. <guid isPermaLink="false">http://xomino.com/?p=3823</guid>
  421. <description><![CDATA[Next week’s Northwest Chicago JavaScript meetup (23 March @PSCGroup) features our own Adam Lepley speaking about some of the work he has been doing on the Microsoft Bot Framework. https://www.meetup.com/Northwest-Chicago-JavaScript/events/236993059/ “Bots, they are invading our chat apps, now it’s time to learn to develop your own. Come learn how Microsoft’s Bot Framework enables you to leverage &#8230; <a href="https://xomino.com/2017/03/13/nwcjs-meetup-creating-bots-with-javascript-and-the-microsoft-bot-framework/" class="more-link">Continue reading <span class="screen-reader-text">NWCJS Meetup: Creating Bots with JavaScript and the Microsoft Bot&#160;Framework</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3823&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
  422. <content:encoded><![CDATA[<p>Next week’s Northwest Chicago JavaScript meetup (23 March @PSCGroup) features our own Adam Lepley speaking about some of the work he has been doing on the Microsoft Bot Framework.</p>
  423. <p><a href="https://www.meetup.com/Northwest-Chicago-JavaScript/events/236993059/">https://www.meetup.com/Northwest-Chicago-JavaScript/events/236993059/</a></p>
  424. <p><em>‚ÄúBots, they are invading our chat apps, now it‚Äôs time to learn to develop your own. Come learn how Microsoft‚Äôs Bot Framework enables you to leverage your existing JavaScript skills to create a single bot which can be easily deployed to many channels including Skype, Slack, Facebook Messenger, SMS or embedded into your own site. I‚Äôll also show you how to take it a step further to include natural language processing to elevate your bot‚Äôs intelligence. Walk away with tools to build a great bot that can connect with users, wherever they are.‚ÄĚ</em></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xomino.wordpress.com/3823/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xomino.wordpress.com/3823/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3823&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
  425. <wfw:commentRss>https://xomino.com/2017/03/13/nwcjs-meetup-creating-bots-with-javascript-and-the-microsoft-bot-framework/feed/</wfw:commentRss>
  426. <slash:comments>0</slash:comments>
  427. <media:content url="http://0.gravatar.com/avatar/3857e0587f63bb943797213753361d37?s=96&#38;d=identicon&#38;r=G" medium="image">
  428. <media:title type="html">mdroden</media:title>
  429. </media:content>
  430. </item>
  431. <item>
  432. <title>Setting up the sample Azure bot to work locally with the bot emulator</title>
  433. <link>https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/</link>
  434. <comments>https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/#comments</comments>
  435. <pubDate>Mon, 13 Mar 2017 02:27:14 +0000</pubDate>
  436. <dc:creator><![CDATA[Marky Roden]]></dc:creator>
  437. <category><![CDATA[Azure]]></category>
  438. <category><![CDATA[Bot Framework]]></category>
  439. <category><![CDATA[PSC]]></category>
  440.  
  441. <guid isPermaLink="false">http://xomino.com/?p=3808</guid>
  442. <description><![CDATA[In this article I will demonstrate how to configure your local development environment to work with the environmental variables set up within your Azure environment in the sample bot previously discussed, Introduction  In the previous article we looked at how to create a sample azure bot and then how to configure it in VSTS for continuous integration. If you &#8230; <a href="https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/" class="more-link">Continue reading <span class="screen-reader-text">Setting up the sample Azure bot to work locally with the bot&#160;emulator</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3808&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
  443. <content:encoded><![CDATA[<p>In this article I will demonstrate how to configure your local development environment to work with the environmental variables set up within your Azure environment in the sample bot previously discussed,</p>
  444. <p><strong>Introduction </strong></p>
  445. <p>In the <a href="https://xomino.com/2017/02/22/how-to-create-a-sample-nodejs-bot-which-utilizes-azure-functions-in-15-minutes/" target="_blank">previous article</a> we looked at how to create a sample azure bot and then how to configure it in <a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/" target="_blank">VSTS for continuous integration</a>. If you want to develop with this sample locally you will need to set it up to work with the local bot emulator. (<a href="https://docs.botframework.com/en-us/node/builder/overview/" target="_blank">What is Bot Builder for Node.js and why should I use it?</a>). To be able to do this you will have to configure your local development environment to use the process.env variables which are picked up within the azure runtime environment.</p>
  446. <p><strong>process.env</strong></p>
  447. <p>process.env is how environmental variables are passed into a node development environment. They are especially important when it comes to keeping secret keys secret. We have to make sure that they are not included in the git repository and are not available to the end user. You can learn more about <a href="https://nodejs.org/api/process.html#process_process_env" target="_blank">process.env in the nodejs documentation</a>.</p>
  448. <p><strong>Using dotenv</strong></p>
  449. <p>I like to use the <a href="https://github.com/motdotla/dotenv" target="_blank">dotenv nodejs package </a>to handle local env variables to just read my variables locally from a .env file. If you look at the package.json for the example project, turns out so does microsoft <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f609.png" alt="ūüėČ" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
  450. <pre class="brush: jscript; title: ; notranslate">
  451. ...
  452.  &quot;dependencies&quot;: {
  453.    &quot;azure-storage&quot;: &quot;^1.3.2&quot;,
  454.    &quot;botbuilder&quot;: &quot;^3.4.2&quot;,
  455.    &quot;botbuilder-azure&quot;: &quot;0.0.1&quot;,
  456.    &quot;dotenv&quot;: &quot;^4.0.0&quot;
  457.  },
  458. </pre>
  459. <p>When I clone the VSTS repo locally and run it &#8211; nothing seems to happen&#8230;..and that&#8217;s because I do not have any local env variables&#8230;.</p>
  460. <pre class="brush: jscript; title: ; notranslate">
  461.  
  462. var useEmulator = (process.env.NODE_ENV == 'development');
  463.  
  464. ......
  465. if (useEmulator) {
  466.    var restify = require('restify');
  467.    var server = restify.createServer();
  468.    server.listen(3978, function() {
  469.        console.log('test bot endpont at http://localhost:3978/api/messages');
  470.    });
  471.    server.post('/api/messages', connector.listen());    
  472. } else {
  473.    module.exports = { default: connector.listen() }
  474. }
  475.  
  476. </pre>
  477. <p>So we can use a .env file locally in the root of the project and then require it in my code. The .env file contains nothing more that NODE_ENV = &#8216;development&#8217; right now.</p>
  478. <p>NOTE: To make sure this is not pushed up to the repo &#8211; add *.env to your .gitignore file.</p>
  479. <p>We now have a web server running (nice typo MS <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f609.png" alt="ūüėČ" class="wp-smiley" style="height: 1em; max-height: 1em;" /> ).</p>
  480. <p><a href="https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/b1-15/#main" rel="attachment wp-att-3809"><img data-attachment-id="3809" data-permalink="https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/b1-15/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/b1.png?w=700&#038;h=144" data-orig-size="759,156" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="b1" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/b1.png?w=700&#038;h=144?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/b1.png?w=700&#038;h=144?w=700" class="aligncenter size-full wp-image-3809" src="https://xomino.files.wordpress.com/2017/03/b1.png?w=700&#038;h=144" alt="" width="700" height="144" srcset="https://xomino.files.wordpress.com/2017/03/b1.png?w=700&amp;h=144 700w, https://xomino.files.wordpress.com/2017/03/b1.png?w=150&amp;h=31 150w, https://xomino.files.wordpress.com/2017/03/b1.png?w=300&amp;h=62 300w, https://xomino.files.wordpress.com/2017/03/b1.png 759w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  481. <p><strong>Bot Emulator</strong></p>
  482. <p>Once you download and install the <a href="https://docs.botframework.com/en-us/node/builder/overview/" target="_blank">bot emulator you can configure it as per the instructions</a> to run a simple bot without issue. This does not work once you have a bot running in Azure. The sample I created uses multiple Azure services and you can see them being called as the environmental variables in the code.</p>
  483. <p>&nbsp;</p>
  484. <pre class="brush: jscript; title: ; notranslate">
  485. var connector = useEmulator ? new builder.ChatConnector() : new botbuilder_azure.BotServiceConnector({
  486.    appId: process.env['MicrosoftAppId'],
  487.    appPassword: process.env['MicrosoftAppPassword'],
  488.    stateEndpoint: process.env['BotStateEndpoint'],
  489.    openIdMetadata: process.env['BotOpenIdMetadata']
  490. });
  491. </pre>
  492. <p>Unfortunately when I load up the emulator &#8211; as you can see above &#8220;new builder.ChatConnector&#8221; does not pass in any environmental variables. I then get the following error in the console</p>
  493. <p><a href="https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/b2-12/#main" rel="attachment wp-att-3810"><img data-attachment-id="3810" data-permalink="https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/b2-12/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/b2.png?w=700&#038;h=175" data-orig-size="800,200" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="b2" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/b2.png?w=700&#038;h=175?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/b2.png?w=700&#038;h=175?w=700" class="aligncenter size-full wp-image-3810" src="https://xomino.files.wordpress.com/2017/03/b2.png?w=700&#038;h=175" alt="" width="700" height="175" srcset="https://xomino.files.wordpress.com/2017/03/b2.png?w=700&amp;h=175 700w, https://xomino.files.wordpress.com/2017/03/b2.png?w=150&amp;h=38 150w, https://xomino.files.wordpress.com/2017/03/b2.png?w=300&amp;h=75 300w, https://xomino.files.wordpress.com/2017/03/b2.png?w=768&amp;h=192 768w, https://xomino.files.wordpress.com/2017/03/b2.png 800w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  494. <p>The appId is undefined as it is not being passed into the application.</p>
  495. <p>The ApplicationId and secret key were given to you when you created the bot in the first place &#8211; if you didn&#8217;t write them down, you&#8217;re going to be regretting that decision right now&#8230;.</p>
  496. <p>We need to modify the ChatConnector request to pass in the necessary variables, and we also need to add those variables to the .env file.</p>
  497. <p>&nbsp;</p>
  498. <pre class="brush: jscript; title: ; notranslate">
  499. var connector = useEmulator ? new builder.ChatConnector({
  500.        appId: process.env['MicrosoftAppId'], //new param
  501.        appPassword: process.env['MicrosoftAppPassword']  //new param
  502.    }) : new botbuilder_azure.BotServiceConnector({
  503.    appId: process.env['MicrosoftAppId'],
  504.    appPassword: process.env['MicrosoftAppPassword'],
  505.    stateEndpoint: process.env['BotStateEndpoint'],
  506.    openIdMetadata: process.env['BotOpenIdMetadata']
  507. });
  508. </pre>
  509. <p>Refreshing the bot emulator, we start to get somewhere</p>
  510. <p><a href="https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/b3-10/#main" rel="attachment wp-att-3811"><img data-attachment-id="3811" data-permalink="https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/b3-10/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/b3.png?w=700&#038;h=114" data-orig-size="800,130" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="b3" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/b3.png?w=700&#038;h=114?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/b3.png?w=700&#038;h=114?w=700" class="aligncenter size-full wp-image-3811" src="https://xomino.files.wordpress.com/2017/03/b3.png?w=700&#038;h=114" alt="" width="700" height="114" srcset="https://xomino.files.wordpress.com/2017/03/b3.png?w=700&amp;h=114 700w, https://xomino.files.wordpress.com/2017/03/b3.png?w=150&amp;h=24 150w, https://xomino.files.wordpress.com/2017/03/b3.png?w=300&amp;h=49 300w, https://xomino.files.wordpress.com/2017/03/b3.png?w=768&amp;h=125 768w, https://xomino.files.wordpress.com/2017/03/b3.png 800w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  511. <p>and then it dies when we try and talk to it (doh)</p>
  512. <p><a href="https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/b4-9/#main" rel="attachment wp-att-3812"><img data-attachment-id="3812" data-permalink="https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/b4-9/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/b4.png?w=700&#038;h=342" data-orig-size="800,391" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="b4" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/b4.png?w=700&#038;h=342?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/b4.png?w=700&#038;h=342?w=700" class="aligncenter size-full wp-image-3812" src="https://xomino.files.wordpress.com/2017/03/b4.png?w=700&#038;h=342" alt="" width="700" height="342" srcset="https://xomino.files.wordpress.com/2017/03/b4.png?w=700&amp;h=342 700w, https://xomino.files.wordpress.com/2017/03/b4.png?w=150&amp;h=73 150w, https://xomino.files.wordpress.com/2017/03/b4.png?w=300&amp;h=147 300w, https://xomino.files.wordpress.com/2017/03/b4.png?w=768&amp;h=375 768w, https://xomino.files.wordpress.com/2017/03/b4.png 800w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  513. <p><strong>Azure Storage Credentials</strong></p>
  514. <p>The problem is that this chat example uses the Azure Storage Service (to make the Azure Function part of the example work). So we have to add the AzureWebJobsStorage environmental variable to our .env file.</p>
  515. <p>&nbsp;</p>
  516. <pre class="brush: jscript; title: ; notranslate">
  517. var queueSvc = azure.createQueueService(process.env.AzureWebJobsStorage);
  518. </pre>
  519. <p>You can find this connection key in your Azure portal &gt; Storage Service &gt; Access Keys</p>
  520. <p><a href="https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/b5-8/#main" rel="attachment wp-att-3813"><img data-attachment-id="3813" data-permalink="https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/b5-8/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/b5.png?w=700&#038;h=302" data-orig-size="800,345" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="b5" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/b5.png?w=700&#038;h=302?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/b5.png?w=700&#038;h=302?w=700" class="aligncenter size-full wp-image-3813" src="https://xomino.files.wordpress.com/2017/03/b5.png?w=700&#038;h=302" alt="" width="700" height="302" srcset="https://xomino.files.wordpress.com/2017/03/b5.png?w=700&amp;h=302 700w, https://xomino.files.wordpress.com/2017/03/b5.png?w=150&amp;h=65 150w, https://xomino.files.wordpress.com/2017/03/b5.png?w=300&amp;h=129 300w, https://xomino.files.wordpress.com/2017/03/b5.png?w=768&amp;h=331 768w, https://xomino.files.wordpress.com/2017/03/b5.png 800w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  521. <p>The format for the .env file entry  is as follows (<a href="https://blogs.msdn.microsoft.com/appserviceteam/2016/12/01/running-azure-functions-locally-with-the-cli/" target="_blank">Running Azure Functions Locally with the CLI and VS Code</a>): AzureWebJobsStorage=&#8217;DefaultEndpointsProtocol=https;AccountName=storagename;AccountKey=secretKey&#8217;</p>
  522. <p>Once that is in place &#8211; we have a bot running locally talking to the bot framework &#8211; unfortunately we do not get a response back from the Azure Function&#8230;.</p>
  523. <p><strong>Azure Function debugging&#8230;..</strong></p>
  524. <p>The problem quite simply is that the message sent to the azure function contains a serviceURL from which it should respond &#8211; and in this case it is &#8221; serviceUrl: &#8216;<a href="http://localhost:63136'/" target="_blank" rel="noopener">http://localhost:63136&#8242;</a>,&#8221; and of course it has no idea what that is.</p>
  525. <p>For the sake of this blog post that is ok &#8211; we are at least up and running with the &#8220;bot&#8221; part of this emulator working, although somewhat disappointing it can&#8217;t be fully developed in this environment.</p>
  526. <p><strong>Conclusion</strong></p>
  527. <p>As part of this process we have seen how to connect the local bot emulator to a service running in Azure and how to incorporate a connection to Azure Functions.</p>
  528. <p>&nbsp;</p>
  529. <p>&nbsp;</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xomino.wordpress.com/3808/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xomino.wordpress.com/3808/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3808&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
  530. <wfw:commentRss>https://xomino.com/2017/03/12/setting-up-the-sample-azure-bot-to-work-locally-with-the-bot-emulator/feed/</wfw:commentRss>
  531. <slash:comments>1</slash:comments>
  532. <media:content url="http://0.gravatar.com/avatar/3857e0587f63bb943797213753361d37?s=96&#38;d=identicon&#38;r=G" medium="image">
  533. <media:title type="html">mdroden</media:title>
  534. </media:content>
  535.  
  536. <media:content url="http://xomino.files.wordpress.com/2017/03/b1.png" medium="image" />
  537.  
  538. <media:content url="http://xomino.files.wordpress.com/2017/03/b2.png" medium="image" />
  539.  
  540. <media:content url="http://xomino.files.wordpress.com/2017/03/b3.png" medium="image" />
  541.  
  542. <media:content url="http://xomino.files.wordpress.com/2017/03/b4.png" medium="image" />
  543.  
  544. <media:content url="http://xomino.files.wordpress.com/2017/03/b5.png" medium="image" />
  545. </item>
  546. <item>
  547. <title>Adding your bot code to VSTS for source control and configuring continuous integration</title>
  548. <link>https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/</link>
  549. <comments>https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/#comments</comments>
  550. <pubDate>Mon, 06 Mar 2017 03:00:28 +0000</pubDate>
  551. <dc:creator><![CDATA[Marky Roden]]></dc:creator>
  552. <category><![CDATA[Azure]]></category>
  553. <category><![CDATA[Bot Framework]]></category>
  554. <category><![CDATA[PSC]]></category>
  555.  
  556. <guid isPermaLink="false">http://xomino.com/?p=3784</guid>
  557. <description><![CDATA[In this article I will walk through the steps to enable source control and continuous integration for your bot Introduction In previous articles we have seen how to create a sample bot and how to link it into Skype. In this article we are going to look at how to use Visual Services Team Studio (VSTS) &#8230; <a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/" class="more-link">Continue reading <span class="screen-reader-text">Adding your bot code to VSTS for source control and configuring continuous&#160;integration</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3784&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
  558. <content:encoded><![CDATA[<p>In this article I will walk through the steps to enable source control and continuous integration for your bot</p>
  559. <p><strong>Introduction</strong></p>
  560. <p>In previous articles we have seen how to <a href="https://xomino.com/2017/02/22/how-to-create-a-sample-nodejs-bot-which-utilizes-azure-functions-in-15-minutes/" target="_blank">create a sample bot </a>and how to <a href="https://xomino.com/2017/02/27/adding-your-azure-bot-framework-bot-into-skype/" target="_blank">link it into Skype</a>. In this article we are going to look at how to use Visual Services Team Studio (VSTS) to manage source control and eventually continuous integration. We are going to set up is an environment such that when you check your code into the repository a code deployment is triggered to the nodejs server (our bot in this case) which then finally restarts. In short: code checks in and everything refreshes automagically.</p>
  561. <p>What is going to happen is that we are taking the code out of the Azure sample development web based IDE environment and move it to something a little more robust.</p>
  562. <p><strong>Selecting your Source Control</strong></p>
  563. <p>From your bot interface select settings and scroll down to the continuous integration section.</p>
  564. <p><em>Note:</em> it is really important to read the instructions &#8211; if you do NOT download the zip file of your bot first you will end up with a blank look on your face and a need to rebuild your bot from scratch &#8211; take it from this idiot (facepalm).</p>
  565. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot1-3/#main" rel="attachment wp-att-3788"><img data-attachment-id="3788" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot1-3/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot1.png?w=700&#038;h=278" data-orig-size="800,318" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot1" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot1.png?w=700&#038;h=278?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot1.png?w=700&#038;h=278?w=700" class="aligncenter size-full wp-image-3788" src="https://xomino.files.wordpress.com/2017/03/bot1.png?w=700&#038;h=278" alt="bot1" width="700" height="278" srcset="https://xomino.files.wordpress.com/2017/03/bot1.png?w=700&amp;h=278 700w, https://xomino.files.wordpress.com/2017/03/bot1.png?w=150&amp;h=60 150w, https://xomino.files.wordpress.com/2017/03/bot1.png?w=300&amp;h=119 300w, https://xomino.files.wordpress.com/2017/03/bot1.png?w=768&amp;h=305 768w, https://xomino.files.wordpress.com/2017/03/bot1.png 800w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  566. <p>Download your zip file and then head over to your favorite source control repo and create one.</p>
  567. <p>In my case I used Visual Studio Team Services (VSTS) to set up a git repo.</p>
  568. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot2-3/#main" rel="attachment wp-att-3789"><img data-attachment-id="3789" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot2-3/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot2.png?w=700" data-orig-size="507,275" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot2" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot2.png?w=700?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot2.png?w=700?w=507" class="aligncenter size-full wp-image-3789" src="https://xomino.files.wordpress.com/2017/03/bot2.png?w=700" alt="bot2" srcset="https://xomino.files.wordpress.com/2017/03/bot2.png 507w, https://xomino.files.wordpress.com/2017/03/bot2.png?w=150 150w, https://xomino.files.wordpress.com/2017/03/bot2.png?w=300 300w" sizes="(max-width: 507px) 100vw, 507px"   /></a>I unzipped the file locally and associated it with my new project in VSTS. I use¬†JetBrains Webstorm as my JavaScript development environment but this would work just as well in Visual Studio or VS Code.</p>
  569. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot3-3/#main" rel="attachment wp-att-3790"><img data-attachment-id="3790" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot3-3/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot3.png?w=700" data-orig-size="555,404" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot3" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot3.png?w=700?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot3.png?w=700?w=555" class="aligncenter size-full wp-image-3790" src="https://xomino.files.wordpress.com/2017/03/bot3.png?w=700" alt="bot3" srcset="https://xomino.files.wordpress.com/2017/03/bot3.png 555w, https://xomino.files.wordpress.com/2017/03/bot3.png?w=150 150w, https://xomino.files.wordpress.com/2017/03/bot3.png?w=300 300w" sizes="(max-width: 555px) 100vw, 555px"   /></a></p>
  570. <p>&nbsp;</p>
  571. <p><strong>Setting up continuous integration</strong></p>
  572. <p>Back within the Azure bot development website click the Continuous Integration button. This will then cause you to move through a number of screens configuring the CI. For this to work you have to have configured your Azure environment to be linked with your VSTS environment. Here&#8217;s a great blog post describing how to do just that (<a href="https://github.com/projectkudu/kudu/wiki/Setting-up-a-VSTS-account-so-it-can-deploy-to-a-Web-App" target="_blank">Linking your VSTS Account to Azure</a>)</p>
  573. <p>So &#8220;Setup&#8221;</p>
  574. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot4-3/#main" rel="attachment wp-att-3797"><img data-attachment-id="3797" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot4-3/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot4.png?w=700" data-orig-size="453,268" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot4" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot4.png?w=700?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot4.png?w=700?w=453" class="aligncenter size-full wp-image-3797" src="https://xomino.files.wordpress.com/2017/03/bot4.png?w=700" alt="bot4" srcset="https://xomino.files.wordpress.com/2017/03/bot4.png 453w, https://xomino.files.wordpress.com/2017/03/bot4.png?w=150 150w, https://xomino.files.wordpress.com/2017/03/bot4.png?w=300 300w" sizes="(max-width: 453px) 100vw, 453px"   /></a>Select VSTS</p>
  575. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot5-3/#main" rel="attachment wp-att-3796"><img data-attachment-id="3796" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot5-3/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot5.png?w=700&#038;h=362" data-orig-size="779,403" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot5" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot5.png?w=700&#038;h=362?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot5.png?w=700&#038;h=362?w=700" class="aligncenter size-full wp-image-3796" src="https://xomino.files.wordpress.com/2017/03/bot5.png?w=700&#038;h=362" alt="bot5" width="700" height="362" srcset="https://xomino.files.wordpress.com/2017/03/bot5.png?w=700&amp;h=362 700w, https://xomino.files.wordpress.com/2017/03/bot5.png?w=150&amp;h=78 150w, https://xomino.files.wordpress.com/2017/03/bot5.png?w=300&amp;h=155 300w, https://xomino.files.wordpress.com/2017/03/bot5.png?w=768&amp;h=397 768w, https://xomino.files.wordpress.com/2017/03/bot5.png 779w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  576. <p>and then your project within VSTS</p>
  577. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot6-2/#main" rel="attachment wp-att-3795"><img data-attachment-id="3795" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot6-2/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot6.png?w=700&#038;h=258" data-orig-size="801,295" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot6" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot6.png?w=700&#038;h=258?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot6.png?w=700&#038;h=258?w=700" class="aligncenter size-full wp-image-3795" src="https://xomino.files.wordpress.com/2017/03/bot6.png?w=700&#038;h=258" alt="bot6" width="700" height="258" srcset="https://xomino.files.wordpress.com/2017/03/bot6.png?w=700&amp;h=258 700w, https://xomino.files.wordpress.com/2017/03/bot6.png?w=150&amp;h=55 150w, https://xomino.files.wordpress.com/2017/03/bot6.png?w=300&amp;h=110 300w, https://xomino.files.wordpress.com/2017/03/bot6.png?w=768&amp;h=283 768w, https://xomino.files.wordpress.com/2017/03/bot6.png 801w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  578. <p>Which branch (master just to keep things simple for now)</p>
  579. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot7-2/#main" rel="attachment wp-att-3794"><img data-attachment-id="3794" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot7-2/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot7.png?w=700&#038;h=491" data-orig-size="771,541" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot7" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot7.png?w=700&#038;h=491?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot7.png?w=700&#038;h=491?w=700" class="aligncenter size-full wp-image-3794" src="https://xomino.files.wordpress.com/2017/03/bot7.png?w=700&#038;h=491" alt="bot7" width="700" height="491" srcset="https://xomino.files.wordpress.com/2017/03/bot7.png?w=700&amp;h=491 700w, https://xomino.files.wordpress.com/2017/03/bot7.png?w=150&amp;h=105 150w, https://xomino.files.wordpress.com/2017/03/bot7.png?w=300&amp;h=211 300w, https://xomino.files.wordpress.com/2017/03/bot7.png?w=768&amp;h=539 768w, https://xomino.files.wordpress.com/2017/03/bot7.png 771w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  580. <p>et voila</p>
  581. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot8-2/#main" rel="attachment wp-att-3793"><img data-attachment-id="3793" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot8-2/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot8.png?w=700" data-orig-size="506,256" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot8" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot8.png?w=700?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot8.png?w=700?w=506" class="aligncenter size-full wp-image-3793" src="https://xomino.files.wordpress.com/2017/03/bot8.png?w=700" alt="bot8" srcset="https://xomino.files.wordpress.com/2017/03/bot8.png 506w, https://xomino.files.wordpress.com/2017/03/bot8.png?w=150 150w, https://xomino.files.wordpress.com/2017/03/bot8.png?w=300 300w" sizes="(max-width: 506px) 100vw, 506px"   /></a></p>
  582. <p><strong>Configuring a performance test</strong></p>
  583. <p>Following the prompts you can set up the perf test (for once the CI is complete)</p>
  584. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot9-2/#main" rel="attachment wp-att-3792"><img data-attachment-id="3792" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot9-2/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot9.png?w=700" data-orig-size="423,769" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot9" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot9.png?w=700?w=165" data-large-file="https://xomino.files.wordpress.com/2017/03/bot9.png?w=700?w=423" class="aligncenter size-full wp-image-3792" src="https://xomino.files.wordpress.com/2017/03/bot9.png?w=700" alt="bot9" srcset="https://xomino.files.wordpress.com/2017/03/bot9.png 423w, https://xomino.files.wordpress.com/2017/03/bot9.png?w=83 83w, https://xomino.files.wordpress.com/2017/03/bot9.png?w=165 165w" sizes="(max-width: 423px) 100vw, 423px"   /></a></p>
  585. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot10/#main" rel="attachment wp-att-3791"><img data-attachment-id="3791" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot10/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot10.png?w=700" data-orig-size="504,190" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot10" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot10.png?w=700?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot10.png?w=700?w=504" class="aligncenter size-full wp-image-3791" src="https://xomino.files.wordpress.com/2017/03/bot10.png?w=700" alt="bot10" srcset="https://xomino.files.wordpress.com/2017/03/bot10.png 504w, https://xomino.files.wordpress.com/2017/03/bot10.png?w=150 150w, https://xomino.files.wordpress.com/2017/03/bot10.png?w=300 300w" sizes="(max-width: 504px) 100vw, 504px"   /></a></p>
  586. <p>&nbsp;</p>
  587. <p>and we now have your Azure bot¬†being deployed from code sitting within VSTS. Cool <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="ūüôā" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
  588. <p><strong>Example</strong></p>
  589. <p>I have my bot hooked up in Skype</p>
  590. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot12/#main" rel="attachment wp-att-3801"><img data-attachment-id="3801" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot12/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot12.png?w=700&#038;h=224" data-orig-size="759,243" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot12" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot12.png?w=700&#038;h=224?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot12.png?w=700&#038;h=224?w=700" class="aligncenter size-full wp-image-3801" src="https://xomino.files.wordpress.com/2017/03/bot12.png?w=700&#038;h=224" alt="bot12" width="700" height="224" srcset="https://xomino.files.wordpress.com/2017/03/bot12.png?w=700&amp;h=224 700w, https://xomino.files.wordpress.com/2017/03/bot12.png?w=150&amp;h=48 150w, https://xomino.files.wordpress.com/2017/03/bot12.png?w=300&amp;h=96 300w, https://xomino.files.wordpress.com/2017/03/bot12.png 759w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  591. <p>I make a quick change to the message in WebStorm (my JavaScript IDE)</p>
  592. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot11/#main" rel="attachment wp-att-3802"><img data-attachment-id="3802" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot11/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot11.png?w=700" data-orig-size="571,242" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot11" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot11.png?w=700?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot11.png?w=700?w=571" class="aligncenter size-full wp-image-3802" src="https://xomino.files.wordpress.com/2017/03/bot11.png?w=700" alt="bot11" srcset="https://xomino.files.wordpress.com/2017/03/bot11.png 571w, https://xomino.files.wordpress.com/2017/03/bot11.png?w=150 150w, https://xomino.files.wordpress.com/2017/03/bot11.png?w=300 300w" sizes="(max-width: 571px) 100vw, 571px"   /></a></p>
  593. <p>Commit and push</p>
  594. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot13/#main" rel="attachment wp-att-3800"><img data-attachment-id="3800" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot13/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot13.png?w=700" data-orig-size="373,189" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot13" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot13.png?w=700?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot13.png?w=700?w=373" class="aligncenter size-full wp-image-3800" src="https://xomino.files.wordpress.com/2017/03/bot13.png?w=700" alt="bot13" srcset="https://xomino.files.wordpress.com/2017/03/bot13.png 373w, https://xomino.files.wordpress.com/2017/03/bot13.png?w=150 150w, https://xomino.files.wordpress.com/2017/03/bot13.png?w=300 300w" sizes="(max-width: 373px) 100vw, 373px"   /></a></p>
  595. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot14/#main" rel="attachment wp-att-3799"><img data-attachment-id="3799" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot14/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot14.png?w=700" data-orig-size="528,187" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot14" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot14.png?w=700?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot14.png?w=700?w=528" class="aligncenter size-full wp-image-3799" src="https://xomino.files.wordpress.com/2017/03/bot14.png?w=700" alt="bot14" srcset="https://xomino.files.wordpress.com/2017/03/bot14.png 528w, https://xomino.files.wordpress.com/2017/03/bot14.png?w=150 150w, https://xomino.files.wordpress.com/2017/03/bot14.png?w=300 300w" sizes="(max-width: 528px) 100vw, 528px"   /></a></p>
  596. <p>Head back to Skype and within about 60 seconds (it has to restart after all) we have a new message</p>
  597. <p><a href="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot15/#main" rel="attachment wp-att-3798"><img data-attachment-id="3798" data-permalink="https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/bot15/#main" data-orig-file="https://xomino.files.wordpress.com/2017/03/bot15.png?w=700&#038;h=204" data-orig-size="747,218" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="bot15" data-image-description="" data-medium-file="https://xomino.files.wordpress.com/2017/03/bot15.png?w=700&#038;h=204?w=300" data-large-file="https://xomino.files.wordpress.com/2017/03/bot15.png?w=700&#038;h=204?w=700" class="aligncenter size-full wp-image-3798" src="https://xomino.files.wordpress.com/2017/03/bot15.png?w=700&#038;h=204" alt="bot15" width="700" height="204" srcset="https://xomino.files.wordpress.com/2017/03/bot15.png?w=700&amp;h=204 700w, https://xomino.files.wordpress.com/2017/03/bot15.png?w=150&amp;h=44 150w, https://xomino.files.wordpress.com/2017/03/bot15.png?w=300&amp;h=88 300w, https://xomino.files.wordpress.com/2017/03/bot15.png 747w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
  598. <p>What&#8217;s really interesting though is that I started my conversation before the restart was ready &#8211; but the message was queued and when the server woke up it finally responded &#8211; that was very cool</p>
  599. <p><strong>Conclusion</strong></p>
  600. <p>In this article we have looked at how to set up a VSTS source control repo of our new test bot and then configured continuous integration through the bot framework. I check in my new code and within seconds the new functionality is posted out to the live bot.</p>
  601. <p>&nbsp;</p>
  602. <p>&nbsp;</p>
  603. <p>&nbsp;</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xomino.wordpress.com/3784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xomino.wordpress.com/3784/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=xomino.com&#038;blog=31801104&#038;post=3784&#038;subd=xomino&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
  604. <wfw:commentRss>https://xomino.com/2017/03/05/adding-your-bot-code-to-vsts-for-source-control-and-configuring-continuous-integration/feed/</wfw:commentRss>
  605. <slash:comments>1</slash:comments>
  606. <media:content url="http://0.gravatar.com/avatar/3857e0587f63bb943797213753361d37?s=96&#38;d=identicon&#38;r=G" medium="image">
  607. <media:title type="html">mdroden</media:title>
  608. </media:content>
  609.  
  610. <media:content url="http://xomino.files.wordpress.com/2017/03/bot1.png" medium="image">
  611. <media:title type="html">bot1</media:title>
  612. </media:content>
  613.  
  614. <media:content url="http://xomino.files.wordpress.com/2017/03/bot2.png" medium="image">
  615. <media:title type="html">bot2</media:title>
  616. </media:content>
  617.  
  618. <media:content url="http://xomino.files.wordpress.com/2017/03/bot3.png" medium="image">
  619. <media:title type="html">bot3</media:title>
  620. </media:content>
  621.  
  622. <media:content url="http://xomino.files.wordpress.com/2017/03/bot4.png" medium="image">
  623. <media:title type="html">bot4</media:title>
  624. </media:content>
  625.  
  626. <media:content url="http://xomino.files.wordpress.com/2017/03/bot5.png" medium="image">
  627. <media:title type="html">bot5</media:title>
  628. </media:content>
  629.  
  630. <media:content url="http://xomino.files.wordpress.com/2017/03/bot6.png" medium="image">
  631. <media:title type="html">bot6</media:title>
  632. </media:content>
  633.  
  634. <media:content url="http://xomino.files.wordpress.com/2017/03/bot7.png" medium="image">
  635. <media:title type="html">bot7</media:title>
  636. </media:content>
  637.  
  638. <media:content url="http://xomino.files.wordpress.com/2017/03/bot8.png" medium="image">
  639. <media:title type="html">bot8</media:title>
  640. </media:content>
  641.  
  642. <media:content url="http://xomino.files.wordpress.com/2017/03/bot9.png" medium="image">
  643. <media:title type="html">bot9</media:title>
  644. </media:content>
  645.  
  646. <media:content url="http://xomino.files.wordpress.com/2017/03/bot10.png" medium="image">
  647. <media:title type="html">bot10</media:title>
  648. </media:content>
  649.  
  650. <media:content url="http://xomino.files.wordpress.com/2017/03/bot12.png" medium="image">
  651. <media:title type="html">bot12</media:title>
  652. </media:content>
  653.  
  654. <media:content url="http://xomino.files.wordpress.com/2017/03/bot11.png" medium="image">
  655. <media:title type="html">bot11</media:title>
  656. </media:content>
  657.  
  658. <media:content url="http://xomino.files.wordpress.com/2017/03/bot13.png" medium="image">
  659. <media:title type="html">bot13</media:title>
  660. </media:content>
  661.  
  662. <media:content url="http://xomino.files.wordpress.com/2017/03/bot14.png" medium="image">
  663. <media:title type="html">bot14</media:title>
  664. </media:content>
  665.  
  666. <media:content url="http://xomino.files.wordpress.com/2017/03/bot15.png" medium="image">
  667. <media:title type="html">bot15</media:title>
  668. </media:content>
  669. </item>
  670. </channel>
  671. </rss>
  672.  

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//xomino.com/feed

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda