<?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/"
	>

<channel>
	<title>Coding Day &#187; General</title>
	<atom:link href="http://www.codingday.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codingday.com</link>
	<description>Adventures in Computing, Can Erten's blog</description>
	<lastBuildDate>Tue, 13 Jul 2010 12:52:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ImageLabel Control for ASP.NET (Potential CAPTCHA Control)</title>
		<link>http://www.codingday.com/imagelabel-control-for-aspnet-potential-captcha-control/</link>
		<comments>http://www.codingday.com/imagelabel-control-for-aspnet-potential-captcha-control/#comments</comments>
		<pubDate>Sat, 30 Dec 2006 02:15:51 +0000</pubDate>
		<dc:creator>Can</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[codeproject]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[webcontrol]]></category>

		<guid isPermaLink="false">http://www.canerten.com/imagelabel-control-for-aspnet-potential-captcha-control/</guid>
		<description><![CDATA[I posted an article to The Code Project for an image control. The basic idea for developing that is to write e-mail addresses as images using various formatting options on web applications. Labels are generated as images instead of text, to have more privacy without any configurations and without HttpHandlers ImageLabel is an ASP.NET web [...]]]></description>
			<content:encoded><![CDATA[<p>I posted an article to <a href="http://www.codeproject.com">The Code Project</a> for an image control. The basic idea for developing that is to write e-mail addresses as images using various formatting options on web applications. </p>
<p>Labels are generated as images instead of text, to have more privacy without any configurations and without HttpHandlers</p>
<p><a href="http://www.codeproject.com/useritems/ImageLabel.asp">ImageLabel</a> is an ASP.NET web control for generating labels as images. You might want to do that for providing security for e-mail crawlers or to disallow copy paste of the text. Many similar controls have implemented as HttpHandlers, so you need more configuration to make them work. However this control does not need any configuration. You just need to use just like any other asp.net control like Label. Almost all of the label formatting options are included, like font size, backcolor, forecolor. Although this is not implemented as a CAPTCHA control, that functionality can easily added to image generation method.</p>
<p><a href="http://www.codeproject.com/useritems/ImageLabel.asp">ImageLabel Control at CodeProject</a></p>
<p>I think it is a good way to understand page and control life cycle using that control, if you are wondered about them. Beside that, if you like the article you can vote for me if you want to <img src='http://www.codingday.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Browser View : <br/><br />
<img id="image177" src="http://www.codingday.com/wp-content/uploads/2006/12/imagelabel.png" alt="imageLabel on Browser" /></p>
<p>Visual Studio Design View : <br/><br />
<img id="image179" src="http://www.codingday.com/wp-content/uploads/2006/12/imagelabel2.png" alt="ImageLabel on Visual Studio Designer" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codingday.com/imagelabel-control-for-aspnet-potential-captcha-control/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Uncommon Collection features : Indexers, Multiple Indexers with Params and yield</title>
		<link>http://www.codingday.com/uncommon-collection-features-indexers-multiple-indexers-with-params-and-yield/</link>
		<comments>http://www.codingday.com/uncommon-collection-features-indexers-multiple-indexers-with-params-and-yield/#comments</comments>
		<pubDate>Sun, 17 Dec 2006 02:30:04 +0000</pubDate>
		<dc:creator>Can</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Collections]]></category>
		<category><![CDATA[Indexers]]></category>

		<guid isPermaLink="false">http://www.canerten.com/uncommon-collection-features-indexers-multiple-indexers-with-params-and-yield/</guid>
		<description><![CDATA[Collections are the most used elements in the programs. Indexers helps us to access the elements of a collection. Although you might not have&#160;implemented indexers, you have&#160;used indexers a lot. Whenever you have an array or a collection object you use indexers. Implementing indexers is done by coding &#8220;this[TYPE]&#8221; property. The object implementing the indexer [...]]]></description>
			<content:encoded><![CDATA[<p>Collections are the most used elements in the programs. Indexers helps us to access the elements of a collection. Although you might not have&nbsp;implemented indexers, you have&nbsp;used indexers a lot. Whenever you have an array or a collection object you use indexers. </p>
<p>Implementing indexers is done by coding &#8220;this[TYPE]&#8221; property. The object implementing the indexer can be any type of object, however&nbsp;the object is mostly a collection object. For simplicity I haven&#8217;t implemented as a collection object here. Most of the indexers are integers, but it can be any type of indexer.</p>
<p>C# 2.0 has come with a new keyword &#8220;yield&#8221;. You can return an enumerable object using yield keyword with the combination of &#8220;return&#8221; keyword, rather than building the collection and returning it. </p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF;">using</span> <span style="color: #008080;">System</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">using</span> <span style="color: #008080;">System.Collections</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">using</span> <span style="color: #008080;">System.Collections.Generic</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">using</span> <span style="color: #008080;">System.Text</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF;">namespace</span> properties
<span style="color: #000000;">&#123;</span>
    <span style="color: #FF0000;">class</span> Program
    <span style="color: #000000;">&#123;</span>
        <span style="color: #0600FF;">static</span> <span style="color: #0600FF;">void</span> Main<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">&#93;</span> args<span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            User u1 <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> User<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span>u1<span style="color: #000000;">&#91;</span><span style="color: #FF0000;">56</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            User u2 <span style="color: #008000;">=</span> u1<span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;use&quot;</span>,<span style="color: #666666;">&quot;of&quot;</span>,<span style="color: #666666;">&quot;indexers&quot;</span>, <span style="color: #666666;">&quot;explained&quot;</span>, <span style="color: #666666;">&quot;with&quot;</span>, <span style="color: #666666;">&quot;multiple&quot;</span>, <span style="color: #666666;">&quot;arguments&quot;</span><span style="color: #000000;">&#93;</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #0600FF;">foreach</span> <span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span> name <span style="color: #0600FF;">in</span> u2.<span style="color: #0000FF;">GiveUserNames</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>
            <span style="color: #000000;">&#123;</span>
                Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span>name<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #000000;">&#125;</span>
            Console.<span style="color: #0000FF;">Read</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #000000;">&#125;</span>
    <span style="color: #000000;">&#125;</span>
&nbsp;
    <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">class</span> User
    <span style="color: #000000;">&#123;</span>
        <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">string</span> <span style="color: #0600FF;">this</span><span style="color: #000000;">&#91;</span><span style="color: #FF0000;">int</span> a<span style="color: #000000;">&#93;</span> <span style="color: #008080; font-style: italic;">// type to return usually the collections element type</span>
        <span style="color: #000000;">&#123;</span>
            get
            <span style="color: #000000;">&#123;</span>
                <span style="color: #0600FF;">return</span> <span style="color: #FF0000;">string</span>.<span style="color: #0000FF;">Format</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;Somebody has called me with index {0}&quot;</span>, a<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>           
            <span style="color: #000000;">&#125;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0600FF;">private</span> <span style="color: #FF0000;">string</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">&#93;</span> userNames<span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// just to demonstrate params</span>
        <span style="color: #0600FF;">public</span> User <span style="color: #0600FF;">this</span><span style="color: #000000;">&#91;</span><span style="color: #0600FF;">params</span> <span style="color: #FF0000;">string</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">&#93;</span> items<span style="color: #000000;">&#93;</span>
        <span style="color: #000000;">&#123;</span>
            get
            <span style="color: #000000;">&#123;</span>
                userNames <span style="color: #008000;">=</span> items<span style="color: #008000;">;</span> 
                <span style="color: #0600FF;">return</span> this<span style="color: #008000;">;</span>
            <span style="color: #000000;">&#125;</span>
        <span style="color: #000000;">&#125;</span>
        <span style="color: #0600FF;">public</span> IEnumerable<span style="color: #008000;">&lt;</span><span style="color: #FF0000;">string</span><span style="color: #008000;">&gt;</span> GiveUserNames<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            <span style="color: #0600FF;">foreach</span> <span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span> i <span style="color: #0600FF;">in</span> userNames<span style="color: #000000;">&#41;</span>
            <span style="color: #000000;">&#123;</span>
                yield <span style="color: #0600FF;">return</span> i<span style="color: #008000;">;</span>
            <span style="color: #000000;">&#125;</span>
        <span style="color: #000000;">&#125;</span>
    <span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>Output : </p>
<pre class="dos">
Somebody has called me with index 56
use
of
indexers
explained
with
multiple
arguments
_
</pre>
<p>
Those feature are really useful if you are dealing with your own types.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codingday.com/uncommon-collection-features-indexers-multiple-indexers-with-params-and-yield/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WPF/E Released</title>
		<link>http://www.codingday.com/wpfe-released/</link>
		<comments>http://www.codingday.com/wpfe-released/#comments</comments>
		<pubDate>Sun, 10 Dec 2006 03:28:29 +0000</pubDate>
		<dc:creator>Can</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.canerten.com/wpfe-released/</guid>
		<description><![CDATA[Scott Guthrie and his team at Microsoft has released a new product code named WPF/E. It looks like a flash replacement for Internet Explorer browser with some additional features. First of all, it only works with Internet Explorer, I think if they don&#8217;t give support to other platforms and other browsers, although WPF/E seems really [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://weblogs.asp.net/scottgu/archive/2006/12/04/announcing-the-release-of-the-first-wpf-e-ctp.aspx" target="_blank">Scott Guthrie and his team at Microsoft has released a new product</a> code named <a href="http://msdn2.microsoft.com/en-us/asp.net/bb187358.aspx" target="_blank">WPF/E</a>. It looks like a flash replacement for Internet Explorer browser with some additional features. First of all, it only works with Internet Explorer, I think if they don&#8217;t give support to other platforms and other browsers, although WPF/E seems really great, it might not be popular as flash.</p>
<p>We want some standards to look our applications look the same on every platform. I have never programmed flash scripts before and I am sure that Microsoft will provide that easy to developers. However if it is only for IE, I don&#8217;t think many of the developers will use it. </p>
<p>I don&#8217;t understand that new approach as well. The products like <a href="http://maps.live.com/" target="_blank">Virtual Earth</a> or <a href="http://labs.live.com/photosynth/" target="_blank">Photosynth</a>&nbsp;and this only works for Internet Explorer because they use Activex. I don&#8217;t know if they will support other platforms but since it&#8217;s developed on ActiveX I don&#8217;t think they will give any support.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codingday.com/wpfe-released/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Not enough time for everything</title>
		<link>http://www.codingday.com/not-enough-time-for-everything/</link>
		<comments>http://www.codingday.com/not-enough-time-for-everything/#comments</comments>
		<pubDate>Thu, 06 Jul 2006 21:22:41 +0000</pubDate>
		<dc:creator>Can</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.canerten.com/not-enough-time-for-everything/</guid>
		<description><![CDATA[I can&#8217;t find time for doing my todo list. I am trying to do as much as I can, however I still have unread books, unwatched movies, unread mails etc. Maybe I am not planning very good, however while reading my rss feeds, I saw that some other people are complaining about that. Actually this [...]]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t find time for doing my todo list. I am trying to do as much as I can, however I still have unread books, unwatched movies, unread mails etc.   Maybe I am not planning very good, however while reading my rss feeds, I saw that some other people are complaining about that. Actually this is an endless work to complete. Everyday some new ideas, new products appears. While working on a project, I can&#8217;t find a time for every field of this ocean.  Here are the hot topics to learn for the next year as stated  in <a href="http://blogs.conchango.com/howardvanrooijen/archive/2006/06/23/ContinuousEducation.aspx">Howard</a>&#8216;s  blog.<br />
<a class="imagelink" href="http://www.codingday.com/wp-content/uploads/2006/07/FutureTechnologies_sm.png" title="Future Technologies"><img id="image67" src="http://www.codingday.com/wp-content/uploads/2006/07/FutureTechnologies_sm.thumbnail.png" alt="Future Technologies" /></a></p>
<p> I have a list of rss feeds. So I try to read them. I just make a quick review of the content, and print interesting, potentially useful articles. Than read it whenever I am away from my computer, on the road especially. Hard copy reading is a lot faster than screen reading.</p>
<p> Nowadays beside the warehouse project that I am currently involved, I am trying to catch the wave of windows vista, actually .Net Framework 3. But I also want to do some atlas, javascript stuff, xp, read more books, watch more movies, have more time with my family, friends and more and more&#8230;
</p>
<p>Blogs about continous education: <br />
<a href="http://blogs.msdn.com/robcaron/archive/2006/07/06/657732.aspx">Rob Caron: Continous Education<br />
</a></p>
<p><a href="http://blogs.conchango.com/howardvanrooijen/archive/2006/06/23/ContinuousEducation.aspx">Howard van Rooijen : Continous education</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codingday.com/not-enough-time-for-everything/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synergy &#8211; Share Keyboard and Mouse on different Computers for free</title>
		<link>http://www.codingday.com/share-keyboard-and-mouse-on-different-computers-for-free/</link>
		<comments>http://www.codingday.com/share-keyboard-and-mouse-on-different-computers-for-free/#comments</comments>
		<pubDate>Sun, 18 Jun 2006 21:30:28 +0000</pubDate>
		<dc:creator>Can</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[multiple_computers]]></category>

		<guid isPermaLink="false">http://www.canerten.com/share-keyboard-and-mouse-on-different-computers-for-free/</guid>
		<description><![CDATA[Synergy is a great program that lets you share a single mouse and computer for multiple computers. You still need monitor for working. Synergy Settings window Start dialog Systray in action Info]]></description>
			<content:encoded><![CDATA[<p>Synergy is a great program that lets you share a single mouse and computer for multiple computers. You still need monitor for working. <br />
<a href="http://synergy2.sourceforge.net/">Synergy <a/></p>
<p>Settings window<br />
<br />
<a class="imagelink" href="http://www.codingday.com/wp-content/uploads/2006/07/1Settings.png" title="Settings"><img id="Settings" src="http://www.codingday.com/wp-content/uploads/2006/07/1Settings.thumbnail.png" alt="Settings" /></a>
</p>
<p>Start dialog<br />
<br />
<a class="imagelink" href="http://www.codingday.com/wp-content/uploads/2006/07/2started.png" title="started"><img id="image82" src="http://www.codingday.com/wp-content/uploads/2006/07/2started.thumbnail.png" alt="started" /></a>
</p>
<p>Systray in action<br />
<br />
<img id="image83" src="http://www.codingday.com/wp-content/uploads/2006/07/3ysystray.png" alt="systra" />
</p>
<p>Info<br />
<br />
<a class="imagelink" href="http://www.codingday.com/wp-content/uploads/2006/07/4info.png" title="4info.png"><img id="image84" src="http://www.codingday.com/wp-content/uploads/2006/07/4info.thumbnail.png" alt="4info.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codingday.com/share-keyboard-and-mouse-on-different-computers-for-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello World</title>
		<link>http://www.codingday.com/hello-world/</link>
		<comments>http://www.codingday.com/hello-world/#comments</comments>
		<pubDate>Wed, 04 Jan 2006 20:52:09 +0000</pubDate>
		<dc:creator>Can</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.canerten.com/2006/01/04/hello-world/</guid>
		<description><![CDATA[First sentence of programming world&#8230; I will share my programming experiences, you will meet coding side of my fabulous life&#8230; Console.WriteLine&#40;&#34;Hello World&#34;&#41;;]]></description>
			<content:encoded><![CDATA[<p>First sentence of programming world&#8230;</p>
<p>I will share my programming experiences, you will meet  coding side of my fabulous life&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;">Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;Hello World&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.codingday.com/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
