<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Grounded in Mobility</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/agujjar/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/agujjar/feed.xml</link>
    <description>extreme over the air manouvers</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:14:19 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Block scoping variables</title>
      <link>https://docs.microsoft.com/archive/blogs/agujjar/block-scoping-variables</link>
      <pubDate>Tue, 02 Dec 2008 20:32:18 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/agujjar/2008/12/02/block-scoping-variables/</guid>
      <description><![CDATA[Block scoping is used mostly as by-product of using the standard blocks like try-catch, if-then,...]]></description>
      <content:encoded><![CDATA[<p>Block scoping is used mostly as by-product of using the standard blocks like try-catch, if-then, do-while etc.</p> <p>However you can explicitly use blocks by unqualified { } braces. I've started using this feature to contain the variables within a function to a specific scope. This is cutting down silly mistakes during development time.</p>]]></content:encoded>
    </item>
    <item>
      <title>Best new VS Tip - Ctrl +-</title>
      <link>https://docs.microsoft.com/archive/blogs/agujjar/best-new-vs-tip-ctrl</link>
      <pubDate>Thu, 27 Nov 2008 07:46:04 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/agujjar/2008/11/27/best-new-vs-tip-ctrl/</guid>
      <description><![CDATA[Just picked this up from Scott on Writing .  Ctrl +- allows you to navigate through the stack of...]]></description>
      <content:encoded><![CDATA[<p>Just picked this up from <a href="http://scottonwriting.net/sowblog/posts/13600.aspx">Scott on Writing</a> . </p> <p>Ctrl +- allows you to navigate through the stack of cursor positions in your VS session. Invaluable when going through multiple F12 (go to definition) in a multilayred application or any comlex debugging session. I expect to use this shortcut daily.</p> <p>I used to mess around with Ctrl-KK, Ctrl-KN (bookmarks) to achieve the same result. This way is much simpler.</p> <p>cheers</p>]]></content:encoded>
    </item>
    <item>
      <title>Data Generation</title>
      <link>https://docs.microsoft.com/archive/blogs/agujjar/data-generation</link>
      <pubDate>Thu, 27 Nov 2008 07:45:16 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/agujjar/2008/11/27/data-generation/</guid>
      <description><![CDATA[I don't normally work with a huge number of tables and do a lot of SQL work. But when I do start one...]]></description>
      <content:encoded><![CDATA[<p>I don't normally work with a huge number of tables and do a lot of SQL work. But when I do start one of the most painful experiences is generating test data. Painful and un-rewarding. This is the data generation that is purely schema driven and does not care about the actual content of the data.</p> <p>Looking around for data generation tools i stumbled upon this beauty from Red Gate software - <a href="http://www.red-gate.com/products/SQL_Data_Generator/index.htm">Data Generator</a>&nbsp;. I've just fooled around with the the trial version which was simple and quick. at 249 $ it strikes me as too steep for non-database specialists to splurge on personally.</p> <p>Data generation tools sounds like a perfect fit for an open-source initiative with crowd sourced data for all types of industries. Anyone listening ?</p> <p>Let me know if any one has free tool recommendations</p>]]></content:encoded>
    </item>
    <item>
      <title>Web Platform Installer Release candidate available</title>
      <link>https://docs.microsoft.com/archive/blogs/agujjar/web-platform-installer-release-candidate-available</link>
      <pubDate>Thu, 27 Nov 2008 07:45:04 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/agujjar/2008/11/27/web-platform-installer-release-candidate-available/</guid>
      <description><![CDATA[The Web Platform Installer (Web PI) is a simple tool that installs Microsoft's entire Web Platform,...]]></description>
      <content:encoded><![CDATA[<p>The Web Platform Installer (Web PI) is a simple tool that installs Microsoft's entire Web Platform, including IIS7, Visual Web Developer 2008 Express Edition, SQL Server 2008 Express Edition and the .NET Framework. Using the Web Platform Installer’s user interface, you can choose to install either specific products or the entire Microsoft Web Platform onto your computer. The Web PI also helps keep your products up to date by always offering the latest additions to the Web Platform.</p> <p>download from <a href="http://www.microsoft.com/web/channel/products/WebPlatformInstaller.aspx">here</a></p> <p>Read more about it&nbsp;on Scott Hanselmans blog <a href="http://feedproxy.google.com/~r/ScottHanselman/~3/1qx80PXAmws/WebPlatformInstallerNowSupportsXPAndTheMasterPlanContinues.aspx">here</a> </p> <p>happy installing the installer</p>]]></content:encoded>
    </item>
    <item>
      <title>Never Again - The tale of a missed friday evening beer</title>
      <link>https://docs.microsoft.com/archive/blogs/agujjar/never-again-the-tale-of-a-missed-friday-evening-beer</link>
      <pubDate>Sat, 22 Nov 2008 01:43:51 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/agujjar/2008/11/22/never-again-the-tale-of-a-missed-friday-evening-beer/</guid>
      <description><![CDATA[He was just like all the other developers when the project started. His eyes gleamed at the thought...]]></description>
      <content:encoded><![CDATA[<p>He was just like all the other developers when the project started. His eyes gleamed at the thought of starting off on a new code base - the thrill of the first include statement. He knew excatly where the code would be located -&nbsp;D volume (obviously - no self respecting techie would ever use the system volume for storage ). The code would go 5 folders deep under Projects\Work\CompanyName\ProjectName\Code - no spaces. He liked his keyboard and spaces induce the dreaded two-fingered shift key combo that would slow down coding when in the command prompt. </p> <p>The months passed away in whirl of multi-threading (to the tune of "do that funky coding.. geek booy") and exception chasing. Then it happened. T'was the night before UAT, and he had just put the final touches on the self-healing component of the system. In his all-knowing farsightedness, the self-healing patch download location would be the same as the host application which would get passed to the Process.Start command as a paramter - sweet.&nbsp; It was all unit tested - patches were coming in just beautifully and doing their magic. 6 p/m friday - nice - beer beckoned. and then ..... one of the silly users decided to install the application ... of all the arcane locations under c:\Program <strong>&lt;space&gt; </strong>Files \blah <strong>&lt;space&gt;</strong> blah..&nbsp; damn these pesky users . of course he had forgotten to sorround the command arguments with "". </p> <p>Note to self - </p> <p>1. Always develop against a realistic folder path with spaces in them</p> <p>2. Never assume the presence of even a "C" drive.</p>]]></content:encoded>
    </item>
    <item>
      <title>Just out - IE 6 for WM</title>
      <link>https://docs.microsoft.com/archive/blogs/agujjar/just-out-ie-6-for-wm</link>
      <pubDate>Sat, 22 Nov 2008 00:51:24 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/agujjar/2008/11/22/just-out-ie-6-for-wm/</guid>
      <description><![CDATA[Its out and its... well&nbsp;much much nicer than the current PIE.    &nbsp; Can you have it ? -...]]></description>
      <content:encoded><![CDATA[<p>Its out and its... well&nbsp;much much nicer than the current PIE. </p> <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/agujjar/WindowsLiveWriter/JustoutIE6forWM_BCD/image%7B0%7D%5B1%5D.png" original-url="http://blogs.msdn.com/blogfiles/agujjar/WindowsLiveWriter/JustoutIE6forWM_BCD/image%7B0%7D%5B1%5D.png" atomicselection="true"><img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" border="0" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/agujjar/WindowsLiveWriter/JustoutIE6forWM_BCD/image%7B0%7D.png" original-url="http://blogs.msdn.com/blogfiles/agujjar/WindowsLiveWriter/JustoutIE6forWM_BCD/image%7B0%7D.png" width="240" height="240"></a> </p> <p>&nbsp;</p> <p>Can you have it ? - &nbsp;No - it&nbsp;will not be made available as a seperate download for your exisitng WM devices. (Personally i dont think this is such a bad move if its not going to perform well as a seperate install). I know that i've been turned off opera on certain devices because it didn't perform well.</p> <p>Developers - experience it using <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=1A7A6B52-F89E-4354-84CE-5D19C204498A&amp;displaylang=en">Windows Mobile 6.1.4 Emulator Images</a> now available.</p> <p><strong>Some of the cool features available with Internet Explorer Mobile 6 are: </strong></p> <ul> <li>Improved fidelity (support for full fidelity desktop rendering)  <li>Layout fixes to accommodate a mobile screen (text wrap)  <li>Enhanced Script and AJAX support&nbsp; (Jscript v5.7 from Internet Explorer 8)  <li>Improved multimedia experience (Adobe Flash Lite 3.1 for Adobe Flash content)  <li>Deeper integration with search  <li>Enhanced cursor navigation model  <li>Touch and gesture support – pan support  <li>Multiple zoom levels  <li>Easy switching between mobile / desktop versions of sites by specifying UA strings. </li></ul> <p>&nbsp;</p> <p>I am going to miss the old PIE - at least in India where data speeds aren't even upto 3G levels yet, loading a full blown web page with all the useless junk on them takes forever. fingers crossed 3G and IE 6 hit the market at the same time</p>]]></content:encoded>
    </item>
    <item>
      <title>Sync Inspector Tool - Inspecting Client DB state for pending Changes</title>
      <link>https://docs.microsoft.com/archive/blogs/agujjar/sync-inspector-tool-inspecting-client-db-state-for-pending-changes</link>
      <pubDate>Sat, 22 Nov 2008 00:37:00 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/agujjar/2008/11/22/sync-inspector-tool-inspecting-client-db-state-for-pending-changes/</guid>
      <description><![CDATA[Its been a while since I got a chance to post. I've been knee deep in developer mode - fun fun. A...]]></description>
      <content:encoded><![CDATA[<p>Its been a while since I got a chance to post. I've been knee deep in developer mode - fun fun. A lot of work has been around Ado.Net Sync Services v2.</p> <p>One of the issues I face during debugging Sync issues is analysis of the SQL Server CE database state. So ! Here's Inspector Synk to help me around with getting a little insight into the database state. </p> <p>Just select the sdf file, and the Inspector will give you some basic (very basic) information about the tables and their pending changes status. I would imagine this could be useful in a production scenario to analyze changes left over on the client that need to be sent to the server. I have a bunch of ideas on enhancing this - Maybe over the weekend.</p> <p>&nbsp;</p> <p>Some of the code might be of interest to people digging into the internals of change tracking in SSCE 3.5 with Sync Service.</p> <p>__sysSyncArticles : internal tables that keeps a list of tables being tracked for changes along with each table's sync (excuse the resolution)</p> <p>THE QUERY - to retrieve if table has pending changes or not. Its a little tedious to go into the details, but the most important part is the @LCSN which is the watermark for the last received anchor. </p> <blockquote> <p><font face="Courier New">select count(*) from {0} Tbl where (((Tbl.__sysInsertTxBsn IS NOT NULL) AND ((Tbl.__sysInsertTxBsn NOT IN <br>(SELECT __systxbsn<br>FROM __systxcommitsequence) </font></p> <p><font face="Courier New">AND Tbl.__sysInsertTxBsn &gt; @LCSN) OR (exists<br>(SELECT __systxbsn<br>FROM __systxcommitsequence<br>WHERE tbl.__sysinserttxbsn = __systxbsn<br>AND __systxcsn &gt; @LCSN) </font> </p><p><font face="Courier New">)))<br>OR <br>((Tbl.__sysChangeTxBsn IS NOT NULL) AND ((Tbl.__sysChangeTxBsn NOT IN <br>(SELECT __systxbsn<br>FROM __systxcommitsequence) </font> </p><p><font face="Courier New">AND Tbl.__sysChangeTxBsn &gt; @LCSN) OR (exists<br>(SELECT __systxbsn<br>FROM __systxcommitsequence<br>WHERE tbl.__syschangetxbsn = __systxbsn<br>AND __systxcsn &gt; @LCSN) </font> </p><p><font face="Courier New">))))</font></p></blockquote> <p>There are the basis of Inspector Synk (yes - i insist on calling it that :-) )  </p><p>&nbsp; </p><p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/agujjar/WindowsLiveWriter/SyncInspectorToolInspectingClientDBstate_881/image%7B0%7D%5B10%5D.png" original-url="http://blogs.msdn.com/blogfiles/agujjar/WindowsLiveWriter/SyncInspectorToolInspectingClientDBstate_881/image%7B0%7D%5B10%5D.png" mce_href="http://blogs.msdn.com/blogfiles/agujjar/WindowsLiveWriter/SyncInspectorToolInspectingClientDBstate_881/image%7B0%7D%5B10%5D.png" atomicselection="true"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/agujjar/WindowsLiveWriter/SyncInspectorToolInspectingClientDBstate_881/image%7B0%7D_thumb%5B6%5D.png" original-url="http://blogs.msdn.com/blogfiles/agujjar/WindowsLiveWriter/SyncInspectorToolInspectingClientDBstate_881/image%7B0%7D_thumb%5B6%5D.png" style="border: 0px none ;" mce_src="http://blogs.msdn.com/blogfiles/agujjar/WindowsLiveWriter/SyncInspectorToolInspectingClientDBstate_881/image%7B0%7D_thumb%5B6%5D.png" border="0" width="612" height="475"></a>  </p><p>&nbsp;</p> <p>hope this helps you happy syncers. Code Attached. Watch out for updates</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/09/13/25/89/InspectorSynk.zip" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-09-13-25-89/InspectorSynk.zip">InspectorSynk.zip</a></p>]]></content:encoded>
    </item>
    <item>
      <title>IIS7 does not render CSS</title>
      <link>https://docs.microsoft.com/archive/blogs/agujjar/iis7-does-not-render-css</link>
      <pubDate>Fri, 02 May 2008 02:28:40 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/agujjar/2008/05/02/iis7-does-not-render-css/</guid>
      <description><![CDATA[This is because under default settings, "static content" is not installed with IIS. &nbsp; To enable...]]></description>
      <content:encoded><![CDATA[<p>This is because under default settings, "static content" is not installed with IIS.</p> <p>&nbsp;</p> <p>To enable this on a Windows Server 2008 machine do the following</p> <p>&nbsp;</p> <p>1. Fire up Server Manager</p> <p>2. Select Web Server under Roles - notice that Static Content is not installed</p> <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/agujjar/WindowsLiveWriter/IIS7doesnotrenderCSS_A7E1/image%7B0%7D%5B20%5D.png" original-url="http://blogs.msdn.com/blogfiles/agujjar/WindowsLiveWriter/IIS7doesnotrenderCSS_A7E1/image%7B0%7D%5B20%5D.png" atomicselection="true"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="503" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/agujjar/WindowsLiveWriter/IIS7doesnotrenderCSS_A7E1/image%7B0%7D_thumb%5B18%5D.png" original-url="http://blogs.msdn.com/blogfiles/agujjar/WindowsLiveWriter/IIS7doesnotrenderCSS_A7E1/image%7B0%7D_thumb%5B18%5D.png" width="833" border="0"></a> </p> <p>3. Select Add Role Services from the right hand menu</p> <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/agujjar/WindowsLiveWriter/IIS7doesnotrenderCSS_A7E1/image%7B0%7D%5B39%5D.png" original-url="http://blogs.msdn.com/blogfiles/agujjar/WindowsLiveWriter/IIS7doesnotrenderCSS_A7E1/image%7B0%7D%5B39%5D.png" atomicselection="true"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="554" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/agujjar/WindowsLiveWriter/IIS7doesnotrenderCSS_A7E1/image%7B0%7D_thumb%5B33%5D.png" original-url="http://blogs.msdn.com/blogfiles/agujjar/WindowsLiveWriter/IIS7doesnotrenderCSS_A7E1/image%7B0%7D_thumb%5B33%5D.png" width="917" border="0"></a>&nbsp;</p> <p>4. Check Static content and install.</p>]]></content:encoded>
    </item>
    <item>
      <title>Consuming WCF Services from Compact Framework 3.5</title>
      <link>https://docs.microsoft.com/archive/blogs/agujjar/consuming-wcf-services-from-compact-framework-3-5</link>
      <pubDate>Thu, 01 May 2008 01:53:12 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/agujjar/2008/05/01/consuming-wcf-services-from-compact-framework-3-5/</guid>
      <description><![CDATA[CF 3.5 introduces support for WCF.  &nbsp; Consuming using a WCF client To create a CF WCF client...]]></description>
      <content:encoded><![CDATA[<p>CF 3.5 introduces support for WCF. </p> <p>&nbsp;</p> <p><strong>Consuming using a WCF client</strong></p> <p>To create a CF WCF client you will need to generate it using the NetCFSvcUtil tool which is available as a part of the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C8174C14-A27D-4148-BF01-86C2E0953EAB&amp;displaylang=en">Power Toys download</a></p> <p>Use this tool&nbsp;as you would&nbsp;for the desktop to generate a client.</p> <p>&nbsp;</p> <p>Limitation: CF 3.5 only support basicHttpBinding. So in the Web.Config of your Service you will need to modify the binding attribute to binding="basicHttpBinding"</p> <p>&nbsp;</p> <p>Limitation: CF 3.5 supports only Certificate credentials. You have no way of specifying / attaching username and password credentials on your request to the server. </p> <p>&nbsp;</p> <p><strong>Consuming using a Web Reference</strong></p> <p><strong></strong>&nbsp;</p> <p>the exposed WCF service can also be consumed as a standard web reference. Indeed for some time, this might also be the preferred way until WCF client matures. </p> <p>&nbsp;</p> <p>To make your WCF service amenable for this sort of consumption, add the attribute </p> <p>[ServiceContract(Namespace = "<a href="http://CCBCC.Business.Services&quot;)">YourName")</a>, XmlSerializerFormat]</p> <p>&nbsp;</p> <p>&nbsp;Now simply add a web reference to the WCF service and you should be ready to go.</p> <p>&nbsp;</p> <p>for more information check out these posts from Andrew Arnott</p> <p>&nbsp;</p> <p><a href="http://blogs.msdn.com/andrewarnottms/archive/2007/08/21/The-WCF-subset-supported-by-NetCF.aspx">The WCF subset supported by NetCF</a></p> <p><a href="http://blogs.msdn.com/andrewarnottms/archive/2007/09/13/calling-wcf-services-from-netcf-3-5-using-compact-wcf-and-netcfsvcutil-exe.aspx">Calling WCF services from NetCF 3.5 using Compact WCF and NetCFSvcUtil.exe</a></p> <p><a href="http://blogs.msdn.com/andrewarnottms/archive/2007/10/29/what-do-you-think-of-the-new-wcf-store-and-forward-mail-transport.aspx">What do you think of the new WCF 'Store and forward' Mail Transport?</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Expanding Disk space in Hyper-V and Windows Server 2008</title>
      <link>https://docs.microsoft.com/archive/blogs/agujjar/expanding-disk-space-in-hyper-v-and-windows-server-2008</link>
      <pubDate>Mon, 28 Apr 2008 13:49:31 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/agujjar/2008/04/28/expanding-disk-space-in-hyper-v-and-windows-server-2008/</guid>
      <description><![CDATA[If you are running your Windows Server 2008 over Hyper-V, we must first make the extra space...]]></description>
      <content:encoded><![CDATA[<p>If you are running your Windows Server 2008 over Hyper-V, we must first make the extra space available through the Hyper-V Manager</p> <p><strong>Making space available</strong></p> <p>1. Open Hyper-V Manager on physical machine</p> <p>2. Stop the target VM</p> <p>3. Right-click target VM and select settings</p> <p>4. Hardware &gt; IDE Controller 0 &gt; Hard drive</p> <p>5. Edit Virtual Hard Disk</p> <p>6. Choose Action &gt; Expand</p> <p>7. Enter expansion size</p> <p>This is not the end of it. The disk drive on your VM internally is still only configured for the older space availability</p> <p><strong></strong>&nbsp;</p> <p><strong>Using the Available space</strong></p> <p>1. Log into target VM</p> <p>2. Open Server Manager</p> <p>3. Storage &gt; Disk Management</p> <p>4.right-click Disk &gt; Extend Volume</p> <p>5. Enter expansion size from available size</p> <p>&nbsp;</p> <p>Hope this helps someone. </p>]]></content:encoded>
    </item>
  </channel>
</rss>