<?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>Random Hacks!</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sayanghosh/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sayanghosh/feed.xml</link>
    <description>Awaiting my Bohemian Rhapsody</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:27:29 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>So long, and thanks for all the fish!!</title>
      <link>https://docs.microsoft.com/archive/blogs/sayanghosh/so-long-and-thanks-for-all-the-fish</link>
      <pubDate>Mon, 03 Nov 2008 01:18:00 GMT</pubDate>
      <dc:creator><![CDATA[sayangh]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sayanghosh/2008/11/03/so-long-and-thanks-for-all-the-fish/</guid>
      <description><![CDATA[So this is it! This is my last post in this blog. As I come to the end of my stint with this great...]]></description>
      <content:encoded><![CDATA[<p>So this is it! This is my last post in this blog. As I come to the end of my stint with this great company, I would close out this blog. Thanks to all the visitors, and thanks to the company for giving me the chance to giving vent my random thoughts in a platform like MSDN Blogs. My new address in blogosphere would be @ <a href="https://sayanghosh.spaces.live.com/" mce_href="https://sayanghosh.spaces.live.com/">Windows Live Spaces</a>. Thanks again, and so long! </p><p>P.S. I have received some queries from some friends whether the title of the post is to reflect my fooding habits, so just to clarify - <a href="https://en.wikipedia.org/wiki/So_Long_and_Thanks_for_All_the_Fish" target="_blank" mce_href="https://en.wikipedia.org/wiki/So_Long_and_Thanks_for_All_the_Fish">here is the justification</a> for those unacquainted with DNAs classic. <br></p>]]></content:encoded>
    </item>
    <item>
      <title>New .NET Logo</title>
      <link>https://docs.microsoft.com/archive/blogs/sayanghosh/new-net-logo</link>
      <pubDate>Sun, 26 Oct 2008 14:52:00 GMT</pubDate>
      <dc:creator><![CDATA[sayangh]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sayanghosh/2008/10/26/new-net-logo/</guid>
      <description><![CDATA[.NET - the coolest framework product in the world (IMHO) ......gets a cool new brand identity....and...]]></description>
      <content:encoded><![CDATA[<p>.NET - the coolest framework product in the world (IMHO) ......gets a cool new brand identity....and the new wave identity is COOL too!!</p><p> <img src="https://www.hanselman.com/blog/content/binary/WindowsLiveWriter/New.NETLogo_14BC/newdotnetlogo_2.png" title=".NET Framework new logo" alt=".NET Framework new logo" mce_src="https://www.hanselman.com/blog/content/binary/WindowsLiveWriter/New.NETLogo_14BC/newdotnetlogo_2.png" vspace="2" width="499" align="middle" border="2" height="237" hspace="2"><br></p>]]></content:encoded>
    </item>
    <item>
      <title>"When caching is enabled for the XmlDataSource that is control tree it requires a UniqueID that is unique throughout the application" - Use an ID for XmlDataSource</title>
      <link>https://docs.microsoft.com/archive/blogs/sayanghosh/when-caching-is-enabled-for-the-xmldatasource-that-is-control-tree-it-requires-a-uniqueid-that-is-unique-throughout-the-application-use-an-id-for-xmldatasource</link>
      <pubDate>Tue, 09 Sep 2008 03:23:00 GMT</pubDate>
      <dc:creator><![CDATA[sayangh]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sayanghosh/2008/09/09/when-caching-is-enabled-for-the-xmldatasource-that-is-control-tree-it-requires-a-uniqueid-that-is-unique-throughout-the-application-use-an-id-for-xmldatasource/</guid>
      <description><![CDATA[XmlDataSource class internally calls a private method called CreateCacheKey. Now, if you are using...]]></description>
      <content:encoded><![CDATA[<p><a href="https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.xmldatasource.aspx" title="MSDN Link" target="_blank" mce_href="https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.xmldatasource.aspx">XmlDataSource</a> class internally calls a private method called CreateCacheKey. Now, if you are using XmlDataSource without an ID, after upgrading the solution to ASP.NET 3.5, this might throw an exception - "When caching is enabled for the XmlDataSource that is not in the pages control tree it requires a UniqueID that is unique throughout the application." This is due to the absence of the UniqueID (which is read-only, but my experiment shows that setting the ID handles the same), which is used as part of the caching key, without which all instances would try to use same caching key. Setting a distinct ID solves this problem and the problem goes away.</p><p>Thanks and credits to <a href="https://forums.asp.net/p/1294664/2510357.aspx" target="_blank" mce_href="https://forums.asp.net/p/1294664/2510357.aspx">https://forums.asp.net/p/1294664/2510357.aspx</a> <br></p><p><u><b>Example.</b></u><br><br>XmlDataSource XmlSrc = new XmlDataSource();<br>XmlSrc.ID = "XmlSource1";</p>]]></content:encoded>
    </item>
    <item>
      <title>Free SQL Server 2008 online trainings</title>
      <link>https://docs.microsoft.com/archive/blogs/sayanghosh/free-sql-server-2008-online-trainings</link>
      <pubDate>Tue, 09 Sep 2008 00:52:00 GMT</pubDate>
      <dc:creator><![CDATA[sayangh]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sayanghosh/2008/09/09/free-sql-server-2008-online-trainings/</guid>
      <description><![CDATA[Get some cool SQL 2008 trainings here - https://sqlserver2008jumpstart.microsofttraining.com/Neat...]]></description>
      <content:encoded><![CDATA[<p>Get some cool SQL 2008 trainings here - <a href="https://sqlserver2008jumpstart.microsofttraining.com/" title="SQL 2008 Jumpstart by Microsoft" target="_blank" mce_href="https://sqlserver2008jumpstart.microsofttraining.com/">https://sqlserver2008jumpstart.microsofttraining.com/</a></p><p>Neat stuff!! <br></p>]]></content:encoded>
    </item>
    <item>
      <title>Jeff Prosise talks Silverlight on .NET Rocks</title>
      <link>https://docs.microsoft.com/archive/blogs/sayanghosh/jeff-prosise-talks-silverlight-on-net-rocks</link>
      <pubDate>Fri, 02 May 2008 02:20:00 GMT</pubDate>
      <dc:creator><![CDATA[sayangh]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sayanghosh/2008/05/02/jeff-prosise-talks-silverlight-on-net-rocks/</guid>
      <description><![CDATA[It doesn't get better than this ... Jeff on Silverlight...]]></description>
      <content:encoded><![CDATA[<p>It doesn't get better than this ... Jeff on Silverlight :)</p><p><a href="https://www.dotnetrocks.com/default.aspx?showNum=302" title="JeffPro on Silverlight" target="_blank" mce_href="https://www.dotnetrocks.com/default.aspx?showNum=302">https://www.dotnetrocks.com/default.aspx?showNum=302</a><br>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Visual Studio Gallery</title>
      <link>https://docs.microsoft.com/archive/blogs/sayanghosh/visual-studio-gallery</link>
      <pubDate>Mon, 31 Mar 2008 02:50:00 GMT</pubDate>
      <dc:creator><![CDATA[sayangh]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sayanghosh/2008/03/31/visual-studio-gallery/</guid>
      <description><![CDATA[The one stop shop to get all the armory needed to defy all...]]></description>
      <content:encoded><![CDATA[<P>The one stop shop to get all the armory needed to defy all challenges!!</P>
<P><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><A href="https://www.visualstudiogallery.com/">https://www.visualstudiogallery.com/</A>&nbsp;</SPAN></P>
<P><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Enjoy!</SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Visual Studio 2008 does not show Solution view when there is only one project in the Solution (by default)</title>
      <link>https://docs.microsoft.com/archive/blogs/sayanghosh/visual-studio-2008-does-not-show-solution-view-when-there-is-only-one-project-in-the-solution-by-default</link>
      <pubDate>Sat, 09 Feb 2008 11:40:00 GMT</pubDate>
      <dc:creator><![CDATA[sayangh]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sayanghosh/2008/02/09/visual-studio-2008-does-not-show-solution-view-when-there-is-only-one-project-in-the-solution-by-default/</guid>
      <description><![CDATA[Visual Studio 2008 does not show Solution view when there is only one project in the Solution by...]]></description>
      <content:encoded><![CDATA[
<p>Visual Studio 2008 does not show Solution view when there is only one project in the Solution by default, which makes it difficult to add another project to the solution. This persists even when we add a new (blank) solution. The solution is to go to Tools&gt;Options&gt;Projects and Solutions and check "Always Show Solution" (which is unchecked by default).</p>

<p><img src="https://lh5.google.com/sayan.jucse/R63cbk0Z9YI/AAAAAAAAANc/PkyWSA8VLN4/s800/VS_Solution.jpg" mce_src="https://lh5.google.com/sayan.jucse/R63cbk0Z9YI/AAAAAAAAANc/PkyWSA8VLN4/s800/VS_Solution.jpg"></p>
<p>&nbsp;Enjoy!<br>&nbsp;</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/07/56/47/03/VS_Solution.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-07-56-47-03/VS_5F00_Solution.jpg">VS_Solution.jpg</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Query to check for a text in All SQL Server 2000 sources in a database</title>
      <link>https://docs.microsoft.com/archive/blogs/sayanghosh/query-to-check-for-a-text-in-all-sql-server-2000-sources-in-a-database</link>
      <pubDate>Sun, 13 Jan 2008 09:05:00 GMT</pubDate>
      <dc:creator><![CDATA[sayangh]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sayanghosh/2008/01/13/query-to-check-for-a-text-in-all-sql-server-2000-sources-in-a-database/</guid>
      <description><![CDATA[If you ever felt a need to perform a query to check for a particular text instance in all sources...]]></description>
      <content:encoded><![CDATA[<p>If you ever felt a need to perform a query to check for a particular text instance in all sources (SPs, functions, triggers et al) in your SQL 2000 db, chances are you might have already written this little goodie. But if you haven't and if you need some quick script to get this done for you, here's one I have been using for quite sometime and I gotta say, it works like a sweet charm! Best of luck!<br></p><p>&nbsp;</p><p style="margin: 0in; font-weight: bold; font-family: Calibri; font-size: 11pt;" lang="en-US">&nbsp;<br>SELECT [number], [TEXT], A.name</p>

<p style="margin: 0in; font-weight: bold; font-family: Calibri; font-size: 11pt;" lang="en-US">FROM syscomments B, sysobjects A</p>

<p style="margin: 0in; font-weight: bold; font-family: Calibri; font-size: 11pt;" lang="en-US">WHERE A.[id]=B.[id]</p>

<p style="margin: 0in; font-weight: bold; font-family: Calibri; font-size: 11pt;" lang="en-US">and TEXT like '%<b>your text</b>%'</p>

<p style="margin: 0in; font-weight: bold; font-family: Calibri; font-size: 11pt;" lang="en-US">ORDER BY [number]</p>

<p style="margin: 0in; font-weight: bold; font-family: Calibri; font-size: 11pt;" lang="en-US">GO</p>

<p>&nbsp;<br>And here's the sql job part - </p><p>&nbsp;</p><p style="margin: 0in; font-family: 'Courier New'; font-size: 10pt;">&nbsp;<br><span style="color: blue;">select</span><span style="color: rgb(76, 76, 76);"> S.name</span></p>

<p style="margin: 0in; font-family: 'Courier New'; font-size: 10pt;"><span style="color: blue;">from</span><span style="color: rgb(76, 76, 76);"> msdb.dbo.sysjobs J</span></p>

<p style="margin: 0in; font-family: 'Courier New'; font-size: 10pt;"><span style="color: blue;">inner</span><span style="color: rgb(76, 76, 76);"> </span><span style="color: blue;">join</span><span style="color: rgb(76, 76, 76);"> msdb.dbo.sysjobsteps
S</span></p>

<p style="margin: 0in; font-family: 'Courier New'; font-size: 10pt;"><span style="color: blue;">ON</span><span style="color: rgb(76, 76, 76);"> J.job_id=S.job_id</span></p>

<p style="margin: 0in; font-family: 'Courier New'; font-size: 10pt;"><span style="color: blue;">where</span><span style="color: rgb(76, 76, 76);"> command </span><span style="color: blue;">like</span><span style="color: rgb(76, 76, 76);"> </span><span style="color: red;">'<b>%your text</b></span><span style="color: red;">%'</span></p>

]]></content:encoded>
    </item>
    <item>
      <title>ROI of Web Services and the Challenges</title>
      <link>https://docs.microsoft.com/archive/blogs/sayanghosh/roi-of-web-services-and-the-challenges</link>
      <pubDate>Sun, 13 Jan 2008 08:40:00 GMT</pubDate>
      <dc:creator><![CDATA[sayangh]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sayanghosh/2008/01/13/roi-of-web-services-and-the-challenges/</guid>
      <description><![CDATA[Web Services are the order of the day - and all the industry movers and shakers are betting big on...]]></description>
      <content:encoded><![CDATA[<p>Web Services are the order of the day - and all the industry movers and shakers are betting big on them! But here's some authentic info on how web services are being used for good - and how they are driving down the costs. For starters, using Web services to streamline internal processes has reduced General Motor's vehicle design process from forty-eight to eighteen months - as stated by this <a href="https://hbswk.hbs.edu/item/3285.html" target="_blank" mce_href="https://hbswk.hbs.edu/item/3285.html">HBS Working Knowledge feature.</a><br></p><p>However, with all its benefit and the concept of SaaS and its synergies to business strategies, the good old problem of "common standards" continue to challenge web services to become the next big thing...as told by <a href="https://hbswk.hbs.edu/item/4800.html" target="_blank" mce_href="https://hbswk.hbs.edu/item/4800.html">this interview</a> of <a href="https://blog.hbs.edu/faculty/amcafee/" target="_blank" mce_href="https://blog.hbs.edu/faculty/amcafee/">Andrew McAfee</a>.&nbsp;</p><p>The bottomline is, while Web Services provide a perfect stepping stone to integrate, centralize IT systems and bring about serious cost savings, it doesn't provide a magic solution to the age-old problems of system integration. The current hype cycle might lead people to jump into it looking for overnight gains, but the best way still is to analyze, define and design systems with diligence, and then, reap the benefits :) .</p><p>That said, used effectively, web services will lead the evolution of IT systems as greater business enablers in the days to come and will remain one of the main pillars of the Web 2.0/Enterprise 2.0 revolution, if you will!!</p><p>Asynchronous ASP.NET Web Services + ASP.NET Ajax / Silverlight enabled UI = Makes my day!!<br></p>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft SQL Server 2008 – Learning Portal Launched</title>
      <link>https://docs.microsoft.com/archive/blogs/sayanghosh/microsoft-sql-server-2008-learning-portal-launched</link>
      <pubDate>Tue, 25 Dec 2007 10:26:00 GMT</pubDate>
      <dc:creator><![CDATA[sayangh]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sayanghosh/2007/12/25/microsoft-sql-server-2008-learning-portal-launched/</guid>
      <description><![CDATA[The Microsoft SQL Server 2008 – Learning Portal has been released to external customers now and is...]]></description>
      <content:encoded><![CDATA[<P>The Microsoft SQL Server 2008 – Learning Portal has been released to external customers now and is available at <A href="https://www.microsoft.com/learning/sql/2008/default.mspx">https://www.microsoft.com/learning/sql/2008/default.mspx</A></P>
<P>Join there and discover the SQL 2008 Advantage with free e-learning clinics and trainings.</P>]]></content:encoded>
    </item>
  </channel>
</rss>