<?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>You are now at Tham's Tech Crib on MSDN</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/cbtham/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/cbtham/feed.xml</link>
    <description>How-to articles, guides, tech related posts that can fill your inner techie geeky unicorn rainbow needs</description>
    <lastBuildDate>Sat, 19 May 2018 03:56:27 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Activate Microsoft Free $200 Credit - You gateway to Azure cloud</title>
      <link>https://docs.microsoft.com/archive/blogs/cbtham/activate-microsoft-free-200-credit-you-gateway-to-azure-cloud</link>
      <pubDate>Sat, 19 May 2018 11:56:27 GMT</pubDate>
      <dc:creator><![CDATA[ChengBinTham]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/cbtham/?p=785</guid>
      <description><![CDATA[How do I activate the cloud?

Step 1: Go to...]]></description>
      <content:encoded><![CDATA[<span> </span>

<strong><span>How do I activate the cloud?</span></strong>

<span>Step 1: Go to <a href="https://azure.microsoft.com/en-us/offers/ms-azr-0044p/">https://azure.microsoft.com/en-us/offers/ms-azr-0044p/</a></span><span>.</span>

<span>Step 2: Sign in to your microsoft account (if you don’t have one, </span><a href="https://account.microsoft.com/account"><span>create here</span></a><span> – you can use gmail or your own domain as well)</span>

<span>Step 3: Fill up the form as shown. Make sure you put the correct country. If not you will have problem verifying your bank card. Work phone can be your mobile number. Must put in country code. 65 something, 60 something, 44 something etc.</span>

<img src="https://msdnshared.blob.core.windows.net/media/2018/05/az1-839x1024.png" alt="" width="495" height="604" class="alignnone  wp-image-795" />

Step 4: Verify by a phone number. You can either have Microsoft to call or text you. The verification code to phone may take a bit of time. If after 10mins and you still stuck at this step, use another mobile number. Maybe your friend’s? This number is just to receive a code to active the subscription.

<img src="https://msdnshared.blob.core.windows.net/media/2018/05/az2-872x1024.png" alt="" width="497" height="584" class="alignnone  wp-image-805" />

Step 5: Verify yourself as a real person with a bank card. <span>Best is to use a credit card, some debit card works too. Your card must be tied to an active bank account. <span style="color: #ff0000">Microsoft <strong>WILL NOT charge</strong> you anything at the end of the day.</span> However, we do charge 1USD to make sure the card is a legit one. The refund will take place in 1-few days depending on bank. Microsoft will not charge you beyond your trial $200. All services will stop. What happen if you want your services to be up and running? (Enable Pay as you go upon credit depletion). </span>

<span>*Please note if you enable pay as you go from the start, you will be charged until you state you do not want to. Services will continue and will NOT be taken down.</span>

<img src="https://msdnshared.blob.core.windows.net/media/2018/05/az3-834x1024.png" alt="" width="496" height="609" class="alignnone  wp-image-815" />

&nbsp;

<span>Step 6: Agreement. Click the I agree whenever you are ready.</span>

<span></span>

<span>Step 7: Click Purchase and wait for your account to be provisioned. When it’s done, click on ‘Get Started with your Azure Subscription’ as shown below:-</span>

<span><img width="752" height="445" class="alignnone wp-image-585" alt="a4" src="https://msdnshared.blob.core.windows.net/media/2017/03/A4-1024x606.png" /></span>

<span>Step 8: Done! Now you’re at portal.azure.com – your candy store where you can provision microsoft cloud services. Check out my article in what you can do </span><span>😊 </span>

<a href="https://blogs.msdn.microsoft.com/cbtham/2016/12/21/what-is-microsoft-azure/">https://blogs.msdn.microsoft.com/cbtham/2016/12/21/what-is-microsoft-azure/ </a>

<span>Final notes:</span>

<span>To confirm the subscription is correctly provisioned, check your Billing. It should say ‘Developer Benefits’ like the screenshot below:-</span>

<span><img width="1024" height="736" class="alignnone size-large wp-image-595" alt="a5" src="https://msdnshared.blob.core.windows.net/media/2017/03/A5-1024x736.png" /><img width="624" height="449" src="/Users/cbtham/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png" border="0" /></span>

<span>Welcome to the family </span><span>😊</span><span> xx</span>]]></content:encoded>
    </item>
    <item>
      <title>Activate Free Azure Cloud Credits - Visual Studio Dev Essentials</title>
      <link>https://docs.microsoft.com/archive/blogs/cbtham/activate-free-azure-cloud-credits-visual-studio-dev-essentials</link>
      <pubDate>Sat, 19 May 2018 11:40:43 GMT</pubDate>
      <dc:creator><![CDATA[ChengBinTham]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/cbtham/?p=545</guid>
      <description><![CDATA[In today’s article, we talk about Visual Studio(VS). VS is not only a tool(well, it was once a...]]></description>
      <content:encoded><![CDATA[<span style="color: #000000;font-family: Calibri">In today’s article, we talk about Visual Studio(VS). VS is not only a tool(well, it was once a tool), now it’s a complete suite of things. As the suite goes, Visual Studio Dev Essentials. These are the essentials of what a dev need to get started – the cloud, the tool and how to do it. In other terms, Azure credits, useful tools and trainings. It is all available for free.</span>

<strong><span style="color: #000000;font-family: Calibri">Free? Really?</span></strong>

<span style="color: #000000;font-family: Calibri">Yeah. Really* </span><span style="margin: 0px;font-family: 'Segoe UI Emoji',sans-serif"><span style="color: #000000">😉</span></span><span style="color: #000000;font-family: Calibri"> * = If you need unrestricted access, more powerful tools and every training Microsoft has to offer, then you’ll need a more powerful subscription – namely MSDN or VS that comes with MSDN.</span>

<strong><span style="color: #000000;font-family: Calibri">What am I signing up for?</span></strong>

<span style="color: #000000;font-family: Calibri">Well, $25 (USD) of Azure credits allowing you to subscribe to Azure services(check out my article here), tools(like Parallels for Mac, Windows tools, Power BI visualization tools), Plural Sight training, Xamarin University training(the select mobile portion). If you’re not looking for ninja Level 400 trainings, MVA that comes with VS Dev Essentials will already be sufficient. </span>

<strong><span style="color: #000000;font-family: Calibri">How do I activate the cloud?</span></strong>

<span style="color: #000000;font-family: Calibri">Step 1: Go to </span><a href="https://www.visualstudio.com/dev-essentials/"><span style="color: #0563c1;font-family: Calibri">https://www.visualstudio.com/dev-essentials/</span></a><span style="color: #000000;font-family: Calibri"> and join the program.</span>

<span style="color: #000000;font-family: Calibri">Step 2: Sign in to your microsoft account (if you don’t have one, </span><a href="https://account.microsoft.com/account"><span style="color: #0563c1;font-family: Calibri">create here</span></a><span style="color: #000000;font-family: Calibri"> – you can use gmail or your own domain as well)</span>

<span style="color: #000000;font-family: Calibri">Step 3: Wait for the subscription to finish provision and accept the terms to begin. After you’re done, you’ll be able to see the dashboard.</span>

<span style="color: #000000;font-family: Calibri">Step 4: Click Active Azure as shown in the screenshot below:-</span>

<span><span style="color: #000000;font-family: Times New Roman"><img width="884" height="615" class="alignnone wp-image-555" alt="a1" src="https://msdnshared.blob.core.windows.net/media/2017/03/A1-1024x713.png" /></span></span>

<span style="color: #000000;font-family: Calibri">Step 5: Fill up the form like one showed below:-</span>

<span><span style="color: #000000;font-family: Times New Roman"><img width="735" height="615" class="alignnone wp-image-565" alt="a2" src="https://msdnshared.blob.core.windows.net/media/2017/03/A2-1024x856.png" /></span></span>

<span style="color: #000000;font-family: Calibri">Step 6: A couple of tips when you fill up.</span>

<strong><span style="color: #ff0000"><span style="font-family: Calibri">1.</span><span style="margin: 0px;line-height: normal;font-family: 'Times New Roman';font-size: 7pt;font-style: normal;font-variant: normal"><span>       </span></span><span style="font-family: Calibri">About you part</span></span></strong>

<span style="color: #ff0000;font-family: Calibri">Make sure you put the correct country. If not you will have problem verifying your bank card. Work phone can be your mobile number. Must put in country code. 65 something, 60 something, 44 something etc.</span>

<strong><span style="color: #ff0000"><span style="font-family: Calibri">2.</span><span style="margin: 0px;line-height: normal;font-family: 'Times New Roman';font-size: 7pt;font-style: normal;font-variant: normal"><span>       </span></span><span style="font-family: Calibri">Identification by phone part</span></span></strong>

<span style="color: #ff0000;font-family: Calibri">The verification code to phone may take a bit of time. If after 10mins and you still stuck at this step, use your friend’s mobile number. This number is just to receive a code to active the subscription.</span>

<strong><span style="color: #ff0000"><span style="font-family: Calibri">3.</span><span style="margin: 0px;line-height: normal;font-family: 'Times New Roman';font-size: 7pt;font-style: normal;font-variant: normal"><span>       </span></span><span style="font-family: Calibri">Payment information part</span></span></strong>

<span style="color: #ff0000;font-family: Calibri">Best is to use a credit card, some debit card works too. Your card must be tied to an active bank account. Microsoft <strong>WILL NOT charge</strong> you anything at the end of the day. However, we do charge 1USD to make sure the card is a legit one. The refund will take place in 1-few days depending on bank. Microsoft will not charge you if you exceed $25. All service will stop. Service will resume the next month. What happen if you want your services to be up and running? (Enable Pay as you go upon credit depletion).</span>

<strong><span style="color: #ff0000"><span style="font-family: Calibri">4.</span><span style="margin: 0px;line-height: normal;font-family: 'Times New Roman';font-size: 7pt;font-style: normal;font-variant: normal"><span>       </span></span><span style="font-family: Calibri">Agreement</span></span></strong>

<span style="color: #ff0000;font-family: Calibri">Agree with the privacy statement. If you don’t want to receive mails from Microsoft, don’t check the second box.</span>

<span style="color: #000000;font-family: Calibri">Step 7: Click Purchase and wait for your account to be provisioned. When it’s done, click on ‘Get Started with your Azure Subscription’ as shown below:-</span>

<span><span style="color: #000000;font-family: Times New Roman"><img width="752" height="445" class="alignnone wp-image-585" alt="a4" src="https://msdnshared.blob.core.windows.net/media/2017/03/A4-1024x606.png" /></span></span>

<span style="color: #000000;font-family: Calibri">Step 8: Done! Now you’re at portal.azure.com – your candy store where you can provision microsoft cloud services. Check out my article in what you can do </span><span style="margin: 0px;font-family: 'Segoe UI Emoji',sans-serif"><span style="color: #000000">😊</span></span>

<span style="color: #000000;font-family: Calibri"> </span>

<span style="color: #000000;font-family: Calibri">Final notes:</span>

<span style="color: #000000;font-family: Calibri">To confirm the subscription is correctly provisioned, check your Billing. It should say ‘Developer Benefits’ like the screenshot below:-</span>

<span><span style="color: #000000;font-family: Times New Roman"><img width="1024" height="736" class="alignnone size-large wp-image-595" alt="a5" src="https://msdnshared.blob.core.windows.net/media/2017/03/A5-1024x736.png" /><img width="624" height="449" src="/Users/cbtham/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png" border="0" /></span></span>

<span style="color: #000000;font-family: Calibri">Welcome to the family </span><span style="margin: 0px;font-family: 'Segoe UI Emoji',sans-serif"><span style="color: #000000">😊</span></span><span style="color: #000000;font-family: Calibri"> xx</span>]]></content:encoded>
    </item>
    <item>
      <title>Cannot get Microsoft Teams @mentions to work?</title>
      <link>https://docs.microsoft.com/archive/blogs/cbtham/cannot-get-microsoft-teams-mentions-to-work</link>
      <pubDate>Wed, 24 Jan 2018 17:41:39 GMT</pubDate>
      <dc:creator><![CDATA[ChengBinTham]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/cbtham/?p=745</guid>
      <description><![CDATA[Checking out the code at the official documentation?

Node.js example code: Check for and strip...]]></description>
      <content:encoded><![CDATA[Checking out the code at the official documentation?

<a href="https://docs.microsoft.com/en-us/microsoftteams/platform/scenarios/bots-channel-conversations">Node.js example code: Check for and strip @bot mention</a>

<img src="https://msdnshared.blob.core.windows.net/media/2018/01/bot3.png" alt="" width="518" height="215" class="alignnone  wp-image-755" />

If it doesn’t work for you, don’t worry. I have found the cause.

You just have to declare var botId = "YOUR BOT ID";

<img src="https://msdnshared.blob.core.windows.net/media/2018/01/bot6-1024x438.png" alt="" width="773" height="331" class="alignnone  wp-image-765" />

&nbsp;

<img src="https://msdnshared.blob.core.windows.net/media/2018/01/bot4-1024x332.png" alt="" width="683" height="221" class="alignnone  wp-image-775" />

Session.message instead of message.text in the documentation. Good luck.]]></content:encoded>
    </item>
    <item>
      <title>No response from bot emulator after the new update to Bot Framework/Azure Bot Service?</title>
      <link>https://docs.microsoft.com/archive/blogs/cbtham/no-response-from-bot-emulator-after-the-new-update-to-bot-frameworkazure-bot-service</link>
      <pubDate>Wed, 24 Jan 2018 17:31:53 GMT</pubDate>
      <dc:creator><![CDATA[ChengBinTham]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/cbtham/?p=715</guid>
      <description><![CDATA[Why I cannot debug with my bot emulator after the new update to Bot Framework/Azure Bot...]]></description>
      <content:encoded><![CDATA[Why I cannot debug with my bot emulator after the new update to Bot Framework/Azure Bot Service?

Did Microsoft just broke bot framework?

<img src="https://msdnshared.blob.core.windows.net/media/2018/01/bot1-1024x743.png" alt="" width="739" height="537" class="alignnone  wp-image-725" />

<hr />

Not really. But I spent a good few hours searching for the cause.

The cause?

<span style="color: #3366ff"><em>bot.set('storage', tableStorage); </em></span>

Comment this little guy out when you’re doing a local debug. Upon publish, re-enable it.

<span style="color: #339966">//bot.set('storage', tableStorage);</span>

<img src="https://msdnshared.blob.core.windows.net/media/2018/01/bot2-1024x837.png" alt="" width="532" height="435" class="alignnone  wp-image-735" />

You’re welcome if this save you a couple of minutes/hours.]]></content:encoded>
    </item>
    <item>
      <title>Setting up your machine for Xamarin – Visual Studio 2017</title>
      <link>https://docs.microsoft.com/archive/blogs/cbtham/setting-up-your-machine-for-xamarin-visual-studio-2017</link>
      <pubDate>Mon, 17 Apr 2017 15:07:02 GMT</pubDate>
      <dc:creator><![CDATA[ChengBinTham]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/cbtham/?p=685</guid>
      <description><![CDATA[Hi you lovely people of the internet, today I’ll guide you through how to setup your machine for...]]></description>
      <content:encoded><![CDATA[Hi you lovely people of the internet, today I’ll guide you through how to setup your machine for Xamarin development. The guide is going to be done in 2 flavors, <a href="https://blogs.msdn.microsoft.com/cbtham/2017/04/17/setting-up-your-machine-for-xamarin-visual-studio-2015/">vanilla</a>(Visual Studio 2015) and chocolate(Visual Studio 2017). So let’s get started.

<strong>Chocolate guide </strong><strong>😊</strong>
<ol>
 	<li>You’ll need a machine with at least 8GB of RAM. (Okay lah, 4GB also can but you must have greater patience. For folks like me, I like to trade patience with more RAM)</li>
 	<li>Getting the installer</li>
</ol>
<ul>
 	<li> MSDN – <a href="https://msdn.microsoft.com/en-us/subscriptions/hh442898.aspx">https://msdn.microsoft.com/en-us/subscriptions/hh442898.aspx</a></li>
 	<li> Visual Studio Dev Essentials – <a href="https://www.visualstudio.com/downloads/">https://www.visualstudio.com/downloads/</a></li>
 	<li> Visual Studio Subscriber Access(aka BizSpark or any other VS subscription) – <a href="https://my.visualstudio.com/Benefits">https://my.visualstudio.com/Benefits</a></li>
</ul>
<ol start="3">
 	<li>For the cool kids that already have Visual Studio 2017 installed – we just have to modify the installer a abit 😉</li>
</ol>
&nbsp;

Step 1: Make sure you have this checked when you install
<ul>
 	<li>    Universal Windows App development</li>
 	<li>    .NET desktop development</li>
 	<li>    .NET and web development</li>
 	<li>    Mobile Development with .NET</li>
 	<li>    Mobile Development with Javascript</li>
 	<li>    .Net core platform development</li>
</ul>
*It’s a long list compared to 2015. Since these would be the commonly used stuff besides pure Xamarin, let’s just do everything in one go.

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/117-1024x572.png" alt="1" width="813" height="454" class="wp-image-686 aligncenter" />

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/27-1024x572.png" alt="2" width="813" height="454" class="wp-image-696 aligncenter" />

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/37-1024x572.png" alt="3" width="813" height="454" class="wp-image-705 aligncenter" />

Step 2: Wait for it to finish install &amp; you’re done 😊 Installation depends on feng shui – your internet speed, your processor speed, the amount of RAM you have etc.

&nbsp;

<strong>For the cool kids – with Visual Studio 2017 installed</strong>

Step 1: Launch Visual Studio and type in installer on the top right corner (under quick search)

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/46-1024x277.png" alt="4" width="1024" height="277" class="size-large wp-image-706 aligncenter" />

Step 2: Click on the unreal engine installer.

Step 3: Make sure you have this checked when you install.
<ul>
 	<li>    Universal Windows App development</li>
 	<li>    .NET desktop development</li>
 	<li>    .NET and web development</li>
 	<li>    Mobile Development with .NET</li>
 	<li>    Mobile Development with Javascript</li>
 	<li>    .Net core platform development</li>
</ul>
OR

Locate and click on the installer that you’ve downloaded to install visual studio. Normally it’s named VS_something.exe. I find it easier to use the previous method.

&nbsp;

To verify you have everything installed, after it’s done installing, launch Visual Studio and create a new project. If you see Android and iOS you’re most likely done and have a fully working development environment. There might be some errors due to feng shui issues but they can be corrected by using the cool kids way 😊 Reinstall, recheck, profit.

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/53-1024x710.png" alt="5" width="850" height="589" class=" wp-image-675 aligncenter" />
<p style="text-align: center"><strong>Happy Developing &amp; welcome to the fam!</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>Setting up your machine for Xamarin - Visual Studio 2015</title>
      <link>https://docs.microsoft.com/archive/blogs/cbtham/setting-up-your-machine-for-xamarin-visual-studio-2015</link>
      <pubDate>Mon, 17 Apr 2017 14:27:43 GMT</pubDate>
      <dc:creator><![CDATA[ChengBinTham]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/cbtham/?p=635</guid>
      <description><![CDATA[Hi you lovely people of the internet, today I’ll guide you through how to setup your machine for...]]></description>
      <content:encoded><![CDATA[Hi you lovely people of the internet, today I’ll guide you through how to setup your machine for Xamarin development. The guide is going to be done in 2 flavors, vanilla(Visual Studio 2015) and<a href="https://blogs.msdn.microsoft.com/cbtham/2017/04/17/setting-up-your-machine-for-xamarin-visual-studio-2017/"> chocolate</a>(Visual Studio 2017). So let’s get started.

<strong>Vanilla guide </strong><strong>😊</strong>
<ol>
 	<li>You’ll need a machine with at least 8GB of RAM. (Okay lah, 4GB also can but you must have greater patience. For folks like me, I like to trade patience with more RAM)</li>
 	<li>Getting the installer</li>
</ol>
<ul>
 	<li><span>MSDN – </span><a href="https://msdn.microsoft.com/en-us/subscriptions/hh442898.aspx">https://msdn.microsoft.com/en-us/subscriptions/hh442898.aspx</a></li>
 	<li>Visual Studio Dev Essentials – <a href="https://www.visualstudio.com/vs/older-downloads/">https://www.visualstudio.com/vs/older-downloads/</a></li>
 	<li>Visual Studio Subscriber Access(aka BizSpark or any other VS subscription) – <a href="https://my.visualstudio.com/Downloads?q=visual%20studio%202015">https://my.visualstudio.com/Downloads?q=visual%20studio%202015</a></li>
</ul>
* Download the one with Update 3
<ol start="3">
 	<li>For the cool kids that already have Visual Studio 2015 installed – we just have to modify the installer a abit 😉</li>
</ol>
Step 1: Make sure you have this checked when you install.
<ul>
 	<li><span>Universal Windows App Development Tools </span> (<span style="color: #ff0000"><strong>check everything</strong></span> in it)</li>
 	<li>Cross Platform Mobile Development (<span style="color: #ff0000"><strong>check everything</strong></span> in it)</li>
</ul>
<img src="https://msdnshared.blob.core.windows.net/media/2017/04/36.png" alt="3" width="396" height="555" class="alignnone wp-image-655 " />  <img src="https://msdnshared.blob.core.windows.net/media/2017/04/45.png" alt="4" width="396" height="555" class="alignnone wp-image-665" />

&nbsp;

Step 2: Wait for it to finish install &amp; you’re done 😊 Installation depends on feng shui – your internet speed, your processor speed, the amount of RAM you have etc.

&nbsp;

<strong>For the cool kids – with Visual Studio 2015 installed</strong>

Step 1: Go to control panel, uninstall or change a program. Double click/tap Visual Studio 2015.

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/116-1024x540.png" alt="1" width="767" height="405" class="alignnone wp-image-645" />

Step 2: Wait for the Wizard to load and click Modify.

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/26.png" alt="2" width="396" height="555" class="alignnone wp-image-646" />

Step 3: Make sure you checked these.
<ul>
 	<li><span>Universal Windows App Development Tools </span>(<span style="color: #ff0000"><strong>check everything</strong></span> in it)</li>
 	<li>Cross Platform Mobile Development (<span style="color: #ff0000"><strong>check everything</strong></span> in it)</li>
</ul>
<img src="https://msdnshared.blob.core.windows.net/media/2017/04/36.png" alt="3" width="396" height="555" class="alignnone wp-image-655" />  <img src="https://msdnshared.blob.core.windows.net/media/2017/04/45.png" alt="4" width="396" height="555" class="alignnone wp-image-665" />

Step 4: Let it install through and you’re done. Have lots of patience as this really depends on feng shui – internet speed, processor, RAM etc.

&nbsp;

<strong>Verify all is well</strong>

To verify you have everything installed, after it’s done installing, launch Visual Studio and create a new project. If you see Android and iOS you’re most likely done and have a fully working development environment. There might be some errors due to feng shui issues but they can be corrected by using the cool kids way 😊 Reinstall, recheck, profit.

<img src="https://msdnshared.blob.core.windows.net/media/2017/04/53-1024x710.png" alt="5" width="584" height="405" class="alignnone wp-image-675" />
<p style="text-align: center"><strong>Happy Developing &amp; welcome to the fam!</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>BizSpark Tools with Benefits</title>
      <link>https://docs.microsoft.com/archive/blogs/cbtham/bizspark-tools-with-benefits</link>
      <pubDate>Thu, 23 Mar 2017 15:33:54 GMT</pubDate>
      <dc:creator><![CDATA[ChengBinTham]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/cbtham/?p=535</guid>
      <description><![CDATA[Congratulations! BizSpark members unite!

So here's how you get access to your tools. Its located...]]></description>
      <content:encoded><![CDATA[<strong>Congratulations! BizSpark members unite!</strong>

So here's how you get access to your tools. Its located at <a href="https://my.visualstudio.com/benefits">https://my.visualstudio.com/benefits</a> (If you have <a href="https://blogs.msdn.microsoft.com/cbtham/2017/03/23/activate-free-azure-cloud-credits-visual-studio-dev-essentials/">dev essentials </a>activated and tied to this account, you'll need to choose between the drop down to your BizSpark account).

<strong>The tools:-  </strong><a href="https://my.visualstudio.com/downloads">https://my.visualstudio.com/downloads</a>

<strong>The product keys:</strong> <a href="https://my.visualstudio.com/productkeys">https://my.visualstudio.com/productkeys</a>

<em>Why is Microsoft making my life so hard? There's MSDN, there's Visual Studio, which one should I go for?</em>

<em>A: We're simplifying things for the young, budding devs to look it all up at one place instead of splitting here and there. MSDN site will slowly be transitioned to Visual Studio Portal. So for the IT Pros out there, let's sit back, get our tools, chill a little and let the younger, budding devs to join our ranks 😎</em>

<strong>The screenshots:</strong>

<a href="https://my.visualstudio.com/benefits"><img width="1024" height="687" class="alignnone size-large wp-image-605" alt="b1" src="https://msdnshared.blob.core.windows.net/media/2017/03/B1-1024x687.png" /></a>

&nbsp;

<a href="https://my.visualstudio.com/downloads"><img width="1024" height="672" class="alignnone size-large wp-image-606" alt="b2" src="https://msdnshared.blob.core.windows.net/media/2017/03/B2-1024x672.png" /></a>

&nbsp;

<a href="https://my.visualstudio.com/productkeys"><img width="1024" height="624" class="alignnone size-large wp-image-616" alt="b3" src="https://msdnshared.blob.core.windows.net/media/2017/03/B3-1024x624.png" /></a>

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>DIY: Build your own VPN with Microsoft Azure #OSS</title>
      <link>https://docs.microsoft.com/archive/blogs/cbtham/diy-build-your-own-vpn-with-microsoft-azure-oss</link>
      <pubDate>Tue, 07 Mar 2017 20:52:55 GMT</pubDate>
      <dc:creator><![CDATA[ChengBinTham]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/cbtham/?p=225</guid>
      <description><![CDATA[Before we start, lets set a few expectations first.

 	We are not building a VPN service! If you...]]></description>
      <content:encoded><![CDATA[Before we start, lets set a few expectations first.
<ol>
 	<li>We are not building a VPN service! If you plan to build a subscription service with a bunch of servers, please look else where.</li>
 	<li>The traffic will go out from Azure Datacenter. If the website/app you are browsing/using blacklist Microsoft's Azure datacenter IP addresses, this will not work for you.</li>
</ol>
If you want to build your own VPN server for personal use, i.e. travelling, visiting a site that your country blocks, VPN on your mobile phone, care about your data privacy, don't trust other VPN host/app, too much Azure credits, this is the article that will interest you. Bonus: you get a Windows 10 machine that sits in the cloud which you can connect via mobile phones, cyber café desktops, your neighbour's laptop or anything that has internet access with RDP(remote desktop) capability.

<hr />

<strong>So lets start</strong>

Here are a couple of things that you must have.
<ol>
 	<li>Azure subscription (check out my other posts if you're a startup applying for BizSpark).</li>
 	<li>Azure subscription that have credits to provision virtual machines.</li>
 	<li>30 minutes of your life (maybe longer depending on skillz)</li>
</ol>
You can get an Azure subscription with various programs. Like Azure passes(normally from Microsoft events), MSDN Subscription, Visual Studio Dev Essentials(<a href="https://www.visualstudio.com/dev-essentials/">apply here</a>), BizSpark subscription, Azure trial, or other subscriptions that allows you to use compute services or virtual machines.

<hr />

<strong>Overview of things</strong>

We are using <a href="http://www.softether.org/">Softether</a> an open-source multi-protocol free VPN server software to host the service(Kudos to the university that develops it). It will be on Azure cloud sitting in a virtual machine(Windows 10). You can connect to the VPN server via mobile phones(iPhones, Android, Windows) or desktops(Mac, Windows, Linux). This tutorial is using <a href="https://openvpn.net/">OpenVPN</a> client (easier for both phones and desktops).

<hr />

<strong>Let's really start</strong>

First we'll have to provision a virtual machine on Azure. To do this, go to <a href="http://portal.azure.com">portal.azure.com</a> and hit the '+' on your left. Click on compute. Click 'see all'. Search for 'Windows 10 Enterprise N'.

<img width="1024" height="655" class="size-large wp-image-235 aligncenter" alt="1" src="https://msdnshared.blob.core.windows.net/media/2017/03/114-1024x655.png" />

&nbsp;

Click the blue create button (you might need to scroll down to find it). You'll be presented with a few settings. Give your VM a name, give a user login name and password, give a resource group name(any name will do), choose a location your VM is gonna be at.

<img width="1024" height="664" class="size-large wp-image-245 aligncenter" alt="2" src="https://msdnshared.blob.core.windows.net/media/2017/03/23-1024x664.png" />

&nbsp;

Next, choose a size. You can choose one that suits you. Normally a small instance will do if you don't have to much users. If you're sharing with friends and family, you might want to choose a bigger one.

Next would be configuring the network stuff. I would recommend going for manage disk for easier management, but storage account works fine(just choose managed disk if you are not sure what am I talking about). For public ip addresses, I like to use a static one(easy to manage because the IP address will not change). Rest of settings just leave it.

&nbsp;

<img width="1024" height="653" class="size-large wp-image-255 aligncenter" alt="3" src="https://msdnshared.blob.core.windows.net/media/2017/03/33-1024x653.png" />

&nbsp;

Step 4 is checking all info is valid. Continue with deployment and wait for the machine to provision itself. It will normally take 5-10mins.

<hr />

<strong>Installing VPN portion</strong>

After the machine is done provisioning, we will have to
<ol>
 	<li>Login to the machine (clean up the services we do not need)</li>
 	<li>Install the VPN server</li>
</ol>
<img width="836" height="534" class="wp-image-455 aligncenter" alt="4" src="https://msdnshared.blob.core.windows.net/media/2017/03/44-1024x654.png" />

As shown in screenshot above, press the connect button. It will download an rdp file. Just open it, key in your username and password to login to your machine in the cloud. You can say 'yes' to all the certificate prompt. Do not worry, you are not agreeing to sell your soul.

Once you are in the virtual machine, search for 'program and features'. Once in, click 'turn on and off windows features'
<ol>
 	<li>Check .NET Framework 3.5</li>
 	<li>Uncheck Microsoft Print to PDF</li>
 	<li>Uncheck Print document and services</li>
 	<li>Uncheck XPS services</li>
 	<li>Uncheck XP viewer</li>
</ol>
Click OK and download the framework from Windows Update. Once that's done, you can go ahead and restart the machine.

*This is to save resources in our VM. If your VM is a powerful one and you do not care about resources and cost, you can skip this step.

<img width="668" height="445" class="wp-image-265 aligncenter" alt="1" src="https://msdnshared.blob.core.windows.net/media/2017/03/115-1024x683.png" />

Once restarted, go back into the machine. Fire up 'Internet Explorer' (Ok, I know. You can use Chrome or Edge too), search for softether VPN. Once you're in the site, go to the download page. You can choose to download the beta or stable version. It does not really matter which one you choose. Download 'Softether VPN Server Manager for Windows' and install it. Install Softether VPN server. Finish and launch the VPN Server Manager.

<img width="664" height="422" class="wp-image-275 aligncenter" alt="2" src="https://msdnshared.blob.core.windows.net/media/2017/03/24-1024x651.png" />

<hr />

<strong>Configuring VPN portion</strong>

At VPN Server Manager, click 'Connect' and give a password. After that, check the options as shown in screenshot below.

<img width="665" height="571" class="wp-image-276 aligncenter" alt="3" src="https://msdnshared.blob.core.windows.net/media/2017/03/34-1024x880.png" />

Give a VPN name or stick to default. When ask for dynamic hostname, give it a name of your choice.

<img width="668" height="589" class="wp-image-505 aligncenter" alt="4-1" src="https://msdnshared.blob.core.windows.net/media/2017/03/4.1-1024x903.png" />

Exit the config and check the next config that pops up as shown in screenshot below.

<img width="663" height="582" class="wp-image-295 aligncenter" alt="5" src="https://msdnshared.blob.core.windows.net/media/2017/03/54-1024x900.png" />

Click 'Create User' and give it a username and password. This is your user that is going to connect to your VPN server. If you want to add more friends or family to your VPN server, this is the place to do it.

<img width="664" height="464" class="wp-image-305 aligncenter" alt="6" src="https://msdnshared.blob.core.windows.net/media/2017/03/63-1024x715.png" />

Set local bridge to Microsoft Ethernet adapter as shown in screenshot.

<img width="663" height="475" class="wp-image-315 aligncenter" alt="7" src="https://msdnshared.blob.core.windows.net/media/2017/03/72-1024x733.png" />

Create a port for your clients/devices to connect to your VPN. I like to use a custom port. Some organizations block VPN ports, using a custom one might just bypass that. In my example I use 9201. You can use other ports other than 9201.

<img width="663" height="569" class="wp-image-325 aligncenter" alt="8" src="https://msdnshared.blob.core.windows.net/media/2017/03/84-1024x879.png" />

Next go to the OpenVPN configuration page.

<img width="664" height="572" class="wp-image-335 aligncenter" alt="9" src="https://msdnshared.blob.core.windows.net/media/2017/03/93-1024x881.png" />

Remember to change the port to the one you configured earlier. After that generate a openvpn config file. This file is the settings you need to give to your client/devices for it to connect back here. Just click generate, save the zip file somewhere, extract the zip file, open the 'remote access.opvn' file (as shown as screenshot) with notepad.

<img width="668" height="622" class="wp-image-345 aligncenter" alt="10" src="https://msdnshared.blob.core.windows.net/media/2017/03/103-1024x954.png" />

<img width="668" height="498" class="wp-image-355 aligncenter" alt="11" src="https://msdnshared.blob.core.windows.net/media/2017/03/116-1024x763.png" />

Two things to change here.
<ol>
 	<li>Proto tcp</li>
 	<li>Make sure the port is the one you specify</li>
</ol>
Leave everything else on default. Save this and send this file to your client/device. This will be the setting they need to connect to this server.

<img width="670" height="422" class="wp-image-515 aligncenter" alt="13-1" src="https://msdnshared.blob.core.windows.net/media/2017/03/13.1-1024x645.png" />

Last thing to configure is NAT. Without this, your client will not be able to authenticate and connect back to this server. To do this. Click 'Manage Virtual Hub', 'Virtual NAT and Virtual DHCP' then enable it.

<hr />

<strong>Configuring the last step on Azure</strong>

To make the connection work, your machine in the cloud(this virtual machine) will need to accept connection via the port you specify. By default Azure doesn't allow random ports to connect. You will need to whitelist the port(allow the port to accept connection). To do that, go back to <a href="http://portal.azure.com">Azure Portal</a> (you can do it outside the virtual machine).

Go to network interfaces, click into your network interface as shown in screenshot below.

<img width="807" height="451" class="wp-image-465 aligncenter" alt="5" src="https://msdnshared.blob.core.windows.net/media/2017/03/55-1024x572.png" />

Go to network security group, click in your network security group as shown in screenshot below.

<img width="816" height="459" class="wp-image-475 aligncenter" alt="6" src="https://msdnshared.blob.core.windows.net/media/2017/03/64-1024x576.png" />

Go to inbound security rule, click add as shown in the screenshot below.

<img width="829" height="433" class="wp-image-525 aligncenter" alt="7-1" src="https://msdnshared.blob.core.windows.net/media/2017/03/7.1-1024x535.png" />

Give the rule a name and key in the port you specify. Click ok to apply the rule.

<img width="406" height="516" class="wp-image-495 aligncenter" alt="8" src="https://msdnshared.blob.core.windows.net/media/2017/03/85-806x1024.png" />

&nbsp;

<hr />

<strong>Making it work on phone</strong>

If you are still following, congratulations! We are all done with configuration. Now we just need to send the .ovpn file to our client/device and connect from there. I am showing an example on the iPhone. This will work with Android or desktop as long as you have OpenVPN app/client installed.

First is to get the client. On the phone, just go to the App Store to download OpenVPN.

<img width="387" height="688" class="wp-image-395 aligncenter" alt="img_4887" src="https://msdnshared.blob.core.windows.net/media/2017/03/IMG_4887-576x1024.png" />

Next is to get the .opvn file to the phone. This, you can be creative on how to do it. You can use a cloud drive(in my case OneDrive), email, iTunes transfer to OpenVPN app or any other way you can think of to send the file to OpenVPN app.

I'm using OneDrive app(really awesome, you should check it out too). Login to your OneDrive, go to the file, click on 'open in another app', choose OpenVPN.

<img width="445" height="480" class="alignnone wp-image-405" alt="img_4888" src="https://msdnshared.blob.core.windows.net/media/2017/03/IMG_4888-949x1024.png" />       <img width="270" height="481" class="wp-image-415 alignnone" alt="img_4889" src="https://msdnshared.blob.core.windows.net/media/2017/03/IMG_4889-576x1024.png" />

Press the '+' button to save the configuration file, input in your username and password you have created on your VPN server. After that, press the slider button to connect. If you do everything right, this is how it looks like.

<img width="459" height="816" class="wp-image-425 aligncenter" alt="img_4890" src="https://msdnshared.blob.core.windows.net/media/2017/03/IMG_4890-576x1024.png" />

<strong>CONGRATULATIONS! You have created your very own VPN service!</strong>

To confirm, turn off the VPN. Go to <a href="http://whatismyipaddress.com/">whatismyipaddress.com</a>. It will show your current IP location. For mine it is in Malaysia. Now try again with the VPN on. It shows me I am now in Redmond, Washington, USA.

<img width="825" height="464" class="wp-image-385 aligncenter" alt="before-after" src="https://msdnshared.blob.core.windows.net/media/2017/03/before-after-1024x576.png" />

To recap what we have done, we had provisioned a virtual machine on Microsoft Azure, installed a VPN server, configured the VPN server and Azure to accept connection, connect via OpenVPN to our server with the configuration file. Again, you've created a VPN service from scratch.

<strong>WITH GREAT POWER COMES GREAT RESPONSIBILITY</strong>

Now with your own VPN server, your connection will be private. You can now access sites blocked by your country. You can bypass geo-restrictions set by some apps/websites(like watching Hulu out of US, watching Chinese TV shows out of China). You are also now more secured compared to the person sitting next to you on public Wi-Fi at the coffee shop. While you are enjoying all this benefits, please do not break any laws like downloading pirate content or surf the dark web for services. Whatever we do online can be traced one way or another 🙂

Have fun and enjoy the freedom 😎

Peace~ V]]></content:encoded>
    </item>
    <item>
      <title>How to activate Azure $150 credits on Microsoft BizSpark program</title>
      <link>https://docs.microsoft.com/archive/blogs/cbtham/how-to-activate-azure-150-credits-on-microsoft-bizspark-program</link>
      <pubDate>Tue, 07 Mar 2017 15:40:00 GMT</pubDate>
      <dc:creator><![CDATA[ChengBinTham]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/cbtham/?p=205</guid>
      <description><![CDATA[Dear startups,

In order to redeem your Azure credit (aka MSDN Subscription or better known by...]]></description>
      <content:encoded><![CDATA[Dear startups,

In order to redeem your Azure credit (aka MSDN Subscription or better known by Visual Studio Enterprise Subscription), you'll need to activate it at <a href="https://azure.microsoft.com/en-us/offers/ms-azr-0064p/">https://azure.microsoft.com/en-us/offers/ms-azr-0064p/</a>. Log in to the BizSpark portal, under 'myBizSpark' you'll see 'Offers'. This is the place where you can assign accounts (screenshots shown)

<strong>BUT FIRST</strong>

You'll have to have a valid BizSpark account.

<strong>To apply for BizSpark,</strong>

head to the BizSpark portal (<a href="https://bizspark.microsoft.com">https://bizspark.microsoft.com</a>). Sign in with a Microsoft account(<strong>preferably your email with your domain</strong>). Follow through the process. Make sure you select the correct country. Once that's done, we'll have our team here in Microsoft approving (contact us if it's pending for more than 2 weeks).

Welcome to the family 🙂

<span style="color: #ff0000">Note: When you add a new email, there is a wait time for it to change from 'Processing' to 'Pending' to 'Assigned'. Please wait a few hours before activating the Azure portion.</span>

<img width="826" height="505" class="alignnone wp-image-215" alt="bizsparkofferpage" src="https://msdnshared.blob.core.windows.net/media/2017/03/bizsparkofferpage.png" />]]></content:encoded>
    </item>
    <item>
      <title>What is Microsoft Azure - The World Map of Things</title>
      <link>https://docs.microsoft.com/archive/blogs/cbtham/what-is-microsoft-azure</link>
      <pubDate>Wed, 21 Dec 2016 16:02:29 GMT</pubDate>
      <dc:creator><![CDATA[ChengBinTham]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/cbtham/?p=55</guid>
      <description><![CDATA[In today’s journey to the middle earth, let’s talk about Microsoft Azure. In your journey to...]]></description>
      <content:encoded><![CDATA[<img width="1306" height="734" class="size-full wp-image-185 aligncenter" alt="azure-map" src="https://msdnshared.blob.core.windows.net/media/2016/12/Azure-Map.png" />

In today’s journey to the middle earth, let’s talk about Microsoft Azure. In your journey to explore the world of Azure, you’ll need a map. The map will be your key to understanding different components of Azure and how they can fit together.

<strong>The great sea of Datacenter Infrastructure</strong>

The great sea connects 30+ datacenters around the world. These are located in different regions, connected. These datacenters at time several football fields houses all the servers, equipments, containers to power the ever growing digital world. The great sea connects the underlying layer of cloud computing, Infrastructure as a Service.

<strong>The land of Security &amp; Management</strong>

Azure AD can be used as a standalone cloud directory for your organization or as an integrated solution with your existing on-premises Active Directory.
<ul>
 	<li>Active Directory- Secure, enterprise ready identity and access management for the cloud. Synchronise on-premise directories and enable single sign-on.</li>
 	<li>Multi-Factor Authentication- safeguards data/application access while addressing demand for a simple sign-in process</li>
</ul>
<strong>Media &amp; CDN</strong>

This section is where your scale, CDN goodness comes in. Reduce latency? No problem. This is you have come to the right place.
<ul>
 	<li>Media Services- Create end-to-end media workflows with flexible and highly scalable encoding, packaging, and distribution services</li>
 	<li>CDN - delivering content to end-users through a robust network of global data centres</li>
</ul>
<strong>Integration</strong>

The integration area is a place you can find stuff like logic apps. Business workflow? Logic app can help you to take care of it by connecting to different services. You then can automate workflows. #justinbieber, save all the picture on insta to my DB. Checked.

<strong>Compute Services</strong>

This section is to assist you scale your VM. Clone them, scale up.

<strong>Application Platforms</strong>

This section is where the goodness is. From creating a website to connecting your mobile app to cloud backend. It’s all here. You can do push notifications, host APIs, or even host functions.
<ul>
 	<li>Web Sites – develop, deployment &amp; scale web apps</li>
 	<li>Mobile Services - scalable &amp; secure backend for your mobile apps</li>
 	<li>Notification Hubs - easily route cross-platform, personalized push notification messages to millions of users simultaneously, and scale automatically without needing to rearchitect your app</li>
 	<li>API Management - Publish APIs to developers, partners and employees securely and at scale</li>
</ul>
<strong>Developer Services</strong>

This place is where you use think about app distribution, analytics, app insights. Got a beta program? Why not use hockeyapp to distribute. We are friendly to iOS, Android, Windows &amp; Web too. Mobile Engagement helps you to understand your app users more.

<strong>Data land</strong>

In this realm, you’ll be exposed to different database flavors. From SQL Azure to Mongo to DocumentDB, its all here.
<ul>
 	<li>Storage– Blobs, Tables, Queues &amp; Files Storage - store large amounts of unstructured text/binary data such as video/image &amp;audio.</li>
 	<li>SQL Database- For applications that need a full featured relational database-as-a-service</li>
 	<li>DocumentDB – fully managed NoSQL document database that offers query and transactions over schema free data</li>
 	<li>Cache- High throughput, low latency data access for your application to build fast, scalable cloud applications</li>
 	<li>Azure Redis Cache -Based on the popular open source Redis Cache, this gives you access to a secure, dedicated Redis cache for your Azure applications.</li>
 	<li>Azure Search – “Search as a Service” for web and mobile applications without the typical complexities of full-text search</li>
</ul>
<strong>Intelligence</strong>

This is the land of AI. Artificial Intelligence they call. This section live cognitive services. 22 APIs available to developers to leverage on. Recognizing face, emotion, converting speech to text, making sense of objects are just some of the easier stuff cognitive services allows you to do. Bots, bots everywhere. Make use of Bot Framework to build for Facebook Messenger, Skype, Slack, Telegram and many more.

<strong>Analytics and IoT</strong>

This area you can find all the tools to help you munch big data like biting a banana. Hadoop, machine learning, predictions are some of its muscles. You can connect your Internet of Things(IoT) device here to make use of the predictive, machine learning capabilities. You can even build a chart using PowerBI embedded.
<ul>
 	<li>HDInsight - Microsoft’s Hadoop-based service for gaining insight from any data, size or location</li>
 	<li>Machine Learning – Powerful cloud-based predictive analytics</li>
 	<li>Stream Analytics – Real-time stream processing in the cloud</li>
 	<li>Data Factory – orchestrate and manage data transformation and movement</li>
 	<li>Event Hubs – Ingest, persist, and process millions of events/telemetry per second from websites, apps and devices</li>
</ul>
<strong>Hybrid Cloud</strong>

This section lives the hybrid dragon. Disaster recovery, archiving and backup. You can use this.
<ul>
 	<li>Storage – Blobs, Tables, Queues &amp; Files Storage - store large amounts of unstructured text/binary data such as video/image &amp; audio.</li>
 	<li>Backup - Automated server backups – stored securely in the cloud</li>
 	<li>Site Recovery–Orchestrate the protection and recovery of your applications for simplified disaster recovery</li>
 	<li>StorSimple - A unique hybrid cloud storage solution that lowers costs and improves data protection</li>
</ul>]]></content:encoded>
    </item>
  </channel>
</rss>