<?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>Sajid's TechnoTips</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sajid/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sajid/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:24:16 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Basic Azure Diagnostics</title>
      <link>https://docs.microsoft.com/archive/blogs/sajid/basic-azure-diagnostics</link>
      <pubDate>Fri, 30 Apr 2010 18:03:00 GMT</pubDate>
      <dc:creator><![CDATA[Sajid Qayyum]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sajid/2010/04/30/basic-azure-diagnostics/</guid>
      <description><![CDATA[&nbsp; 
Just as the camera is important in capturing the details of moments, logging and tracing...]]></description>
      <content:encoded><![CDATA[&nbsp; 
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Just as the camera is important in capturing the details of moments, logging and tracing are important in an application. Without them, you have no way to record the details when they happened. Today we will discuss how to enable and record data in an application in the cloud.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">The following are the additions that will be done by Visual Studio for us when creating a web or worker role in Azure.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<OL style="FONT-STYLE: normal; MARGIN-TOP: 0in; unicode-bidi: embed; FONT-FAMILY: Calibri; DIRECTION: ltr; MARGIN-BOTTOM: 0in; MARGIN-LEFT: 0.375in; FONT-SIZE: 11pt; FONT-WEIGHT: bold" type=1>
<LI style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; VERTICAL-ALIGN: middle; FONT-WEIGHT: bold" value=1><SPAN style="FONT-STYLE: normal; FONT-FAMILY: Calibri; FONT-SIZE: 11pt; FONT-WEIGHT: bold">WebRole.cs</SPAN></LI></OL>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in"><IMG style="WIDTH: 653px; HEIGHT: 438px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/00/55/78/6_1.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/10005578/original.aspx" width=770 height=511 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/10005578/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<OL style="FONT-STYLE: normal; MARGIN-TOP: 0in; unicode-bidi: embed; FONT-FAMILY: Calibri; DIRECTION: ltr; MARGIN-BOTTOM: 0in; MARGIN-LEFT: 0.375in; FONT-SIZE: 11pt; FONT-WEIGHT: bold" type=1>
<LI style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; VERTICAL-ALIGN: middle; FONT-WEIGHT: bold" value=2><SPAN style="FONT-STYLE: normal; FONT-FAMILY: Calibri; FONT-SIZE: 11pt; FONT-WEIGHT: bold">Web.Config</SPAN></LI></OL>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in"><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/00/55/79/6_2.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/10005579/original.aspx" mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/10005579/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">We have to do the following.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<OL style="FONT-STYLE: normal; MARGIN-TOP: 0in; unicode-bidi: embed; FONT-FAMILY: Calibri; DIRECTION: ltr; MARGIN-BOTTOM: 0in; MARGIN-LEFT: 0.375in; FONT-SIZE: 11pt; FONT-WEIGHT: normal" type=1>
<LI style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; VERTICAL-ALIGN: middle" value=1><SPAN style="FONT-STYLE: normal; FONT-FAMILY: Calibri; FONT-SIZE: 11pt; FONT-WEIGHT: normal">Add an Azure Storage account to the Service Configuration file.</SPAN></LI></OL>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/00/55/80/6_3.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/10005580/original.aspx" mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/10005580/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Where the ACCOUNT_NAME is the name of the blob service and ACCOUNT_KEY is the primary or secondary access key.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<OL style="FONT-STYLE: normal; MARGIN-TOP: 0in; unicode-bidi: embed; FONT-FAMILY: Calibri; DIRECTION: ltr; MARGIN-BOTTOM: 0in; MARGIN-LEFT: 0.375in; FONT-SIZE: 11pt; FONT-WEIGHT: normal" type=1>
<LI style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; VERTICAL-ALIGN: middle" value=2><SPAN style="FONT-STYLE: normal; FONT-FAMILY: Calibri; FONT-SIZE: 11pt; FONT-WEIGHT: normal">Update the Diagnostic Monitor configuration to update configuration settings like the transfer period schedule from the machine to blob or the log level filter. This has to be done in the WebRole.cs before calling the Start method within OnStart.</SPAN></LI></OL>
<P style="MARGIN: 0in 0in 0in 0.375in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/00/55/81/6_4.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/10005581/original.aspx" mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/10005581/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in 0in 0in 0.375in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">We collect the default configuration and update the settings to start the Diagnostic Monitor with the new settings.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Logs are the internal trace logs that will be saved in the WADLogsTable within the blob tables. In order to collect the event log, we will add<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>an event log data source to it as well.</P>
<P style="MARGIN: 0in 0in 0in 0.375in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/00/55/82/6_5.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/10005582/original.aspx" mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/10005582/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in 0in 0in 0.375in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">This will collect Windows Event Log entries that are within the Application channel and belong to "System Restore". The Windows Event Logs will be saved in WADWindowsEventLogsTable<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>within the blob tables.</P>
<P style="MARGIN: 0in 0in 0in 0.375in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in 0in 0in 0.375in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Additional Details on configuring the Diagnostic Monitor can be found <A href="https://msdn.microsoft.com/en-us/library/ee843890.aspx">here</A></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<OL style="FONT-STYLE: normal; MARGIN-TOP: 0in; unicode-bidi: embed; FONT-FAMILY: Calibri; DIRECTION: ltr; MARGIN-BOTTOM: 0in; MARGIN-LEFT: 0.375in; FONT-SIZE: 11pt; FONT-WEIGHT: normal" type=1>
<LI style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; VERTICAL-ALIGN: middle" value=3><SPAN style="FONT-STYLE: normal; FONT-FAMILY: Calibri; FONT-SIZE: 11pt; FONT-WEIGHT: normal">The last task is to add the code to actually trace or log the messages. The .net base classes under System.Diagnostics are supported for Windows Azure. You can use Trace class for the Logs and EventLog class for the Windows Event Logs.</SPAN></LI></OL>
<P style="MARGIN: 0in 0in 0in 0.375in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in 0in 0in 0.375in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Note: If you want to write an entry into the event log, you have to use an existing source. Creating a new source requires admin rights which are not supported in Azure.</P>
<P style="MARGIN: 0in 0in 0in 0.375in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in 0in 0in 0.375in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in 0in 0in 0.375in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in 0in 0in 0.375in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Restrictions of Stored Procedures in SQL Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/sajid/restrictions-of-stored-procedures-in-sql-azure</link>
      <pubDate>Thu, 22 Apr 2010 19:36:00 GMT</pubDate>
      <dc:creator><![CDATA[Sajid Qayyum]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sajid/2010/04/22/restrictions-of-stored-procedures-in-sql-azure/</guid>
      <description><![CDATA[&nbsp;
While migrating my stored procedures to SQL Azure, I received&nbsp;errors in some because of...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">While migrating my stored procedures to SQL Azure, I received&nbsp;errors in some because of lack of support of some of the functionality. I had to find a workaround to successfully export them to SQL Azure.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="FONT-WEIGHT: bold"><U>Working with XML</U></SPAN></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="FONT-WEIGHT: bold">sp_xml_preparedocument</SPAN></P>
<P style="MARGIN: 0in"><SPAN style="FONT-FAMILY: Calibri; FONT-SIZE: 11pt">It r</SPAN><SPAN style="FONT-FAMILY: 'Segoe UI'; FONT-SIZE: 10pt">eads the XML string within the SP, parses it using MSXML parser and provides a handle to the parsed document, which is stored locally by the SQL Server. This parsed document is a tree representation of the various nodes in the XML document. It is not supported by SQL Azure.</SPAN></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="FONT-WEIGHT: bold">sp_xml_removedocument</SPAN></P>
<P style="MARGIN: 0in"><SPAN style="FONT-FAMILY: Calibri; FONT-SIZE: 11pt">It removes the parsed xml document created as a result of sp_xml_preparedocument.</SPAN><SPAN style="FONT-FAMILY: 'Segoe UI'; FONT-SIZE: 10pt"> It is not supported by SQL Azure.</SPAN></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="FONT-WEIGHT: bold">OpenXML</SPAN></P>
<P style="MARGIN: 0in"><SPAN style="FONT-FAMILY: Calibri; FONT-SIZE: 11pt">It provides a rowset view over an xml document. </SPAN><SPAN style="FONT-FAMILY: 'Segoe UI'; FONT-SIZE: 10pt">It is not supported by SQL Azure.</SPAN></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="TEXT-DECORATION: underline">Example</SPAN></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/00/12/37/5_1.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/10001237/original.aspx" mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/10001237/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Output</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/00/12/38/5_2.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/10001238/original.aspx" mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/10001238/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><SPAN style="FONT-WEIGHT: bold">Workaround</SPAN></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">The workaround is to use <STRONG>nodes(..)</STRONG> and <STRONG>value(..)</STRONG> functions</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/00/12/39/5_3.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/10001239/original.aspx" mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/10001239/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">As you can see in the highlighted portion, all the details of the WITH in the previous example have been passed within value(..) function, which is used in the SELECT statement. Also, the sp_xml_preparedocument and sp_removedocument have been removed. This method directly uses the xmlString to get the rows.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Creating a Web Service in Cloud</title>
      <link>https://docs.microsoft.com/archive/blogs/sajid/creating-a-web-service-in-cloud</link>
      <pubDate>Tue, 06 Apr 2010 17:34:00 GMT</pubDate>
      <dc:creator><![CDATA[Sajid Qayyum]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sajid/2010/04/06/creating-a-web-service-in-cloud/</guid>
      <description><![CDATA[Let's create our first web service in the cloud. The service will return the factorial of a number....]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Let's create our first web service in the cloud. The service will return the factorial of a number. Just like our Hello World ASP.NET application, we will create a new Cloud Service project but this time with no Role. Once the project is created, add a new ASP.NET Web Service Application project to the solution&nbsp;and add it as a Web Role in the Cloud Service project. In the web service, just add the following methods.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in"><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/14/69/4_1.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9991469/original.aspx" mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9991469/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Now, press F5 and you will get the following.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in"><IMG style="WIDTH: 528px; HEIGHT: 439px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/14/70/4_2.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9991470/original.aspx" width=622 height=578 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9991470/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Don't close the existing solution. Copy the URL address and open a new Visual Studio environment with a new solution and a Console project. Add a service reference to it, providing the above URL.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in"><IMG style="WIDTH: 540px; HEIGHT: 416px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/14/71/4_3.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9991471/original.aspx" width=491 height=390 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9991471/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">FactorialReference is the namespace given to this web service reference. Use it to calculate the factorial and output the result. Press F5 and you will see the command window output "The factorial of 5 is 120".</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in"><IMG style="WIDTH: 895px; HEIGHT: 145px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/14/72/4_4.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9991472/original.aspx" width=966 height=137 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9991472/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Why did we do that, you will know in the end. Now, stop both the solutions and publish the web service just the way mentioned in the <A title="Windows Azure: Hello World Part 2" href="https://blogs.msdn.com/sajid/archive/2010/04/04/windows-azure-hello-world-part-2.aspx" mce_href="https://blogs.msdn.com/sajid/archive/2010/04/04/windows-azure-hello-world-part-2.aspx">Windows Azure: Hello World Part 2</A>.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Once you have successfully deployed and run the web service, it is time to update the reference of the console application. Open the "app.config" of the console project and modify the client endpoint address to set to the production URL of the web service in cloud.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in"><IMG style="WIDTH: 755px; HEIGHT: 90px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/14/73/4_5.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9991473/original.aspx" width=672 height=89 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9991473/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">We did not directly update the service reference in the console project to point to cloud directly because that does not work. This is because of some configuration of internal Windows Azure environment to handle internal and external comms pathways that needs to be fixed. But since we have a workaround, we don’t need to worry about that.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Referencing SQL Azure Database</title>
      <link>https://docs.microsoft.com/archive/blogs/sajid/referencing-sql-azure-database</link>
      <pubDate>Tue, 06 Apr 2010 16:50:00 GMT</pubDate>
      <dc:creator><![CDATA[Sajid Qayyum]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sajid/2010/04/06/referencing-sql-azure-database/</guid>
      <description><![CDATA[Irrespective of where your application lies i.e. in the cloud or locally, you can simply...]]></description>
      <content:encoded><![CDATA[<P>Irrespective of where your application lies i.e. in the cloud or locally, you can simply connect&nbsp;to the SQL Azure database by replacing your local DB Connection String with the SQL Azure Connection String.&nbsp;The connection string for any SQL Azure database&nbsp;can be obtained&nbsp;in the "Server Administration" screen in your SQL Azure account by selecting the&nbsp;database and clicking the Connection String button under the Databases tab.</P>
<P><IMG style="WIDTH: 585px; HEIGHT: 290px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/14/58/5_1.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9991458/original.aspx" width=668 height=290 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9991458/original.aspx"></P>]]></content:encoded>
    </item>
    <item>
      <title>Exporting and Synchronize local Database to SQL Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/sajid/exporting-and-synchronize-local-database-to-sql-azure</link>
      <pubDate>Mon, 05 Apr 2010 21:41:00 GMT</pubDate>
      <dc:creator><![CDATA[Sajid Qayyum]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sajid/2010/04/05/exporting-and-synchronize-local-database-to-sql-azure/</guid>
      <description><![CDATA[I assume that you already have a SQL Azure account with a Server name and an Administrator. Both the...]]></description>
      <content:encoded><![CDATA[<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">I assume that you already have a SQL Azure account with a Server name and an Administrator. Both the server name and the administrator username are written under "Server Information" on the SQL Azure Server Administration screen.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">We start by establishing a connection from our SQL Server Management Studio to the SQL Azure. But for that, we must first allow our computer to be connected to SQL Azure, since SQL Azure restricts all communication as a default setting. For that, Login to your SQL Azure account.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in"><img height="273" width="650" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/09/20/3_1.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990920/original.aspx" style="width: 576px; height: 273px;" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Go to Firewall Settings and check "Allow Microsoft Services access to this server. This will allow communication from Windows Azure services.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in"><img height="310" width="662" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/09/21/3_2.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990921/original.aspx" style="width: 585px; height: 310px;" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Next we want to add a rule to give access to our local machine. Click on "Add Rule" and the popup window will show up having the ip address of the local machine. Since I have 2 machines, one is 103 and one is 117, so I will give a wider limit. Once you are done, click Submit. </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in"><img height="275" width="471" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/09/22/3_3.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990922/original.aspx" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Now if you go to the "Databases" tab and select the "master" database, you can test its connectivity as well as view its connection string. I would recommend you to copy the connection string into your notepad for future reference.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Open your SQL Server 2008 R2 Management Studio and enter your SQL Azure database name (the complete name) into the Server name box and select SQL Server Authentication in Authentication. Then provide the SQL Azure Administrator username and password and click "Connect". Remember that the "Server type" has to be "Database Engine".</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Note: For SQL Server 2008, you have to close the connection window and click "New Query" to connect successfully.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Once you are connected, you will not see any databases except for the master.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/09/14/1376.1_1.jpg" original-url="https://blogs.msdn.com/cfs-filesystemfile.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-09-14/1376.1_5F00_1.jpg" border="0" style="max-width: 550px;" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Now Launch your SQL Azure Data Sync tool to export the database schema from local to the SQL Azure database.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in"><img height="492" width="712" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/09/24/3_5.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990924/original.aspx" style="width: 606px; height: 433px;" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Enter the required SQL Azure Server info and test the connection. If it is succeeded, move on.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in"><img height="463" width="673" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/09/25/3_6.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990925/original.aspx" style="width: 605px; height: 436px;" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Enter the local SQL Server info and test the connection. If it is succeeded, move on.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in"><img height="448" width="648" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/09/26/3_7.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990926/original.aspx" style="width: 605px; height: 439px;" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Select the tables that you want to export. Since we are exporting the database to SQL Azure for the first time, I would set the "Conflict Resolution Policy" to Local. It means that in case of conflict, the final data would be of the local database.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in"><img height="453" width="649" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/09/27/3_8.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990927/original.aspx" style="width: 607px; height: 447px;" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Rearrange the order of the tables, with the independent tables at the top, such that all the tables must have their dependent tables above them.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in"><img height="413" width="638" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/09/28/3_9.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990928/original.aspx" style="width: 605px; height: 422px;" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Review the changes and click Process to start synchronizing the two databases.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in"><img height="434" width="647" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/09/29/3_10.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990929/original.aspx" style="width: 609px; height: 434px;" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><img height="421" width="660" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/09/30/3_11.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990930/original.aspx" style="width: 609px; height: 403px;" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Once the synchronization is complete, go to the SQL Server Management Studio and you will see an EmployeeVacation database in SQL Azure.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in"><img height="74" width="164" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/09/14/3010.1_2.jpg" original-url="https://blogs.msdn.com/cfs-filesystemfile.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-09-14/3010.1_5F00_2.jpg" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">The SQL Azure data sync tool created a SQL Server Agent sync job that runs once a day and synchronizes both your databases. This job is created on the SQL Server Agent of your local SQL Server containing the local database. However, in case of conflict, the data is taken from the local server. If your cloud data is your production data then you should set Azure in "Conflict Resolution Policy" in the 3rd Step of SQL Azure data sync tool.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="mso-spacerun: yes"></span>&nbsp;</p>
<p style="MARGIN: 0in"><img height="147" width="306" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/09/32/3_13.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990932/original.aspx" style="width: 306px; height: 147px;" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">If you want to run this sync now, you can right click the job and select "Start job at Step&hellip;" and it will sync your data.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in"><img height="268" width="412" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/09/33/3_14.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990933/original.aspx" style="width: 371px; height: 268px;" /></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><strong>Note: At present, SQL Azure Sync&nbsp;Framework and Tools&nbsp;installation has to be 32-bit (x86), even on 64-bit machines, since x64 version creates problems while&nbsp;synchronizing and your job will most likely fail.</strong></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Check the data in SQL Azure database and you will see that it is synchronized with the local database.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Windows Azure: Hello World part 2</title>
      <link>https://docs.microsoft.com/archive/blogs/sajid/windows-azure-hello-world-part-2</link>
      <pubDate>Sun, 04 Apr 2010 18:44:00 GMT</pubDate>
      <dc:creator><![CDATA[Sajid Qayyum]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sajid/2010/04/04/windows-azure-hello-world-part-2/</guid>
      <description><![CDATA[In the previous&nbsp;post we created a new&nbsp;ASP.NET Windows Azure application. In this post, we...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">In the <A title="previous post" href="https://blogs.msdn.com/sajid/archive/2010/04/03/windows-azure-hello-world-part-1.aspx" mce_href="https://blogs.msdn.com/sajid/archive/2010/04/03/windows-azure-hello-world-part-1.aspx">previous&nbsp;post</A> we created a new&nbsp;ASP.NET Windows Azure application. In this post, we will publish in on the cloud. In order to publish the application to the cloud, we have to make sure that except for the .net standard library dlls, all the remaining dlls referenced are to be copied to the output directory, so that they are within the package that will be deployed on the cloud. This is because the cloud doesn’t have additional sdks installed. To achieve that, we must set the "Copy Local" property of all the referenced dlls (other than .net standard) to "True".</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true"><IMG style="WIDTH: 332px; HEIGHT: 331px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/03/98/12.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990398/original.aspx" width=332 height=331 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990398/original.aspx">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Right click "HelloWorldService" project and click "Publish". It will open a folder with two files in it, a package file with the extension .cspkg and a configuration file with the extension .cscfg.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Sign into your windows azure account by going online at <A href="https://windows.azure.com/">https://windows.azure.com</A></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">Create a new service by clicking "New Service". This service should be a hosted service, since we want to host an ASP.NET application.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG style="WIDTH: 662px; HEIGHT: 307px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/03/84/1.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990384/original.aspx" width=944 height=480 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990384/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG style="WIDTH: 658px; HEIGHT: 328px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/03/85/2.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990385/original.aspx" width=946 height=476 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990385/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">Provide a name and description for it and click "Next".</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG style="WIDTH: 590px; HEIGHT: 248px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/03/86/3.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990386/original.aspx" width=752 height=360 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990386/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Enter a public name for your service. Also since we don’t have any dependency with other applications, it doesn’t matter where it is stored.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG style="WIDTH: 659px; HEIGHT: 635px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/03/87/4.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990387/original.aspx" width=944 height=817 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990387/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Our service is now ready to receive any deployment. We first try to deploy our application in the Staging area just to test whether it works or not. Once it is successfully deployed over the Staging area, we can easily move it to the Production.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG style="WIDTH: 658px; HEIGHT: 705px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/03/88/5.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990388/original.aspx" width=779 height=803 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990388/original.aspx"><A href="https://blogs.msdn.com/photos/sajid_qayyum/images/9990388/original.as"></A></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">In the Staging Deployment, upload the .cspkg file published by Visual Studio in the "Application Package" and the .cscfg file in the "Configuration Settings". Also, give this deployment a name.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/03/89/6.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990389/original.aspx" width=614 height=375 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990389/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Once you are done, click "Deploy" and it will start deploying the application.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG style="WIDTH: 637px; HEIGHT: 327px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/03/90/7.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990390/original.aspx" width=756 height=396 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990390/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">The application will be stopped initially after deployment. You have to click "Run" to make it online.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/03/91/8.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990391/original.aspx" width=561 height=424 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990391/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">The status will be "Initializing" in the beginning. It will take some time for the application to be online.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/03/92/9.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990392/original.aspx" width=630 height=279 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990392/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Once the status is "Ready", you can connect to your website using the "Web Site URL" link. You can update and re-configure your website if you need some tweaks here and there. Once you are satisfied with it, you can move it over to Production by pressing the blue button in the center.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true"><IMG style="WIDTH: 657px; HEIGHT: 341px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/03/93/10.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990393/original.aspx" width=754 height=402 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990393/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true"><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/03/94/11.PNG" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990394/original.aspx" width=669 height=292 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990394/original.aspx">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Congratulations, you have just created your own very first Hello World application in cloud.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Windows Azure: Hello World part 1</title>
      <link>https://docs.microsoft.com/archive/blogs/sajid/windows-azure-hello-world-part-1</link>
      <pubDate>Sat, 03 Apr 2010 17:18:00 GMT</pubDate>
      <dc:creator><![CDATA[Sajid Qayyum]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sajid/2010/04/03/windows-azure-hello-world-part-1/</guid>
      <description><![CDATA[&nbsp; 
Let us create a simple hello world application in ASP.NET. It will be run locally using the...]]></description>
      <content:encoded><![CDATA[&nbsp; 
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Let us create a simple hello world application in ASP.NET. It will be run locally using the development fabric. In the second part, we will learn how to deploy it in cloud.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Open Visual Studio in administrator mode (Run as administrator) and create a new "Windows Azure Cloud Service" project.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true"><IMG style="WIDTH: 733px; HEIGHT: 492px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/01/75/helloworld_picture1.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990175/original.aspx" width=747 height=506 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990175/original.aspx"></P>
<P style="MARGIN: 0in" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Add an ASP.NET web role to the project.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in"><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/01/77/helloworld_picture2.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990177/original.aspx" mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990177/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">In the default.aspx file, type in some text<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>within the "div" tags.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true"><IMG style="WIDTH: 394px; HEIGHT: 211px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/01/80/helloworld_picture7.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990180/original.aspx" width=394 height=211 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990180/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">If you press F5 now, your application should now run. If it gives you the following error,</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in"><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/01/78/helloworld_picture3.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990178/original.aspx" mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990178/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">It means that you don’t have your development storage setup. For now, just turn it off from the following</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">HelloWorldService project properties --&gt; Development</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in"><IMG style="WIDTH: 654px; HEIGHT: 355px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/01/86/helloworld_picture4.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990186/original.aspx" width=673 height=374 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990186/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">The output will give you the following.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in"><IMG src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/01/85/helloworld_picture5.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990185/original.aspx" width=653 height=191 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990185/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">This project is run by imitating the windows azure deployment in local computer. You can look at the output by going to the Development Fabric window.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in"><IMG style="WIDTH: 639px; HEIGHT: 334px" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/99/01/82/helloworld_picture6.png" original-url="https://blogs.msdn.com/photos/sajid_qayyum/images/9990182/original.aspx" width=733 height=451 mce_src="https://blogs.msdn.com/photos/sajid_qayyum/images/9990182/original.aspx"></P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">Now we are ready to deploy our Hello World application on the cloud&nbsp;<A title=here href="https://blogs.msdn.com/sajid/archive/2010/04/04/windows-azure-hello-world-part-2.aspx" mce_href="https://blogs.msdn.com/sajid/archive/2010/04/04/windows-azure-hello-world-part-2.aspx">here</A>.</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt" mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
  </channel>
</rss>