<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>random - Mark Rogers</title>
        <description>This is the Oxite Sample description</description>
        <link>http://www.markdavidrogers.com/oxitesample/Tags/random</link>
        <language>en</language>
        <image>
            <url>http://www.markdavidrogers.com/oxitesample/Content/icons/flame.png</url>
            <title>Mark Rogers</title>
            <link>http://www.markdavidrogers.com/oxitesample/Tags/random</link>
            <width>64</width>
            <height>64</height>
        </image>
        <item>
            <dc:creator>Admin</dc:creator>
            <title>Random Name Generator .Net Library</title>
            <description>&lt;p&gt;While I was working on my current project, I found I needed the ability to generate a name randomly.  Pretty simple task, but I have been unable to google a free .net random name generating library that I could use.  After reading &lt;a href=&quot;http://stackoverflow.com/questions/274062/name-generator-for-net&quot;&gt;this question&lt;/a&gt;, I came to the conclusion that no such library exists.  So I decided to make one myself, and give it out for free in the hopes that it might generate a few hits.&lt;/p&gt;

&lt;div&gt;
  &lt;p&gt;You can try it out right here:&lt;/p&gt;
  &lt;div&gt;&lt;input type=&quot;button&quot; value=&quot;Generate Random Person Name&quot; id=&quot;randomPersonButton&quot; /&gt;:  
  &lt;span id=&quot;randomPersonResult&quot;&gt; Click To Generate &lt;/span&gt;&lt;/div&gt;
  &lt;div&gt;&lt;input type=&quot;button&quot; value=&quot;Generate Random Place Name&quot; id=&quot;randomPlaceButton&quot; /&gt;:  
  &lt;span id=&quot;randomPlaceResult&quot;&gt; Click To Generate &lt;/span&gt;&lt;/div&gt;
  &lt;script type=&quot;text/javascript&quot;&gt;
      $(document).ready(function() {
          $(&quot;#randomPersonButton&quot;).click( function () {
	      		$.getJSON(&quot;/oxitesample/RandomNameGenerator/GenerateRandomPersonName&quot;,
			     function(data){
						$('#randomPersonResult').text(data);
        	 	 });
	 });
	 $(&quot;#randomPlaceButton&quot;).click( function () {
	      $.getJSON(&quot;/oxitesample/RandomNameGenerator/GenerateRandomPlaceName&quot;,
		 function(data){
	         	 $('#randomPlaceResult').text(data);
        	 });
	 });
      });
  &lt;/script&gt;
&lt;/div&gt;

&lt;div&gt;
&lt;p&gt;&lt;a href=&quot;http://www.markdavidrogers.com/files/RandomNameGenerator.zip&quot;&gt;You can download a zip file containing the DLL here (using .net framework 3.5). [406k]&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;


&lt;p&gt;The library contains a stripped down lists of human names from the &lt;a href=&quot;http://www.census.gov/genealogy/names/names_files.html&quot;&gt;US Census names list&lt;/a&gt;, and a list of place names from another &lt;a href=&quot;http://www.census.gov/tiger/tms/gazetteer/places2k.txt&quot;&gt;census list&lt;/a&gt;. The library allows you to get random first and last names or both and you can get male and female first names. You can also generate random place names as well. To access this functionality create a NameGenerator in namespace RandomNameGenerator, and call one of the functions like GenerateRandomFirstAndLastName().  The functions names describe literally and simply what those functions do.&lt;/p&gt;

&lt;p&gt;For this demo post, I used jQuery's $.getJSON to perform the Ajax, and ASP.net MVC on the server side to receive the request.  A controller there asks the library for a random name.&lt;/p&gt;

&lt;p&gt; You are free to use the library however you like, commerical or otherwise, but I would expect you not to claim that you made it or sue me for some reason.&lt;/p&gt;

&lt;p&gt; If anyone wants the source code, or a version of the library that compresses and decompresses the names lists (in order to trade disk size for in-memory computation), let me know!&lt;/p&gt;
</description>
            <link>http://www.markdavidrogers.com/oxitesample/Blog/random-name-generator-net-library</link>
            <guid isPermaLink="true">http://www.markdavidrogers.com/oxitesample/Blog/random-name-generator-net-library</guid>
            <pubDate>Thu, 05 Nov 2009 15:22:00 GMT</pubDate>
            <category>.net</category>
            <category>library</category>
            <category>random</category>
        </item>
    </channel>
</rss>
