<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Gandhali's blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/gsamant/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/gsamant/feed.xml</link>
    <description>Commit to your Code !!</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:47:26 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Create an End-to-end IOT Scenario with Azure Services</title>
      <link>https://docs.microsoft.com/archive/blogs/gsamant/create-an-end-to-end-iot-scenario-with-azure-services</link>
      <pubDate>Fri, 24 Feb 2017 18:04:30 GMT</pubDate>
      <dc:creator><![CDATA[Gandhali Samant]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gsamant/?p=75</guid>
      <description><![CDATA[IOT or Internet of things is taking over the world and we are encountering more and more of it in...]]></description>
      <content:encoded><![CDATA[IOT or Internet of things is taking over the world and we are encountering more and more of it in our daily lives. But when we come to think of it what does the word IOT actually mean? What are these IOT solutions and how do we start building them?

To answer these questions, lets first start with defining what is IOT? There is no standard definition for IOT but moreover it is any solution that essentially has following four components.
<ol>
 	<li>Things - Things can be anything that can send some kind of useful data. It can be a simple phone or a complex array of sensors sending the data.</li>
 	<li>Connectivity - These things need a way to communicate with each other and with internet and for that they need connectivity and protocols.</li>
 	<li>Data- The data can be a simple telemetry data, an image or even a video feed.</li>
 	<li>Analytics- The data that is gathered needs to be analyzed to derive insights from it. These analytics can be real time analytics such as sending an alert or taking an action or a long term analytics where you might use machine learning on historical data to detect a pattern or predict an outcome.</li>
</ol>
So how would a typical event processing would happen in an IOT Scenario. Lets a take a look.

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image1.png"><img width="1891" height="999" class="alignnone size-full wp-image-95" alt="image1" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image1.png" /></a>

Starting with producers, these are your devices or things which would be sending data. The data can either be directly sent to cloud if the devices are internet enabled. If the devices are legacy devices and not internet enabled, then some kind of gateways or aggregators can be used to collect the data from all such devices and then send it to cloud. Then you need an ingestion mechanism - a service or solution which is capable of ingesting data from any number of devices at a time and scale as per the need. Next, you would need a service which would process the incoming data, either to generate a real time action or to aggregate it and store it for further analysis. You would also need  data storage capabilities to store the huge amount of data that will be coming in and at the last you might want to have a way to visualize, search or query this data or to use it for your machine learning experiments.

<strong>How Azure fits into the picture ?</strong>

Microsoft Azure services give you a way to create your entire IOT solution with the use of many different components. Its not a one way solutions but rather a platform consisting of different services from which you can choose the services best fitted for your own scenario. Here is just a glimpse of the all the available services that can be used in your IOT Scenarios.

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image2.png"><img width="1812" height="981" class="alignnone size-full wp-image-105" alt="Microsoft Services" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image2.png" /></a>

<strong>Let's build a scenario, shall we?</strong>

We will create a simple IOT scenario, where we will gather data from different devices and ingest it in cloud. Once it is ingested, we will analyze the data to detect an anomaly and then raise an alert. We will use following Azure services in this scenario.

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image3.png"><img width="1831" height="606" class="alignnone size-full wp-image-115" alt="Scenario" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image3.png" /></a>

<strong>Step 1 - Devices</strong>

Azure IOT Hub has a way to interface with many different types of devices. This repository contains both IoT device SDKs and IoT service SDKs. Device SDKs enable you connect client devices to Azure IoT Hub. Service SDKs enable you to manage your IoT Hub service instance. <a href="https://github.com/Azure/azure-iot-sdks">https://github.com/Azure/azure-iot-sdks</a>

The SDKs are available for different programming languages such as C, Python, Node.js, Java, .Net and also can be used with a broad range of OS platforms and devices such as Linux, Windows and real-time operating systems. The other way to connect to IOT Hub is via <a href="https://docs.microsoft.com/en-us/rest/api/iothub/">IOT Hub Rest APIs</a> if for some reason you can not use a SDK.

In this scenario, we are going to simulate a device using SDK for .NET.

This simulator will generate random values in a given range and send those values to Azure IOT Hub at a specific Interval.

The Link to Code <a href="https://github.com/gsamant/IOTEndtoEndDemo">https://github.com/gsamant/IOTEndtoEndDemo </a>

<strong>Step 2- Create and setup Azure IOT Hub</strong>

Azure IOT Hub helps you to e<span class="st">stablish bi-directional communication with billions of IOT devices and to set up individual identities and credentials for each of your connected devices.</span>

(You need an active Azure subscription to create Azure IOT Hub)

Create an IOT hub using steps described <a href="https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-create-through-portal#create-an-iot-hub">here</a>. (For this scenario, follow the steps only till the creation of IOT Hub.)

Once your IOT Hub is created, the next step is to register a device, this can be done via Azure SDKs, Rest APIs or Azure CLI. You can also use the tools such as <a href="https://github.com/Azure/azure-iot-sdk-csharp/tree/master/tools/DeviceExplorer">Device Explorer </a>(Windows) or <a href="https://github.com/azure/iothub-explorer">IOT Hub  Explorer</a>.

Once the device is registered you will have a device connection string which will have IOT Hub Name, Device ID and a Shared Access Key unique to your device. Once you have the connection string, use the values from the connection string to update the following lines in<strong> Program.cs</strong> file

static string iotHubUri = "&lt;IOT Hub URI&gt;";
static string deviceId = "&lt;Device ID&gt;";
static string deviceKey = "&lt;Device Shared access key&gt;";

<b>Step 3- Create and setup Azure Event Hub</b>

Azure Event hub <span style="color: #6a6a6a">is</span><b><span style="color: #6a6a6a"> </span></b>a managed service that can intake and process massive data streams from websites, apps and devices. This service can be used to directly used to ingest data from devices as well however unlike IOT hub, Event Hub can handle only device to cloud communications.

In this scenario however, we are going to use Azure event hub as an output for the Azure stream analytics job.

Create an Event hub using steps described <a href="https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-create">here</a>. And Note the connection string.

<strong>Step 4 - Create a Stream Analytics job</strong>

Azure Stream Analytics is  a fully managed real-time event-processing engine. Events can come from sensors, applications, devices, operational systems, websites, and a variety of other sources.

Create a Stream Analytics job using steps described <a href="https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-create">here.</a> (For this scenario, follow the steps only till the creation of Stream analytics job). You will have an empty job as below

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image4.png"><img width="1515" height="965" class="alignnone size-full wp-image-125" alt="Stream Analytics" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image4.png" /></a>

Once the Stream analytics job is created, Add the input, output and update the Query as shown below.

[caption id="attachment_135" align="alignleft" width="300"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image5.png"><img width="300" height="651" class="wp-image-135" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image5-472x1024.png" /></a> Input[/caption]

[caption id="attachment_145" align="alignleft" width="300"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image6.png"><img width="300" height="651" class="wp-image-145" alt="Output" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image6-472x1024.png" /></a> Output[/caption]

[caption id="attachment_155" align="alignnone" width="1024"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image7.png"><img width="1024" height="381" class="wp-image-155 size-large" alt="Query" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image7-1024x381.png" /></a> Query[/caption]

<strong>Start</strong> the Stream Analytics Job.

<b>Step 5 - Create an Azure function to process the Event hub queue</b>

Azure Function App is a serverless event based Compute service. The processing can be triggered via an event, a timer or a SaaS activity. In this scenario, we will create an Azure function which will be triggered when the event hub defined in Step 4 receives an event.
<ol>
 	<li>Go to the <a href="https://portal.azure.com">Azure portal</a> and sign-in with your Azure account.</li>
 	<li>Search for Function App and Click Create.

[caption id="attachment_165" align="alignnone" width="300"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image8.png"><img width="300" height="615" class="wp-image-165" alt="Azure Function Creation" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image8.png" /></a> Azure Function Creation[/caption]</li>
 	<li>In your function app, click <strong>+ New Function</strong> &gt; <strong>EventHubTrigger - C#</strong> &gt; <strong>Create</strong>. This creates a function with a default name that is run on the trigger from an Event Hub. It will also ask you to add the name of your Event Hub and the Event hub connection string.<strong> </strong>(For connection string click new, give a name to your connection and paste the connection string from <strong>Step 4</strong>)</li>
 	<li>Copy the code from ProcessEvent.txt file from the GitHub link

[caption id="attachment_175" align="alignnone" width="800"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image9.png"><img width="800" height="421" class="wp-image-175" alt="Azure Function Code" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image9.png" /></a> Azure Function Code[/caption]</li>
 	<li>Leave the Client.BaseAddress URL blank for now. We will update this once we create the Logic App.</li>
</ol>
<b>Step 6 - Create an Azure Logic app to send an Alert</b>

<span class="st">Azure Logic Apps enable you to develop integration solutions with ease and let you automate and simplify business workflows across on-premises and the cloud.</span>

In this Scenario we will create a Logic App which will be triggered from an HTTP request and will send SMS using a Twilio Connector.
<ol>
 	<li>On the <a href="https://portal.azure.com/">Azure portal dashboard</a>, select <strong>New</strong>.</li>
 	<li>In the search bar, search for 'logic app', and then select <strong>Logic App</strong>. You can also select <strong>New</strong>, <strong>Web + Mobile</strong>, and select <strong>Logic App</strong>.</li>
 	<li>Enter a name for your logic app, select a location, resource group, and select <strong>Create</strong>. If you select <strong>Pin to Dashboard</strong> the logic app will automatically open once deployed.</li>
 	<li>After opening your logic app for the first time you can select from a template to start. For now click <strong>Blank Logic App</strong> to build this from scratch.</li>
 	<li>The first item you need to create is the trigger. This is the event that will start your logic app. Search for <strong>Request </strong>in the trigger search box, and select it.</li>
 	<li>In the Request Body JSON Schema field, paste following Schema.

[caption id="attachment_185" align="alignnone" width="600"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image10.png"><img width="600" height="512" class="wp-image-185" alt="JSON Schema" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image10.png" /></a> JSON Schema[/caption]</li>
 	<li>After you Click <strong>Save</strong>. The HTTP Post url will be generated. Copy this URL and paste it in Client.BaseAddress URL in Azure Function that is created previously.

[caption id="attachment_195" align="alignnone" width="700"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image11.png"><img width="700" height="485" class="wp-image-195" alt="Logic App -Request" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image11.png" /></a> Logic App -Request[/caption]

&nbsp;</li>
 	<li>Before going for the next step, we will need to create a Twilio Account. You can create a Free trial Account <a href="https://www.twilio.com/try-twilio">here</a>. Before moving to next step, you need to have a verified Twilio Phone number that can send/receive SMS.</li>
 	<li>Click on <strong>New Step </strong>and search for Twilio. <strong>Select Twilio-Send Test Message (SMS)</strong></li>
 	<li>Enter a connection Name for Twilio, Twilio Account ID and Twilio Access Token (You can get these two from your Twilio dashboard.)

[caption id="attachment_205" align="alignnone" width="700"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image12.png"><img width="700" height="371" class="wp-image-205" alt="Twilio Account Setup" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image12.png" /></a> Twilio Account Setup[/caption]</li>
 	<li>Once the connection is saved. Enter the to and from Phone numbers and Text for message.

[caption id="attachment_215" align="alignnone" width="700"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image13.png"><img width="700" height="480" class="wp-image-215" alt="Twilio SMS Setup" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image13.png" /></a> Twilio SMS Setup[/caption]</li>
 	<li>Save the Logic App changes.</li>
</ol>
So far, we are done with the setup of our scenario. Lets test the scenario.

<strong>Testing the scenario</strong>
<ol>
 	<li>Run the SendEvent application. You will see events going to the IOT hub.

[caption id="attachment_225" align="alignnone" width="600"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image14.png"><img width="600" height="332" class="wp-image-225" alt="App Run" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image14.png" /></a> App Run[/caption]

Stop the application and in <strong>Program.cs</strong> file, uncomment the following lines. This will allow you to manually enter the Temperature value more that 60.

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/image1710.png"><img width="1570" height="206" class="alignnone size-full wp-image-255" alt="Code snippet" src="https://msdnshared.blob.core.windows.net/media/2017/02/image1710.png" /></a>

[caption id="attachment_235" align="alignnone" width="600"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image15.png"><img width="600" height="332" class="wp-image-235" alt="App Run" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image15.png" /></a> App Run[/caption]</li>
 	<li>Check the SMS Alert on your phone.

[caption id="attachment_265" align="alignnone" width="200"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/image1810.png"><img width="200" height="373" class="wp-image-265" alt="SMS Alert" src="https://msdnshared.blob.core.windows.net/media/2017/02/image1810.png" /></a> SMS Alert[/caption]</li>
 	<li>Also, check the Azure Function log.

[caption id="attachment_245" align="alignnone" width="800"]<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Image16.png"><img width="800" height="532" class="wp-image-245" alt="Azure Function Log" src="https://msdnshared.blob.core.windows.net/media/2017/02/Image16.png" /></a> Azure Function Log[/caption]

&nbsp;</li>
</ol>
<strong>Recap </strong>

We created a simple scenario where we simulated a device sending telemetry information. Then we used IOT Hub to ingest the data from the device and Stream analytics job to process the data in real time. The stream analytics query, checked if the temperature is going above a threshold and when it did it sent that event to an Event hub.

We then created an Azure function which will get triggered as soon as there is a new event on the Event hub and will send the Event data to a Logic App using HTTP Request Endpoint. On the Logic App trigger, we created a Twilio connector which will read the temperature from the payload and send the Alert.

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Ping and Tracert commands on Azure VM</title>
      <link>https://docs.microsoft.com/archive/blogs/gsamant/ping-and-tracert-commands-on-azure-vm</link>
      <pubDate>Mon, 16 Feb 2015 05:56:00 GMT</pubDate>
      <dc:creator><![CDATA[Gandhali Samant]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gsamant/2015/02/16/ping-and-tracert-commands-on-azure-vm/</guid>
      <description><![CDATA[When data is sent over the Internet, it's sent in small blocks of data, called  packets. Messages...]]></description>
      <content:encoded><![CDATA[<p>When data is sent over the Internet, it's sent in small blocks of data, called <a href="https://www.webopedia.com/TERM/p/packet.html"> packets</a>. Messages are divided into packets before they are sent, and each packet is then transmitted individually and can even follow different routes to its destination. Once all the packets forming a message arrive at the destination, they are recompiled into the original message.<br /><br /> Sometimes when you are trying to send or receive data over the Internet you may experience timeouts, or a Web server may be down, which prevents you from accessing services and Web sites. There are two common programs that can be used to test your Internet connection and even help you diagnose congestion between your computer (your ISP) and the destination server you're trying to reach. The programs you can use are called <a href="https://www.webopedia.com/TERM/P/PING.html">Ping</a> and <a href="https://www.webopedia.com/TERM/t/traceroute.html">Traceroute</a>.</p>
<p>The <strong>ping</strong> command is a very common method for troubleshooting the accessibility of devices. It uses a series of Internet Control Message Protocol (ICMP) Echo messages to determine Whether a remote host is active or inactive, the round-trip delay in communicating with the host and the packet loss.</p>
<p>The <strong>traceroute</strong> command is used to discover the routes that packets actually take when traveling to their destination. The device sends out a sequence of User Datagram Protocol (UDP) datagrams to an invalid port address at the remote host.</p>
<p>Now There might be a scenario, where you have to use these commands from Azure VM. ICMP support in Azure is blocked externally but you can allow ICMP on firewall rules in the VM and ping between VMs in the same cloud service or virtual network.&nbsp;If you wish to ping between Azure VMs and on-prem machines; then you can setup Point to Point IPsec tunnels or a Site to Site VPN, enable ICMP on both ends and ensure gateway-device firewall (or software VPN gateway) rules allow ICMP traffic (and have necessary routing table entries).</p>
<p>On more way is to use TCP for the same. There are few tools available for that which come in handy.</p>
<p>For Pinging &ndash;</p>
<p>PSPing &ndash;You just need to download, unzip and use it (copy it to your VM for outbound pinging).</p>
<p>Download - <a href="https://technet.microsoft.com/en-us/sysinternals/jj729731.aspx">https://technet.microsoft.com/en-us/sysinternals/jj729731.aspx</a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/62/2364.Ping.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-62/2364.Ping.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/62/2364.Ping.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-62/2364.Ping.png" alt="" border="0" /></a></p>
<p>For Trace route -</p>
<p>You can use a tool called NMAP. Again you need to download and install it. This also uses TCP port. What&rsquo;s interesting is, it blocks some part of the route, maybe when it hits the datacenter.</p>
<p>Download- <a href="https://nmap.org/download.html">https://nmap.org/download.html</a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/62/0247.Nmap.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-62/0247.Nmap.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/62/0247.Nmap.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-62/0247.Nmap.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Azure chat update #AskMSDevs</title>
      <link>https://docs.microsoft.com/archive/blogs/gsamant/azure-chat-update-askmsdevs</link>
      <pubDate>Wed, 06 Aug 2014 05:02:00 GMT</pubDate>
      <dc:creator><![CDATA[Gandhali Samant]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gsamant/2014/08/06/azure-chat-update-askmsdevs/</guid>
      <description><![CDATA[What&rsquo;s the first thing that you think about when you hear the word &lsquo;Cloud&rsquo; or...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">What&rsquo;s the first thing that you think about when you hear the word &lsquo;Cloud&rsquo; or maybe the word &lsquo;Tweet&rsquo;?</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">If you are a nature lover, you will think of some greenery,nice blue sky with white clouds and maybe chirping sound of birds. But if you are one of those tech geeks, you will probably imagine a big data center with lots of machines and maybe hashtags and At signs.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Well for those who fall in the second category, @MSDevIndia team hosted a 2 hour chat about &ldquo;Creating highly available and scalable Apps and APIs using Microsoft Azure&rdquo;. We were joined by some enthusiastic developers who asked some really good questions but with a word limit set of 140 characters, not all questions could get a detailed answer. Below are some excerpts from the chat where we tried to elaborate on the answers.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><strong>What are the benefits of using Azure host my mobile app backend? Is there any place to learn about this?</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">With Azure Mobile Services you can create a secure and highly scalable backend very quickly. And it supports all the platforms be it Android, iOS or Windows. It also gives you way to configure user authentication via Facebook, Twitter, Google or Microsoft. The notification hub gives you a way to push millions of notifications in a short time. And you can also write your own server side like using Node.js or C#.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Some good references on Mobile services &ndash;</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://azure.microsoft.com/en-us/documentation/services/mobile-services/">https://azure.microsoft.com/en-us/documentation/services/mobile-services/</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://channel9.msdn.com/Series/Windows-Azure-Mobile-Services">https://channel9.msdn.com/Series/Windows-Azure-Mobile-Services</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">&nbsp;<strong>2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><strong>How feasible and easy to use Microsoft Azure mobile services as a back-end for game development (leaderboards and multiplayer)?</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Using mobile services for back end of games is very easy and quick. If you want an example check out this sample to see how quickly you can build it.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://code.msdn.microsoft.com/windowsapps/Adding-a-Leaderboard-to-1f9d216d">https://code.msdn.microsoft.com/windowsapps/Adding-a-Leaderboard-to-1f9d216d</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">&nbsp;<strong>3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><strong>Is the Microsoft Azure credits of Rs. 12,100 that we get with a free trial valid for just a month or till the credits expire?</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">This credit is valid for a month only. If you exceed your ₹12,100 free credit, your free trial account will be suspended. You can optionally upgrade your trial to be a Pay-As-You-Go Azure subscription at this point if you want to continue using and paying for services. If not, don&rsquo;t worry &ndash; you won&rsquo;t be billed anything.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>4.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><strong>What are the health monitoring and alerts that Microsoft Azure has to offer?</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">For every VM, cloud service or storage account that you create you have a monitoring dashboard available in the portal. You can customize the monitoring by adding/deleting logging as well as configuring different metrics. Also, in the management portal, you have management services where you can create alerts for any of your apps and also view operational logs.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/62/3858.Alerts%20Preview.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-62/3858.Alerts-Preview.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/62/3858.Alerts%20Preview.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-62/3858.Alerts-Preview.png" alt="" border="0" /></a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>5.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><strong>Can I as an iOS dev. make use of Azure?</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Yes. You can use Mobile Services, notification hubs and also Media services for your iOS Apps. <a href="https://azure.microsoft.com/en-us/documentation/services/mobile-services/">https://azure.microsoft.com/en-us/documentation/services/mobile-services/</a><a href="https://azure.microsoft.com/en-us/documentation/articles/mobile-services-ios-get-started-push/">https://azure.microsoft.com/en-us/documentation/articles/mobile-services-ios-get-started-push/</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>6.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><strong>Is there a tutorial on how to quickly build and deploy apps to the cloud?</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">You can create Apps as Websites or as cloud services. Here is a tutorial series about quickly creating and deploying Websites in Azure.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://channel9.msdn.com/Series/Windows-Azure-Web-Sites-Tutorials">https://channel9.msdn.com/Series/Windows-Azure-Web-Sites-Tutorials</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">If you also want to check how to use Cloud Services. Check out this tutorial.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://channel9.msdn.com/Series/Windows-Azure-Cloud-Services-Tutorials">https://channel9.msdn.com/Series/Windows-Azure-Cloud-Services-Tutorials</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">&nbsp;<strong>7.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><strong>How does azure help in scaling my mobile app after deploying?</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">After you deploy your mobile service, you can go to Azure management portal and check the auto scale options. You can configure the auto scaling depending on the number of API calls or you can even create scheduled scaling.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/62/7178.Mobile%20services%20scaling.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-62/7178.Mobile-services-scaling.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/66/62/7178.Mobile%20services%20scaling.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-66-62/7178.Mobile-services-scaling.png" alt="" border="0" /></a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>8.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><strong>What are the risks involved in migrating my apps to the cloud? </strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">There are few things you need to consider when you move to cloud.</span></p>
<ol>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Managing Security of your application</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Integration of on premise and on cloud system.</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Availability and performance of your applications.</span></li>
</ol>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Microsoft Azure provides you multiple levels of security for your data. See this <a href="https://azure.microsoft.com/en-us/support/trust-center/">https://azure.microsoft.com/en-us/support/trust-center/</a>&nbsp;site for more information. Azure also allows you to create hybrid clouds using virtual networks. Azure gives you horizontal and vertical scaling options as well as load balancing and traffic routing capabilities to ensure the performance and the availability of the app When you plan your migration activities consider using following approach-</span></p>
<ol>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Assess your Applications and Workloads.</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Build the Business Case</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Develop the Technical Approach</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Adopt a Flexible Integration Model</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Address Security and Privacy Requirements</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Manage the Migration</span></li>
</ol>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>9.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><strong>I have just started building apps &amp; would like to know how to leverage Microsoft Azure at a novice level.</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">For building mobile apps, you will need backend. You can check out mobile services. If you are building Web apps, Check out the tutorials mentioned above which show you how to quickly create websites and deploy them.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>10.&nbsp;&nbsp;&nbsp; </strong><strong>How much cost will I incur to shift an office of 20 employees to the cloud? We have an e-commerce business.</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">This will depend upon what applications are being used in the office? Are they internal or external applications? A good starting point will be to make an inventory of your current IT requirements and also the costs associated with their maintenance and updates.And then use the calculator on <a href="https://www.windowsazure.com">www.windowsazure.com</a> to check the costs on Azure.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">One point of caution will be its not always apple to apple comparison. In an on premises setup you always provision for extra load as scaling up can not be done quickly. Whereas when you move to cloud, you can actually use the infrastructure that you need and quickly scale up or down when needed.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><strong>11.&nbsp;&nbsp;&nbsp; </strong><strong>I am using the #Eclipse IDE &amp; would like to know if #Azure supports it or if it only supports Microsoft IDE like VS? Is there any specific #Azure plugins I can get, if so where do I get &amp; how much will it cost me?</strong></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Azure supports different platforms and framework. This link <a href="https://azure.microsoft.com/en-us/downloads/">https://azure.microsoft.com/en-us/downloads/</a>&nbsp;will give you SDK downloads for all the different platforms that are supported. For eclipse plugin, here is a link.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://java.interoperabilitybridges.com/articles/windows-azure-plugin-for-eclipse-with-java">https://java.interoperabilitybridges.com/articles/windows-azure-plugin-for-eclipse-with-java</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://msdn.microsoft.com/en-us/library/azure/hh694271.aspx">https://msdn.microsoft.com/en-us/library/azure/hh694271.aspx</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">&nbsp;<strong>12.&nbsp;&nbsp;</strong> <strong>What are the risks involved in building websites using nodejs with Web matrix on Microsoft Azure</strong>?</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">While there are no known risks as such a good place to start would be here to make sure you build your website correctly.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://azure.microsoft.com/en-us/documentation/articles/web-sites-nodejs-use-webmatrix/">https://azure.microsoft.com/en-us/documentation/articles/web-sites-nodejs-use-webmatrix/</a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Thank you all once again for your valuable time and participation. <span style="color: #000000;">In case you have further queries, please feel free to reach out to me @s_gandhali. </span></span></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>