<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>DotNetKicks.com : Stories kicked by mikeinmadison</title>
    <description>Stories kicked by mikeinmadison</description>
    <link>http://www.dotnetkicks.com/</link>
    <language>en-us</language>
    <copyright>Atweb Publishing Ltd.</copyright>
    <docs>http://backend.userland.com/rss</docs>
    <generator>DotNetKicks.com - .NET links, community driven</generator>
    <ttl>30</ttl>
    <item>
      <title>if (IsPostBack) return;</title>
      <description>I began using a single-line postback check a while ago, and I think it's better than using the usual block multi-line style. There are probably quite a few varying opinions about this, but my reasons for using the single-line (top) version include:

   1. It's easier to type and more readable
   2. There is no reverse logic
   3. It saves a line or two of code
   4. It's easier to comment out for debugging
   5. The "Bunch of code" isn't needlessly tabbed in &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fmikeinmadison.wordpress.com%2f2008%2f05%2f27%2fif-ispostback-return%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fmikeinmadison.wordpress.com%2f2008%2f05%2f27%2fif-ispostback-return%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/if_IsPostBack_return</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/if_IsPostBack_return</guid>
      <pubDate>Tue, 27 May 2008 23:29:17 GMT</pubDate>
    </item>
    <item>
      <title>DateTime.Round</title>
      <description>I recently needed to group by minutes (or seconds, or hours, or days) in a LINQ to SQL expression, and I found that there isn't a round function built into the C# DateTime object. The following will round to the nearest second, minute, hour, or day. I stopped there because different months have different numbers of days (and I don't need to group by months.) but it is easy enough to add months and years to the code. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fmikeinmadison.wordpress.com%2f2008%2f03%2f12%2fdatetimeround%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fmikeinmadison.wordpress.com%2f2008%2f03%2f12%2fdatetimeround%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/DateTime_Round</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/DateTime_Round</guid>
      <pubDate>Thu, 13 Mar 2008 03:44:14 GMT</pubDate>
    </item>
    <item>
      <title>Creating a shared web site library in Visual Studio</title>
      <description>There are many ways to create and consume code libraries for use in multiple web site projects within Visual Studio. One of the most popular options is to create a class library project and link to it from multiple web site solutions. A similar alternative is to place the binary dll files that are created when compiling a class library project into the bin directory of each web site solution you want to use it in, and reference it directly. While both of these methods work well (the first generally being the most practical) there are a few things that they cannot easily accomplish. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fmikeinmadison.wordpress.com%2f2008%2f01%2f15%2fcreating-a-shared-web-site-library-in-visual-studio%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fmikeinmadison.wordpress.com%2f2008%2f01%2f15%2fcreating-a-shared-web-site-library-in-visual-studio%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/visualstudio/Creating_a_shared_web_site_library_in_Visual_Studio</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/visualstudio/Creating_a_shared_web_site_library_in_Visual_Studio</guid>
      <pubDate>Wed, 16 Jan 2008 16:43:15 GMT</pubDate>
    </item>
    <item>
      <title>Getting started with VisualSVN</title>
      <description>VisualSVN is simply a front-end for the command line Subversion functions, just like TortoiseSVN. The difference between the two is that TortoiseSVN is a "add-in" for Windows and VisualSVN is an add-in for Visual Studio. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fmikeinmadison.wordpress.com%2f2008%2f01%2f10%2fgetting-started-with-visualsvn%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fmikeinmadison.wordpress.com%2f2008%2f01%2f10%2fgetting-started-with-visualsvn%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/visualstudio/Getting_started_with_VisualSVN</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/visualstudio/Getting_started_with_VisualSVN</guid>
      <pubDate>Tue, 15 Jan 2008 16:31:02 GMT</pubDate>
    </item>
  </channel>
</rss>