<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Coder buddy</title>
	<atom:link href="http://coderbuddy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://coderbuddy.wordpress.com</link>
	<description>Simple and easy solutions to your coding problems in C#.net</description>
	<lastBuildDate>Sun, 25 Dec 2011 06:44:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='coderbuddy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Coder buddy</title>
		<link>http://coderbuddy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://coderbuddy.wordpress.com/osd.xml" title="Coder buddy" />
	<atom:link rel='hub' href='http://coderbuddy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Micro Performance optimisation using If-Else</title>
		<link>http://coderbuddy.wordpress.com/2011/10/18/micro-performance-optimisation-using-if-else/</link>
		<comments>http://coderbuddy.wordpress.com/2011/10/18/micro-performance-optimisation-using-if-else/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 18:50:20 +0000</pubDate>
		<dc:creator>Vamsi</dc:creator>
				<category><![CDATA[C#.net]]></category>
		<category><![CDATA[Conditional (programming)]]></category>
		<category><![CDATA[if-else]]></category>
		<category><![CDATA[performance-optimization]]></category>

		<guid isPermaLink="false">http://coderbuddy.wordpress.com/?p=317</guid>
		<description><![CDATA[This post is actually a question I asked on Stackoverflow, The question is Which performs better if or if-else ?, this might seem to be a silly question for a few because of 2 reasons. If block will have relatively less lines of code, if both the blocks are having the same code, it is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=317&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is actually a question I asked on <a title="Does IF perform better than IF-ELSE?" href="http://stackoverflow.com/questions/7741033/does-if-perform-better-than-if-else">Stackoverflow</a>,</p>
<p>The question is Which performs better if or if-else ?, this might seem to be a silly question for a few because of 2 reasons.</p>
<ul>
<li>If block will have relatively less lines of code, if both the blocks are having the same code, it is apparently a matter of commonsense.</li>
<li>And if they are not having the same code then we should not compare them in the first place</li>
</ul>
<p>The If Block<br />
<code></code></p>
<pre><code>    public long WithOnlyIf(int myFlag)
   {
          Stopwatch myTimer = new Stopwatch();
          string someString = "";
          myTimer.Start();
          for (int i = 0; i &lt; 1000000; i++)
          {
              string height = "80%";
              string width = "80%";
              if (myFlag == 1)
              {
                  height = "60%";
                  width = "60%";
              }
              someString = "Height: " + height + Environment.NewLine + "Width: " + width;
          }
          myTimer.Stop();
          File.WriteAllText("testif.txt", someString);
          return myTimer.ElapsedMilliseconds;
      } </code></pre>
<p>The If-Else Block<br />
<code></code></p>
<pre><code>    public long WithIfAndElse(int myFlag)
    {
          Stopwatch myTimer = new Stopwatch();
          string someString = "";
          myTimer.Start();
          for (int i = 0; i &lt; 1000000; i++)
          {
              string height;
              string width;
              if (myFlag == 1)
              {
                  height = "60%";
                  width = "60%";
              }
              else
              {
                  height = "80%";
                  width = "80%";
              }
              someString = "Height: " + height + Environment.NewLine + "Width: " + width;
          }
          myTimer.Stop();
          File.WriteAllText("testifelse.txt", someString);
          return myTimer.ElapsedMilliseconds;
      } </code></pre>
<p>So Which one actually performs better, well lets look into the  results</p>
<p>When Condition is true, the If Block took 1700 milliseconds to execute the 1000000 iterations, where as the if-else block took only 1688 milliseconds</p>
<p>When the conditions fails, the if scored 1677 Milliseconds which is still a bit late than the If-Else block&#8217;s 1664 Milliseconds</p>
<p>So the results  say that If-Else performs better than If and guess according to most of SO posters the If-Else block is more readable too</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coderbuddy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coderbuddy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coderbuddy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coderbuddy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coderbuddy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coderbuddy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coderbuddy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coderbuddy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coderbuddy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coderbuddy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coderbuddy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coderbuddy.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coderbuddy.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coderbuddy.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=317&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coderbuddy.wordpress.com/2011/10/18/micro-performance-optimisation-using-if-else/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f9feb6c8f5d09204a14f00565506701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chowdary</media:title>
		</media:content>
	</item>
		<item>
		<title>Sql Query to get domain Name from email column</title>
		<link>http://coderbuddy.wordpress.com/2011/06/27/sql-query-to-get-domain-name-from-email-column/</link>
		<comments>http://coderbuddy.wordpress.com/2011/06/27/sql-query-to-get-domain-name-from-email-column/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 15:49:01 +0000</pubDate>
		<dc:creator>Vamsi</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">http://coderbuddy.wordpress.com/?p=236</guid>
		<description><![CDATA[The following T-SQL Query will retrieve anything that is after the @ symbol, the query can be very useful for retrieving the domain of an email address SELECT SUBSTRING(T.Email,(CHARINDEX('@',T.Email)+1),LEN(T.Email) - (CHARINDEX('@',T.Email))) as DomainName FROM EmailTable T<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=236&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following T-SQL Query will retrieve anything that is after the <code>@ </code>symbol, the query can be very useful for retrieving the domain of an email address<br />
<code>SELECT SUBSTRING(T.Email,(CHARINDEX('@',T.Email)+1),LEN(T.Email) - (CHARINDEX('@',T.Email))) as DomainName FROM EmailTable T</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coderbuddy.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coderbuddy.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coderbuddy.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coderbuddy.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coderbuddy.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coderbuddy.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coderbuddy.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coderbuddy.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coderbuddy.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coderbuddy.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coderbuddy.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coderbuddy.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coderbuddy.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coderbuddy.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=236&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coderbuddy.wordpress.com/2011/06/27/sql-query-to-get-domain-name-from-email-column/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f9feb6c8f5d09204a14f00565506701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chowdary</media:title>
		</media:content>
	</item>
		<item>
		<title>A simple C#class to implement rijndael encryption</title>
		<link>http://coderbuddy.wordpress.com/2011/03/26/a-simple-cclass-to-implement-rijndael-encryption/</link>
		<comments>http://coderbuddy.wordpress.com/2011/03/26/a-simple-cclass-to-implement-rijndael-encryption/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 07:55:40 +0000</pubDate>
		<dc:creator>Vamsi</dc:creator>
				<category><![CDATA[C#.net]]></category>

		<guid isPermaLink="false">http://coderbuddy.wordpress.com/?p=229</guid>
		<description><![CDATA[For all those paranoids out there who fear there data might be stolen here is a simple helper class to implemnet rijndael encryption in C#.net. I found this code long back on the net, i added some coments and made it int a class, so if you find it usefull and know the original coder, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=229&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For all those paranoids out there who fear there data might be stolen <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  here is a simple helper class to implemnet rijndael encryption in C#.net.</p>
<p>I found this code long back on the net, i added some coments and made it int a class, so if you find it usefull and know the original coder, just post a comment and let me know.</p>
<pre><code>using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
using System.Security.Cryptography;

namespace EasyCipher
{
    public class EC_Rijndael
    {

        #region Encryption Stuff goes here

        /// &lt;summary&gt;
        /// Encrypts a given string using Rijndael algorithm, salted
        /// &lt;/summary&gt;
        /// &lt;param name="plain_text"&gt;The string you want to encrypt&lt;/param&gt;
        /// &lt;param name="password"&gt;Password used for encryption&lt;/param&gt;
        ///&lt;returns&gt;&lt;/returns&gt;
        public static string Encrypt(string clearText, string Password)
        {
            byte[] clearBytes = System.Text.Encoding.Unicode.GetBytes(clearText);
            //Don't worry about the string "~t)o!o(s@a*l#t&amp;y", you can replace it with your own string, it is better to make it unpredictable
            PasswordDeriveBytes pdb = new PasswordDeriveBytes(Password, Encoding.ASCII.GetBytes("~t)o!o(s@a*l#t&amp;y"));
            byte[] encryptedData = Encrypt(clearBytes, pdb.GetBytes(32), pdb.GetBytes(16));
            return Convert.ToBase64String(encryptedData);
        }

        /// &lt;summary&gt;
        /// Encrypts a given string using Rijndael algorithm
        /// &lt;/summary&gt;
        /// &lt;param name="plain_text"&gt;The string you want to encrypt&lt;/param&gt;
        /// &lt;param name="password"&gt;Password used for encryption&lt;/param&gt;
        /// &lt;param name="salt"&gt;Salt value in bytes to stop dictionary attack, remember the same salt value must be used to decryption&lt;/param&gt;
        ///&lt;returns&gt;&lt;/returns&gt;
        public static string Encrypt(string plain_text, string password, byte[] saltvalue)
        {
            byte[] plain_bytes = System.Text.Encoding.Unicode.GetBytes(plain_text);
            PasswordDeriveBytes pdb = new PasswordDeriveBytes(password, saltvalue);
            byte[] encrypted_data = Encrypt(plain_bytes, pdb.GetBytes(32), pdb.GetBytes(16));
            return Convert.ToBase64String(encrypted_data);
        }

        /// &lt;summary&gt;
        /// Encrypts a byte array, instead of string
        /// &lt;/summary&gt;
        /// &lt;param name="plain_bytes"&gt;byte array to be encrypted&lt;/param&gt;
        /// &lt;param name="password"&gt;password for encryption&lt;/param&gt;
        /// &lt;param name="saltvalue"&gt;Salt value is any byte array that is attached to a password to stop dictionary attack&lt;/param&gt;
        /// &lt;returns&gt;Encrypted byte array&lt;/returns&gt;
        public static byte[] Encrypt(byte[] plain_bytes, string password, byte[] saltvalue)
        {
            PasswordDeriveBytes pwd = new PasswordDeriveBytes(password, saltvalue);
            byte[] encryptedData = Encrypt(plain_bytes, pwd.GetBytes(32), pwd.GetBytes(16));
            return encryptedData;
        }

        /// &lt;summary&gt;
        /// Encrypts a byte array, instead of string, salted
        /// &lt;/summary&gt;
        /// &lt;param name="plain_bytes"&gt;byte array to be encrypted&lt;/param&gt;
        /// &lt;param name="password"&gt;password for encryption&lt;/param&gt;
        /// &lt;returns&gt;Encrypted byte array&lt;/returns&gt;
        public static byte[] Encrypt(byte[] clearBytes, string Password)
        {
            PasswordDeriveBytes pdb = new PasswordDeriveBytes(Password, new byte[] { 0x49, 0x76, 0x61, 0x6e, 0x20, 0x4d, 0x65, 0x64, 0x76, 0x65, 0x64, 0x65, 0x76 });
            byte[] encryptedData = Encrypt(clearBytes, pdb.GetBytes(32), pdb.GetBytes(16));
            return encryptedData;
        }

        #endregion

        #region Decryption Stuff Goes here

        /// &lt;summary&gt;
        /// Decyphers an encrypted string, salted
        /// &lt;/summary&gt;
        /// &lt;param name="cipher_text"&gt;Encrytped string to be deciphered&lt;/param&gt;
        /// &lt;param name="password"&gt;password used for encrypting string&lt;/param&gt;
        /// &lt;returns&gt;Plain deciphered string&lt;/returns&gt;
        public static string Decrypt(string cipherText, string Password)
        {
            byte[] cipherBytes = Convert.FromBase64String(cipherText);
            //Don't worry about the string "~t)o!o(s@a*l#t&amp;y", you can replace it with your own string, it is better to make it unpredictable
            PasswordDeriveBytes pdb = new PasswordDeriveBytes(Password, Encoding.ASCII.GetBytes("~t)o!o(s@a*l#t&amp;y"));
            byte[] decryptedData = Decrypt(cipherBytes, pdb.GetBytes(32), pdb.GetBytes(16));
            return System.Text.Encoding.Unicode.GetString(decryptedData);
        }

        /// &lt;summary&gt;
        /// Decyphers an encrypted string
        /// &lt;/summary&gt;
        /// &lt;param name="cipher_text"&gt;Encrytped string to be deciphered&lt;/param&gt;
        /// &lt;param name="password"&gt;password used for encrypting string&lt;/param&gt;
        /// &lt;param name="saltvalue"&gt;Salt value is any byte array that is attached to a password to stop dictionary attack&lt;/param&gt;
        /// &lt;returns&gt;Plain deciphered string&lt;/returns&gt;
        public static string Decrypt(string cipher_text, string password, byte[] saltvalue)
        {
            byte[] cipher_bytes = Convert.FromBase64String(cipher_text);
            PasswordDeriveBytes pdb = new PasswordDeriveBytes(password, saltvalue);
            byte[] decrypted_data = Decrypt(cipher_bytes, pdb.GetBytes(32), pdb.GetBytes(16));
            return System.Text.Encoding.Unicode.GetString(decrypted_data);
        }

        /// &lt;summary&gt;
        /// Decyphers an encrypted byte array, salted
        /// &lt;/summary&gt;
        /// &lt;param name="cipher_bytes"&gt;Encrytped byte array to be deciphered&lt;/param&gt;
        /// &lt;param name="password"&gt;Salt value is any byte array that is attached to a password to stop dictionary attack&lt;/param&gt;
        /// &lt;returns&gt;&lt;/returns&gt;
        public static byte[] Decrypt(byte[] cipherBytes, string Password)
        {
            //Don't worry about the string "~t)o!o(s@a*l#t&amp;y", you can replace it with your own string, it is better to make it unpredictable
            PasswordDeriveBytes pdb = new PasswordDeriveBytes(Password, Encoding.ASCII.GetBytes("~t)o!o(s@a*l#t&amp;y"));
            byte[] decryptedData = Decrypt(cipherBytes, pdb.GetBytes(32), pdb.GetBytes(16));
            return decryptedData;
        }

        /// &lt;summary&gt;
        /// Decyphers an encrypted byte array
        /// &lt;/summary&gt;
        /// &lt;param name="cipher_bytes"&gt;Encrytped byte array to be deciphered&lt;/param&gt;
        /// &lt;param name="password"&gt;Salt value is any byte array that is attached to a password to stop dictionary attack&lt;/param&gt;
        /// &lt;param name="saltvalue"&gt;Plain deciphered byte array&lt;/param&gt;
        /// &lt;returns&gt;&lt;/returns&gt;
        public static byte[] Decrypt(byte[] cipher_bytes, string password, byte[] saltvalue)
        {
            PasswordDeriveBytes pdb = new PasswordDeriveBytes(password, saltvalue);
            byte[] decrypted_data = Decrypt(cipher_bytes, pdb.GetBytes(32), pdb.GetBytes(16));
            return decrypted_data;
        }

        #endregion

        #region Private Encryption Methods

        private static byte[] Encrypt(byte[] plain_bytes, byte[] Key, byte[] IV)
        {
            MemoryStream ms = new MemoryStream();
            Rijndael alg = Rijndael.Create();
            alg.Key = Key;
            alg.IV = IV;
            CryptoStream cs = new CryptoStream(ms, alg.CreateEncryptor(), CryptoStreamMode.Write);
            cs.Write(plain_bytes, 0, plain_bytes.Length);
            cs.Close();
            byte[] encrypted_data = ms.ToArray();
            return encrypted_data;
        }

        private static byte[] Decrypt(byte[] cipherData, byte[] Key, byte[] IV)
        {
            MemoryStream ms = new MemoryStream();
            Rijndael alg = Rijndael.Create();
            alg.Key = Key;
            alg.IV = IV;
            CryptoStream cs = new CryptoStream(ms, alg.CreateDecryptor(), CryptoStreamMode.Write);
            cs.Write(cipherData, 0, cipherData.Length);
            cs.Close();
            byte[] decrypted_data = ms.ToArray();
            return decrypted_data;
        }

        #endregion

    }

}

</code></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coderbuddy.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coderbuddy.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coderbuddy.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coderbuddy.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coderbuddy.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coderbuddy.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coderbuddy.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coderbuddy.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coderbuddy.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coderbuddy.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coderbuddy.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coderbuddy.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coderbuddy.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coderbuddy.wordpress.com/229/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=229&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coderbuddy.wordpress.com/2011/03/26/a-simple-cclass-to-implement-rijndael-encryption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f9feb6c8f5d09204a14f00565506701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chowdary</media:title>
		</media:content>
	</item>
		<item>
		<title>2010 in review</title>
		<link>http://coderbuddy.wordpress.com/2011/01/02/2010-in-review/</link>
		<comments>http://coderbuddy.wordpress.com/2011/01/02/2010-in-review/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 12:54:48 +0000</pubDate>
		<dc:creator>Vamsi</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[WordPress.com]]></category>
		<category><![CDATA[Yearly Review]]></category>

		<guid isPermaLink="false">http://coderbuddy.wordpress.com/?p=220</guid>
		<description><![CDATA[Looking back at the year 2010<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=220&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here&#8217;s a high level summary of its overall blog health:</p>
<p><img style="border:1px solid #ddd;background:#f5f5f5;padding:20px;" src="http://s0.wp.com/i/annual-recap/meter-healthy2.gif" alt="Healthy blog!" width="250" height="183" /></p>
<p>The <em>Blog-Health-o-Meter™</em> reads This blog is doing awesome!.</p>
<h2>Crunchy numbers</h2>
<div style="width:288px;float:right;border:1px solid #ddd;background:#fff;margin:0 0 1em 1em;padding:6px;">
<p><img src="http://s0.wp.com/i/annual-recap/abstract-stats-2.png" alt="Featured image" /></p>
<p><em>A helper monkey made this abstract painting, inspired by your stats.</em></p>
</div>
<p>A Boeing 747-400 passenger jet can hold 416 passengers.  This blog was viewed about <strong>3,300</strong> times in 2010.  That&#8217;s about 8 full 747s.</p>
<p>&nbsp;</p>
<p>In 2010, there were <strong>10</strong> new posts, growing the total archive of this blog to 16 posts. There was <strong>1</strong> picture uploaded, taking a total of 33kb.</p>
<p>The busiest day of the year was October 27th with <strong>60</strong> views. The most popular post that day was <a style="color:#08c;" href="http://coderbuddy.wordpress.com/2010/08/28/oauth-twitter-search-in-c/">Implementing oauth twitter search in C# and JSON</a>.</p>
<h2>Where did they come from?</h2>
<p>The top referring sites in 2010 were <strong>in.answers.yahoo.com</strong>, <strong>google.co.in</strong>, <strong>google.com</strong>, <strong>ead.ipleiria.pt</strong>, and <strong>mail.live.com</strong>.</p>
<p>Some visitors came searching, mostly for <strong>oauth twitter c#</strong>, <strong>twitter oauth c#</strong>, <strong>check domain availability in c sharp</strong>, <strong>coderbuddy</strong>, and <strong>c# twitter search</strong>.</p>
<h2>Attractions in 2010</h2>
<p>These are the posts and pages that got the most views in 2010.</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">1</div>
<p><a style="margin-right:10px;" href="http://coderbuddy.wordpress.com/2010/08/28/oauth-twitter-search-in-c/">Implementing oauth twitter search in C# and JSON</a> <span style="color:#999;font-size:8pt;">August 2010</span><br />
8 comments</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">2</div>
<p><a style="margin-right:10px;" href="http://coderbuddy.wordpress.com/2010/08/30/c-code-to-publish-delete-retrieve-tweets-using-oauth/">C# code to publish, delete, retrieve tweets using oauth</a> <span style="color:#999;font-size:8pt;">August 2010</span><br />
1 comment</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">3</div>
<p><a style="margin-right:10px;" href="http://coderbuddy.wordpress.com/2009/10/19/dynamic-arrays/">Changing array length at runtime in C#.net</a> <span style="color:#999;font-size:8pt;">October 2009</span><br />
3 comments</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">4</div>
<p><a style="margin-right:10px;" href="http://coderbuddy.wordpress.com/2010/10/12/a-simple-c-class-to-get-whois-information/">A simple C# class to get whois information</a> <span style="color:#999;font-size:8pt;">October 2010</span><br />
4 comments</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">5</div>
<p><a style="margin-right:10px;" href="http://coderbuddy.wordpress.com/2009/10/31/coder-buddyc-code-to-extract-email/">C# code to extract Email</a> <span style="color:#999;font-size:8pt;">October 2009</span><br />
2 comments</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coderbuddy.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coderbuddy.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coderbuddy.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coderbuddy.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coderbuddy.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coderbuddy.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coderbuddy.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coderbuddy.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coderbuddy.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coderbuddy.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coderbuddy.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coderbuddy.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coderbuddy.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coderbuddy.wordpress.com/220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=220&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coderbuddy.wordpress.com/2011/01/02/2010-in-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f9feb6c8f5d09204a14f00565506701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chowdary</media:title>
		</media:content>

		<media:content url="http://s0.wp.com/i/annual-recap/meter-healthy2.gif" medium="image">
			<media:title type="html">Healthy blog!</media:title>
		</media:content>

		<media:content url="http://s0.wp.com/i/annual-recap/abstract-stats-2.png" medium="image">
			<media:title type="html">Featured image</media:title>
		</media:content>
	</item>
		<item>
		<title>Auto increment using identity in SQL Server</title>
		<link>http://coderbuddy.wordpress.com/2010/11/01/auto-increment-using-identity-in-sql-server/</link>
		<comments>http://coderbuddy.wordpress.com/2010/11/01/auto-increment-using-identity-in-sql-server/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 14:14:07 +0000</pubDate>
		<dc:creator>Vamsi</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[auto increment in sql server]]></category>
		<category><![CDATA[Data type]]></category>
		<category><![CDATA[FAQs Help and Tutorials]]></category>
		<category><![CDATA[identity property]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Table (database)]]></category>

		<guid isPermaLink="false">http://coderbuddy.wordpress.com/?p=216</guid>
		<description><![CDATA[Auto increment feature can be implemented very easily in an SQL server table using the IDENTITY property. The following query can be used for creation of one such table that can implement auto increment feature on one of its columns CREATE TABLE EMPLOYEE(EID INT IDENTITY(1,1), ENAME VARCHAR(30), E_DOB DATETIME) when the above query is executed, a table [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=216&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Auto increment feature can be implemented very easily in an SQL server table using the IDENTITY property.</p>
<p>The following query can be used for creation of one such table that can implement auto increment feature on one of its columns</p>
<pre><code>CREATE TABLE EMPLOYEE(EID INT IDENTITY(1,1), ENAME VARCHAR(30), E_DOB DATETIME)</code></pre>
<p>when the above query is executed, a table with the name EMPLOYEE is created with a column EID whose values are auto incremented.</p>
<p><strong>Syntax</strong><br />
The syntax of the identity property is very simple</p>
<p><em>DataType IDENTITY [ <strong>(</strong>seed <strong>,</strong>increment<strong>)</strong> ]</em></p>
<p><em>DataType</em> : Identity only supports INT, BIGINT, SMALLINT, TINYINT, DECIMAL data types</p>
<p><em>seed: </em>seed is the value that is assigned for the first row that is loaded into the table</p>
<p><em>increment: </em>Is the incremental value that is added to the identity value of the previous row that was loaded.</p>
<p>seed and increment are optional, but not individually, that means we have to either specify both the values or none of them.</p>
<p>If the values are not provided for seed and increment than the default values of (1, 1) are taken</p>
<p>For more information on IDENTITY property visit  <a href="http://msdn.microsoft.com/en-us/library/aa933196(SQL.80).aspx">http://msdn.microsoft.com/en-us/library/aa933196(SQL.80).aspx</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coderbuddy.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coderbuddy.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coderbuddy.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coderbuddy.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coderbuddy.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coderbuddy.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coderbuddy.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coderbuddy.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coderbuddy.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coderbuddy.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coderbuddy.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coderbuddy.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coderbuddy.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coderbuddy.wordpress.com/216/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=216&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coderbuddy.wordpress.com/2010/11/01/auto-increment-using-identity-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f9feb6c8f5d09204a14f00565506701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chowdary</media:title>
		</media:content>
	</item>
		<item>
		<title>Domain name search in C#</title>
		<link>http://coderbuddy.wordpress.com/2010/10/13/domain-name-search-in-c/</link>
		<comments>http://coderbuddy.wordpress.com/2010/10/13/domain-name-search-in-c/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 06:23:00 +0000</pubDate>
		<dc:creator>Vamsi</dc:creator>
				<category><![CDATA[C#.net]]></category>
		<category><![CDATA[C# whois]]></category>
		<category><![CDATA[C#.net article]]></category>
		<category><![CDATA[C#.net code]]></category>
		<category><![CDATA[Domain name]]></category>
		<category><![CDATA[Domain name registry]]></category>
		<category><![CDATA[domain search C#]]></category>
		<category><![CDATA[domain search sdk C#]]></category>
		<category><![CDATA[how to domain search]]></category>
		<category><![CDATA[Name Search]]></category>
		<category><![CDATA[Whois]]></category>

		<guid isPermaLink="false">http://coderbuddy.wordpress.com/?p=197</guid>
		<description><![CDATA[A simple C# class to search for domain name availability using whois lookup information<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=197&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I always wondered how the big domain registration companies searched for domain availability, but thanks to the advice of Anthony of  <a href="http://bruteforcenaming.com/">http://bruteforcenaming.com</a> who kindly responded to my childish question of how do you do it ?</p>
<p>Based on his advice of using the whois lookup to search for domain availability, i wrote a <a href="http://coderbuddy.wordpress.com/2010/10/12/a-simple-c-class-to-get-whois-information/">C# class to lookup whois information</a> and a domain search class, which i am sharing with you now</p>
<p>Note: this class uses the whois lookup class, i posted earler on my blog at <a href="http://coderbuddy.wordpress.com/2010/10/12/a-simple-c-class-to-get-whois-information/">http://coderbuddy.wordpress.com/2010/10/12/a-simple-c-class-to-get-whois-information/</a>, so for all of you who want to use this class, first go check my post on whois class or you can download the complete source code by clicking the download button at the bottom of this post.</p>
<pre><code> public class DomainSearch
    {
        /// &lt;summary&gt;
        /// Check whether a given domain name is available or not
        /// &lt;/summary&gt;
        /// &lt;param name="domainname"&gt;daomain name to be verified&lt;/param&gt;
        /// &lt;param name="whois_server_address"&gt;use null value (that is "") or "whois.internic.net" if you dont know any whois servers&lt;/param&gt;
        /// &lt;returns&gt;&lt;/returns&gt;
        public static bool isAvailable(string domainname,string whois_server_address)
        {
            List&lt;string&gt; ws = Whois.lookup(domainname, Whois.RecordType.domain, whois_server_address);
            return ws[7].Contains("No match for domain \"" + domainname.ToUpper() + "\".");
        }    }</code></pre>
<p>Click the download button bellow to download the complete source code (Visual studio 2005, C#.net, Windows Class Library Project) including the whois lookup class.</p>
<p><a href="https://sites.google.com/site/coderbuddy/downloads/WHois.zip?attredirects=0&amp;d=1"><img class="alignnone size-thumbnail wp-image-199" title="download" src="http://coderbuddy.files.wordpress.com/2010/10/download.jpg?w=150&#038;h=60" alt="Download button" width="150" height="60" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coderbuddy.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coderbuddy.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coderbuddy.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coderbuddy.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coderbuddy.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coderbuddy.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coderbuddy.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coderbuddy.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coderbuddy.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coderbuddy.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coderbuddy.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coderbuddy.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coderbuddy.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coderbuddy.wordpress.com/197/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=197&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coderbuddy.wordpress.com/2010/10/13/domain-name-search-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f9feb6c8f5d09204a14f00565506701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chowdary</media:title>
		</media:content>

		<media:content url="http://coderbuddy.files.wordpress.com/2010/10/download.jpg?w=150" medium="image">
			<media:title type="html">download</media:title>
		</media:content>
	</item>
		<item>
		<title>A simple C# class to get whois information</title>
		<link>http://coderbuddy.wordpress.com/2010/10/12/a-simple-c-class-to-get-whois-information/</link>
		<comments>http://coderbuddy.wordpress.com/2010/10/12/a-simple-c-class-to-get-whois-information/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 13:20:47 +0000</pubDate>
		<dc:creator>Vamsi</dc:creator>
				<category><![CDATA[C#.net]]></category>
		<category><![CDATA[C# whois]]></category>
		<category><![CDATA[create whois tool for windows]]></category>
		<category><![CDATA[domain search C#]]></category>
		<category><![CDATA[whois API]]></category>
		<category><![CDATA[whois lookup C#]]></category>

		<guid isPermaLink="false">http://coderbuddy.wordpress.com/?p=188</guid>
		<description><![CDATA[A C# class to obtain whois information of a domain excluding the name servers that usually appear when searching without specifying a record type.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=188&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have searched on the web and found C# classes to obtain whois information, but none of those classes has addressed my issue of obtaining only the domain information, for example if i search for whois information of microsoft.com using the code available on the net you will also get all the name servers that have microsoft in the name.</p>
<p>None of the code i saw addressed the issue of excluding the name servers from the list and only obtaining the whois information for the domain name. So after a bit of research and coding this is what i got, i am sharing it with you. I will be very happy if it is of some use to anybody</p>
<pre><code>using System;
using System.IO;
using System.Text;
using System.Net.Sockets;
using System.Collections.Generic;

namespace WebTools
{
    /// &lt;summary&gt;
    /// A class to lookup whois information.
    /// &lt;/summary&gt;
    public class Whois
    {
        public enum RecordType { domain, nameserver, registrar };

        /// &lt;summary&gt;
        /// retrieves whois information
        /// &lt;/summary&gt;
        /// &lt;param name="domainname"&gt;The registrar or domain or name server whose whois information to be retrieved&lt;/param&gt;
        /// &lt;param name="recordType"&gt;The type of record i.e a domain, nameserver or a registrar&lt;/param&gt;
        /// &lt;returns&gt;The string containg the whois information&lt;/returns&gt;
        public static string lookup(string domainname, RecordType recordType)
        {
            List&lt;string&gt; res = lookup(domainname, recordType, "whois.internic.net");
            string result = "";
            foreach (string st in res)
            {
                result += st + "\n";
            }
            return result;
        }        /// &lt;summary&gt;
        /// retrieves whois information
        /// &lt;/summary&gt;
        /// &lt;param name="domainname"&gt;The registrar or domain or name server whose whois information to be retrieved&lt;/param&gt;
        /// &lt;param name="recordType"&gt;The type of record i.e a domain, nameserver or a registrar&lt;/param&gt;
        /// &lt;param name="returnlist"&gt;use "whois.internic.net" if you dont know whoisservers&lt;/param&gt;
        /// &lt;returns&gt;The string list containg the whois information&lt;/returns&gt;
        public static List&lt;string&gt; lookup(string domainname, RecordType recordType, string whois_server_address)
        {
            if (whois_server_address == "")
                whois_server_address = "whois.internic.net";
            TcpClient tcp = new TcpClient();
            tcp.Connect(whois_server_address, 43);
            string strDomain = recordType.ToString() + " " + domainname + "\r\n";
            byte[] bytDomain = Encoding.ASCII.GetBytes(strDomain.ToCharArray());
            Stream s = tcp.GetStream();
            s.Write(bytDomain, 0, strDomain.Length);
            StreamReader sr = new StreamReader(tcp.GetStream(), Encoding.ASCII);
            string strLine = "";
            List&lt;string&gt; result = new List&lt;string&gt;();
            while (null != (strLine = sr.ReadLine()))
            {
                result.Add(strLine);
            }
            tcp.Close();
            return result;
        }
    }
}</code></pre>
<p>You can use obtain the whois information by simple using the following code</p>
<pre><code>string info = Whois.lookup("google.com", Whois.RecordType.domain);</code></pre>
<p>or you can alternatively use</p>
<pre><code>List&lt;string&gt; info = Whois.lookup("google.com", Whois.RecordType.domain, "whois.internic.net");</code></pre>
<p>This post is first published on <a rel="me" href="http://coderbuddy.wordpress.com/2010/10/12/a-simple-c-class-to-get-whois-information/">coderbuddy.wordpress.com</a>.</p>
<p>I will try and post a entry about whois queries, for those who are interested go to <a href="http://coderbuddy.wordpress.com">coderbuddy Home</a></p>
<p><a href="http://coderbuddy.wordpress.com"></a><br />
<strong>Update</strong></p>
<p><strong></strong>Click the download button bellow to download the complete source code (Visual studio 2005, C#.net, Windows Class Library Project) including the C# class to search for domain name search using whois information.</p>
<p><a href="https://sites.google.com/site/coderbuddy/downloads/WHois.zip?attredirects=0&amp;d=1"><img class="alignnone size-thumbnail wp-image-199" title="download" src="http://coderbuddy.files.wordpress.com/2010/10/download.jpg?w=150&#038;h=60" alt="Download button" width="150" height="60" /></a><br />
<span style="font-weight:bold;">Related Articles</span></p>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://brainz.org/what-whois/">What is WHOIS?</a> (brainz.org)</li>
<li class="zemanta-article-ul-li"><a href="http://www.sophos.com/blogs/chetw/g/2010/09/07/whois-database-hacked-happen/">WHOIS database hacked &#8211; Who is behind it and how could it happen?</a> (sophos.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.firstrate.co.nz/blog/another-expanded-whois-service/">Another Expanded Whois Service</a> (firstrate.co.nz)</li>
<li class="zemanta-article-ul-li"><a href="http://www.brighthub.com/internet/security-privacy/articles/82115.aspx">Identifying a Website Owner Using Whois</a> (brighthub.com)</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coderbuddy.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coderbuddy.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coderbuddy.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coderbuddy.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coderbuddy.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coderbuddy.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coderbuddy.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coderbuddy.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coderbuddy.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coderbuddy.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coderbuddy.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coderbuddy.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coderbuddy.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coderbuddy.wordpress.com/188/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=188&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coderbuddy.wordpress.com/2010/10/12/a-simple-c-class-to-get-whois-information/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f9feb6c8f5d09204a14f00565506701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chowdary</media:title>
		</media:content>

		<media:content url="http://coderbuddy.files.wordpress.com/2010/10/download.jpg?w=150" medium="image">
			<media:title type="html">download</media:title>
		</media:content>
	</item>
		<item>
		<title>C# code to publish, delete, retrieve tweets using oauth</title>
		<link>http://coderbuddy.wordpress.com/2010/08/30/c-code-to-publish-delete-retrieve-tweets-using-oauth/</link>
		<comments>http://coderbuddy.wordpress.com/2010/08/30/c-code-to-publish-delete-retrieve-tweets-using-oauth/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 14:57:23 +0000</pubDate>
		<dc:creator>Vamsi</dc:creator>
				<category><![CDATA[C#.net]]></category>
		<category><![CDATA[Application programming interface]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[C#.net code]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[Oauth]]></category>
		<category><![CDATA[Online Communities]]></category>
		<category><![CDATA[Social network]]></category>
		<category><![CDATA[Trending and Popularity]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://coderbuddy.wordpress.com/?p=177</guid>
		<description><![CDATA[C#.net class to tweet, retweet, delete and get information about tweet and their publishers<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=177&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following C#.net class can be used to update statuses, delete, retweet statuses, obtain information regarding a particular status and any body who retweeted a particular status using status id.</p>
<p>This class implements all the methods that are under the &#8220;Tweets Resources&#8221; section in <a href="http://dev.twitter.com/doc">Twitter API documentation</a></p>
<pre><code>using System;
using System.Text;
using System.Collections.Generic;

namespace TwitterAPI
{
    public class Tweets
    {
        #region Class-Level-Declarations

        private oAuthTwitter OAuth;
        /// &lt;summary&gt;
        /// Create, Update, retrieve, delete tweets(status messages) using this class
        /// &lt;/summary&gt;
        /// &lt;param name="_oauth"&gt;An authorized and authenticated oAuth token&lt;/param&gt;
        public Tweets(oAuthTwitter _oauth)
        {
            this.OAuth = _oauth;
        }
        public enum ResponseFormat { JSON, XML };

        #endregion

        #region Show:ID

        /// &lt;summary&gt;
        /// Returns a single status, specified by the id parameter below. The status's author will be returned inline.
        /// This does not require authentication as long as the status is not protected
        /// This is a rate limited call
        /// &lt;/summary&gt;
        /// &lt;param name="response_format"&gt;The format in which you want twitter to respond&lt;/param&gt;
        /// &lt;param name="statusid"&gt;The numerical ID of the desired status.&lt;/param&gt;
        /// &lt;param name="optionalparameters"&gt;Any other optional parameters.Use an empty string if you dont want to pass any optional parameters&lt;/param&gt;
        /// &lt;returns&gt;Response string from twitter in user selected format&lt;/returns&gt;
        public string Show_By_ID(ResponseFormat response_format, string statusid, string optionalparameters)
        {
            if (string.IsNullOrEmpty(statusid))
                throw new ArgumentNullException(statusid, "Status Id cannot be null");
            return OAuth.oAuthWebRequest(oAuthTwitter.Method.GET, "http://api.twitter.com/1/statuses/show/" + statusid + "." + response_format.ToString(), optionalparameters);
        }

        #endregion

        #region Update

        /// &lt;summary&gt;
        /// Updates the authenticating user's status. A status update with text identical to the authenticating user's current status will be ignored to prevent duplicates.
        /// Authentication is required and this call is not rate limited
        /// &lt;/summary&gt;
        /// &lt;param name="tweet_message"&gt;The text of your status update, up to 140 characters.&lt;/param&gt;
        /// &lt;param name="reponse_format"&gt;The format in which you want twitter to respond&lt;/param&gt;
        /// &lt;param name="optionalparameters"&gt;Any optional paramters you want to pass&lt;/param&gt;
        /// &lt;returns&gt;Response string from twitter in user selected format &lt;/returns&gt;
        public string UpdateStatus(ResponseFormat reponse_format, string tweet_message, string optionalparameters)
        {
            if (string.IsNullOrEmpty(tweet_message))
                throw new ArgumentNullException(tweet_message, "The status message cannot be null");
            return OAuth.oAuthWebRequest(oAuthTwitter.Method.POST, "http://api.twitter.com/1/statuses/update." + reponse_format.ToString(), "status=" + tweet_message + optionalparameters);
        }

         #endregion

        #region Destroy:Id

        /// &lt;summary&gt;
        /// Destroys the status specified by the required ID parameter.In other words deletes the specified tweet
        /// Requires authentication, and rate limited is false
        /// &lt;/summary&gt;
        /// &lt;param name="response_format"&gt;The format in which you want twitter to respond&lt;/param&gt;
        /// &lt;param name="statusid"&gt;The numerical ID of the desired status.&lt;/param&gt;
        /// &lt;param name="optionalparameters"&gt;Any other optional parameters.Use an empty string if you dont want to pass any optional parameters&lt;/param&gt;
        /// &lt;returns&gt;Response string from twitter in user selected format&lt;/returns&gt;
        public string Destroy_By_Id(ResponseFormat response_format, string statusid, string optionalparameters)
        {
            if (string.IsNullOrEmpty(statusid))
                throw new ArgumentNullException(statusid, "Status Id cannot be null");
            return OAuth.oAuthWebRequest(oAuthTwitter.Method.POST, "http://api.twitter.com/1/statuses/destroy/" + statusid + "." + response_format.ToString(), optionalparameters);
        }

        #endregion

        #region Retweet:Id

        /// &lt;summary&gt;
        /// Retweets a tweet. Returns the original tweet with retweet details embedded.
        /// Does not require authentication, and rate limited is false
        /// &lt;/summary&gt;
        /// &lt;param name="response_format"&gt;The format in which you want twitter to respond&lt;/param&gt;
        /// &lt;param name="statusid"&gt;The numerical ID of the desired status.&lt;/param&gt;
        /// &lt;param name="optionalparameters"&gt;Any other optional parameters.Use an empty string if you dont want to pass any optional parameters&lt;/param&gt;
        /// &lt;returns&gt;Response string from twitter in user selected format&lt;/returns&gt;
        public string Retweet_By_Id(ResponseFormat response_format, string statusid, string optionalparameters)
        {
            if (string.IsNullOrEmpty(statusid))
                throw new ArgumentNullException(statusid, "Status Id cannot be null");
            return OAuth.oAuthWebRequest(oAuthTwitter.Method.POST, "http://api.twitter.com/1/statuses/retweet/" + statusid + "." + response_format.ToString(), optionalparameters);
        }

        #endregion

        #region Show Retweets:Id

        /// &lt;summary&gt;
        ///Returns up to 100 of the first retweets of a given tweet.
        /// Does not require authentication, and rate limited is false
        /// &lt;/summary&gt;
        /// &lt;param name="response_format"&gt;The format in which you want twitter to respond&lt;/param&gt;
        /// &lt;param name="statusid"&gt;The numerical ID of the desired status.&lt;/param&gt;
        /// &lt;param name="optionalparameters"&gt;Any other optional parameters.Use an empty string if you dont want to pass any optional parameters&lt;/param&gt;
        /// &lt;returns&gt;Response string from twitter in user selected format&lt;/returns&gt;
        public string Show_Retweets_By_Id(ResponseFormat response_format, string statusid, string optionalparameters)
        {
            if (string.IsNullOrEmpty(statusid))
                throw new ArgumentNullException(statusid, "Status Id cannot be null");
            return OAuth.oAuthWebRequest(oAuthTwitter.Method.GET, "http://api.twitter.com/1/statuses/retweets/" + statusid + "." + response_format.ToString(), optionalparameters);
        }

        #endregion

        #region Show Retweeted By:Id

        /// &lt;summary&gt;
        /// Show user objects of up to 100 members who retweeted the status.
        /// Requires authentication, and rate limited
        /// &lt;/summary&gt;
        /// &lt;param name="response_format"&gt;The format in which you want twitter to respond&lt;/param&gt;
        /// &lt;param name="statusid"&gt;The numerical ID of the desired status.&lt;/param&gt;
        /// &lt;param name="optionalparameters"&gt;Any other optional parameters.Use an empty string if you dont want to pass any optional parameters&lt;/param&gt;
        /// &lt;returns&gt;Response string from twitter in user selected format&lt;/returns&gt;
        public string Show_Retweetedby_By_Id(ResponseFormat response_format, string statusid, string optionalparameters)
        {
            if (string.IsNullOrEmpty(statusid))
                throw new ArgumentNullException(statusid, "Status Id cannot be null");
            return OAuth.oAuthWebRequest(oAuthTwitter.Method.GET, "http://api.twitter.com/1/statuses/" + statusid + "/retweeted_by." + response_format.ToString(), optionalparameters);
        }

        #endregion

        #region Show Retweeted By:Id

        /// &lt;summary&gt;
        /// Show user ids of up to 100 users who retweeted the status.
        /// Requires authentication, and rate limited
        /// &lt;/summary&gt;
        /// &lt;param name="response_format"&gt;The format in which you want twitter to respond&lt;/param&gt;
        /// &lt;param name="statusid"&gt;The numerical ID of the desired status.&lt;/param&gt;
        /// &lt;param name="optionalparameters"&gt;Any other optional parameters.Use an empty string if you dont want to pass any optional parameters&lt;/param&gt;
        /// &lt;returns&gt;Response string from twitter in user selected format&lt;/returns&gt;
        public string Show_Retweetedby_By_Id(ResponseFormat response_format, string statusid, string optionalparameters)
        {
            if (string.IsNullOrEmpty(statusid))
                throw new ArgumentNullException(statusid, "Status Id cannot be null");
            return OAuth.oAuthWebRequest(oAuthTwitter.Method.GET, "http://api.twitter.com/1/statuses/" + statusid + "/retweeted_by/ids." + response_format.ToString(), optionalparameters);
        }        #endregion
    }
}</code></pre>
<p>This class file uses OAuth implementation by shannon whitley (for more information see my previous post <a href="http://coderbuddy.wordpress.com/2010/08/28/oauth-twitter-search-in-c/">Implementing oauth twitter search in C# and JSON</a>).</p>
<p>You can download the complete source code along with this class from <a href="https://sites.google.com/site/coderbuddy/downloads/TwitterAPI.zip?attredirects=0&amp;d=1">https://sites.google.com/site/coderbuddy/downloads/TwitterAPI.zip?attredirects=0&amp;d=1</a></p>
<h6 class="zemanta-related-title" style="font-size:1em;">Related Articles</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://net.tutsplus.com/tutorials/php/how-to-authenticate-users-with-twitter-oauth/">How to Authenticate Users With Twitter OAuth</a> (net.tutsplus.com)</li>
<li class="zemanta-article-ul-li"><a href="http://jmillerinc.com/2010/05/31/twitter-from-the-command-line-in-python-using-oauth">Twitter from the command line in Python using OAuth &#8211; step-by-step howto</a> (jmillerinc.com)</li>
</ul>
<a href="http://polldaddy.com/poll/3694101/">View This Poll</a>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coderbuddy.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coderbuddy.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coderbuddy.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coderbuddy.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coderbuddy.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coderbuddy.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coderbuddy.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coderbuddy.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coderbuddy.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coderbuddy.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coderbuddy.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coderbuddy.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coderbuddy.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coderbuddy.wordpress.com/177/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=177&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coderbuddy.wordpress.com/2010/08/30/c-code-to-publish-delete-retrieve-tweets-using-oauth/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f9feb6c8f5d09204a14f00565506701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chowdary</media:title>
		</media:content>
	</item>
		<item>
		<title>Implementing oauth twitter search in C# and JSON</title>
		<link>http://coderbuddy.wordpress.com/2010/08/28/oauth-twitter-search-in-c/</link>
		<comments>http://coderbuddy.wordpress.com/2010/08/28/oauth-twitter-search-in-c/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 19:05:08 +0000</pubDate>
		<dc:creator>Vamsi</dc:creator>
				<category><![CDATA[C#.net]]></category>
		<category><![CDATA[Application programming interface]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[Oauth]]></category>
		<category><![CDATA[Social Networking]]></category>
		<category><![CDATA[Trending and Popularity]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://coderbuddy.wordpress.com/?p=129</guid>
		<description><![CDATA[Implementing oauth twitter search in C# using JSON for processing the results<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=129&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To implement twitter search in C# that uses oauth for authentication, first we need a C# oauth implementation, and a JSON parser for extracting results. For oauth implementation I&#8217;m using <a href="http://www.voiceoftech.com/swhitley/index.php/2010/02/twitter-oauth-with-net-for-the-desktop/">Twitter oAuth with .NET by Shannon whitley</a> and for parsing the results <a title="How do i write my own parser ? (For JSON ) - Tech blog" href="http://techblog.procurios.nl/k/n618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html">JSON parser by Procurious</a> and i have to say that this post is just a bit refined implementation of <a title="Parsing Twitter JSON data in C#" href="http://www.jamiedigi.com/2009/06/parsing-twitter-json-in-c-sharp/">Parsing Twitter JSON data in C# by Jamie’s Digital Blog</a>.</p>
<p>To get started with twitter needs you to authenticate your application before you could use twitter API&#8217;s search feature, to authenticate an application initialize a oAuthTwitter object so that it is accessible through out the class like</p>
<pre><code>oAuthTwitter oauth = new oAuthTwitter();
//Replace the vlues with the one's provided by twitter
oauth.ConsumerKey = "Your-twitter-oauth-consumerkey";
oauth.ConsumerSecret = "Your-twitter-oauth-consumersecret";
//Launches your default browser for requesting //authentication
System.Diagnostics.Process.Start(oauth.AuthorizationLinkGet());
//Copy the pin provided after you authenticating and save to a string
//I am assuming you store it in a string twitterpin
//Now the real authentication takes place
//you will exchange the authtoken and pin for Access token
oauth.AccessTokenGet(oauth.OAuthToken, twitterpin);
//remember twitterpin is the object in which we stored the //pin value
</code></pre>
<p>Now since we have obtained the authentication we can use this oAuth to search twitter</p>
<pre><code>
//Replace the term search_keyword with a term you want to search
//rpp=100 in the url means results per page is 100, and lang=en means
//Language is english
string result = oauth.oAuthWebRequest(oAuthTwitter.Method.GET, "http://search.twitter.com/search.json", "q=" + search_keyword + "&amp;rpp=100&amp;lang=en");</code></pre>
<p>Now we have the 100 search results stored in a string result in JSON format, we will use JSON parser for extracting the values of each tweet</p>
<pre><code>
//The following code is a straight copy from <a href="http://www.jamiedigi.com/2009/06/parsing-twitter-json-in-c-sharp/">jamiedigi.com
</a>HashTable jsonHash = (Hashtable)JSON.JsonDecode(jsonCode);
ArrayList jsonResults = (ArrayList)jsonHash["results"];
foreach (object objResult in jsonResults)
{
Hashtable jsonResult = (Hashtable)objResult;
System.Diagnostics.Debug.WriteLine("User ID: "
+ jsonResult["from_user_id"].ToString());
System.Diagnostics.Debug.WriteLine("Tweet text: "
+ jsonResult["text"].ToString());
System.Diagnostics.Debug.WriteLine("Tweet date: "
+ jsonResult["created_at"].ToString());
System.Diagnostics.Debug.WriteLine("User name: "
+ jsonResult["from_user"].ToString());
System.Diagnostics.Debug.WriteLine("Language: "
+ jsonResult["iso_language_code"].ToString())
}
</code></pre>
<p>You can download the complete source code along with oauth and JSON parser implementations from <a href="https://sites.google.com/site/coderbuddy/myReserach.zip?attredirects=0&amp;d=1">https://sites.google.com/site/coderbuddy/myReserach.zip?attredirects=0&amp;d=1</a></p>
<p>You may need to make some modifications to the code like providing the consumer key and consumer secret before working with the code</p>
<p><strong>Subscribe to feed</strong></p>
<ul>
<li><a href="http://feedburner.google.com/fb/a/mailverify?uri=CoderBuddy&amp;loc=en_US">Subscribe to Coder buddy by Email</a></li>
<li><a href="http://feeds.feedburner.com/CoderBuddy">Subscribe to Coder buddy in feed reader</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coderbuddy.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coderbuddy.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coderbuddy.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coderbuddy.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coderbuddy.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coderbuddy.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coderbuddy.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coderbuddy.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coderbuddy.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coderbuddy.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coderbuddy.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coderbuddy.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coderbuddy.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coderbuddy.wordpress.com/129/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=129&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coderbuddy.wordpress.com/2010/08/28/oauth-twitter-search-in-c/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f9feb6c8f5d09204a14f00565506701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chowdary</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft releases WebMatrix Beta</title>
		<link>http://coderbuddy.wordpress.com/2010/07/07/microsoft-releases-webmatrix-beta/</link>
		<comments>http://coderbuddy.wordpress.com/2010/07/07/microsoft-releases-webmatrix-beta/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 08:19:51 +0000</pubDate>
		<dc:creator>Vamsi</dc:creator>
				<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[Dev Tools]]></category>
		<category><![CDATA[IIS Express]]></category>
		<category><![CDATA[New ASP.net Features]]></category>
		<category><![CDATA[WebMatrix]]></category>

		<guid isPermaLink="false">https://coderbuddy.wordpress.com/2010/07/07/microsoft-releases-webmatrix-beta/</guid>
		<description><![CDATA[Microsoft has released WebMatrix Beta, it is a collection of tools that will be help you develop a web application with minimal effort.The tools included in this package are IIS Developer Express (a development Web server), ASP.NET, and SQL Server Compact (an embedded database). A web server, a Web Framework, a database that’s almost everything [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=80&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Microsoft has released WebMatrix Beta, it is a collection of tools that will be help you develop a web application with minimal effort.The tools included in this package are IIS Developer Express (a development Web server), ASP.NET, and SQL Server Compact (an embedded database). A web server, a Web Framework, a database that’s almost everything a developer may need to create a simple dynamic web pages.</p>
<p>Microsoft also introduces a new way to embedding C#/VB code directly into your HTML with a new Viewing Engine called Razor or APS.net Razor</p>
<p>An example code using razor will look something like this</p>
<pre><code>&lt;h1&gt;Razor Example Code&lt;/h1&gt;&lt;br/&gt;
Hello <em><strong>@name</strong></em>, the year is <strong><em>@DateTime.Now.Year</em></strong></code></pre>
<p>The equalent ASPX code may look something like this</p>
<pre><code>&lt;h1&gt;ASPX Page Example&lt;/h1&gt;&lt;br /&gt;</code>
<code>Hello <strong><em>&lt;%=name %&gt;</em></strong>, the year is <strong><em>&lt;%= DateTime.Now.Year %&gt;</em></strong></code></pre>
<p>For more on this topic visit <a href="http://weblogs.asp.net/scottgu/archive/2010/07/06/introducing-webmatrix.aspx">WebMatrix</a>, <a href="http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx">Introduction to Razor</a> and to download webmatrix go to <a href="http://www.microsoft.com/web/webmatrix/">http://www.microsoft.com/web/webmatrix/</a></p>
<p>Microsoft has also selected a few web hosts that can host web pages using this new technology, to see the list go to <a href="http://www.microsoft.com/web/webmatrix/learn/">http://www.microsoft.com/web/webmatrix/learn/</a> and scroll down to the section called “Recommended web hosts”.Since this is still in beta you may experience some bugs, so use it with caution.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coderbuddy.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coderbuddy.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coderbuddy.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coderbuddy.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coderbuddy.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coderbuddy.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coderbuddy.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coderbuddy.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coderbuddy.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coderbuddy.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coderbuddy.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coderbuddy.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coderbuddy.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coderbuddy.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderbuddy.wordpress.com&amp;blog=10017645&amp;post=80&amp;subd=coderbuddy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coderbuddy.wordpress.com/2010/07/07/microsoft-releases-webmatrix-beta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f9feb6c8f5d09204a14f00565506701?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chowdary</media:title>
		</media:content>
	</item>
	</channel>
</rss>
