<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>general .Net stuff</title>
        <link>http://geekswithblogs.net/influent1/category/6297.aspx</link>
        <description>general .Net stuff</description>
        <language>en-US</language>
        <copyright>Alex Bransky</copyright>
        <managingEditor>alex18@rocketmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>ajax loader in user control within master page</title>
            <link>http://geekswithblogs.net/influent1/archive/2009/04/09/130873.aspx</link>
            <description>&lt;p&gt;&lt;font face="Arial"&gt;I spent hours trying to figure out why my ASP.Net page, which uses a master page with a RadGrid surrounded by a RadAjaxPanel with an AjaxLoadingPanel, would not show the loading message.  I would click on the link to the page in the site menu, then IE would sit and spin for a while until it loaded the entire page, rather than loading the page right away but showing the loading spinner until the data was returned.  What I had to do was add this javascript (w/jQuery) to the user control that the grid was in:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;
    $(document).ready(function() {&lt;br /&gt;
        setTimeout(loadGrid, 500);        &lt;br /&gt;
    });&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;    function loadGrid() {&lt;br /&gt;
        window['&amp;lt;%=RadAjaxPanel1.ClientID %&amp;gt;'].AjaxRequest('');&lt;br /&gt;
    }    &lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;I'm not sure why I had to make it sleep for half a second, but it wouldn't work until I added that.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;I set up a server-side event (OnAjaxRequest="RadAjaxPanel1_AjaxRequest") that fires when AjaxRequest is called in the javascript:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;protected void RadAjaxPanel1_AjaxRequest(object sender, AjaxRequestEventArgs e) {&lt;br /&gt;
 Presenter.InitializeView();&lt;br /&gt;
 BindGrid();&lt;br /&gt;
}&lt;br /&gt;
&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=130873"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=130873" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/influent1/aggbug/130873.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Alex Bransky</dc:creator>
            <guid>http://geekswithblogs.net/influent1/archive/2009/04/09/130873.aspx</guid>
            <pubDate>Thu, 09 Apr 2009 16:58:45 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/influent1/comments/130873.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/influent1/archive/2009/04/09/130873.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/influent1/comments/commentRss/130873.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/influent1/services/trackbacks/130873.aspx</trackback:ping>
        </item>
        <item>
            <title>tinyint surprise</title>
            <link>http://geekswithblogs.net/influent1/archive/2009/02/10/129319.aspx</link>
            <description>I just discovered something rather surprising.  If you return a tinyint from a stored procedure as part of a dataset, and bind that dataset to a dataview, and then do something like this:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;&amp;lt;asp:Label runat="server" id="statusLabel" Text='&amp;lt;%# GetStatusText( (int)DataBinder.Eval(Container, "DataItem.status")) %&amp;gt;'&amp;gt;&lt;/span&gt;&lt;br style="font-weight: bold;" /&gt;
&lt;span style="font-weight: bold;"&gt;&amp;lt;/asp:Label&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
You will get an error about an invalid cast.  If the stored procedure returns an int instead of tinyint, it works just fine.  How can ASP.Net 3.5 not be able to cast from a tinyint (or whatever its C# equivalent is) to an int??&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=129319"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=129319" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/influent1/aggbug/129319.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Alex Bransky</dc:creator>
            <guid>http://geekswithblogs.net/influent1/archive/2009/02/10/129319.aspx</guid>
            <pubDate>Wed, 11 Feb 2009 01:05:03 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/influent1/comments/129319.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/influent1/archive/2009/02/10/129319.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/influent1/comments/commentRss/129319.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/influent1/services/trackbacks/129319.aspx</trackback:ping>
        </item>
        <item>
            <title>resharper and auto-property gotcha</title>
            <link>http://geekswithblogs.net/influent1/archive/2008/08/07/124301.aspx</link>
            <description>&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Be very careful when allowing Resharper to convert properties to auto-properties.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;In some cases it will re-initialize fields that were already initialized earlier on in the constructor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;font face="Tahoma" size="2"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;a href="http://www.jetbrains.net/jira/browse/RSRP-75137;jsessionid=D915EE10CA08D52D70BCAD44AE37447B?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel"&gt;&lt;font face="Tahoma" color="#800080" size="2"&gt;http://www.jetbrains.net/jira/browse/RSRP-75137;jsessionid=D915EE10CA08D52D70BCAD44AE37447B?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel&lt;/font&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=124301"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=124301" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/influent1/aggbug/124301.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Alex Bransky</dc:creator>
            <guid>http://geekswithblogs.net/influent1/archive/2008/08/07/124301.aspx</guid>
            <pubDate>Thu, 07 Aug 2008 23:10:29 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/influent1/comments/124301.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/influent1/archive/2008/08/07/124301.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/influent1/comments/commentRss/124301.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/influent1/services/trackbacks/124301.aspx</trackback:ping>
        </item>
        <item>
            <title>generic typing and scope_identity()</title>
            <link>http://geekswithblogs.net/influent1/archive/2008/08/06/124275.aspx</link>
            <description>&lt;p&gt;I recently ran into an interesting problem.  I had created a data access method that used generic typing to execute a scalar SQL Server stored procedure (below), and in the stored procedure was returning SCOPE_IDENTITY() for an integer identity column.  I was passing in a type of "int" to the method (as &amp;lt;T&amp;gt;) since that's what I was expecting back, but I kept getting back null.  After some frustration and bewilderment I discovered that SCOPE_IDENTITY() always returns a decimal, and C# doesn't want to convert the decimal to an integer automatically.  I worked around it by using CAST in the stored procedure so that I didn't have to modify the method.&lt;/p&gt;
&lt;font size="2"&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/font&gt;
&lt;pre&gt;
        private static T? ExecuteScalarStoredProcedure &lt;t&gt; (string sprocName, SqlParameter[] parameters) where T : struct {

            SqlConnection conn = new SqlConnection(GetConnectionString());

            conn.Open();
            object retValue;
            try {
                SqlCommand command = new SqlCommand(sprocName, conn);
                command.CommandType = CommandType.StoredProcedure;
                command.Parameters.AddRange(parameters);

                retValue = command.ExecuteScalar();
            }
            finally {

                try {

                    conn.Close();

                }
                catch (Exception) {
                    //Ignore close exception
                }
            }
            return retValue as T?;
        }
&lt;/t&gt;&lt;/pre&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=124275"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=124275" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/influent1/aggbug/124275.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Alex Bransky</dc:creator>
            <guid>http://geekswithblogs.net/influent1/archive/2008/08/06/124275.aspx</guid>
            <pubDate>Wed, 06 Aug 2008 17:38:38 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/influent1/comments/124275.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/influent1/archive/2008/08/06/124275.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/influent1/comments/commentRss/124275.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/influent1/services/trackbacks/124275.aspx</trackback:ping>
        </item>
        <item>
            <title>activerecord and executereader exceptions</title>
            <link>http://geekswithblogs.net/influent1/archive/2008/05/28/122460.aspx</link>
            <description>&lt;p&gt;About once a day I was getting the following error from an ASP.Net web page that uses ActiveRecord:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Exception Details: &lt;/strong&gt;System.Data.SqlClient.SqlException: A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)&lt;/p&gt;
&lt;p&gt;I would subsequently get this error upon refreshing the page:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Exception Details: &lt;/strong&gt;System.InvalidOperationException: ExecuteReader requires an open and available Connection. The connection's current state is closed.&lt;/p&gt;
&lt;p&gt;I finally figured out that the problem occurs when the database is restored.  The connections in the IIS application pool do not get destroyed when the database is restored, so when ActiveRecord (nHibernate) tries to reuse the connections it fails.  This doesn't happen to me when I'm not using ActiveRecord, so I'm not sure if this is a bug with ActiveRecord or a problem with the way I've set up the data access layer.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=122460"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=122460" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/influent1/aggbug/122460.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Alex Bransky</dc:creator>
            <guid>http://geekswithblogs.net/influent1/archive/2008/05/28/122460.aspx</guid>
            <pubDate>Wed, 28 May 2008 20:46:45 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/influent1/comments/122460.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/influent1/archive/2008/05/28/122460.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/influent1/comments/commentRss/122460.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/influent1/services/trackbacks/122460.aspx</trackback:ping>
        </item>
        <item>
            <title>granularity error in SSAS MDX drillthrough query</title>
            <link>http://geekswithblogs.net/influent1/archive/2008/04/09/121143.aspx</link>
            <description>&lt;font size="1"&gt;
&lt;p&gt;&lt;font size="2"&gt;I was trying to create an MDX drillthrough this morning in my SSAS 2005 cube, and I got this error:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Errors from the SQL query module: The attribute 'Applicant Name' in the dimension 'Dim Candidate' is outside the granularity of the measure group 'Fact Requisitions' and cannot be returned as a column.&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;I only got one result from Google for that error message and it wasn't helpful at all.  After trying a million different things with partitions and actions and whatnot, I finally figured out the problem:  I was trying to return drillthrough data from a fact table other than the one containing the default measure.  Once I threw in a measure (in the SELECT part of the query, not the RETURN) from the non-default fact table, everything worked great!&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/font&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=121143"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=121143" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/influent1/aggbug/121143.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Alex Bransky</dc:creator>
            <guid>http://geekswithblogs.net/influent1/archive/2008/04/09/121143.aspx</guid>
            <pubDate>Wed, 09 Apr 2008 22:44:14 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/influent1/comments/121143.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/influent1/archive/2008/04/09/121143.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/influent1/comments/commentRss/121143.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/influent1/services/trackbacks/121143.aspx</trackback:ping>
        </item>
        <item>
            <title>CPU percent limit in .Net</title>
            <link>http://geekswithblogs.net/influent1/archive/2008/02/01/119218.aspx</link>
            <description>&lt;p&gt;Why doesn't the .Net framework have anything that lets you set a maximum CPU usage for an application?  Is it something Windows can't handle?  I'd really like to be able to say, "I don't care if this app gets stuck in a loop or whatever, it will never get above 25% CPU."&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=119218"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=119218" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/influent1/aggbug/119218.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Alex Bransky</dc:creator>
            <guid>http://geekswithblogs.net/influent1/archive/2008/02/01/119218.aspx</guid>
            <pubDate>Fri, 01 Feb 2008 23:29:37 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/influent1/comments/119218.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/influent1/archive/2008/02/01/119218.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/influent1/comments/commentRss/119218.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/influent1/services/trackbacks/119218.aspx</trackback:ping>
        </item>
        <item>
            <title>fastest way to show SQL data in a web page</title>
            <link>http://geekswithblogs.net/influent1/archive/2007/11/21/117032.aspx</link>
            <description>I'm curious what people think is that fastest way to show SQL Server data in a web page.  Assuming you create the virtual web in IIS yourself, I'm hoping somebody knows of something that lets you create an xml file with connection settings and a query file, then the product automagically puts the data in a grid on the web page.  Granted once you're used to Visual Studio it doesn't take terribly long to do such a thing, but I'd still like something faster, maybe something that can automagically create graphs too.&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=117032"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=117032" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/influent1/aggbug/117032.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Alex Bransky</dc:creator>
            <guid>http://geekswithblogs.net/influent1/archive/2007/11/21/117032.aspx</guid>
            <pubDate>Wed, 21 Nov 2007 23:45:09 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/influent1/comments/117032.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/influent1/archive/2007/11/21/117032.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/influent1/comments/commentRss/117032.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/influent1/services/trackbacks/117032.aspx</trackback:ping>
        </item>
        <item>
            <title>ajax rocks</title>
            <link>http://geekswithblogs.net/influent1/archive/2007/10/09/115955.aspx</link>
            <description>I now believe that anyone who is developing an ASP.Net application and is not in an extreme time crunch is crazy not to use Ajax.&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=115955"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=115955" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/influent1/aggbug/115955.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Alex Bransky</dc:creator>
            <guid>http://geekswithblogs.net/influent1/archive/2007/10/09/115955.aspx</guid>
            <pubDate>Tue, 09 Oct 2007 17:24:40 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/influent1/comments/115955.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/influent1/archive/2007/10/09/115955.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/influent1/comments/commentRss/115955.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/influent1/services/trackbacks/115955.aspx</trackback:ping>
        </item>
        <item>
            <title>serial for dinner and a cookie for dessert</title>
            <link>http://geekswithblogs.net/influent1/archive/2007/05/15/112506.aspx</link>
            <description>Can anybody explain serializability to me?  Can any class be made serializable, but it's just better not to for some?&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=112506"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=112506" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/influent1/aggbug/112506.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Alex Bransky</dc:creator>
            <guid>http://geekswithblogs.net/influent1/archive/2007/05/15/112506.aspx</guid>
            <pubDate>Tue, 15 May 2007 16:11:48 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/influent1/comments/112506.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/influent1/archive/2007/05/15/112506.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/influent1/comments/commentRss/112506.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/influent1/services/trackbacks/112506.aspx</trackback:ping>
        </item>
    </channel>
</rss>