<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>ちょ窓帳</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/chomado/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/chomado/feed.xml</link>
    <description>千代田まどか(ちょまど)のブログ</description>
    <lastBuildDate>Thu, 07 Dec 2017 05:40:35 GMT</lastBuildDate>
    <language>ja</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>[Unity][C#] Player に追従するカメラ</title>
      <link>https://docs.microsoft.com/archive/blogs/chomado/camera-following-to-player</link>
      <pubDate>Thu, 07 Dec 2017 12:04:55 GMT</pubDate>
      <dc:creator><![CDATA[chomado]]></dc:creator>
      <guid
        isPermaLink="false">http://blogs.msdn.microsoft.com/chomado/?p=5485</guid>
      <description><![CDATA[最近 Unity 頑張っています。
それで、カメラをプレイヤーに追従させるすべを学んだのでここにメモします。

これホント個人用メモなので
本当は 個人ブログの chomado.com...]]></description>
      <content:encoded><![CDATA[<img src="https://msdnshared.blob.core.windows.net/media/2017/12/Capture.jpg" alt="" width="994" height="615" class="alignnone size-full wp-image-5495" />

最近 Unity 頑張っています。
それで、カメラをプレイヤーに追従させるすべを学んだのでここにメモします。

これホント個人用メモなので
本当は 個人ブログの <a href="https://chomado.com" rel="noopener" target="_blank">chomado.com</a> に書きたかったのですが、
海外からのログインの禁止の設定していたらしくてログインできない（今アメリカからこれ書いてる）ので、
こっちの会社ブログのほうにメモします。

<h2>Player に追従するカメラ</h2>
メインカメラの add component から new script で 名前 "Camera Controller" 。
<script src="https://gist.github.com/chomado/b18bd4cb6668dbfc5a1466659688c8f7.js"></script>
これ書いたら Unity Editor に戻って
Player を Player に設定する（下のスクショ参照）。なんかヒエラルキービューからドラッグしてやる
<img src="https://msdnshared.blob.core.windows.net/media/2017/12/Capture1.png" alt="" width="866" height="752" class="alignnone size-full wp-image-5486" />
これで完成

]]></content:encoded>
    </item>
    <item>
      <title>日本マイクロソフト公式開発者向けイベント『de:code 2017』(デコード)とは【 5/23-24(火水) 】 #decode17</title>
      <link>https://docs.microsoft.com/archive/blogs/chomado/decode2017</link>
      <pubDate>Tue, 25 Apr 2017 13:50:59 GMT</pubDate>
      <dc:creator><![CDATA[chomado]]></dc:creator>
      <guid
        isPermaLink="false">http://blogs.msdn.microsoft.com/chomado/?p=5196</guid>
      <description><![CDATA[私は、
ゴールデンウィーク明けの 5/23-24(火水) に
東京タワー近くの『ザ・プリンス パークタワー東京』で開催される
de:code (デコード) 2017...]]></description>
      <content:encoded><![CDATA[私は、
ゴールデンウィーク明けの 5/23-24(火水) に
東京タワー近くの『ザ・プリンス パークタワー東京』で開催される
<a href="https://www.microsoft.com/ja-jp/events/decode/2017/default.aspx" target="_blank">de:code (デコード) 2017</a> というイベントで登壇します！

<a href="https://www.microsoft.com/ja-jp/events/decode/2017/default.aspx" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/decode2017banner.jpg" alt="decode2017banner" width="879" height="353" class="alignnone size-full wp-image-5226" /></a>

数千人の開発者が集う、大きなイベントです。
私も登壇します！緊張するなあ、頑張るぞ！


<h2>目次</h2>
<ol>
	<li><a href="#1">"de:code" って何？</a></li>
	<li><a href="#5">今年の de:code はここがすごい！</a></li>
	<li><a href="#0">私の登壇セッション2つ</a></li>
	<li><a href="#2">de:code 2017 セッション一覧</a></li>
	<li><a href="#3">de:code イベントと、Tech Summitイベントの違い</a></li>
	<li><a href="#4">de:code 2017 に行く理由（稟議書サンプル）</a></li>
</ol>

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/decode2016_op.jpg" alt="decode2016_op" width="640" height="480" class="alignnone size-full wp-image-5265" />
（写真：<a href="https://html5experts.jp/series/ms-decode2016/" target="_blank">HTML5 Experts.jp</a>）


<a id="1"></a>
<h2>"de:code"(デコード) って何？</h2>

<span style="color:#A33">( *ﾟ▽ﾟ*  っ)З「登壇するって言ってるけどさ、その『デコード』って何？イベント？」</span>

<strong>de:code</strong> とは、
一言で言うと「<b>日本MS主催の大型有償イベント(開発者向け)</b>」です。

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/dec2016-01.jpg" alt="dec2016-01" width="735" height="551" class="alignnone size-full wp-image-5216" />
↑去年の『de:code 2016』キーノートの様子。キーノートに登壇した、Microsoft CEO の サティア・ナデラ（写真：<a href="https://robotstart.info/2016/05/27/report-decode2016_no1.html" target="_blank">ロボスタ</a>）

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/R1266219-1000x600.jpg" alt="decode2016" width="1000" height="600" class="alignnone size-full wp-image-5205" />
↑去年の『de:code 2016』キーノートの様子。私の所属する「デベロッパーエバンジェリズム統括本部」のボス伊藤かつらさんと、CTO榊原さん（写真：<a href="https://w10m.jp/2016/05/24/decode/" target="_blank">Life with Windows 10 Mobile</a>）

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/dc160001.jpg" alt="decode2016keynote" width="1200" height="800" class="alignnone size-full wp-image-5215" />
↑去年の『de:code 2016』キーノートの様子。会場全体。この部屋にも入りきらないので、隣の部屋も「サテライト会場」として開かれた。（写真：<a href="http://k-tai.watch.impress.co.jp/docs/news/758824.html" target="_blank">ケータイ Watch</a>）

<img src="https://msdnshared.blob.core.windows.net/media/2016/06/demonstration.jpg" alt="ちょまど at de:code2016" />
↑去年の『de:code 2016』セッションの様子。私も登壇しました

<img src="https://msdnshared.blob.core.windows.net/media/2016/06/13245327_539830802863726_7909351166090793401_n.jpg" alt="" />
↑去年の『de:code 2016』エキスポ会場の様子。真ん中が私。自分がセッション無い間、ライブ中継？みたいなのもしていました

有償カンファレンスで、8万円もするし、平日なので、
多くの人は会社の仕事の一環としていらっしゃるようです。（<a href="#4">→ 稟議書サンプル</a>）


<a id="5"></a>
<h2>今年の de:code 2017 はここがすごい！</h2>
<span style="color:#A33">( *ﾟ▽ﾟ*  っ)З「今年も豪華ね！」</span>

<h3>ホロレンズ作った人がキーノート登壇！</h3>

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/fa182ce9b9741f360a72ee0bca6f32309f85444b_2880x1620.jpg" alt="アレックス・キップマン" width="800" height="450" class="alignnone size-full wp-image-5325" />
↑キップマンがTEDに登壇した時の写真（写真：<a href="https://www.ted.com/talks/alex_kipman_the_dawn_of_the_age_of_holograms" target="_blank">A futuristic vision of the age of holograms｜TED</a>）


『ホロレンズの父』こと<strong>アレックス・キップマン</strong>が来日！キーノート登壇！すごい！

<a href="https://news.microsoft.com/ja-jp/2017/04/19/170419-information/#sm.000un00qf173sf9o11kfwgmpkl3nc#wl9A26rDhVoedcro.97" target="_blank">アレックス キップマンが de:code 2017 に登場</a>

<div class="quotation">
キップマンは、Microsoft Kinect、Microsoft HoloLens などのマイクロソフトの革新的な製品開発において中心的な役割を担ってきた技術者です。

キップマンが、最先端技術を駆使してコントローラーの要らない新しい体験を生み出したことで、Kinect は世界で最も早く普及したコンシューマ向け電子機器となり、

TIME 誌の 2011 年の「世界の 100 人」（100 People of the Year）にも選ばれています。

また、2015 年 1 月に発表した Microsoft HoloLens により、
現実世界と仮想世界を組み合わせた Mixed Reality（複合現実）が、世界中の開発者の想像力を刺激して、
これまで無かった様々なアプリやアイデアが日々誕生して、
Mixed Reality の世界が実現しつつあります。

昨年 2 月の TED での講演「ホログラム時代の未来にあるもの」も話題となりました。
</div>

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-13.40.14.png" alt="screen-shot-2017-04-25-at-13-40-14" width="684" height="868" class="alignnone size-full wp-image-5355" />
↑よく使われるキップマン氏の写真。<s>日本では「かめはめ波に見える」と有名</s>


<h3>スペシャルセッション</h3>

↓ Ruby のパパの<strong>まつもとゆきひろ</strong>さんが！

<a href="https://www.microsoft.com/ja-jp/events/decode/2017/sessions.aspx#SP03" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-13.25.16.png" alt="screen-shot-2017-04-25-at-13-25-16" width="1336" height="646" class="alignnone size-full wp-image-5315" /></a>

↓ <strong>ホリエモン</strong>！！テレビの中の人だと思ってた！

<a href="https://www.microsoft.com/ja-jp/events/decode/2017/sessions.aspx#SP06" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-13.24.46.png" alt="screen-shot-2017-04-25-at-13-24-46" width="1340" height="820" class="alignnone size-full wp-image-5295" /></a>

↓ <strong>落合陽一</strong>先生！！嬉しい！

<a href="https://www.microsoft.com/ja-jp/events/decode/2017/sessions.aspx#SP07" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-13.25.08.png" alt="screen-shot-2017-04-25-at-13-25-08" width="1336" height="688" class="alignnone size-full wp-image-5305" /></a>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">楽屋前での、落合陽一先生( <a href="https://twitter.com/ochyai">@ochyai</a> )とのツーショット！珍しく白の服！くううう生きてて良かった！ <a href="https://t.co/NTAd0TmenK">pic.twitter.com/NTAd0TmenK</a></p>&mdash; ちょまど@MS入社して13ヶ月 (@chomado) <a href="https://twitter.com/chomado/status/840450035934347264">2017年3月11日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

↓ 私の影響で松屋行き始めた、シリコンバレー在住の<b>ロッシェルさん</b>と、
Microsoft本社所属のエバンジェリスト<b>牛尾さん</b>のコンビ！

すごく良い話だよ！
<a href="https://www.microsoft.com/ja-jp/events/decode/2017/sessions.aspx#SP05" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-13.25.48.png" alt="screen-shot-2017-04-25-at-13-25-48" width="1338" height="1082" class="alignnone size-full wp-image-5316" /></a>

<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Discovered ubiquitous chain Matsuya is good for a quick bite. No additives, taste pretty good, English menu if you need it. Thanks <a href="https://twitter.com/chomado">@chomado</a>! <a href="https://t.co/8Gp1PfHl8t">pic.twitter.com/8Gp1PfHl8t</a></p>&mdash; Rochelle Kopp (@JapanIntercult) <a href="https://twitter.com/JapanIntercult/status/825961837841690624">2017年1月30日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h3>11トラック</h3>

今年の de:code は、11トラックでお送りします！

技術カットが9トラック
＋ チョークトーク(登壇者とお喋りしながらの少人数タイム)
＋ 豪華ゲストスペシャルセッション

です！

<a href="https://www.microsoft.com/ja-jp/events/decode/2017/default.aspx" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/decode2017banner.jpg" alt="decode2017banner" width="879" height="353" class="alignnone size-full wp-image-5226" /></a>

トラック一覧：

<ol>
	<li><b>Artificial Intelligence</b>：人工知能 (AI)</li>
	<li><b>Data &amp; IoT</b>：IoT とともに重要な Big Data 処理と解析など、データ プラットフォームを中心とした分野</li>
	<li><b>Security</b>：セキュリティー</li>
	<li><b>Windows Client &amp; Mixed Reality</b>：HoloLens、MR、そしてUWPなど Windows アプリ開発系</li>
	<li><b>Mobile &amp; Web</b>：モバイルアプリ開発や Web系。Xamarin / Cordova / HTML5 / JavaScript</li>
	<li><b>Development Tools</b>：Visual Studio や .NET 開発系</li>
	<li><b>DevOps</b>：OSS や DevOps</li>
	<li><b>Business Application Platform</b>：Office 365 や Dynamics 365, Power BI など</li>
	<li><b>Architecture</b>：アプリケーション アーキテクチャやデザイン パターン</li>
	<li><b>Chalk Talk</b>：特定の技術テーマに基づいて少人数の参加者とスピーカーでディスカッションをおこない、参加者全員がそのテーマについてより深い理解や経験を共有することができるチョーク トークと呼ばれるセッション</li>
	<li><b>Special</b>：特別ゲスト枠。<strong>まつもとゆきひろ</strong>さん や <strong>ホリエモン</strong>、<strong>落合陽一</strong>先生がいらっしゃるぞ！！すごい！！！</li>
</ol>
<a href="https://www.microsoft.com/ja-jp/events/decode/2017/sessions.aspx" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-12.55.00.png" alt="screen-shot-2017-04-25-at-12-55-00" width="860" height="856" class="alignnone size-full wp-image-5275" /></a>

<span style="color:#A33">( *ﾟ▽ﾟ*  っ)З「このうち、ちょまどは、<b>Mobile &amp; Web</b>と<b>Development Tools</b>のトラックオーナーさんからそれぞれセッションを頼まれたのよね。光栄なことね！」</span>

ヽ（ヽ *ﾟ▽ﾟ*）ノわーい！ がんばるぞ！


<a id="0"></a>
<h2>私の登壇セッション2つ</h2>

今年は 2セッション登壇します！
モバイルアプリ開発環境(ツール)である<b>Xamarin </b>セッションと
Microsoftの 最新のIDE <b>Visual Studio 2017</b>セッションです。

<h3>1. [Xamarin 入門] コード共通化で開発スピードアップ! AI を活用したクロス プラットフォーム アプリを Xamarin で作ってみよう!</h3>
<div class="quotation">
<a href="https://www.microsoft.com/ja-jp/events/decode/2017/sessions.aspx#MW04"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-12.05.341.png" alt="screen-shot-2017-04-25-at-12-05-34" width="1354" height="482" class="alignnone size-full wp-image-5255" /></a>

こんにちは。Visual Studio と C# が好き過ぎて昨年 Microsoft に転職してきた、元モバイルアプリ開発者の千代田まどか (ちょまど) です。Xamarin で iOS/Android アプリ開発をしていました。
このセッションでは、<b>Xamarin 概要</b>を、<b>Mobile DevOps</b> 観点も含めながら、広く、俯瞰的な視点から包括的に解説いたします。難易度としては初心者向けですが、知識の再確認や最新のアップデートを確認したい中級者の方にもオススメです。

キーワード 
[ Xamarin / Test Cloud / Visual Studio Mobile Center / C# / Visual Studio / iOS / Android ]

<a href="https://www.microsoft.com/ja-jp/events/decode/2017/sessions.aspx#MW04" target="_blank">https://www.microsoft.com/ja-jp/events/decode/2017/sessions.aspx#MW04</a>
</div>


<h3>2. ちょまどが愛をもって語る Visual Studio 2017 と C# 7! 新機能を活用して開発効率を上げよう</h3>

<div class="quotation">
<a href="https://www.microsoft.com/ja-jp/events/decode/2017/sessions.aspx#TL01"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-12.11.481.png" alt="screen-shot-2017-04-25-at-12-11-48" width="1340" height="496" class="alignnone size-full wp-image-5256" /></a>

こんにちは。C# と Visual Studio が好き過ぎて昨年マイクロソフトに入社しました 千代田まどかです。
2017 年 3 月に <b>Visual Studio 2017</b> と <b>C# 7</b> がリリースされましたね。様々な機能がアップグレードされましたが、具体的に何がどうなったのか、2015/C# 6 との差分などがよく分からない、という方も多いのではないでしょうか? その辺の疑問を、豊富なデモとともにご紹介します。

<a href="https://www.microsoft.com/ja-jp/events/decode/2017/sessions.aspx#TL01" target="_blank">https://www.microsoft.com/ja-jp/events/decode/2017/sessions.aspx#TL01</a>
</div>

<a id="2"></a>
<h2>セッション一覧</h2>

まだ 4/21時点でのものなので変更されるかもしれないけど、
今こんな感じらしい！

11トラックだから横に長いので、2つに分かれてるよ！

クリックで拡大します

<h3>Day 1 (5/23火)</h3>

<a href="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-11.27.53.png" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-11.27.53.png" alt="screen-shot-2017-04-25-at-11-27-53" width="2720" height="692" class="alignnone size-full wp-image-5356" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-11.28.12.png" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-11.28.12.png" alt="screen-shot-2017-04-25-at-11-28-12" width="1404" height="698" class="alignnone size-full wp-image-5366" /></a>

私のセッションはキーノートの後すぐみたいだね

<h3>Day 2 (5/24水)</h3>

<a href="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-14.03.25.png" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-14.03.25.png" alt="screen-shot-2017-04-25-at-14-03-25" width="2734" height="966" class="alignnone size-full wp-image-5375" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-14.03.16.png" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/Screen-Shot-2017-04-25-at-14.03.16.png" alt="screen-shot-2017-04-25-at-14-03-16" width="2388" height="976" class="alignnone size-full wp-image-5385" /></a>

ぎゃあああああ、私、Day 2 朝イチセッションで、まつもとゆきひろさんのセッションと時間かぶってる…(T_T)
見たかった、、、

<a id="3"></a>
<h2>Tech Summit イベントと、de:codeイベントの違い</h2>

<span style="color:#A33">( *ﾟ▽ﾟ*  っ)З「あれ？なんか前にも似たような技術イベント無かったっけ？日本MS主催のさ。『テックサミット』とかいうやつ」</span>

ありました！秋にあった『<strong>Microsoft Tech Summit</strong>』だね！

日本マイクロソフトは、年に２回(春と秋)、エンジニア向けの、大型 有償 技術イベントを持っています。

春に行われるのが、「<a href="https://www.microsoft.com/ja-jp/events/decode/2017/default.aspx" target="_blank">de:code</a>」(デコード)と呼ばれ、
秋に行われるのが、「<a href="http://microsoft-events.jp/mstechsummit/" target="_blank">Tech Summit</a>」(テックサミット)と呼ばれています。

↓ de:code イベントのステージの写真
<a href="https://html5experts.jp/series/ms-decode2016/" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2016/10/decode2016_op.jpg" alt="decode2016_op" width="640" height="480" class="alignnone size-full wp-image-2035" /></a>

↓ Tech Summit イベントの元となる Microsoft Ignite の会場の写真。
<a href="https://blog.miosoft.com/2015/05/microsoft-ignite/" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2016/10/Ignite-Keynote.jpg" alt="Ignite-Keynote" width="1024" height="575" class="alignnone size-full wp-image-2045" /></a>

どちらも、都心の大きな有名ホテルの会場を貸し切って行われる、2日間に渡り 1000人以上が来場する大型イベントです。(なので登壇する人はみんな準備のために数ヶ月間まるまる投資している)

<h3>両方、元となる世界での発表イベント(英語)があり、その日本市場向けの wrapしたイベント</h3>

<b>de:code</b> イベントも、<strong>Tech Summit</strong> イベントも、両方、
米国 Microsoft本社が発表した新情報を、日本市場向けにまとめて(= wrapして)日本語で整えた内容、となっています。 

de:code イベントは、
3月に米国 Microsoft本社で開催される「Build」という開発者向け大型イベントの、日本のために内容を wrap した日本語での技術イベントです。ちなみに Build 2016 は、約25万円の参加チケットが、発売1分以内で売り切れました。(<a href="https://www.neowin.net/news/microsoft-build-2016-sold-out-in-1-minute-despite-no-giveaways-for-attendees-this-year" target="_blank">ソース</a>)

↓ Build イベントの様子
<img src="https://msdnshared.blob.core.windows.net/media/2016/10/maxresdefault-2.jpg" alt="maxresdefault-2" width="1278" height="720" class="alignnone size-full wp-image-2055" />

そして去年11月頭に東京で開催された <strong>Tech Summit</strong> イベントは、
9月に米国 Microsoft本社で開催された「<a href="https://ignite.microsoft.com/Pricing" target="_blank">Ignite</a>」というインフラエンジニア/ITpro向け大型イベントの、日本市場向けに wrap した内容です。この Igniteイベントも、高額なチケットが完売しました

<h2>de:code と Tech Summit の比較表</h2>

比較表があったら分かりやすいかな、と思って、表を作りました！

<table>
  <thead>
  <tr>
     <th>項目</th>
     <th>de:code</th>
     <th>Tech Summit</th>
  </tr>
  </thead>
  <tbody>
  <tr>
     <th>イベント名</th>
     <td>de:code (デコード)</td>
     <td>Tech Summit (テックサミット)</td>
  </tr>
  <tr>
     <th>開催時期</th>
     <td>春。5/23-24</td>
     <td>秋。11/1-2</td>
  </tr>
  <tr>
     <th>元なる本社イベ</th>
     <td>Build (dev向け)</td>
     <td>Ignite(イグナイト) (インフラ/社内IT統括/ITプロ向け)</td>
  </tr>
  <tr>
     <th>どういう内容？</th>
     <td>開発者：インフラ ＝ 6:4 くらい。Azure, .NET, C#, Visual Studio, DevOps など</td>
     <td>開発者：(インフラ + ITpro) ＝ 3:7 くらい。Azure, SQL Server 系の他、Office系やセキュリティ系が多い</td>
  </tr>
  <tr>
     <th>開催場所</th>
     <td>東京/ 東京タワーの近く</td>
     <td>東京/ お台場</td>
  </tr>
  <tr>
     <th>セッション数</th>
     <td>140以上(現在調整中)</td>
     <td>100以上</td>
  </tr>
  <tr>
     <th>参加費</th>
     <td>80,000 円（早期割引で 68,000 円）</td>
     <td>80,000 円（早期割引で 68,000 円）</td>
  </tr>
  <tr>
     <th>公式サイト</th>
     <td><a href="https://www.microsoft.com/ja-jp/events/decode/2017/default.aspx" target="_blank">microsoft.com/ja-jp/events/decode/2017/</a></td>
     <td><a href="http://microsoft-events.jp/mstechsummit/" target="_blank">microsoft-events.jp/mstechsummit/</a></td>
  </tr>
  </tbody>
</table>




<a id="4"></a>
<h2>de:code2017 に行く理由</h2>

公式サイト見てたら「<a href="https://blogs.msdn.microsoft.com/decode/2017/02/22/decode-社内稟議書を活用ください/" target="_blank">稟議書テンプレート</a>」なんてアイテムを見つけたので、丸コピします！（検索して引っかかるようにするためにここに書き下す必要がある）

行く理由：

<h3>１．最新技術情報の入手</h3>

5月初旬に米国シアトルで開催される「Build 2017」や直近のマイクロソフト イベントで発表された最新情報の詳細が入手可能である。


<h3>２．包括的な技術習得/セッション資料の活用</h3>

<ol>
	<li>100 を超えるブレイクアウトセッションを通じ、マイクロソフトのテクノロジの方向性と共に、開発者、インフラ技術者、アーキテクト担当者の課題解決に有用な内容が提供される。 </li>
	<li>「Artificial Intelligence」、「Data &amp; IoT」、「Security」、「Windows Client &amp; Mixed Reality」、「Mobile &amp; Web」、「Development Tools」、「DevOps」、「Business Application Platform」などのテクノロジを包括的に学ぶことが可能である</li>
	<li>また、後日提供されるセッションスライドにより、セッションの受講／非受講を問わず入手が可能（一部を除く）であり、加えて社内勉強会などでの幅広い活用が可能である。</li>
</ol>



<h3>３．将来の IT 投資判断に寄与する情報を入手</h3>

今後の IT 投資の方向性を検討するにあたり、マイクロソフト テクノロジにおいて参考にすべき情報を集中的に理解し、ビジネス面と技術面のインパクトを意思決定者に確実かつ正確に伝えることが可能となる。

<h3>4．ネットワーキング</h3>

多くの IT 技術者、パートナー企業担当者やマイクロソフト社員との交流を通じ、技術面でのスキルアップと共に、他では得られない情報や人脈を得ることが可能となる。

以上

<a href="https://www.microsoft.com/ja-jp/events/decode/2017/default.aspx" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/04/decode2017banner.jpg" alt="decode2017banner" width="879" height="353" class="alignnone size-full wp-image-5226" /></a>]]></content:encoded>
    </item>
    <item>
      <title>VS2017 Xamarin.Forms 新規プロジェクト作成時エラー「パッケージのインストール エラー」</title>
      <link>https://docs.microsoft.com/archive/blogs/chomado/vs2017-uwp-package-install-error</link>
      <pubDate>Mon, 13 Mar 2017 20:18:57 GMT</pubDate>
      <dc:creator><![CDATA[chomado]]></dc:creator>
      <guid
        isPermaLink="false">http://blogs.msdn.microsoft.com/chomado/?p=5095</guid>
      <description><![CDATA[Visual Studio 2017 で、Xamarin の新規プロジェクトを作った時に、UWPプロジェクト生成時にエラーが起こった時にやった対処方法をここに書きます。

まず、対象の...]]></description>
      <content:encoded><![CDATA[Visual Studio 2017 で、Xamarin の新規プロジェクトを作った時に、UWPプロジェクト生成時にエラーが起こった時にやった対処方法をここに書きます。

まず、対象の Windows のバージョンを選択しました。

<img src="https://msdnshared.blob.core.windows.net/media/2017/03/Screen-Shot-2017-03-13-at-19.52.48.png" alt="screen-shot-2017-03-13-at-19-52-48" width="1138" height="448" class="alignnone size-full wp-image-5105" />

そうすると、次のエラーが出てきました。

<div class="terminal">
パッケージのインストール エラー

必要なすべてのパッケージをプロジェクトに追加できませんでした。次のパッケージを <span class="code">'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages'</span> からインストールできませんでした:

Microsoft.NETCore.UniversalWindowsPlatform.5.1.0 : パッケージの復元に失敗しました。 <span class="code">'App3.UWP'</span> のパッケージの変更をロールバックします。
</div>

<img src="https://msdnshared.blob.core.windows.net/media/2017/03/Screen-Shot-2017-03-13-at-19.53.09.png" alt="screen-shot-2017-03-13-at-19-53-09" width="1426" height="1180" class="alignnone size-full wp-image-5115" />

これは、インストールされている Windows 10 の SDK が、足りないために出ているエラーです。

なので、次の操作をしました。

まず、Visual Studio 2017 のインストーラーを開きます。

次のように。

<img src="https://msdnshared.blob.core.windows.net/media/2017/03/Screen-Shot-2017-03-13-at-19.49.48.png" alt="screen-shot-2017-03-13-at-19-49-48" width="2184" height="1314" class="alignnone size-full wp-image-5135" />

「変更」を押して、変更が適用されたら、VS2017を再び立ち上げて、もう一回プロジェクトの「新規作成」をしてみます。


<img src="https://msdnshared.blob.core.windows.net/media/2017/03/Screen-Shot-2017-03-13-at-19.52.48.png" alt="screen-shot-2017-03-13-at-19-52-48" width="1138" height="448" class="alignnone size-full wp-image-5105" />

OKして、
今度はエラーが出なくなった！やったー！


]]></content:encoded>
    </item>
    <item>
      <title>[デブサミ] デベロッパーズサミット 2017 で登壇した #devsumi #devsumiA</title>
      <link>https://docs.microsoft.com/archive/blogs/chomado/developer-summit-2017</link>
      <pubDate>Wed, 22 Feb 2017 04:12:19 GMT</pubDate>
      <dc:creator><![CDATA[chomado]]></dc:creator>
      <guid
        isPermaLink="false">http://blogs.msdn.microsoft.com/chomado/?p=4535</guid>
      <description><![CDATA[デベロッパーズサミット (通称『デブサミ』/ Developers Summit) 2017...]]></description>
      <content:encoded><![CDATA[<strong>デベロッパーズサミット</strong> (通称『<strong>デブサミ</strong>』/ Developers Summit) 2017 で登壇してきました！<strong>デブサミ</strong>とは、2500人以上の来訪者を誇る、日本で最も大きな技術者イベントのひとつです。<span style="color:#aaa">(2日間延べ合計：3,389名/ ユニーク数：2,641名) </span>
そんな大舞台での登壇の機会をいただけて光栄です！ありがとうございます！
ライブコーディングをメインにした構成で、<b>C#</b>、<strong>Visual Studio 2017</strong>、<b>Xamarin</b>、<b>Microsoft Azure</b>について話してきました。とても楽しかったです！
この記事では、登壇者としての<b>当日の感想</b>と<b>セッションの流れ/まとめ</b>について書きました。当日ご参加できなかった方もこの記事を読んでいただければなと思います。（とはいえ、当日のスライド140枚の内容を全て突っ込むのは無理なので、<b>かなり省略して書いています</b>。<span style="color:#aaa">(それでもめっちゃ長い記事になってしまったけど…。) </span> 実際のすべての内容は実際に私のセッションを聞いてくださった方だけに！）

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/16651380_1487690714597110_1198905397_o.jpg" alt="16651380_1487690714597110_1198905397_o" width="2048" height="1536" class="alignnone size-full wp-image-4735" />


<a href="https://msdnshared.blob.core.windows.net/media/2017/02/live-coding.jpeg"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/live-coding.jpeg" alt="live-coding" width="1963" height="1339" class="alignnone size-full wp-image-4765" /></a>


<a href="http://b.hatena.ne.jp/entry/" class="hatena-bookmark-button" title="このエントリーをはてなブックマークに追加"><img src="https://b.st-hatena.com/images/entry-button/button-only@2x.png" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none" /></a><script type="text/javascript" src="https://b.st-hatena.com/js/bookmark_button.js"></script>

デブサミ2017公式サイト： 
<a href="http://event.shoeisha.jp/devsumi/20170216/" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/devSummit17.png" alt="devsummit17" width="860" height="415" class="alignnone size-full wp-image-5035" /></a>

<h2>この記事について</h2>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/C43Dzg3UYAAF6A4.jpg-large-2.jpeg" alt="c43dzg3uyaaf6a4-jpg-large-2" width="2048" height="1536" class="alignnone size-full wp-image-4745" />

この記事は何が書いてあるの？

<ul>
	<li><strong>デブサミ2017</strong>での<b>登壇の記録</b> (日記)</li>
	<li><strong>デブサミ2017</strong>での私のセッションの<b>オーディエンスの反応まとめ</b></li>
	<li><strong>デブサミ2017</strong>で話した<b>技術的な話</b>のまとめ</li>
</ul>

<h2>目次</h2>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/C48lyoQUoAE0Z7I.jpg-large.jpeg" alt="c48lyoquoae0z7i-jpg-large" width="960" height="720" class="alignnone size-full wp-image-4645" />

<ol>
    <li>セッション前
        <ol>
            <li>セッション開始前、<b>大部屋が立ち見で埋まる</b></li>
            <li>セッションの<b>待機列が長蛇の列</b></li>
            <li>私のセッションへの感想</li>
            <li>本番5分前</li>
        </ol>
    </li>
    <li>セッション導入部
        <ol>
            <li>セッションが始まった！</li>
            <li>セッションAgenda</li>
            <li>まずは自己紹介</li>
        </ol>
    </li>
    <li><strong>C#</strong>
        <ol>
            <li>C# の話</li>
            <li>C# はいいぞ</li>
        </ol>
    </li>
    <li>C# + 神IDE <strong>Visual Studio 2017</strong>
        <ol>
            <li>C# + VS2017 デモ</li>
            <li>クリップボードの <b>生 JSON を class に変換してくれる VS の機能</b></li>
            <li>非同期処理のJSON操作の<b>ライブコーディング</b>！</li>
            <li><b>トラブル：会場のネット環境が貧弱</b>過ぎて NuGet Package Manager が読み込めず、ライブコーディングの残り2割くらいの過程をバックアップ用の(事前に撮っておいた動画)に切り替える</li>
            <li>デモのおさらい</li>
            <li>皆も Visual Studio 使ってね！</li>
        </ol>
    </li>
    <li>C# でのクロスプラットフォーム開発ツール <strong>Xamarin</strong>
        <ol>
            <li>C# は どこでも動くぞ！</li>
            <li>Xamarin</li>
        </ol>
    </li>
    <li>Microsoftのクラウドサービス
        <ol>
            <li><strong>Microsoft Azure</strong> (アジュール)</li>
        </ol>
    </li>
    <li>皆の感想</li>
    <li>私の学び</li>
    <li>最後はアフタヌーンティー</li>
	<li>登壇後の夜は渋谷で英語コミュニケーションで登壇</li>
    <li>私のセッションを見た人の感想ブログ</li>
</ol>


<h2>セッション開始前、大部屋が立ち見で埋まる</h2>

私のセッションは、<b>一番大きな部屋の「Room A」</b>(A会場) をあてがわれました！光栄です！
14:10 から、A部屋です！「C#で簡単にモバイルアプリを作ろう！」というタイトルでセッションを持っています。

<a href="http://event.shoeisha.jp/devsumi/20170216/timetable#Feb2" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/timeTable.jpg" alt="timetable" width="2286" height="1082" class="alignnone size-full wp-image-4775" /></a>

そして、会場は超満員になりました！壁三面、立ち見です。

↓ ズラッと並ぶ、シニアエンジニアのみなさま（前の方の席はプレス席と関係者席のため空いています）
<img src="https://msdnshared.blob.core.windows.net/media/2017/02/kaijo.jpg" alt="kaijo" width="2261" height="398" class="alignnone size-full wp-image-4545" />

この写真はセッション開始10分前に撮ったもので、実際の開始時はもっとギュウギュウでした。
運営の、翔泳社<a href="https://www.facebook.com/masato.nabeshima" target="_blank">鍋島さん</a>に聞いたところ、
私のセッションには『385名 (15分後の目視カウント)』ほどがいらっしゃったようで、

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-1.01.141.png" alt="screen-shot-2017-02-22-at-1-01-14" width="886" height="98" class="alignnone size-full wp-image-4805" />


<div class="quotation">すごいです！A会場が立ち見で溢れるなんて。。信じられません。</div>

とのことでした！光栄です！ドキドキ、、、！

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">A会場で立ち見が出るって凄いな <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a></p>&mdash; のび太 (@nobita_3_) <a href="https://twitter.com/nobita_3_/status/832455406169399297">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどさん<br>人多すぎ <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a></p>&mdash; きたろー (@ktr_0731) <a href="https://twitter.com/ktr_0731/status/832455481612316674">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">今日はちょまどさん見るために来ました <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a></p>&mdash; ボス (@dainasi33) <a href="https://twitter.com/dainasi33/status/832455876686471170">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr"><a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> の人の群がりっぷりすげぇ</p>&mdash; 100yen (@100yen) <a href="https://twitter.com/100yen/status/832456329226645505">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>セッションの待機列が長蛇の列</h2>

私はスピーカー控え室にいたので待機列のことは知らなかったのですが、
扉の前にズラーーーーーーーっと、とても長かったらしいです！

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr"><a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> ちょまどセッション待機列がものすごい。。。</p>&mdash; Akira Inoue (井上 章) (@chack411) <a href="https://twitter.com/chack411/status/832454187241730053">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどさんセッションの待機列がAB合算でも足りないレベル <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a></p>&mdash; ももも (@momomoblue) <a href="https://twitter.com/momomoblue/status/832453904910544897">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどさんのセッションの待機列ですが、通路を塞ぐ位並んで、第2待機列が形成中なうです。^_^ <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a></p>&mdash; ぜーた (@zetaplusplus) <a href="https://twitter.com/zetaplusplus/status/832452510270967809">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">Aの待ち行列、Microsoftブースの前まで行ってる。<a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a></p>&mdash; baihebu (@baihebu) <a href="https://twitter.com/baihebu/status/832453742414827521">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどセッション列長すぎウケる。退避 <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; hiro (@hiro) <a href="https://twitter.com/hiro/status/832454275397607424">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどさんすごい人気<a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; 結城まお (@yukimao) <a href="https://twitter.com/yukimao/status/832454640054607872">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>私のセッションへの感想</h2>

私のセッションを最後まで聞いてくれた人たちの感想を、ここに。（時系列的には最後に置くべきだけど、でも最初に持ってきたかった）

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどさんは前からやけど。説明がむっちゃ上手い。初めて見る人かわかる説明ができるんやなぁ。わし出来てないわ。 <a href="https://t.co/ECQPNjRJyn">pic.twitter.com/ECQPNjRJyn</a></p>&mdash; TsuyoshiUshio (@sandayuu) <a href="https://twitter.com/sandayuu/status/832461318850359298">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr"><a href="https://twitter.com/hashtag/devsumia?src=hash">#devsumia</a>　あまりに面白いので面白いところばっかツイートしてますが、C#の機能の説明（やや高度）、ライブコーディングで実際のコードを意味を伝えながら見せて、VSの機能もポイント抑えて出してるので良い講演だと思う。</p>&mdash; 黒竹 (@krtkzippo) <a href="https://twitter.com/krtkzippo/status/832462750685163521">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">過去これほどの爆笑を生んだセッションがあっただろうか。。。<a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; 白河　悠 (@shirakawa_yuu) <a href="https://twitter.com/shirakawa_yuu/status/832467876422443010">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどさんという松屋の話ばかりしてるマイクロソフト社員の実力がイマイチ分からなかったのでデブサミの講演聴いたらめちゃくちゃすごかった話 <a href="https://twitter.com/hashtag/%E3%81%AF%E3%81%A6%E3%81%AA%E3%83%96%E3%83%AD%E3%82%B0?src=hash">#はてなブログ</a> <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a><br>【デブサミ2017聴講記】【17-A-4】C#で簡単にモバ…<a href="https://t.co/I4JxBAygnT">https://t.co/I4JxBAygnT</a></p>&mdash; すなであり (@sunadiary) <a href="https://twitter.com/sunadiary/status/833753819699818497">2017年2月20日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>本番5分前</h2>

みんなは会場の扉から入ったいたけど、登壇者は、ステージ裏の、台所とか冷蔵庫とかある「裏」から入った感じ。お姉さんに案内してもらった。寒くてたくさんクシャミした！

（↓自撮り写真が真顔のもの(まるで免許証写真のようだ)しか無いので仕方なくこの写真をチョイス）
<table>
    <tr>
	    <td><img src="https://msdnshared.blob.core.windows.net/media/2017/02/201611_taxi.jpg" alt="201611_taxi" width="300" class="alignnone size-full wp-image-5075" /></td>
	    <td><div class="balloon"><span style="color:#AA3030">私「沢山の人！そして、みんな、私よりもずっと先輩のシニアエンジニアなんだ、そして彼らの貴重な50分間を頂いているのだし、満足して欲しいなあ、頑張らないと！緊張するよ〜！」</span></div></td>
    </tr>
</table>


↓ 本番直前、モニターの接続確認などをしている私の写真

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">次は「C#で簡単にモバイルアプリを作ろう！」を受講します。MSちょまどさんのセッション。立ち見が出るほど、超人気です。<br> <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> <a href="https://t.co/b5jOMTQ7uh">pic.twitter.com/b5jOMTQ7uh</a></p>&mdash; 池田 泰延 (@clockmaker) <a href="https://twitter.com/clockmaker/status/832456426354208769">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr"><a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumia?src=hash">#devsumia</a><br>あと10分です、すでに立ち見があわわわわわわわわわ登壇緊張する <a href="https://t.co/T3NNqmjyjE">pic.twitter.com/T3NNqmjyjE</a></p>&mdash; ちょまど@Python入門中 (@chomado) <a href="https://twitter.com/chomado/status/832456196317597698">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

↑この、会場の写真取ってる私が撮られた写真↓

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">立ち見も出るほどのちょまどセッション(*_*) 大人気！ <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://t.co/EjMonjjmI9">pic.twitter.com/EjMonjjmI9</a></p>&mdash; て＠2月末引越し (@tethon) <a href="https://twitter.com/tethon/status/832457186940825601">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>セッションが始まった！</h2>

14:10、会場の照明が落ち、
私のセッションが始まりました！

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">きゃーちょまどさーん <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> （ちっさい <a href="https://t.co/E1M1sIYIKW">pic.twitter.com/E1M1sIYIKW</a></p>&mdash; ゆぅりる♪ (@yourilyouril) <a href="https://twitter.com/yourilyouril/status/832457534438940672">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>



<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-1.52.40.png" alt="screen-shot-2017-02-22-at-1-52-40" width="1178" height="616" class="alignnone size-full wp-image-4835" />

このセッションについて。対象者は

<ol>
	<li>Microsoft 関連のことに疎遠</li>
	<li>C# わからない</li>
	<li>Xamarin？って何？</li>
</ol>
です。

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-2.02.29.png" alt="screen-shot-2017-02-22-at-2-02-29" width="1290" height="690" class="alignnone size-full wp-image-4855" />

そして、ゴールは
<ol>
	<li><strong>C#</strong> に興味を持つ</li>
	<li>モバイルアプリ開発に、<strong>Xamarin</strong> + <strong>Azure</strong>  を選択肢のひとつに置く</li>
	<li><a href="https://www.visualstudio.com/vs/visual-studio-2017-rc/" target="_blank"><b>Visual Studio 2017</b></a> を入れる(無料)</li>
	<li>web漫画『<a href="https://codeiq.jp/magazine/2015/10/30057/" target="_blank"><b>はしれ！コード学園</b></a>』を読む</li>
</ol>

です！


<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-1.52.50.png" alt="screen-shot-2017-02-22-at-1-52-50" width="1262" height="636" class="alignnone size-full wp-image-4845" />

口頭で説明したのですが、
どうしてツイート大歓迎！かというと、
<div class="quotation">「<b>セッションが終わった後、聞いてくださった皆様の感想が見たい</b>」からです！</div>
あと、皆様の実況により、このブログ記事のように、振り返り記事を後から書けますし！いつもありがとうございます！

<b>写真撮影</b>については、これも口頭で説明したのですが、
<div class="quotation">「仕事で登壇したさい、本社に『○○というイベントで登壇しました』とレポートを書くことになっている。その時、<b>登壇したことを証明するために毎回レポートに写真を貼り付ける必要</b>がある。(必須ではないがあると良い)。それで、私は<b>いつもその写真をツイッターから拾っている</b>。登壇中は自分の写真を撮れないからね。なので、登壇して喋っている私の写真を撮ってSNSでシェアしてくれたら嬉しい！」</div>
ということです！
本当に、いつも助かっています、ありがとうございます！

<h2>Agenda</h2>

今日話すことの目次！
今日はこの4つについて話します：

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-1.53.05.png" alt="screen-shot-2017-02-22-at-1-53-05" width="1312" height="666" class="alignnone size-full wp-image-4846" />

<ol>
	<li>モダンな言語：<strong>C#</strong></li>
	<li>モバイルアプリ開発：<strong>Xamarin</strong></li>
	<li>最新のIDE： <strong>Visual Studio 2017</strong></li>
	<li>クラウド連携： Xamarin + <strong>Azure</strong></li>
</ol>





<h2>まずは自己紹介</h2>

<table>
    <tr>
	    <td><img src="https://msdnshared.blob.core.windows.net/media/2016/04/chomado.jpg" width="150" alt="ちょまど" /></td>
	    <td><div class="balloon"><span style="color:#AA3030">私「プレゼンの最初はアイスブレイクがてらの自己紹介がいいよね！自己紹介なら慣れてるからスラスラできるし！これで温度上げていきます！！」</span></div></td>
    </tr>
</table>

最初は登壇者紹介です！私について。

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">立ち見も出てるとか集客力ハンパない<a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> <a href="https://t.co/rBqNOZK7qq">pic.twitter.com/rBqNOZK7qq</a></p>&mdash; 相蘇@kazaiso (@kazaiso) <a href="https://twitter.com/kazaiso/status/832458263820005377">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-1.53.20.png" alt="screen-shot-2017-02-22-at-1-53-20" width="1322" height="748" class="alignnone size-full wp-image-4815" />
↑私の顔の上に「13」と書いてありますが、これは、MSのAIが写真から人間の顔を検出して年齢を予想してくれるサービス『<a href="https://how-old.net" target="_blank">How old do I look? (私何歳に見える？)</a>』が私を13歳と判定したものです。

自己紹介で「<b>プログラマ兼マンガ家</b>」と書いたので、
描いた漫画の紹介も1枚。

<a href="https://codeiq.jp/magazine/2015/10/30057/" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-1.53.34.png" alt="screen-shot-2017-02-22-at-1-53-34" width="1330" height="736" class="alignnone size-full wp-image-4825" /></a>
第一話：<a href="https://codeiq.jp/magazine/2015/10/30057/" target="_blank">東京Node学園からJavaScriptが転校してきた！──はしれ！コード学園【第1回】</a>
みんな読んでね！

<h2>C# の話</h2>

<table>
    <tr>
	    <td><img src="https://msdnshared.blob.core.windows.net/media/2016/04/chomado.jpg" width="150" alt="ちょまど" /></td>
	    <td><div class="balloon"><span style="color:#AA3030">私「C#の基本的なことからお話ししようかな！」</span></div></td>
    </tr>
</table>

今回の<strong>デブサミ</strong>では、セッション一覧を見るに、
DevOps 系や プロジェクトマネージャー系、Web系、インフラ系、人工知能系、など、非C#系の人が多いかなあと思い、
C#の基本的な話からしました。

<div class="quotation">
C#とは、
Microsoft の開発している
プログラミング言語です。
</div>

つかみとして、"C#" の名前の由来も話しました。

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-2.12.37.png" alt="screen-shot-2017-02-22-at-2-12-37" width="1296" height="684" class="alignnone size-full wp-image-4865" />

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">C#の名前を知っている人→会場の約半数（挙手アンケート<br><br>Cが進化して「C++」、「C++」から進化したら「C++++」？ +記号を動かしたら「C#」。<br><br>初めて知りました。<br> <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; 池田 泰延 (@clockmaker) <a href="https://twitter.com/clockmaker/status/832459385465032706">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>C# はいいぞ</h2>

C# はいいぞ。
ということで、プログラマ目線からの C# の具体的な紹介です！

<h3>C# の持っている機能</h3>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/16777046_1487691254597056_1640467392_o.jpg" alt="16777046_1487691254597056_1640467392_o" width="2048" height="1536" class="alignnone size-full wp-image-4755" />

C# が好き過ぎて Microsoft に入社したくらいですので、C#の話題になると急に流暢に話せるようになります。

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">C#の説明<br>イベント処理を直感的に楽にコーディングできる<br>（コードの話になると急に流暢に話せるフレンズだ…）<br>コレクションの扱いが楽<br>多値戻りができる<br>コレクション処理（LiNQ）<br>非同期、ラムダetc<br>とてもモダンな言語<a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; すなであり (@sunadiary) <a href="https://twitter.com/sunadiary/status/832460155736379395">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-2.34.00.png" alt="screen-shot-2017-02-22-at-2-34-00" width="1328" height="888" class="alignnone size-full wp-image-4895" />

<ul>
	<li>多値戻り値を可能にする <b>タプル</b></li>
	<li>コレクション操作のための <b>LINQ</b></li>
	<li>非同期処理のための <b>async/await</b></li>
	<li>型引数を受け取る <b>ジェネリクス</b></li>
	<li>匿名関数 <b>ラムダ式</b>  … などなど</li>
</ul>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">C#の機能<br>・多値戻り値を可能にするタプル<br>・コレクション操作のためのLINQ<br>・async/await<br>・ジェネリクス<br>・匿名関数ラムダ式<br><br>いくつかTypeScriptでもありますね！<br> <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> <a href="https://t.co/0iGKTtilxJ">pic.twitter.com/0iGKTtilxJ</a></p>&mdash; 池田 泰延 (@clockmaker) <a href="https://twitter.com/clockmaker/status/832460832227291136">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

↑ ちなみに、TypeScript (コンパイルすると JavaScript のソースコードを出力する)も Microsoft が (オープンソースで)開発している言語です

<h3>サンプルコード</h3>

C# は様々な機能を持っていますが、サンプルコードを2つだけご紹介しました。


<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">C#愛を全力で語るちょまどさん <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; じゅげむ (@jugemsan) <a href="https://twitter.com/jugemsan/status/832459582806990850">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>


<img src="https://msdnshared.blob.core.windows.net/media/2017/02/C4195rUUEAEbFMZ.jpg-large-2.jpeg" alt="c4195ruueaebfmz-jpg-large-2" width="1024" height="576" class="alignnone size-full wp-image-4655" />

<span style="color:#AA3030">( *ﾟ▽ﾟ*  っ)З「会場には優秀なエンジニアの先輩方ばかりだからね！言葉で説明するより実際にコード見てもらったほうが理解してもらえると思ったのよ」</span>

<h3>コレクション操作：LINQ</h3>

<table>
    <tr>
	    <td><img src="https://msdnshared.blob.core.windows.net/media/2016/04/chomado.jpg" width="150" alt="ちょまど" /></td>
	    <td><div class="balloon"><span style="color:#AA3030">私「LINQは目玉機能のひとつだもんね！前からあるもので」</span></div></td>
    </tr>
</table>

コレクションを操作する時に、C#には <b>LINQ</b>(リンク)という超便利な機能があります。
<span class="code">Where</span>とか<span class="code">Select</span>とか SQL文みたいな感じのをメソッドチェーンで書くことができます。

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-2.16.18.png" alt="screen-shot-2017-02-22-at-2-16-18" width="1668" height="942" class="alignnone size-full wp-image-4885" />

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">lambda LINQすばらしい。 <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> そう、これがあるからC#は中毒性がある。</p>&mdash; ゆぅりる♪ (@yourilyouril) <a href="https://twitter.com/yourilyouril/status/832459834406506496">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>


<h3>イベントがかっこよく書ける</h3>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-2.16.11.png" alt="screen-shot-2017-02-22-at-2-16-11" width="1684" height="940" class="alignnone size-full wp-image-4875" />

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">イベントの書き方簡単ですねーC#すばらしいですねー <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> うん、これ(delegate)はほんと素晴らしいと思う。</p>&mdash; ゆぅりる♪ (@yourilyouril) <a href="https://twitter.com/yourilyouril/status/832459633910444034">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">C#のコード、TypeScriptみたいです。アロー関数とか。<a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; 池田 泰延 clockmaker_bot (@clockmaker_bot) <a href="https://twitter.com/clockmaker_bot/status/832459657281097728">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>C# + VS2017 デモ</h2>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-3.29.16.png" alt="screen-shot-2017-02-22-at-3-29-16" width="1308" height="726" class="alignnone size-full wp-image-4915" />

「では実際にお見せしましょう」

と、Visual Studio 2017 RC を起動！
(<a href="https://www.visualstudio.com/vs/" target="_blank"><strong>Visual Studio</strong></a>とは、Microsoftの開発している、超強力 IDE です。<a href="https://www.visualstudio.com/vs/" target="_blank">無料版(Communityエディション)もあります</a>)

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/live-coding.jpeg" alt="live-coding" width="1963" height="1339" class="alignnone size-full wp-image-4765" />

ライブコーディングに沸き立つ会場

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ライブコーディングだと！ <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; じゅげむ (@jugemsan) <a href="https://twitter.com/jugemsan/status/832460267795517440">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ライブコーディングとは斬新！<a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; 白河　悠 (@shirakawa_yuu) <a href="https://twitter.com/shirakawa_yuu/status/832460391598870529">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>


<h3>ライブコーディングで書いたコード</h3>

ライブドア社提供のお天気APIを使用させていただきました！
<a href="http://weather.livedoor.com/weather_hacks/webservice" target="_blank">こちらのページ</a>に書いてあるように、JSONデータを返してくれる REST API を提供してくれています。
今回はそれを叩いて非同期で取得し、それをデシリアライズして表示する、ということをしました。

サンプルのJSONデータはこちら：
<a href="http://weather.livedoor.com/forecast/webservice/json/v1?city=400040" target="_blank">http://weather.livedoor.com/forecast/webservice/json/v1?city=400040</a>

<script src="https://gist.github.com/chomado/68b060d63d2229376dfaae7277538ed9.js"></script>


<h3>Visual Studio 2017 は、起動と.slnファイルの展開が速い</h3>

<b>Visual Studio 2017 は起動と.slnファイルの展開が速い</b>よ！
と解説しながら VS 2017 を操作。

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">お、VS2017デモだ。一見2015とかわらんけど、プロジェクトテンプレからの生成確かに早い。 <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; ゆぅりる♪ (@yourilyouril) <a href="https://twitter.com/yourilyouril/status/832460346753363969">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">VS2017、確かにプロジェクト生成がめっちゃ早い。VS2015と比較にならない <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; じゅげむ (@jugemsan) <a href="https://twitter.com/jugemsan/status/832460393259765761">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">VS2017のプロジェクト作成はえぇ <a href="https://twitter.com/hashtag/devsumia?src=hash">#devsumia</a></p>&mdash; いずみ☆ (@yunie564) <a href="https://twitter.com/yunie564/status/832460394832670721">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">VS2017確かに速い！起動も速かった気がする <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a></p>&mdash; て＠2月末引越し (@tethon) <a href="https://twitter.com/tethon/status/832460484380987393">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr"><a href="https://twitter.com/hashtag/devsumia?src=hash">#devsumia</a>　VS2017でライブコーデング。プロジェクト作成が2017で早くなったそう。</p>&mdash; 黒竹 (@krtkzippo) <a href="https://twitter.com/krtkzippo/status/832460632003743747">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr"><a href="https://twitter.com/hashtag/devsumia?src=hash">#devsumia</a>　確かに速い。2015は立ち上がるまでコーヒー一口くらい飲めるんだが。</p>&mdash; 黒竹 (@krtkzippo) <a href="https://twitter.com/krtkzippo/status/832460825319215108">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>クリップボードの生JSONをclassに変換してくれるVSの機能</h2>

Visual Studio には、
コピーした生JSON (クリップボードの生JSON)を「<strong>JSONをクラスとして貼り付ける</strong>」という機能があります！(VS2017の新機能ではなく元々ある機能です。)

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/20150709124431.png" alt="20150709124431" width="805" height="527" class="alignnone size-full wp-image-4896" />
(↑画像は MS MVP の<a href="http://blog.shibayan.jp/entry/20130711/1373549632" target="_blank">しばやんさんのブログ</a>から)

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/16811012_1794288444167630_776498196_o.png" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/16811012_1794288444167630_776498196_o.png" alt="16811012_1794288444167630_776498196_o" width="1172" height="935" class="alignnone size-full wp-image-4905" /></a>

詳細：<a href="http://qiita.com/kirareyaku/items/3e108b2b6c7f2a7e0b21" target="_blank">VisualStudio コピペ JSONをClassとして貼り付けられるtips</a>

これがなかなかインパクトがあったようです！

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">json テキストをクラスに変換できるやつはすげえ。さすがVisual Studioさんやで <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; Takeshi, Fujiki (@takecian) <a href="https://twitter.com/takecian/status/832462677691633664">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">jsonをクラスに一発変換 <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> ← これは堕落する機能！！！１１１</p>&mdash; ゆぅりる♪ (@yourilyouril) <a href="https://twitter.com/yourilyouril/status/832462570741067776">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">うへぇvs2017気持ち悪いくらい頭いいな <a href="https://twitter.com/hashtag/devsumia?src=hash">#devsumia</a></p>&mdash; みつを (@senile_child) <a href="https://twitter.com/senile_child/status/832462626806304769">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr"><a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> VisualStudioに、JSONを「形式を選択して貼りつけ」してクラス作る機能が付いてるの初めて知った！いつからあるんだろう</p>&mdash; Pika- (@PikachuPunch) <a href="https://twitter.com/PikachuPunch/status/832463126465388544">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

オリジナルのJSON：
<script src="https://gist.github.com/chomado/e651b52f56a18f39fe91d89d5eb6fb09.js"></script>

VSによって「自動的に」classに変換されたもの：
<script src="https://gist.github.com/chomado/2e72337a7bb7e6d084a520640b13f642.js"></script>


<h2>ライブコーディング！</h2>

今のところ順調です。

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">解説しながらのライブコーディングやっぱうまいなぁ。練習しよう。 <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; ゆぅりる♪ (@yourilyouril) <a href="https://twitter.com/yourilyouril/status/832460838048968705">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどさん、ライブコーティング中なうです。 <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> <a href="https://t.co/GD8P1iHaM5">pic.twitter.com/GD8P1iHaM5</a></p>&mdash; ぜーた (@zetaplusplus) <a href="https://twitter.com/zetaplusplus/status/832461645280485376">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr"><a href="https://twitter.com/hashtag/devsumia?src=hash">#devsumia</a>　あまりに面白いので面白いところばっかツイートしてますが、C#の機能の説明（やや高度）、ライブコーディングで実際のコードを意味を伝えながら見せて、VSの機能もポイント抑えて出してるので良い講演だと思う。</p>&mdash; 黒竹 (@krtkzippo) <a href="https://twitter.com/krtkzippo/status/832462750685163521">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

デモは8割くらいうまく行っていました。今のところ順調です。

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">（ちょまどさんの講演のライブ感すごいなー）<br>（無事Json非同期取得して表示するデモに成功し、某DevOpsエバンジェリストとの筋肉量の違いを見せつける）<br>awaitで非同期処理完了を待つ<br>Jsonのクラス変換機能を持つVS2017<a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; すなであり (@sunadiary) <a href="https://twitter.com/sunadiary/status/832462926262853632">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>トラブル：会場のネット環境が貧弱</h2>

しかし。

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">A,B,Eの電波の入りがすこぶる悪い<br>壁に近いからしかたないな<a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a></p>&mdash; panage (@panage_tky) <a href="https://twitter.com/panage_tky/status/832454969072627712">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>


<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">この会場、wifi混雑し過ぎ。ちょまどさんのセッション、上手く行くかな？^^; <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; ぜーた (@zetaplusplus) <a href="https://twitter.com/zetaplusplus/status/832456660786384896">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

この会場、なんだか、ものすごい、ネットワークが、貧弱だったのです…！

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">会場の回線がゴミ過ぎてテキストデータを落とせず狼狽してる</p>&mdash; 丸の内ﾎﾟﾀｷ (@goodstoriez) <a href="https://twitter.com/goodstoriez/status/832460696411463680">February 17, 2017</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ねっとわーくがー <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; ゆぅりる♪ (@yourilyouril) <a href="https://twitter.com/yourilyouril/status/832461028231229441">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr"><a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> 講演者に安定したインターネット接続が提供されないのは色々とマズイと思う・・・</p>&mdash; 邑 (@nhiro78) <a href="https://twitter.com/nhiro78/status/832462130678861825">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">vaioのcmみたいな状態やな。ネットワークが繋がらないのつらい <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a></p>&mdash; て＠2月末引越し (@tethon) <a href="https://twitter.com/tethon/status/832461772485320706">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ネットワーク使うデモはことごとく失敗してる気がする。せめて講演者用は用意してあげればいいのに。 <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/DevsumiA?src=hash">#DevsumiA</a></p>&mdash; Ikou Sanuki (@i_sanuki) <a href="https://twitter.com/i_sanuki/status/832462446463852544">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

本番前。

私の前のスロットでセッションをしていた、同じく Microsoftのテクニカルエバンジェリストである牛尾さんから、
スピーカー控え室にて

<table>
    <tr>
	    <td><img src="https://msdnshared.blob.core.windows.net/media/2017/02/ph05.png" alt="ph05" width="150" height="200" class="alignnone size-full wp-image-5055" /></td>
	    <td><div class="balloon"><span style="color:#3030AA">牛尾さん「ネットワーク要注意でっせ。ネットが全く機能せんでワシはデモ全部失敗してん...無念」</span></div><br>(写真は<a href="http://special.nikkeibp.co.jp/atcl/ITP/15/devops1015/" target="_blank">日経BPさんのITpro記事</a>から)</td>
    </tr>
</table>



というアドバイスを賜っていました。
あまりに会場のネットワークが弱すぎて、彼はネットを使ったデモが全滅してしまったらしいです…。(VSTS を見せようと Webブラウザを開いても真っ白の画面)

↓牛尾さんのセッション(RoomB)を見ていた人のツイート
<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ネットワークが繋がらずデモが全然できないトラップ発動中<a href="https://twitter.com/hashtag/devsumiB?src=hash">#devsumiB</a></p>&mdash; カメモゲ (@kamemoge) <a href="https://twitter.com/kamemoge/status/832422070747222017">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

なので、私は事前に<b>念のためにバックアップ用として、デモの動画を撮っておいた</b>のです。
使うことがなければいいだけど、念のために、と。

んで、
予想通り、<b>VSの NuGet Package</b> (C#のパッケージ管理ツールシステム。Rubyのgemのような)<b>Manager を起動しても「読み込み中」のまま</b>という悲劇になったので

<table>
    <tr>
	    <td><img src="https://msdnshared.blob.core.windows.net/media/2017/02/201611_taxi.jpg" alt="201611_taxi" width="300" class="alignnone size-full wp-image-5075" /></td>
	    <td><div class="balloon"><span style="color:#AA3030">私「ネットワークの問題で、NuGet Package Manager が読み込めないので、ここから先は、バックアップ用の動画に切り替えます」</span></div></td>
    </tr>
</table>



と、プランB 発動。

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">こんなこともあろうかと、の連続 <a href="https://twitter.com/hashtag/devsumia?src=hash">#devsumia</a></p>&mdash; みつを (@senile_child) <a href="https://twitter.com/senile_child/status/832461689467449346">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

とはいえ、デモは8割くらいライブで成功していました。
最後までライブでやりきることができなくて悔しい。運営さん、来年はスピーカー用のネットワークだけでも改善して欲しいです。

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ネットワーク不調を見越して動画用意しているちょまどさん優秀 <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; じゅげむ (@jugemsan) <a href="https://twitter.com/jugemsan/status/832462446757507072">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">バックアップとってと言ってた先輩優秀。 <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> ← 大事な場面ほどplanBを準備。対岸の火事とせねば。</p>&mdash; ゆぅりる♪ (@yourilyouril) <a href="https://twitter.com/yourilyouril/status/832462896487505920">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどさんの場合はちゃんと動画をとってあったからよかった。<br>筋肉の人は大変そうだったからなぁ#devsumi <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; 白河　悠 (@shirakawa_yuu) <a href="https://twitter.com/shirakawa_yuu/status/832463206455013376">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

↑「筋肉の人」とは牛尾さんのことです

<h2>デモのおさらい</h2>

私はいつも、デモをやった後は必ず「今何をしたか」の おさらい をします。

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">おさらい入るのいいな <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; キクタロー@エバスク役職ボッター (@kikutaro_) <a href="https://twitter.com/kikutaro_/status/832463073508089859">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/C43Dzg3UYAAF6A4.jpg-large-2.jpeg" alt="c43dzg3uyaaf6a4-jpg-large-2" width="2048" height="1536" class="alignnone size-full wp-image-4745" />

ライブコーディングで書いたコードは全てこちらにあります：
<a href="https://github.com/chomado/ConsoleApp1" target="_blank">https://github.com/chomado/ConsoleApp1</a>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-3.30.40.png" alt="screen-shot-2017-02-22-at-3-30-40" width="1320" height="660" class="alignnone size-full wp-image-4925" />

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-3.31.01.png" alt="screen-shot-2017-02-22-at-3-31-01" width="1300" height="726" class="alignnone size-full wp-image-4935" />

<h3>C# もオープンソースだよ！</h3>

<a href="https://github.com/dotnet/roslyn" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-3.37.48.png" alt="screen-shot-2017-02-22-at-3-37-48" width="1524" height="728" class="alignnone size-full wp-image-4945" /></a>

<h2>皆も Visual Studio 使ってね！</h2>

<a href="https://www.visualstudio.com/vs/" target="_blank"><strong>Visual Studio</strong></a>とは、Microsoftの開発している、超強力 IDE です。<a href="https://www.visualstudio.com/vs/" target="_blank">無料版(Communityエディション)もあります</a>。

一応<a href="https://www.visualstudio.com/vs/visual-studio-mac/" target="_blank">Mac版の Visual Studio</a>もありますが、こちらは2016年秋に発表されたばかりで、現在はまだ「プレビュー版」です。（今日紹介した「JSONをclassに変換して貼り付け」などの細かい便利機能などが未実装）
Windows版はフル機能です

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">Visual Studio for Macは無料<a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; 池田 泰延 clockmaker_bot (@clockmaker_bot) <a href="https://twitter.com/clockmaker_bot/status/832463848485449733">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">歴代のVisual Studioを紹介。Visual Studioは今年で20周年。<a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://t.co/Uuq9z67zWL">pic.twitter.com/Uuq9z67zWL</a></p>&mdash; 池田 泰延 (@clockmaker) <a href="https://twitter.com/clockmaker/status/832468125593395200">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどさんのセッションが終わりました。^_^ <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> <a href="https://t.co/8br3kI90Al">pic.twitter.com/8br3kI90Al</a></p>&mdash; ぜーた (@zetaplusplus) <a href="https://twitter.com/zetaplusplus/status/832469010511917057">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h3>VS2017の新機能デモ</h3>

時間がなくて VS2017 の新機能のひとつ Live Unit Testing の機能のデモができなかった！

ということもあろうかと、前もって詳しい手順をすべて記事にしておきました。ご覧ください

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ブログ書いたよ！テスト系の記事は初めて書いた！一生懸命書いたからぜひ読んでみてね！<br>ー<br>[VS2017新機能] 単体テストを書いてみよう！Live Unit Testing を試してみる手順書 <a href="https://t.co/TvVzcBmR0q">https://t.co/TvVzcBmR0q</a></p>&mdash; ちょまど@Python入門中 (@chomado) <a href="https://twitter.com/chomado/status/832373247089860608">2017年2月16日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr"><a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumia?src=hash">#devsumia</a><br>今日のセッションのフォローアップ記事その2です。<br>今日触れた Visual Studio 2017 の新機能の１つについてご紹介しています<a href="https://t.co/9iaHgQizAl">https://t.co/9iaHgQizAl</a></p>&mdash; ちょまど@Python入門中 (@chomado) <a href="https://twitter.com/chomado/status/832575416707604480">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>C# は どこでも動くぞ！</h2>

.NET環境があれば C#はどこでも動くぞ！ Androidでもどこでも！

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">C#はマイクロソフトのオレオレ言語じゃなくてすべての.NETプラットフォームで動くイコールmacでもLinuxでも動く高級言語！<br>Visual Stusio for Macもあるよ<br>C#ではウィンドウズアプリも、ホロレンズも、モバイルアプリも作れる<a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; すなであり (@sunadiary) <a href="https://twitter.com/sunadiary/status/832464147522613249">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-3.40.51.png" alt="screen-shot-2017-02-22-at-3-40-51" width="902" height="1592" class="alignnone size-full wp-image-4955" />

<h2>Xamarin</h2>

Microsoft 入社前はずっと Xamarin でスマホアプリを作る developer だったので、経験者です！

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">発表の流れうまいよなぁ。おー、Xamarin使おうってなる気が(^^;; <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; キクタロー@エバスク役職ボッター (@kikutaro_) <a href="https://twitter.com/kikutaro_/status/832465854386184194">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>


<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-3.41.51.png" alt="screen-shot-2017-02-22-at-3-41-51" width="1122" height="690" class="alignnone size-full wp-image-4965" />

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-3.42.01.png" alt="screen-shot-2017-02-22-at-3-42-01" width="1282" height="634" class="alignnone size-full wp-image-4975" />

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-3.42.31.png" alt="screen-shot-2017-02-22-at-3-42-31" width="1606" height="1004" class="alignnone size-full wp-image-4995" />

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-3.42.11.png" alt="screen-shot-2017-02-22-at-3-42-11" width="1296" height="714" class="alignnone size-full wp-image-4985" />

Xamarin は、コード共有化が美味しいよね！
まあ何より C#だけで開発できるのが一番の旨味だと思うけど！(by C# lover)

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-3.43.53.png" alt="screen-shot-2017-02-22-at-3-43-53" width="1498" height="800" class="alignnone size-full wp-image-5005" />

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">「そこでXamarinですよ」の言い慣れた感<br>バックエンドもUIもコード共有化できる。分離しない<br>最低6割、最大9割以上共有化<br>ハードウェア依存の機能は共有化できない（バッテリー制御とか）<br>WindowsでiOSアプリ作る場合はMacが必要<a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; すなであり (@sunadiary) <a href="https://twitter.com/sunadiary/status/832466682496978946">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h3>Xamarin もオープンソースだよ！</h3>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">C#とXamarinがオープンソースだってこと初めて知った <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; Shinya Yaginuma (@Shinya_is_Now) <a href="https://twitter.com/Shinya_is_Now/status/832494613302632448">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-16.29.45.png" alt="screen-shot-2017-02-22-at-16-29-45" width="1568" height="898" class="alignnone size-full wp-image-5045" />

<h2>Microsoft Azure (アジュール)</h2>

Microsoft Azure (アジュール)について！

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-4.06.43.png" alt="screen-shot-2017-02-22-at-4-06-43" width="904" height="1594" class="alignnone size-full wp-image-5015" />

↓セッションの内容はすべてこちらの記事にまとまっています！↓

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr"><a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a><br>今日のセッションのフォローアップ記事！<br>ーー<br>[無料] Xamarin と Azure で、超効率的にクラウドと繋がるモバイルアプリを作ろう！[Azure Mobile Apps][MBaaS] <a href="https://t.co/F3QhW7ENYa">https://t.co/F3QhW7ENYa</a></p>&mdash; ちょまど@Python入門中 (@chomado) <a href="https://twitter.com/chomado/status/832573787765772289">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>まとめ</h2>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-1.53.05.png" alt="screen-shot-2017-02-22-at-1-53-05" width="1312" height="666" class="alignnone size-full wp-image-4846" />

<ul>
	<li>言語<strong>C＃</strong>はいいぞ</li>
	<li>クロスプラットフォーム開発ツール<strong>Xamarin</strong>はいいぞ</li>
	<li>神IDE<strong>Visual Studio 2017</strong>はいいぞ</li>
	<li>MSのクラウドサービス<strong>Microsoft Azure</strong>はいいぞ</li>
</ul>



<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">C＃はいいぞ<br>Xamarinはいいぞ<br>VisualStudio2017はいいぞ<br>Azureはいいぞ<a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; 白河　悠 (@shirakawa_yuu) <a href="https://twitter.com/shirakawa_yuu/status/832468385145368576">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>皆の感想</h2>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ライブ感のすごいセッションで面白かったー。<a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; すなであり (@sunadiary) <a href="https://twitter.com/sunadiary/status/832469614898470912">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">「吹いたお茶返せwww」レベルの超セッションだった(褒め言葉) <a href="https://twitter.com/hashtag/devsumia?src=hash">#devsumia</a></p>&mdash; いずみ☆ (@yunie564) <a href="https://twitter.com/yunie564/status/832469030191575040">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">熱い C# 推しだった <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; タイプ：ネル (@akatsuki3840) <a href="https://twitter.com/akatsuki3840/status/832469097367494660">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどワールド炸裂で楽しかったです。人がすごい多かったのは、xamarinへの期待や興味の表れでしょう。VS2017,.NETcore頑張ってほしい。 <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; wolf.masa (@wolfmasa) <a href="https://twitter.com/wolfmasa/status/832471298550833152">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr"><a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> C#に興味でたかな～。ちょっとやってみようかな。。。</p>&mdash; Natsu.Yuzu (@NatsuYuzu18) <a href="https://twitter.com/NatsuYuzu18/status/832471718631321600">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどさんは前からやけど。説明がむっちゃ上手い。初めて見る人かわかる説明ができるんやなぁ。わし出来てないわ。 <a href="https://t.co/ECQPNjRJyn">pic.twitter.com/ECQPNjRJyn</a></p>&mdash; TsuyoshiUshio (@sandayuu) <a href="https://twitter.com/sandayuu/status/832461318850359298">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">とてもわかりやすいセッションでした！ Visual Studio 2017の凄さを垣間見たので、RC(無料)をさっそく試してみます（IDE/エディターマニアとして）。<a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a></p>&mdash; 池田 泰延 (@clockmaker) <a href="https://twitter.com/clockmaker/status/832468885014056960">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">Xamarin 使ってアプリ開発してみたいなって思うセッションでしたヽ(^o^)丿 <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> <a href="https://t.co/WV16MKZLXL">pic.twitter.com/WV16MKZLXL</a></p>&mdash; けむりだまくんはいつもけだるげ (@supernova_exp) <a href="https://twitter.com/supernova_exp/status/832470247533711361">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">Xamarin選択肢の１つとして覚えておく。 <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; 8022 (@8022) <a href="https://twitter.com/8022/status/832472785163210752">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどさんのセッション楽しくて良かった、日本マイクロソフトは昨年の牛尾さんのやつとかも行ったけどエンターテイメント感ある。<br>内容的にはC#すごいと思った(こなみ)<br>今までJavaと同じ立ち位置と勝手に思ってたけど、色々簡単に出来るんだな。<br> <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumia?src=hash">#devsumia</a></p>&mdash; イカのせっと (@ikanoset) <a href="https://twitter.com/ikanoset/status/832479306546688002">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">Xamarinのセッション、Ask the speakerに行列できてる。色んな意味ですごいなー。 <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; pale2f (@pale2f) <a href="https://twitter.com/pale2f/status/832471765972496384">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">大切なこと皆さんツイートし忘れてないですか？<br><br>ちょまどさん( <a href="https://twitter.com/chomado">@chomado</a> )可愛かった！！！！！<br><br>そうでしょう！！！！！！！！<a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a></p>&mdash; Masayuki@プログラマ（Lv.4） (@Masayuk0418) <a href="https://twitter.com/Masayuk0418/status/832513884053348352">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">初めてのデブサミ、良かったです。ちょまどさんの声が聞けました。<a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://t.co/GamQQyoKNy">pic.twitter.com/GamQQyoKNy</a></p>&mdash; Kayo Nozawa (@degiringo) <a href="https://twitter.com/degiringo/status/832536808479002624">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ちょまどセッション、割とおもろかった</p>&mdash; 丸の内ﾎﾟﾀｷ (@goodstoriez) <a href="https://twitter.com/goodstoriez/status/832468914219016192">February 17, 2017</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">勉強になったのでトゥギャりました。C#とXamarin、VS2017、Azureについてのセッションです。<a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a><br><br>デブサミ「C#で簡単にモバイルアプリを作ろう！」 <a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> - Togetterまとめ <a href="https://t.co/ToCOytZNP2">https://t.co/ToCOytZNP2</a></p>&mdash; 池田 泰延 (@clockmaker) <a href="https://twitter.com/clockmaker/status/832475097994661888">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">ハッシュタグ付け忘れてたから再投稿！<br><br>Visual Studio 2017 正式リリース記念イベント！<br>私も登壇するよ！ぜひ来てね！わーい！<br><br>3/8(水) 19時から品川で！<a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumia?src=hash">#devsumia</a><a href="https://t.co/RKYFxh8zQQ">https://t.co/RKYFxh8zQQ</a></p>&mdash; ちょまど@Python入門中 (@chomado) <a href="https://twitter.com/chomado/status/832475352056213505">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>


<h2>私の学び</h2>
<ol>
	<li><b>登壇直前の「スピーカー控え室」重要</b>。先に登壇を済ませている先輩方がアドバイスや警告をくれたりする。（例：今回は先輩エバンジェリストの牛尾さんがネットワークやばいと教えてくれたから対策が練れた）</li>
	<li>会場のネットワークが貧弱な危険を考えて、ライブコーディングのデモは、<b>バックアップ用の事前録画しておいたビデオを用意しておくの大切</b>。常に「プランB」を用意。</li>
	<li>シニアエンジニアの方々、優しい。ネットワークの問題でライブコーディングを途中で諦め、動画に切り替える際、ちょっと停滞してしまったんですけど、皆優しかった。やはり<b>真に強い強者は弱者に優しい</b>のだ</li>
	<li>会場の目黒雅叙園、素敵なところだった！お手洗いの中に川が流れてたり橋が設置してあったり、あと、鯉が泳いでた</li>
</ol>




<h2>最後はアフタヌーンティー</h2>

会場が素敵なところだったので、登壇後は大好きな紅茶とスイーツです！

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">デベロッパーズサミット登壇後、<br><br>登壇者数＆MVPの人たち数名と一緒に<br><br>会場の目黒雅叙園でアフタヌーンティー！<br><br>お疲れ様のアールグレイ！<br>ヽ（ヽ *ﾟ▽ﾟ*）ノわーい！<a href="https://twitter.com/hashtag/devsumi?src=hash">#devsumi</a> <a href="https://twitter.com/hashtag/devsumiA?src=hash">#devsumiA</a> <a href="https://t.co/tTmn98Jdlk">pic.twitter.com/tTmn98Jdlk</a></p>&mdash; ちょまど@Python入門中 (@chomado) <a href="https://twitter.com/chomado/status/832502475340984320">2017年2月17日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>登壇後の夜は渋谷で英語コミュニケーションで登壇</h2>

<table>
    <tr>
	    <td><img src="https://msdnshared.blob.core.windows.net/media/2017/02/201611_taxi.jpg" alt="201611_taxi" width="300" class="alignnone size-full wp-image-5075" /></td>
	    <td><div class="balloon"><span style="color:#AA3030">私「登壇後、ものすごい疲れてたけど、アフタヌーンティーを楽しんだし、そのまま渋谷に移動して、英語の練習だよ！英語でみんなの前で話す！」</span></div></td>
    </tr>
</table>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-22-at-17.37.41.png" alt="screen-shot-2017-02-22-at-17-37-41" width="1514" height="818" class="alignnone size-full wp-image-5085" />

<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">昨日はデベロッパーズサミット(目黒)での登壇後の夜、<br><br>そのまま渋谷に移動し、<br>英語コミュニティで登壇してきました！<br><br>もっと英語話さないとなあ <a href="https://t.co/aRXbdaVES9">pic.twitter.com/aRXbdaVES9</a></p>&mdash; ちょまど@Python入門中 (@chomado) <a href="https://twitter.com/chomado/status/832821469155504128">February 18, 2017</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>

<h2>私のセッションを見た人の感想ブログ</h2>

<ul>
	<li><a href="http://sunadiary.hatenablog.com/entry/2017/02/21/033754" target="_blank">【デブサミ2017聴講記】【17-A-4】C#で簡単にモバイルアプリを作ろう！｜砂日記ばーじょん2.0</a></li>
	<li><a href="http://naoqoo23.hatenablog.com/entry/2017/02/17/234646?_ga=1.158261624.314485528.1483602092#17-A-4Cで簡単にモバイルアプリを作ろう" target="_blank">デブサミ2017に行ってきた（２日目）｜青魔道士SEのブログ</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>[VS2017新機能] 単体テストを書いてみよう！Live Unit Testing を試してみる手順書</title>
      <link>https://docs.microsoft.com/archive/blogs/chomado/vs2017-new-feature-live-unit-testing</link>
      <pubDate>Fri, 17 Feb 2017 00:14:33 GMT</pubDate>
      <dc:creator><![CDATA[chomado]]></dc:creator>
      <guid
        isPermaLink="false">http://blogs.msdn.microsoft.com/chomado/?p=4255</guid>
      <description><![CDATA[Microsoft の最新のIDE Visual Studio 2017 に、新機能のLive Unit Testing(ライブ ユニット テスト)の機能が導入されました。
Live Unit...]]></description>
      <content:encoded><![CDATA[Microsoft の最新のIDE <a href="https://www.visualstudio.com/vs/visual-studio-2017-rc/" target="_blank">Visual Studio 2017</a> に、新機能の<strong>Live Unit Testing</strong>(ライブ ユニット テスト)の機能が導入されました。
<strong>Live Unit Testing</strong>では、<b>コードの編集中にバックグラウンドで影響範囲のユニットテストが実行</b>され、
その結果やテスト範囲が<b>リアルタイムで</b>エディターにわかりやすく表示されます。
コード変更の既存テストへの影響のほか、新たに追加したコードが既存のテスト範囲でカバーされているかどうかも即座にフィードバックされます。このため、バグの修正や機能の追加の際に、ユニットテストの作成が必要かどうかを把握できます。

(Visual Studio 2017 については、<a href="https://www.visualstudio.com/vs/visual-studio-2017-rc/" target="_blank">こちら</a>で無料でインストールできます。(Windowsのみ))

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-23.36.37.png" alt="screen-shot-2017-02-16-at-23-36-37" width="1280" height="738" class="alignnone size-full wp-image-4355" />

この記事では、その<strong>Live Unit Testing</strong>の機能の紹介の他に、
<b>単体テストの書き方</b>も、丁寧に解説しながらご紹介します！（スクショたくさん撮りながら丁寧に書いたから、すごい時間かかった…明日<a href="http://event.shoeisha.jp/devsumi/20170216/session/1282/" target="_blank">デベロッパーサミットで登壇</a>なのに…）

一生懸命書いたので、ぜひご覧ください！

（この<strong>Live Unit Testing</strong>の機能は Enterprise エディションでの提供です）

<a href="http://b.hatena.ne.jp/entry/s/blogs.msdn.microsoft.com/chomado/mobile-devops/vs2017-new-feature-live-unit-testing/" class="hatena-bookmark-button" title="このエントリーをはてなブックマークに追加"><img src="https://b.st-hatena.com/images/entry-button/button-only@2x.png" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none" /></a><script type="text/javascript" src="https://b.st-hatena.com/js/bookmark_button.js"></script>

<h2>目次</h2>

<ol>
	<li><a href="#1">手順1「テストを書く準備が整うまで」</a></li>
	<li><a href="#2">手順2「テスト対象の実装」</a></li>
	<li><a href="#3">手順3「テストを書く」</a></li>
	<li><a href="#4">手順4「テストを動かしてみる！Live Unit Testing」</a></li>
	<li><a href="#5">手順5「テストケースを1つ増やしてみる」</a></li>
	<li><a href="#6">参考</a></li>
</ol>

<a id="1"></a>
<h2>手順1「テストを書く準備が整うまで」</h2>

↓ プロジェクトの新規作成

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-23.15.13.png" alt="screen-shot-2017-02-16-at-23-15-13" width="1458" height="468" class="alignnone size-full wp-image-4265" />

↓ コンソールアプリを選択し、名前をつけて「OK」しましょう。
（この例では <span class="code">LiveUnitTestSample</span>と命名しました。）

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-23.13.36.png" alt="screen-shot-2017-02-16-at-23-13-36" width="1886" height="1314" class="alignnone size-full wp-image-4275" />

↓ このような画面になります。空っぽの Main 関数があるだけです

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.25.13.png" alt="screen-shot-2017-02-16-at-20-25-13" width="2228" height="1264" class="alignnone size-full wp-image-4285" />

↓ ユニットテストのプロジェクトも追加しましょう。

右の「ソリューションエクスプローラー」で、
ソリューションを右クリック→「追加」→「新しいプロジェクト」

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.25.24.png" alt="screen-shot-2017-02-16-at-20-25-24" width="1392" height="1356" class="alignnone size-full wp-image-4295" />

↓ 左のテンプレートカラムから
「テスト」→「単体テストプロジェクト (.NET Framework)」→（名前編集）→「OK」
（この例では <s>名前考えるの面倒で</s> デフォルトのままの <span class="code">UnitTestProject1</span>と命名しました。）

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.25.55.png" alt="screen-shot-2017-02-16-at-20-25-55" width="1886" height="1312" class="alignnone size-full wp-image-4305" />

↓ このような画面になります

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.26.30.png" alt="screen-shot-2017-02-16-at-20-26-30" width="2226" height="1258" class="alignnone size-full wp-image-4315" />

↓ この単体テストプロジェクトが、最初に作った <span class="code">LiveUnitTestSample</span>プロジェクト(テストされる側のプロジェクト)を参照できるようにしましょう。

「参照」を右クリック→「参照の追加」

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.27.46.png" alt="screen-shot-2017-02-16-at-20-27-46" width="894" height="824" class="alignnone size-full wp-image-4325" />

↓ 最初に作った <span class="code">LiveUnitTestSample</span>プロジェクトにチェックを入れて「OK」

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.28.02.png" alt="screen-shot-2017-02-16-at-20-28-02" width="1588" height="1086" class="alignnone size-full wp-image-4335" />

↓ ちゃんと「参照」に追加されたことを確認

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.28.29.png" alt="screen-shot-2017-02-16-at-20-28-29" width="488" height="456" class="alignnone size-full wp-image-4365" />

ここまでで、一応、単体テストは実行できます。（まだ中身ありませんが。）

続いて、テスト対象の実装と、テストの中身を書いてみましょう。

<a id="2"></a>
<h2>手順2「テスト対象の実装」</h2>

今回は単体テストを試してみたいので、
取り敢えず、簡単な、テストされる対象のクラス＆メソッドを用意しましょう。「Add(int,int)」という簡単な足し算メソッドを作ることにします

↓ ソリューションエクスプローラーの <span class="code">LiveUnitTestSample</span>プロジェクトを右クリック→「追加」→「新しい項目」

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-23.47.06.png" alt="screen-shot-2017-02-16-at-23-47-06" width="886" height="558" class="alignnone size-full wp-image-4375" />

↓ 「<span class="code">Calc.cs</span>」という名前のクラスを作りましょう

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.37.421.png" alt="screen-shot-2017-02-16-at-20-37-42" width="1916" height="1322" class="alignnone size-full wp-image-4395" />

新規作成された Calc クラスに、
足し算メソッド<span class="code">Add(int,int)</span>を追記しましょう。

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.40.59.png" alt="screen-shot-2017-02-16-at-20-40-59" width="1482" height="708" class="alignnone size-full wp-image-4396" />

<script src="https://gist.github.com/chomado/647fec351a18a1d3de8c3fda2cbf2dce.js"></script>

最初はテスト失敗のケースを見たいので、
<span class="code">=&gt; x + y;</span>
とは書かず、

<span class="code">=&gt; 1;</span>
でいきましょう。

これでテスト対象は一応用意できたので、
続いて、テストを書いてみましょう。

<a id="3"></a>
<h2>手順3「テストを書く」</h2>

テストは

「こうなってるはずだ」の値と
「実際に動かしてみた結果」の値を

比べて、
「同じだった」「違った」で算出します。

ということで、さっき書いた Add関数のテストを書いてみましょう。

右のソリューションエクスプローラーから「UnitTest1.cs」をダブルクリックし、開きます。

↓ このコードを書きます
<script src="https://gist.github.com/chomado/9f211e8b3b04aaba05b450b3c59f1f37.js"></script>

取り敢えずテストケースを1つ書きました。

<div class="terminal">
Assert.AreEqual(expected: 正しい値, actual: 実際の計算結果);
</div>
という書き方です。
一致していたら「成功」、一致していなかったら「失敗」を返します。

このテストケースでは

<div class="quotation">
<span class="code">Add(2, 3)</span> を計算したら <span class="code">5</span> になっているはずだよね
</div>

ということを言っています。

でもさっき Add(int,int) を定義した時、必ず 1 を返すように作ったので、このテストは「失敗」するはずですね。

実際に動かしてみましょう


<a id="4"></a>
<h2>手順4「テストを動かしてみる！Live Unit Testing」</h2>

取り敢えず「テストエクスプローラ」を表示させておきましょう。便利なので。

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.36.44.png" alt="screen-shot-2017-02-16-at-20-36-44" width="994" height="540" class="alignnone size-full wp-image-4405" />

そして、いよいよ<strong>Live Unit Testing</strong>を実行します！

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.28.551.png" alt="screen-shot-2017-02-16-at-20-28-55" width="946" height="608" class="alignnone size-full wp-image-4407" />

どうなるでしょうか！

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.43.36.png" alt="screen-shot-2017-02-16-at-20-43-36" width="1924" height="908" class="alignnone size-full wp-image-4415" />

予想通り、失敗しましたね！テスト失敗です

↓ 左の「テストエクスプローラ」には、テスト結果一覧(現在1つしか無いので1つだけ)が表示されています

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.43.362.png" alt="screen-shot-2017-02-16-at-20-43-362" width="1924" height="908" class="alignnone size-full wp-image-4425" />

<a id="5"></a>
<h2>手順5「テストケースを1つ増やしてみる」</h2>

現状把握！

↓ 現在、こうなっていますね。テストは失敗しています

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.44.11.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.44.11.png" alt="screen-shot-2017-02-16-at-20-44-11" width="2576" height="838" class="alignnone size-full wp-image-4445" /></a>

↓ ためしにテストを成功させてみましょう。Add関数が返す値を 1から 5に書き換えてみます。

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.44.31.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.44.31.png" alt="screen-shot-2017-02-16-at-20-44-31" width="2542" height="762" class="alignnone size-full wp-image-4465" /></a>

↑（クリックで拡大）

テストケースが1つしか無いので、もうひとつ増やしてみましょう。

<script src="https://gist.github.com/chomado/a0dfa5a87e27c60f7815c9bc66f35e6a.js"></script>

↓ そうすると、このようになります。(クリックで拡大)

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-17-at-0.58.48.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-17-at-0.58.48.png" alt="screen-shot-2017-02-17-at-0-58-48" width="2586" height="1102" class="alignnone size-full wp-image-4475" /></a>

↓ 解説を入れた板(クリックで拡大)

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.46.52.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-16-at-20.46.52.png" alt="screen-shot-2017-02-16-at-20-46-52" width="2452" height="980" class="alignnone size-full wp-image-4485" /></a>

テストメソッド、１つ目は成功し、２つ目は失敗しています。

<div class="terminal">
// 成功
Assert.AreEqual(expected: 5, actual: Calc.Add(2, 3));
// 失敗
Assert.AreEqual(expected: 9, actual: Calc.Add(4, 5));
</div>

なので、この Add(int,int) 関数にはバグがあることがわかります。修正しましょう。

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-17-at-1.04.50.png" alt="screen-shot-2017-02-17-at-1-04-50" width="734" height="230" class="alignnone size-full wp-image-4495" />

<script src="https://gist.github.com/chomado/4b389fea10fcf5e71b8eb37bd3bbd5de.js"></script>

↓ 良いですね！テストは全て「成功」しました！
<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-17-at-1.06.18.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-17-at-1.06.18.png" alt="screen-shot-2017-02-17-at-1-06-18" width="2378" height="1262" class="alignnone size-full wp-image-4505" /></a>

以上です

<h2>Visual Studio 2017 を試してみよう！</h2>

無料でインストールできます！

<a href="https://www.visualstudio.com/vs/visual-studio-2017-rc/" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-17-at-1.42.51.png" alt="screen-shot-2017-02-17-at-1-42-51" width="1516" height="966" class="alignnone size-full wp-image-4515" /></a>


<a id="6"></a>
<h2>参考</h2>

<ul>
	<li><a href="https://blogs.msdn.microsoft.com/visualstudio_jpn/2016/11/25/live-unit-testing-visual-studio-2017-rc/" target="_blank">Visual Studio 2017 RC のライブ ユニット テスト</a> // MS公式ドキュメント</li>
	<li><a href="https://channel9.msdn.com/events/connect/2016/171" target="_blank">Live Unit Testing (Channel 9)</a> (英語) Visual Studio 開発陣のエライ人による解説ビデオ</li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>【Mobile DevOps】VSTS から Xamarin Test Cloud に繋いで自動 UI テストを実現</title>
      <link>https://docs.microsoft.com/archive/blogs/chomado/xamarin-test-cloud-with-vsts</link>
      <pubDate>Wed, 15 Feb 2017 16:40:41 GMT</pubDate>
      <dc:creator><![CDATA[chomado]]></dc:creator>
      <guid
        isPermaLink="false">http://blogs.msdn.microsoft.com/chomado/?p=3865</guid>
      <description><![CDATA[モバイルアプリ開発において、開発からアプリpublish、ユーザのテレメトリ収集まで、一貫して管理できたら素晴らしいですよね。
それらを、Microsoftのチーム開発管理サービスのVisual...]]></description>
      <content:encoded><![CDATA[モバイルアプリ開発において、開発からアプリpublish、ユーザのテレメトリ収集まで、一貫して管理できたら素晴らしいですよね。
それらを、Microsoftのチーム開発管理サービスの<strong>Visual Studio Team Services</strong>と、実機での自動UIテストサービス<strong>Xamarin Test Cloud</strong>(ザマリン・テストクラウド)などを使って実現しましょう！

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/screenshot-4@2x.png" alt="screenshot-42x" width="2794" height="1838" class="alignnone size-full wp-image-3995" />

<a href="http://b.hatena.ne.jp/entry/" class="hatena-bookmark-button" title="このエントリーをはてなブックマークに追加"><img src="https://b.st-hatena.com/images/entry-button/button-only@2x.png" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none" /></a><script type="text/javascript" src="https://b.st-hatena.com/js/bookmark_button.js"></script>

<h2>目次</h2>

<ol>
	<li>継続的なモバイルアプリ開発 (Mobile DevOps)</li>
	<li>Microsoft の提供する、Mobile DevOps を実現する方法</li>
	<li>Visual Studio Team Services を使ってコードgit管理 &amp; 自動ビルド</li>
	<li>自動 UI テストを実現する Xamarin Test Cloud サービスについて</li>
	<li>Xamarin Test Cloud を VSTS から動かす</li>
</ol>



<h2>継続的なモバイルアプリ開発</h2>

<img src="https://msdnshared.blob.core.windows.net/media/2016/10/image860.png" alt="image860" width="1024" height="506" class="alignnone size-full wp-image-2005">

モバイルアプリ開発において、やること：
<ol>
	<li>開発（クライアント側のコード書く）</li>
	<li>サーバサイドとの連携</li>
	<li>テスト（単体・UIテスト）</li>
	<li>テスターたちにベータ版を配布</li>
	<li>アプリのユーザの使用メトリックやクラッシュレポートを収集</li>
	<li>ユーザからの feedback を収集</li>
</ol>
などなど！

よく「<strong>Mobile DevOps</strong>(デブオプス (= Development + Operation))」なんて呼ばれます。

<h2>Microsoft の提供する、Mobile DevOps を実現する方法</h2>

それらの一連の流れを実現するためのすべてのツールが、Microsoft によって用意されています！
<ol>
	<li>クライアントは<strong>Xamarin</strong>(ざまりん)を使って開発し、</li>
	<li>サーバサイドは<strong>Microsoft Azure</strong>(アジュール)というクラウドサービスを使います。</li>
	<li>自動UIテストは<strong>Xamarin Test Cloud</strong>を使います。(ちなみに有名な <a href="https://www.xamarin.com/customers/tech">Slack も Test Cloud を使って開発されています</a>)。</li>
	<li>ユーザのテレメトリ収集は<strong>HockeyApp</strong>を使います。</li>
	<li>そしてそれらの一連の流れを管理(タスク管理や自動化など)するのに<strong>Visual Studio Team Services</strong>を使います</li>
</ol>

つまり、図にすると以下のようになります。

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Blog-Graphic-2-2.jpg" alt="blog-graphic-2-2" width="2048" height="864" class="alignnone size-full wp-image-3875" />

このうち、このオレンジ色の部分が<strong>Visual Studio Team Services</strong>で管理できる部分になります。

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Blog-Graphic.jpg" alt="blog-graphic" width="2048" height="864" class="alignnone size-full wp-image-3885" />

補足：
(現在は、これら別々のサービスが全てひとつに統合され、かつモバイルアプリ開発に特化した <a href="https://mobile.azure.com/apps" target="_blank">Visual Studio Mobile Center</a> という新サービスが去年発表されましたが、まだプレビュー版なのです。)

<h2>Visual Studio Team Services を使ってコードgit管理 &amp; 自動ビルド</h2>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/image860.png" alt="image860" width="1024" height="506" class="alignnone size-full wp-image-3895" />

この図示した部分を VSTS (Visual Studio Team Services)を使ってどうやって管理するのかはこちらの記事で書きました。
<a href="http://blogs.msdn.microsoft.com/chomado/tech-note/build-xamarin-android-with-vsts/" target="_blank">Visual Studio Team Services で Xamarin.Android のビルド</a>


<h2>自動 UI テストを実現する Xamarin Test Cloud サービスについて</h2>

続いて、自動UIテストについてです。

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/image810.png" alt="image8" width="1024" height="506" class="alignnone size-full wp-image-3956" />

実機での自動UIテストについては、<strong>Xamarin Test Cloud</strong>を使います。（not エミュレータ but 実機、というのが強み）

<a href="https://www.xamarin.com/test-cloud" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Xamarin-Test-Cloud.png" alt="xamarin-test-cloud" width="2520" height="609" class="alignnone size-full wp-image-3965" /></a>

Xamarin Test Cloud は、<b>2,000台以上の実機でUIテストが出来る、クラウド上のテスト環境</b>です。

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/screenshot-4@2x.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/screenshot-4@2x.png" alt="screenshot-42x" width="2794" height="1838" class="alignnone size-full wp-image-3995" /></a>

Android端末なんて星の数ほど種類があるし、iPhone/iPad については iOS は一度バージョンを上げたら戻せないし、いちいちテスト機として買っていられないですよね。
そこで Xamarin Test Cloud ですよ！

しかも、その UIテスト(ボタンをタップするなど)も、すべてコードで書くことができます。



<h3>UITest コードサンプル</h3>

エンジニアの皆さんはまずコードがどんなものか見たいですよね！

<script src="https://gist.github.com/chomado/6598a72d798e90f57551595b6fa6a3c8.js"></script>

このようにして UIテストを全てコードで書くことができます

<h3>Xamarin Test Cloud 紹介</h3>

<strong>Xamarin Test Cloud</strong>どんなものか、
まずは画面のスクリーンショットをいくつか見てみましょう。（だいたいの画像がクリックで拡大）

管理ポータルの最初のページ。どのアプリのテスト結果見たい？という感じ
<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-14.50.29.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-14.50.29.png" alt="screen-shot-2017-02-15-at-14-50-29" width="2152" height="1482" class="alignnone size-full wp-image-3975" /></a>

アプリをひとつ選択した時。テスト結果やピーク時のメモリ使用量が履歴で分かりやすく表示してある。

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-14.51.56.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-14.51.56.png" alt="screen-shot-2017-02-15-at-14-51-56" width="2152" height="1482" class="alignnone size-full wp-image-3985" /></a>

ひとつのテスト履歴を選択した時。その時のテストの詳細が一覧で表示される。
OSのバージョンやベンダーごとのテスト通過率なども出る。
左のカラムに、コードで指定したテストが名前付きでリストしてある。

↓クリックで拡大
<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-15.15.15.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-15.15.15.png" alt="screen-shot-2017-02-15-at-15-15-15" width="2284" height="2000" class="alignnone size-full wp-image-4005" /></a>

「Skip Authentication Test」というテストの中の
「On Login Page」という名前で保存された各デバイスのスクリーンショット

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-14.16.59.png" alt="screen-shot-2017-02-15-at-14-16-59" width="2310" height="1274" class="alignnone size-full wp-image-3915" />

「Change Capacity Units」というテストの中の
「On Settings Page」という名前で保存された各デバイスのスクリーンショット

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-14.21.15.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-14.21.15.png" alt="screen-shot-2017-02-15-at-14-21-15" width="2310" height="1274" class="alignnone size-full wp-image-3935" /></a>

ひとつのデバイスを選択した時のスクリーンショット。
このテスト中の瞬間のCPU使用率やメモリ使用量など、このデバイスの詳細データが見られる

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-14.21.52.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-14.21.52.png" alt="screen-shot-2017-02-15-at-14-21-52" width="1974" height="1846" class="alignnone size-full wp-image-3945" /></a>

デバイスログやテストログも見られる。(スクショはデバイスログのもの)

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-14.22.12.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-14.22.12.png" alt="screen-shot-2017-02-15-at-14-22-12" width="1970" height="1850" class="alignnone size-full wp-image-3955" /></a>

<h2>Xamarin Test Cloud を VSTS から動かす</h2>

さあ、実際に動かしてみましょう！



Xamarin Test Cloud を VSTS から動かすためには、
<ol>
	<li><strong>Xamarin Test Cloud</strong>側の操作</li>
	<li>の<strong>Visual Studio Team Services</strong>側の操作</li>
</ol>
の両方が必要です。

まずは Xamarin Test Cloud 側の操作から始めましょう。

<h3>Xamarin Test Cloud 側の準備</h3>

Test Cloud の管理ページに入ります。
<a href="https://testcloud.xamarin.com" target="_blank">https://testcloud.xamarin.com</a>

↓まずは画面右上の「New Test Run」を押します。

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-14-at-16.28.311.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-14-at-16.28.311.png" alt="screen-shot-2017-02-14-at-16-28-31" width="2524" height="1604" class="alignnone size-full wp-image-4065" /></a>

今回は Xamarin.Froms 製のアプリの Android のものだけテストしようと思うので、
「New Android app」を選択して「Next」を押しました

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-14-at-16.28.44.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-14-at-16.28.44.png" alt="screen-shot-2017-02-14-at-16-28-44" width="2524" height="1812" class="alignnone size-full wp-image-4025" /></a>

たくさん機種が出てきましたね！

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-14-at-16.29.00.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-14-at-16.29.00.png" alt="screen-shot-2017-02-14-at-16-29-00" width="2524" height="1812" class="alignnone size-full wp-image-4035" /></a>

「★ Short queue times」(「短い待ち時間」)というマークが付いている機種が上に出ていますね。

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-15.41.40.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-15.41.40.png" alt="screen-shot-2017-02-15-at-15-41-40" width="824" height="368" class="alignnone size-full wp-image-4075" /></a>

これはどういうことを言っているのかというとですね。

Xamarin Test Cloud はあくまで<b>実機テスト</b>なので、数千のデバイス実機をデバイスファームで保存して動かしています。で、それらのデバイスを多くのユーザが交代交代で使うわけです。なのでひとつのデバイスに多くのユーザがテストを走らせようとすると、当然、待ちになります。待ち行列が発生します。

なので、XTCは「このデバイスは使う人が少ないからあんまり待たなくて良いよ」というのをマークで出してくれています。

今回はそれらから３機種ほど選んでみます。

で、次は言語を選ぶ画面が出てきて、

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-14-at-16.29.17.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-14-at-16.29.17.png" alt="screen-shot-2017-02-14-at-16-29-17" width="2524" height="1812" class="alignnone size-full wp-image-4045" /></a>

最後にこのような文字列（Xamarin Test Cloud に .apk を投げるためのコマンド）が出て来るので、この文字列をまるっとコピーしてどこかに控えておきましょう。
<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-14-at-16.29.21.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-14-at-16.29.21.png" alt="screen-shot-2017-02-14-at-16-29-21" width="2524" height="1812" class="alignnone size-full wp-image-4055" /></a>

これで <strong>Xamarin Test Cloud</strong> 側の準備は完了です。

<h3>Visual Studio Team Services 側の操作</h3>

次は <strong>Visual Studio Team Services</strong>側の準備です。

VSTSの管理ページに行きます。（webブラウザで <span class="code">https://アカウント名.visualstudio.com</span> です）

前提：VSTSでビルドが完了しており、.apk や .ipa など成果物が drop されている状態。
（参考：<a href="http://blogs.msdn.microsoft.com/chomado/tech-note/build-xamarin-android-with-vsts/" target="_blank">Visual Studio Team Services で Xamarin.Android のビルド</a>が終わっていれば大丈夫）

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-15.55.26.png" alt="screen-shot-2017-02-15-at-15-55-26" width="1834" height="1018" class="alignnone size-full wp-image-4085" />
↑ビルド定義の最後に「<span class="code">Publish Artifact: drop</span>」で .apk が drop (= リリースプロセスで使えるようにするために、リリースプロセスで参照できるフォルダに .apk を落としている)されている。

ーー

で。
VSTS を開いてください。

「Build &amp; Release」→「Releases」

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-15.59.14.png" alt="screen-shot-2017-02-15-at-15-59-14" width="2284" height="1216" class="alignnone size-full wp-image-4095" />

そうするとリリースの設定画面に行きます。
これは「テスト環境」「ベータテスター用の環境」「本番環境」など、様々な環境にデプロイorリリースするために、各環境ごとにリリースのプロセスを設定できる画面です。

まずは最初のリリース定義(Release Definition) を作ってみましょう。
「+ New definition」をクリックします。

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.06.53.png" alt="screen-shot-2017-02-15-at-16-06-53" width="1496" height="960" class="alignnone size-full wp-image-4105" />

たくさんのテンプレートが出てきますが、
今回はただ<strong>Xamarin Test Cloud</strong>に繋ぎたいだけなので、「Empty (=空っぽ)」を選択して「Next」を押します

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.09.17.png" alt="screen-shot-2017-02-15-at-16-09-17" width="1444" height="1172" class="alignnone size-full wp-image-4115" />

そうするとこのような画面になります！
もし「自動ビルド→ビルド成功→自動デプロイ」までやりたかったら「Continuous deployment」をチェックすれば良いですが、今回はつけません。
「Create」を押します

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.14.53.png" alt="screen-shot-2017-02-15-at-16-14-53" width="1608" height="1486" class="alignnone size-full wp-image-4125" />

そうするとこのような画面になります。
デフォルトの「Environment(環境)1」という環境だけ作られていますね。
「+ Add tasks」を押します

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.25.56.png" alt="screen-shot-2017-02-15-at-16-25-56" width="1742" height="942" class="alignnone size-full wp-image-4135" />

タスクカタログが開くので、
左のペインから「Test」を選び、
「Xamarin Test Cloud」を選択し、「Add」を押し、「Close」です

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.32.10.png" alt="screen-shot-2017-02-15-at-16-32-10" width="1214" height="1016" class="alignnone size-full wp-image-4145" />

現在このような画面になっているはずです。

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.35.36.png" alt="screen-shot-2017-02-15-at-16-35-36" width="2338" height="1956" class="alignnone size-full wp-image-4155" />

必須欄(赤くなっている)がほとんど空欄ですね。

これらのうち、
<ul>
	<li><span class="code">Team API Key *</span></li>
	<li><span class="code">User Email *</span></li>
	<li><span class="code">Devices *</span></li>
</ul>

は、先ほど<strong>Xamarin Test Cloud</strong>側で設定して出てきた文字列を当て込みます。

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-14-at-16.29.21.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-14-at-16.29.21.png" alt="screen-shot-2017-02-14-at-16-29-21" width="2524" height="1812" class="alignnone size-full wp-image-4055" /></a>

<span class="code">Team API Key *</span>は、

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.44.56.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.44.56.png" alt="screen-shot-2017-02-15-at-16-44-56" width="1818" height="1196" class="alignnone size-full wp-image-4165" /></a>

だいたいこんな感じのが入るはずです：
<div class="terminal">$(System.DefaultWorkingDirectory)/AndroidCI/drop/com.chomado.testest2.apk</div>


<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.51.43.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.51.43.png" alt="screen-shot-2017-02-15-at-16-51-43" width="1794" height="1122" class="alignnone size-full wp-image-4185" /></a>

だいたいこんな感じのが入るはずです：
<div class="terminal">$(System.DefaultWorkingDirectory)/AndroidCI/drop/test-assembly</div>


<b>もし、</b>ビルドするのに自前のビルドエージェントを使っていたら、
test-cloud.exe Location　を
<span class="code">../../**/packages/**/tools/test-cloud.exe</span>にする必要がある場合があります。（というのも、デフォルトの path のままだと私は「test-cloud.exeが見つからない」というエラーが出たので、このように修正したら動いたので。どういう条件かはわからない）

最終的にこのようになりました。

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.57.07.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.57.07.png" alt="screen-shot-2017-02-15-at-16-57-07" width="1280" height="1109" class="alignnone size-full wp-image-4195" /></a>

「Save(保存)」して、さっそく、このリリースタスクを動かしてみましょう！

「+ Release」を押して「Create Release」をクリックします。

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-16.59.24.png" alt="screen-shot-2017-02-15-at-16-59-24" width="1236" height="698" class="alignnone size-full wp-image-4205" />

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-17.01.53.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-17.01.53.png" alt="screen-shot-2017-02-15-at-17-01-53" width="1390" height="1206" class="alignnone size-full wp-image-4215" /></a>


「Logs」を見ると今何をしているのか確認することができる

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-17.17.24.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-17.17.24.png" alt="screen-shot-2017-02-15-at-17-17-24" width="2520" height="1792" class="alignnone size-full wp-image-4225" /></a>

そして全部うまくいったら、Xamarin Test Cloud ( testcloud.xamarin.com )で正しくアップロードされていることを確認しましょう。

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-17.21.02.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-15-at-17.21.02.png" alt="screen-shot-2017-02-15-at-17-21-02" width="2064" height="1524" class="alignnone size-full wp-image-4235" /></a>

できた！

<a href="http://b.hatena.ne.jp/entry/" class="hatena-bookmark-button" title="このエントリーをはてなブックマークに追加"><img src="https://b.st-hatena.com/images/entry-button/button-only@2x.png" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none" /></a><script type="text/javascript" src="https://b.st-hatena.com/js/bookmark_button.js"></script>]]></content:encoded>
    </item>
    <item>
      <title>Visual Studio Team Service で Xamarin.Android のビルド</title>
      <link>https://docs.microsoft.com/archive/blogs/chomado/build-xamarin-android-with-vsts</link>
      <pubDate>Sat, 11 Feb 2017 19:42:40 GMT</pubDate>
      <dc:creator><![CDATA[chomado]]></dc:creator>
      <guid
        isPermaLink="false">http://blogs.msdn.microsoft.com/chomado/?p=3565</guid>
      <description><![CDATA[Visual Studio Team Service で Xamarin.Android...]]></description>
      <content:encoded><![CDATA[Visual Studio Team Service で Xamarin.Android のビルドを試みて、最初うまく行かなかったので、その時の問題と回避策をここに記録します。自分用メモです

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/vsts_xamarin_android.png" alt="vsts_xamarin_android" width="1024" height="505" class="alignnone size-full wp-image-3575" />

<ol>
    <li> [VSTS] プロジェクトを作った</li>
    <li> [ローカル] リポジトリ、push  </li>
    <li> [VSTS] デフォルトの Xamarin.Android のビルド definition でビルドすると動かない（エラー）<ol>
        <li> <span class="code">2017-02-11T09:26:54.4047838Z ##[error]C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1862,3): Error : java\lang\Object.class(java\lang : Object.class)</span></li>
        <li>ローカル(私のXamarinの環境は最新のアルファチャネル)で作ったプロジェクトの Xamarin環境と、VSTSのビルドサーバの Xamarin環境のバージョンの不一致ではないかと推測。</li>
    <li> 取り敢えずの処置として、ローカルにエージェントを立てて、ビルドはローカルで走らせることにした</li></ol></li>
    <li> [VSTS+ローカル] ビルドエージェントを入れた（<a href="https://www.visualstudio.com/en-us/docs/build/actions/agents/v2-osx" target="_blank">手順書(英語)</a>）</li>
    <li> [VSTS] エージェント入れたのはいいけど、ビルド時どうやってエージェントを使うのか分からなかった。→[Queue new build]　→ [Queue]の Hosted-&gt;Default(自分がつけたagentの名前)</li>
    <li> それでも（私の環境だと）MSBuild.exe が無い、というエラーが出て動かない<ol>
        <li> <span class="code">2017-02-11T10:02:56.0622340Z MsBuild.exe does not exist at '/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/4.5/msbuild.exe'.</span></li>
    <li><span class="code">2017-02-11T10:02:56.0940450Z ##[error]Error: /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono failed with return code: 1</span></li>
    </li></ol></li>
    <li> [VSTS] NuGet restore するタスクで、NuGet の path を、明示的に指定した　（<span class="code">/Library/Frameworks/Mono.framework/Versions/Current/Commands/nuget</span>）</li>
    <li> 動いた！</li>
</ol>

<img src="https://msdnshared.blob.core.windows.net/media/2017/02/Screen-Shot-2017-02-11-at-19.41.30.png" alt="screen-shot-2017-02-11-at-19-41-30" width="1280" height="673" class="alignnone size-full wp-image-3585" />]]></content:encoded>
    </item>
    <item>
      <title>新しく買った MacBook に Xamarin での開発環境を構築した手順メモ</title>
      <link>https://docs.microsoft.com/archive/blogs/chomado/prepare-development-environment-for-xamarin-on-mac</link>
      <pubDate>Fri, 06 Jan 2017 12:55:49 GMT</pubDate>
      <dc:creator><![CDATA[chomado]]></dc:creator>
      <guid
        isPermaLink="false">http://blogs.msdn.microsoft.com/chomado/?p=3435</guid>
      <description><![CDATA[セルフ誕生日プレゼントの MacBook Pro が届いたので、環境構築をしています。
まっさらな状態から Xamarin...]]></description>
      <content:encoded><![CDATA[セルフ誕生日プレゼントの MacBook Pro が届いたので、環境構築をしています。
まっさらな状態から Xamarin が動くようになるまでにしたことをメモしておこうと思います。

<img src="https://msdnshared.blob.core.windows.net/media/2017/01/specOfMyMac.png" alt="specofmymac" width="860" height="574" class="alignnone size-full wp-image-3555" />

<h2>まずやったこと</h2>

<h3>Caps lock -&gt; Ctrl</h3>
まず　Caps lock キーが要らなかったので Control キーに リプレイスしました。

<img src="https://msdnshared.blob.core.windows.net/media/2016/12/killCapsLockKey.jpg" alt="disable caps lock key" width="850" height="564" class="alignnone size-full wp-image-3445" />

<h2>【必須】絶対にインストールするべきもの</h2>

<h3>iOS/Mac総合開発環境『Xcode』</h3>
Xamarin.iOS の開発に必須である Xcode を入れます。Xcode が iOS/Mac の SDK を握っています。

<a href="https://itunes.apple.com/mx/app/xcode/id497799835" target="_blank">itunes.apple.com/mx/app/xcode/id497799835</a>

もし Apple Developer program に登録している人は、ここで Xcode で新規プロジェクトを作って実機デプロイできるように設定を済ませておきましょう。
該当の Apple アカウントでログイン後、Xcode上で Signing Certificate を済ませる必要があります。

<img src="https://msdnshared.blob.core.windows.net/media/2016/12/xcode.png" alt="xcode" width="992" height="648" class="alignnone size-full wp-image-3505" />
↑実機にデプロイできるように Xcodeさんが頑張ってるところ

<h3>総合開発環境『Visual Studio for Mac』</h3>

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/VS_for_Mac.jpg" alt="vs_for_mac" width="1280" height="780" class="alignnone size-full wp-image-2846" />

VS for Mac を入れたら、Xamarin も一緒に入ってきます。
<a href="https://www.visualstudio.com/vs/visual-studio-mac/" target="_blank">visualstudio.com/vs/visual-studio-mac/</a>


<h3>macOS 用パッケージマネージャー『Homebrew』</h3>

コマンドラインでいろんなものを「brew install なんたら」の一行でインストールできる。便利。

<img src="https://msdnshared.blob.core.windows.net/media/2016/12/Screen-Shot-2016-12-22-at-1.38.34.png" alt="screen-shot-2016-12-22-at-1-38-34" width="1240" height="760" class="alignnone size-full wp-image-3465" />

Terminal にこれを貼り付けて実行
<div class="terminal">/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
</div>

<a href="http://brew.sh/index_ja.html" target="_blank">brew.sh/index_ja.html</a>

<h3>.NET Core</h3>

<img src="https://msdnshared.blob.core.windows.net/media/2017/01/k2iEg1.png" alt="k2ieg" width="999" height="549" class="alignnone size-full wp-image-3535" />

.NET Core を入れましょう！
先ほど入れた homebrew を早速使うことになります。

手順はすべてこちらに書いてあります：<a href="https://www.microsoft.com/net/core#macos" target="_blank">microsoft.com/net/core#macos</a>

<h2>【推奨】インストールするとより良いもの</h2>

<h3>テキストエディタ『Visual Studio Code』</h3>


<blockquote class="twitter-tweet"><p lang="ja" dir="ltr">やはり Visual Studio Code (オープンソースエディタ。Win/Mac/Linuxで動く)の<br>マークダウンのプレビュー機能すごく良いわ<a href="https://t.co/a5SwOOtgOG">https://t.co/a5SwOOtgOG</a><br>-<br>GitHubレポジトリ<a href="https://t.co/W4dIn6L7fx">https://t.co/W4dIn6L7fx</a><br>- <a href="https://t.co/oJA1ElaBL5">pic.twitter.com/oJA1ElaBL5</a></p>&mdash; ちょまど@MS入社して9ヶ月 (@chomado) <a href="https://twitter.com/chomado/status/806404175601012737">2016年12月7日</a></blockquote> <script src="//platform.twitter.com/widgets.js"></script>


Microsoft が開発しているテキストエディタ『<a href="https://code.visualstudio.com" target="_blank">Visual Studio Code</a>』は入れておいた方が良い。
Windows版、Mac OS版、Linux版がある。プラグインが充実している。
オープンソースで開発されているのでソースコードはすべて<a href="https://github.com/Microsoft/vscode" target="_blank">GitHub</a>上に上がっている。
<a href="https://code.visualstudio.com" target="_blank">code.visualstudio.com</a>

<h3>GitHub GUIツール『GitHub Desktop』</h3>

<img src="https://msdnshared.blob.core.windows.net/media/2016/12/Screen-Shot-2016-12-22-at-1.40.33.png" alt="screen-shot-2016-12-22-at-1-40-33" width="1894" height="1256" class="alignnone size-full wp-image-3475" />

GitHub のGUIツール。インストール過程でコマンドライン版も入れてくれる。
<a href="https://desktop.github.com" target="_blank">desktop.github.com</a>]]></content:encoded>
    </item>
    <item>
      <title>【無料】Mac用のIDE "Visual Studio for Mac" で iOS/Android アプリを作ってみた [Xamarin][新規作成から実行まで]</title>
      <link>https://docs.microsoft.com/archive/blogs/chomado/tried-creating-an-app-using-visual-studio-for-mac</link>
      <pubDate>Thu, 24 Nov 2016 14:44:58 GMT</pubDate>
      <dc:creator><![CDATA[chomado]]></dc:creator>
      <guid
        isPermaLink="false">http://blogs.msdn.microsoft.com/chomado/?p=3065</guid>
      <description><![CDATA[先週 (2016/11/16) の「Microsoft Connect();」イベントでアナウンスのあった通り、
Mac 用の Visual Studio...]]></description>
      <content:encoded><![CDATA[<img src="https://msdnshared.blob.core.windows.net/media/2016/11/VisualStudioForMacXamarin.jpg" alt="visualstudioformacxamarin" width="1280" height="951" class="alignnone size-full wp-image-3215" />

先週 (2016/11/16) の「Microsoft Connect();」イベントでアナウンスのあった通り、
Mac 用の Visual Studio がついに（Preview版で）リリースされましたね！ <strong>Visual Studio for Mac</strong>！！

インストールはこちらから(無料)： <a href="https://www.visualstudio.com/vs/visual-studio-mac/" target="_blank">visualstudio.com/vs/visual-studio-mac/</a>

<a href="https://www.visualstudio.com/vs/visual-studio-mac/" target="_blank"><img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-26-at-4.11.04.png" alt="install vs for mac" width="1024" height="775" class="alignnone size-full wp-image-3255" /></a>

それを実際に触ってみましょう！

(このツールの目玉はバックエンド(サーバサイド)のプロジェクトまで一緒に作ってくれることだけど、
 取り敢えず入門記事として、最初はクライアントだけのものを作ります！)

<a href="http://b.hatena.ne.jp/entry/s/blogs.msdn.microsoft.com/chomado/xamarin/tried-creating-an-app-using-visual-studio-for-mac/" class="hatena-bookmark-button" title="このエントリーをはてなブックマークに追加"><img src="https://b.st-hatena.com/images/entry-button/button-only@2x.png" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none" /></a><script type="text/javascript" src="https://b.st-hatena.com/js/bookmark_button.js"></script>

<h2>VS for Mac でスマホアプリのテンプレートを「新規作成」</h2>

まず<strong>Visual Studio for Mac</strong>を開きます。

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-24-at-13.17.10.jpg" alt="screen-shot-2016-11-24-at-13-17-10" width="1254" height="446" class="alignnone size-full wp-image-3095" />

VS for Mac が起動し、スタートページが開きます。

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-24-at-12.58.16.jpg" alt="visual-studio-for-mac" width="1598" height="1200" class="alignnone size-full wp-image-3075" />

「<b>New Project</b>(プロジェクトの新規作成)」を選択します。

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-24-at-15.37.54.png" alt="screen-shot-2016-11-24-at-15-37-54" width="1024" height="704" class="alignnone size-full wp-image-3245" />

左のタブの「<b>Multiplatform</b> (マルチプラットフォーム)」の中の「App」の中の、
「<b>Xamarin.Forms</b>」→「<b>Forms App</b>」を選択します。

ちなみに、上の「<b>Forms App</b>」はクライアントだけのテンプレートが作成されるもので、
下の「<b>Connected App</b>」は、「ASP.NET Core で作られた　Mobile Services に接続されたアプリ」という意味で、クライアントだけでなくバックエンドまで作成するテンプレートです。

そして右下の「次へ」を押します

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-24-at-13.33.02.png" alt="screen-shot-2016-11-24-at-13-33-02" width="1808" height="1354" class="alignnone size-full wp-image-3115" />

上から、
<ol>
	<li><b>App Name</b>：アプリ名</li>
	<li><b>Organization ID</b>：組織名。個人の場合は「com.自分の名前(英語)」を入れる。各ストア(App Store や Google Play Store) で ID として管理するものなので、他の組織と被らない名前にする必要がある</li>
	<li><b>Target Platform</b>：ターゲットプラットフォーム。Android/iOS 両方にチェックを付けておく。</li>
	<li><b>Shared Code</b>：コード共有化について。Xamarin を使えばコード共有化をすることができるのですが、そういう形式で共有化するかは 2択で選べます。<b>PCL</b>か<b>Shared</b>です。今回はPCLで。（ふたつがどう違うか気になる方は<a href="https://developer.xamarin.com/guides/cross-platform/application_fundamentals/building_cross_platform_applications/sharing_code_options/" target="_blank">こちら</a>）</li>
	<li><b>Use XAML for user interface files</b>：UI記述に XAML言語を使う。今回はチェックを入れておく</li>
</ol>

それぞれを入れ終わったら、画面右下の「次へ」を押します。

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-24-at-13.59.16.jpg" alt="screen-shot-2016-11-24-at-13-59-16" width="1024" height="769" class="alignnone size-full wp-image-3125" />

私は Git を使用し、
あと一番下の「自動UIテストのプロジェクトを追加する」にチェックを入れました。

それで画面右下の「作成」を押します。
少し時間がかかります。

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-24-at-14.02.57.jpg" alt="screen-shot-2016-11-24-at-14-02-57" width="1024" height="766" class="alignnone size-full wp-image-3126" />

この画面になります。
最初は上に「パッケージを追加しています」と暫く出るかもしれませんが、少し待てば完了します。


<h2>作られたプロジェクトを「実行」</h2>

<h3>iOS版を動かす</h3>
コードを何もいじらずに、取り敢えず「実行」をしてみましょう。
画面左上の再生ボタンをクリックします。

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-24-at-14.06.27.jpg" alt="screen-shot-2016-11-24-at-14-06-27" width="1280" height="714" class="alignnone size-full wp-image-3136" />

この画面になったらOKです！
iOS シミュレータが起動し、デプロイされ、アプリが実行されていますね。

<h3>Android版を動かす</h3>
それで、Android 版も動かすことができます。（Xamarinはクロスプラットフォーム開発ツールですから！）

(ただ iOS版と同じものが Android で動くのを確認、というだけなので、ここは飛ばしても大丈夫です。エミュレータ起動が少し時間がかかるので・・・)

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-24-at-14.28.03.png" alt="screen-shot-2016-11-24-at-14-28-03" width="640" height="370" class="alignnone size-full wp-image-3185" />

ソリューションエクスプローラーの Androidプロジェクト(私の場合は「PopoClick.Droid」)を
右クリック→「スタートアッププロジェクトとして設定」

そして「実行」

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-24-at-14.38.40.png" alt="screen-shot-2016-11-24-at-14-38-40" width="1730" height="1362" class="alignnone size-full wp-image-3205" />

Android エミュレータが起動し、アプリが実行されればOKです！


<h2>少し画面をいじってみる</h2>

せっかくなので、少し画面をいじってみましょう。

右のソリューションエクスプローラーから「PopoClickPage.xaml」（あなたのつけたアプリ名.xaml）を選び、クリックします。

最初のページのUIの記述された XAMLファイルが開きます。

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-24-at-14.11.03.png" alt="screen-shot-2016-11-24-at-14-11-03" width="1280" height="608" class="alignnone size-full wp-image-3145" />

(もし右側に Previewer が出ていたら「プレビュー」ボタンを押せば非表示にできます)
<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-24-at-14.21.12.jpg" alt="screen-shot-2016-11-24-at-14-21-12" width="60%" />

この辺の文字列を変更してみましょう。

３行目の「<b>Welcome to Xamarin Forms!</b>」を、任意の文字列に変更します。(私は「<b>( *ﾟ▽ﾟ*  っ)З ざまりん！</b>」にしました。)

そしてまた「実行」します。

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/VisualStudioForMacXamarin.jpg" alt="visualstudioformacxamarin" width="1280" height="951" class="alignnone size-full wp-image-3215" />

できました！

<h2>次の一歩</h2>

次は実際に手を動かして簡単なリストアプリを作ってみましょう！

<a href="https://github.com/chomado/xamarin-dev-doc/blob/master/hands-on/readme.md" target="_blank">Xamarin Dev Days ハンズオン手順書

<img src="https://github.com/chomado/xamarin-dev-doc/raw/master/hands-on/image/end.jpg" alt="xamarin" />
</a>
]]></content:encoded>
    </item>
    <item>
      <title>Mac用のVS『Visual Studio for Mac』を黒背景にする方法</title>
      <link>https://docs.microsoft.com/archive/blogs/chomado/how-to-set-vs-for-mac-black-theme</link>
      <pubDate>Wed, 23 Nov 2016 11:49:49 GMT</pubDate>
      <dc:creator><![CDATA[chomado]]></dc:creator>
      <guid
        isPermaLink="false">http://blogs.msdn.microsoft.com/chomado/?p=3035</guid>
      <description><![CDATA[先週 (2016/11/16) の「Microsoft Connect();」イベントでアナウンスのあった通り、
Mac 用の Visual Studio...]]></description>
      <content:encoded><![CDATA[先週 (2016/11/16) の「Microsoft Connect();」イベントでアナウンスのあった通り、
Mac 用の Visual Studio がついに（Preview版で）リリースされましたね！ <strong>Visual Studio for Mac</strong>！！無料です！

インストールはこちらから： <a href="https://www.visualstudio.com/vs/visual-studio-mac/" target="_blank">visualstudio.com/vs/visual-studio-mac/</a>

<span style="color:#A33">( *ﾟ▽ﾟ*  っ)З「VS for Mac は、既存の IDE <b>Xamarin Studio</b>や、既存の OSS テキストエディタ<b>Visual Studio Code</b>とは別のものよ」</span>

それで、この<strong>Visual Studio for Mac</strong>は、デフォルトでは白背景なのですが、これを黒背景にする設定の方法をここにメモします。（私は白背景にすると眩しくてすぐに目が疲れてしまうので、なんでも黒背景が好きです）

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/vs_dark.jpg" alt="vs_dark" width="1614" height="1204" class="alignnone size-full wp-image-3045" />

<a href="http://b.hatena.ne.jp/entry/s/blogs.msdn.microsoft.com/chomado/tech-note/how-to-set-vs-for-mac-black-theme/" class="hatena-bookmark-button" title="このエントリーをはてなブックマークに追加"><img src="https://b.st-hatena.com/images/entry-button/button-only@2x.png" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none" /></a><script type="text/javascript" src="https://b.st-hatena.com/js/bookmark_button.js"></script>

<h2>黒背景にする方法</h2>

<b>Visual Studio for Mac</b>を開きます。

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-23-at-11.41.26.jpg" alt="screen-shot-2016-11-23-at-11-41-26" width="1606" height="1208" class="alignnone size-full wp-image-3047" />

そして、画面左上の「Visual Studio」をクリック→「ユーザ設定」

<img src="https://msdnshared.blob.core.windows.net/media/2016/11/Screen-Shot-2016-11-23-at-11.45.32.png" alt="screen-shot-2016-11-23-at-11-45-32" width="1242" height="608" class="alignnone size-full wp-image-3056" />

「ユーザーインターフェーステーマ」を「Dark」にして、
その後下に出てくる「Visual Studioの再起動」をクリックします。

それでOK!]]></content:encoded>
    </item>
  </channel>
</rss>