﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="rss.xsl"?>
<rss version="2.0">
  <channel>
    <title>GotCodeSnippets.NET Snippets and News</title>
    <description>Get the latest submitted code snippets and news from the GotCodeSnippets.NET team.</description>
    <link>http://www.gotcodesnippets.net/</link>
    <image>
      <title>GotCodeSnippets.NET</title>
      <url>http://www.gotcodesnippets.net//images/gcslogo4.png</url>
      <link>http://www.gotcodesnippets.net/</link>
      <description>GotCodeSnippets.NET</description>
    </image>
    <copyright>All rights reserved.  Content distributed under Creative Commons.</copyright>
    <managingEditor>GotCodeSnippets.NET</managingEditor>
    <lastBuildDate>Tue, 10 Jun 2008 07:12:07 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>RSS.NET: http://www.rssdotnet.com/</generator>
    <item>
      <title>Snippet: SqlDataReader</title>
      <description>Creates a using block for a given SqlCommand and opens a while loop on SqlDataReader.Read() for that Command.</description>
      <link>http://www.gotcodesnippets.net/1135.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Tue, 10 Jun 2008 07:12:07 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: throw new NotImplementedException</title>
      <description>thrni -&gt; throw new NotImplementedException("");</description>
      <link>http://www.gotcodesnippets.net/1134.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Sun, 18 May 2008 10:47:42 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: throw new ApplicationException</title>
      <description>thra -&gt; throw new ApplicationException("");</description>
      <link>http://www.gotcodesnippets.net/1133.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Sun, 18 May 2008 10:46:58 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: throw new</title>
      <description>thr -&gt; throw new</description>
      <link>http://www.gotcodesnippets.net/1132.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Sun, 18 May 2008 10:36:51 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Silverlight clientaccespolicy.xml</title>
      <description>Template for creating a clientaccesspolicy.xml for use in Silverlight cross domain enabling web services.</description>
      <link>http://www.gotcodesnippets.net/1131.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Sun, 06 Apr 2008 22:40:40 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: 
				Constrain a variable to a range.
			</title>
      <description>Rather that using the potentially slow Math.Max(Math.Min()) rather use a ternary if operator.</description>
      <link>http://www.gotcodesnippets.net/1130.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Fri, 14 Mar 2008 03:25:46 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Save Window Size Settings</title>
      <description>Saves a windows size to settings if the window is a normal state.</description>
      <link>http://www.gotcodesnippets.net/1129.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Fri, 05 Oct 2007 04:41:24 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Save Window Location Settings</title>
      <description>Saves a windows location to settings if the window is a normal state.</description>
      <link>http://www.gotcodesnippets.net/1128.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Fri, 05 Oct 2007 04:40:59 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Load Window Size Settings</title>
      <description>Loads a windows previous size from settings, checking for first use and using design default if not specified.</description>
      <link>http://www.gotcodesnippets.net/1127.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Fri, 05 Oct 2007 04:40:35 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Load Window Location Settings</title>
      <description>Loads a windows previous location from settings, checking for first use and using design default if not specified.</description>
      <link>http://www.gotcodesnippets.net/1126.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Fri, 05 Oct 2007 04:40:09 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Auto Upgrade Settings</title>
      <description>Auto Upgrade the settings from a previous version if it exists.</description>
      <link>http://www.gotcodesnippets.net/1125.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Fri, 05 Oct 2007 04:39:43 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Insert Wait Cursor Block Default</title>
      <description>Inserts a block of code setting the cursor to wait, then default.</description>
      <link>http://www.gotcodesnippets.net/1124.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Fri, 05 Oct 2007 04:38:53 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Insert Wait Cursor Block remembering the previous cursor</title>
      <description>Inserts a block of code setting the cursor to wait, then revert to the previous cursor.</description>
      <link>http://www.gotcodesnippets.net/1123.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Fri, 05 Oct 2007 04:38:26 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Ternary Operator</title>
      <description>Insert a template Ternary operator in the format (Condition ? true : false);
Shortcut is Ternary</description>
      <link>http://www.gotcodesnippets.net/1122.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Fri, 05 Oct 2007 04:30:37 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: BugsTrace.call</title>
      <description>This snippet inserts the BugsTrace.call statement.  Locate it wherever you want to trace program flow or critical variable values, in place of comments.  See BugsTrace.doc.snippet for instructions. </description>
      <link>http://www.gotcodesnippets.net/1121.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Tue, 25 Sep 2007 08:33:18 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: BugsTrace.function</title>
      <description>This is part of a 3 snippet set:
bugstrace.doc.snippet, bugstrace.call.snippet, and bugstrace.function.snippet</description>
      <link>http://www.gotcodesnippets.net/1120.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Tue, 25 Sep 2007 08:25:39 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: BugsTrace.function</title>
      <description>This is part of a 3 snippet set:
bugstrace.doc.snippet, bugstrace.call.snippet, and bugstrace.function.snippet</description>
      <link>http://www.gotcodesnippets.net/1119.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Tue, 25 Sep 2007 08:25:28 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: BugsTrace.doc</title>
      <description>BugsTrace provides a very lightweight, easily deployed developer message trace capability
that is not dependent on the application, language, framework, or runtime tools for use.
Instant BugsTraces can contribute greatly to rapid development, testing, and debugging. 
The BugsTrace output only has trace statements and information the developer wanted to include, making it much more easily readable for rapid testing and debugging.  I wrote the BASIC version in the 1980's and have reused it in many different languages and environments including VB, C, C#, PHP, Ruby and COBOL. All work the same using a simple text file as the trace toggle and trace content.  System security controls read and write access.  The code can be customized but that is not required.  It can stay in the application throughout it's life cycle and deployment contexts with very negligible performance impact.  For VB 2005, there are 3 snippet files: bugstrace.call, bugstrace.method, and bugstrace.doc.  Enjoy!</description>
      <link>http://www.gotcodesnippets.net/1118.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Tue, 25 Sep 2007 08:18:55 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Declare Event</title>
      <description>Define an event with generic eventhandler. Only provide public add and remove methods</description>
      <link>http://www.gotcodesnippets.net/1117.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Tue, 11 Sep 2007 03:12:34 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: 
        Property_declaration
      </title>
      <description>Property declare template</description>
      <link>http://www.gotcodesnippets.net/1116.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Mon, 03 Sep 2007 20:37:44 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: 
        Custom_event_args_class
      </title>
      <description>Custom Event Args template</description>
      <link>http://www.gotcodesnippets.net/1115.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Mon, 03 Sep 2007 20:36:59 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: QueryString Property</title>
      <description>A QueryString (as in GET parameter) Property with replaceables for type, property name, and GET parameter. More info: http://www2.john.rummellcc.com/2007/05/querystring-property-c-code-snippet.html</description>
      <link>http://www.gotcodesnippets.net/1114.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Tue, 22 May 2007 10:31:18 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Resize an Image</title>
      <description>ReSize an Image</description>
      <link>http://www.gotcodesnippets.net/1113.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Tue, 20 Mar 2007 10:54:54 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: operator ==</title>
      <description>operator == snippet</description>
      <link>http://www.gotcodesnippets.net/1112.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Wed, 07 Feb 2007 08:33:13 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Assertion2</title>
      <description>Assertion with exception that allows you to include a variable's value in the error message</description>
      <link>http://www.gotcodesnippets.net/1111.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Thu, 11 Jan 2007 08:53:51 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Assertion1</title>
      <description>Assertion/Exception combination inspired by Debugging .Net 2.0 Applications</description>
      <link>http://www.gotcodesnippets.net/1110.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Thu, 11 Jan 2007 08:52:32 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: ternay</title>
      <description>Insert ternary (single line compact conditional) operator</description>
      <link>http://www.gotcodesnippets.net/1109.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Tue, 05 Dec 2006 08:26:58 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: propStringLazy</title>
      <description>Lazy load of a string from the app.config file with a backing field and a default value (string.Empty if not specified).</description>
      <link>http://www.gotcodesnippets.net/1108.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Thu, 30 Nov 2006 05:54:37 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: propTypedLazy</title>
      <description>Lazy load of a value type property from the app.config file; has backing field and default value and initializes with the value type's default value if none is specified.</description>
      <link>http://www.gotcodesnippets.net/1107.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Thu, 30 Nov 2006 05:53:41 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Count the Words in a Text String</title>
      <description>Count the words in a text string where a word is assumed to be delimited by spaces.</description>
      <link>http://www.gotcodesnippets.net/1106.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Fri, 10 Nov 2006 15:37:09 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: propAmdLazy</title>
      <description>Lazy load property from AppSettings in .config with a default value and backing fields.</description>
      <link>http://www.gotcodesnippets.net/1105.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Sat, 28 Oct 2006 12:29:47 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Property With Region</title>
      <description>This is the VB.NET version of Mike Palermo's Property with Region code snippet.  Original from the Great Jennifer C with a slight modification!</description>
      <link>http://www.gotcodesnippets.net/1104.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Tue, 24 Oct 2006 17:01:40 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: ViewState Property</title>
      <description>Generates property that is stored in the ViewState bag of an ASP.NET control or page.

More info here:
http://blogs.vizibility.net/sdobrev/archive/2006/09/30/Code-Snippets-Returned.aspx</description>
      <link>http://www.gotcodesnippets.net/1103.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Thu, 19 Oct 2006 01:07:15 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: If Item or AlternatingItem</title>
      <description>Checks whether the item type is item or alternating item.

More info here:
http://blogs.vizibility.net/sdobrev/archive/2006/09/30/Code-Snippets-Returned.aspx
</description>
      <link>http://www.gotcodesnippets.net/1102.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Thu, 19 Oct 2006 01:06:29 GMT</pubDate>
    </item>
    <item>
      <title>Snippet: Web Control Event</title>
      <description>Generates event that can be used in ASP.NET control or page.

More info here:
http://blogs.vizibility.net/sdobrev/archive/2006/09/30/Code-Snippets-Returned.aspx</description>
      <link>http://www.gotcodesnippets.net/1101.snippet</link>
      <author>GotCodeSnippets.NET</author>
      <pubDate>Thu, 19 Oct 2006 01:05:29 GMT</pubDate>
    </item>
  </channel>
</rss>