<?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>Gramotei's Weblog</title>
	<atom:link href="http://gramotei.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gramotei.wordpress.com</link>
	<description>My Day to Day Experience</description>
	<lastBuildDate>Wed, 21 Dec 2011 14:12:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gramotei.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Gramotei's Weblog</title>
		<link>http://gramotei.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gramotei.wordpress.com/osd.xml" title="Gramotei&#039;s Weblog" />
	<atom:link rel='hub' href='http://gramotei.wordpress.com/?pushpress=hub'/>
		<item>
		<title>osCommerce 2.2 RC2 Windows (Win32) and mail 501 5.5.4 Invalid Address</title>
		<link>http://gramotei.wordpress.com/2008/10/01/oscommerce-22-rc2-windows-win32-and-mail-501-554-invalid-address/</link>
		<comments>http://gramotei.wordpress.com/2008/10/01/oscommerce-22-rc2-windows-win32-and-mail-501-554-invalid-address/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 20:22:02 +0000</pubDate>
		<dc:creator>gramotei</dc:creator>
				<category><![CDATA[oscommerce]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[win32]]></category>

		<guid isPermaLink="false">http://gramotei.wordpress.com/?p=15</guid>
		<description><![CDATA[PHP contains bug in the Win32 code which prevents most php to work corrently with sending emails. The overall idea of solution (workaround) is to do not use NAME with EMAILS. So both TO and FROM fields must be in form &#8220;TO: john@localhost.org&#8221; or &#8220;FROM: john@localhost.org&#8221; but not &#8220;TO: &#8220;John Doe&#8221; &#60;john@localhost.org&#62;&#8221; I recently encountered [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=15&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PHP contains bug in the Win32 code which prevents most php to work corrently with sending emails.</p>
<p>The overall idea of solution (workaround) is to do not use NAME with EMAILS. So both TO and FROM fields must be in form &#8220;TO: john@localhost.org&#8221; or &#8220;FROM: john@localhost.org&#8221; but not &#8220;TO: &#8220;John Doe&#8221; &lt;john@localhost.org&gt;&#8221;</p>
<p>I recently encountered this problem with osCommerce.</p>
<p>Solution to overcome this:</p>
<ol>
<li>I added define to both includes\configure.php and admin\includes\configure.php<strong>define(&#8216;WIN32&#8242;, true);
<p></strong></li>
<li>Then in includes\classes\emails.php and admin\includes\classes\email.php in &#8220;send&#8221; function find this lines:<strong>$to = (($to_name != &#8221;) ? &#8216;&#8221;&#8216; . $to_name . &#8216;&#8221; &lt;&#8217; . $to_addr . &#8216;&gt;&#8217; : $to_addr);<br />
$from = (($from_name != &#8221;) ? &#8216;&#8221;&#8216; . $from_name . &#8216;&#8221; &lt;&#8217; . $from_addr . &#8216;&gt;&#8217; : $from_addr);</strong></p>
<p>and place following code BELOW them:</p>
<p><strong>//WIN32 FIX<br />
if (WIN32) {<br />
$from = $from_addr;<br />
$to = $to_addr;<br />
}</strong></li>
</ol>
<p>That&#8217;s all, and now I can test email sending on my local win maching. Good luck!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gramotei.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gramotei.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gramotei.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gramotei.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gramotei.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gramotei.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gramotei.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gramotei.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gramotei.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gramotei.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gramotei.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gramotei.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gramotei.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gramotei.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=15&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gramotei.wordpress.com/2008/10/01/oscommerce-22-rc2-windows-win32-and-mail-501-554-invalid-address/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72c5b280164968a664a26e7d0df13298?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gramotei</media:title>
		</media:content>
	</item>
		<item>
		<title>Crystal Reports for Visual Studio 2003 and text cut/truncation in fields</title>
		<link>http://gramotei.wordpress.com/2008/06/23/crystal-reports-for-visual-studio-2003-and-text-cuttruncation-in-fields/</link>
		<comments>http://gramotei.wordpress.com/2008/06/23/crystal-reports-for-visual-studio-2003-and-text-cuttruncation-in-fields/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 11:07:45 +0000</pubDate>
		<dc:creator>gramotei</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gramotei.wordpress.com/?p=14</guid>
		<description><![CDATA[Here is a problem: Crystal Reports for VS2003 by default truncates fields using word truncation strategy so if field has text &#8220;ABCD EFGHI&#8221; and only &#8220;ABCD EF&#8221; fits then &#8220;ABCD&#8221; will be displayed. Also we don&#8217;t need wrapping to next line. So the solution is: replace common spaces with non-breakable ones. string s = &#8221;ABCD EFGHI&#8221;; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=14&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a problem: Crystal Reports for VS2003 by default truncates fields using word truncation strategy so if field has text &#8220;ABCD EFGHI&#8221; and only &#8220;ABCD EF&#8221; fits then &#8220;ABCD&#8221; will be displayed. Also we don&#8217;t need wrapping to next line.</p>
<p>So the solution is: replace common spaces with non-breakable ones.</p>
<blockquote><p>string s = &#8221;ABCD EFGHI&#8221;;</p>
<p>string result = s.Replace(&#8221; &#8220;, (char) 0x00A0);</p></blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gramotei.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gramotei.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gramotei.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gramotei.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gramotei.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gramotei.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gramotei.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gramotei.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gramotei.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gramotei.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gramotei.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gramotei.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gramotei.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gramotei.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gramotei.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gramotei.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=14&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gramotei.wordpress.com/2008/06/23/crystal-reports-for-visual-studio-2003-and-text-cuttruncation-in-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72c5b280164968a664a26e7d0df13298?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gramotei</media:title>
		</media:content>
	</item>
		<item>
		<title>App_Data, App_Code and other App_* folder protection magic</title>
		<link>http://gramotei.wordpress.com/2008/04/02/app_data-app_code-and-other-app_-folder-protection-magic/</link>
		<comments>http://gramotei.wordpress.com/2008/04/02/app_data-app_code-and-other-app_-folder-protection-magic/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 10:58:48 +0000</pubDate>
		<dc:creator>gramotei</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gramotei.wordpress.com/?p=13</guid>
		<description><![CDATA[Today I was asked question how ASP.NET protects this folders&#8217; content from external access. ASP.NET does a little magic there with ISAPI filter aspnet_filter.dll, which you can see on IIS Manager\{Your PC Name}\Web Sites\ISAPI Filters tab. WebDev.WebServer check this internally in WebDev.WebHost.dll List of protected dirs: &#8220;/bin&#8221;, &#8220;/app_browsers&#8221;, &#8220;/app_code&#8221;, &#8220;/app_data&#8221;, &#8220;/app_localresources&#8221;, &#8220;/app_globalresources&#8221;, &#8220;/app_webreferences&#8221;.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=13&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I was asked question how ASP.NET protects this folders&#8217; content from external access. ASP.NET does a little magic there with ISAPI filter aspnet_filter.dll, which you can see on IIS Manager\{Your PC Name}\Web Sites\ISAPI Filters tab.</p>
<p>WebDev.WebServer check this internally in WebDev.WebHost.dll</p>
<p>List of protected dirs: &#8220;/bin&#8221;, &#8220;/app_browsers&#8221;, &#8220;/app_code&#8221;, &#8220;/app_data&#8221;, &#8220;/app_localresources&#8221;, &#8220;/app_globalresources&#8221;, &#8220;/app_webreferences&#8221;.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gramotei.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gramotei.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gramotei.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gramotei.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gramotei.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gramotei.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gramotei.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gramotei.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gramotei.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gramotei.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gramotei.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gramotei.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gramotei.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gramotei.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gramotei.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gramotei.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=13&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gramotei.wordpress.com/2008/04/02/app_data-app_code-and-other-app_-folder-protection-magic/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72c5b280164968a664a26e7d0df13298?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gramotei</media:title>
		</media:content>
	</item>
		<item>
		<title>CentOS 5, PHP, GD2 library</title>
		<link>http://gramotei.wordpress.com/2008/01/22/centos-5-php-gd2-library/</link>
		<comments>http://gramotei.wordpress.com/2008/01/22/centos-5-php-gd2-library/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 10:25:30 +0000</pubDate>
		<dc:creator>gramotei</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[gd2]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://gramotei.wordpress.com/2008/01/22/centos-5-php-gd2-library/</guid>
		<description><![CDATA[By default CentOS 5 comes without GD2 library for PHP There is an easy fix for this with &#8220;yumagic&#8221; Open terminal and run: yum install php-gd<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=12&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>By default CentOS 5 comes without GD2 library for PHP</p>
<p>There is an easy fix for this with &#8220;yumagic&#8221; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Open terminal and run:</p>
<p><code>yum install php-gd</code></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gramotei.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gramotei.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gramotei.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gramotei.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gramotei.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gramotei.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gramotei.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gramotei.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gramotei.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gramotei.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gramotei.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gramotei.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gramotei.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gramotei.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gramotei.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gramotei.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=12&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gramotei.wordpress.com/2008/01/22/centos-5-php-gd2-library/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72c5b280164968a664a26e7d0df13298?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gramotei</media:title>
		</media:content>
	</item>
		<item>
		<title>Internet Explorer (IE) ignores white-space: nowrap on table&#8217;s TD</title>
		<link>http://gramotei.wordpress.com/2008/01/15/internet-explorer-ie-ignores-white-space-nowrap-on-tables-td/</link>
		<comments>http://gramotei.wordpress.com/2008/01/15/internet-explorer-ie-ignores-white-space-nowrap-on-tables-td/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 10:41:00 +0000</pubDate>
		<dc:creator>gramotei</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://gramotei.wordpress.com/2008/01/15/internet-explorer-ie-ignores-white-space-nowrap-on-tables-td/</guid>
		<description><![CDATA[Used gridview today and client wanted content in tables to be displayed without any wrapping. First solution of course just set up: &#60;table&#62;&#60;tr&#62;&#60;td style=&#8221;white-space: nowrap&#8221;&#62;qwe-asd&#60;/td&#62;&#60;/tr&#62;&#60;/table&#62; And of course it works fine both in Opera and FireFox but not in IE7 (have not tested under IE6). The picture changes of course but some cells are still [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=11&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Used gridview today and client wanted content in tables to be displayed without any wrapping. First solution of course just set up:</p>
<blockquote><p>&lt;table&gt;&lt;tr&gt;&lt;td style=&#8221;white-space: nowrap&#8221;&gt;qwe-asd&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</p></blockquote>
<p>And of course it works fine both in Opera and FireFox but not in IE7 (have not tested under IE6). The picture changes of course but some cells are still wrapping.</p>
<p>Workaround is to use template field with span:</p>
<blockquote><p>&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;span style=&#8221;white-space: nowrap&#8221;&gt;qwe-asd&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</p></blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gramotei.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gramotei.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gramotei.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gramotei.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gramotei.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gramotei.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gramotei.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gramotei.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gramotei.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gramotei.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gramotei.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gramotei.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gramotei.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gramotei.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gramotei.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gramotei.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=11&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gramotei.wordpress.com/2008/01/15/internet-explorer-ie-ignores-white-space-nowrap-on-tables-td/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72c5b280164968a664a26e7d0df13298?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gramotei</media:title>
		</media:content>
	</item>
		<item>
		<title>Code Coverage with TestDriven.Net in Visual Studio 2003</title>
		<link>http://gramotei.wordpress.com/2007/10/30/code-coverage-with-testdrivennet-in-visual-studio-2003/</link>
		<comments>http://gramotei.wordpress.com/2007/10/30/code-coverage-with-testdrivennet-in-visual-studio-2003/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 11:22:20 +0000</pubDate>
		<dc:creator>gramotei</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[code coverage]]></category>
		<category><![CDATA[testdriven.net]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[vs2003]]></category>

		<guid isPermaLink="false">http://gramotei.wordpress.com/2007/10/30/code-coverage-with-testdrivennet-in-visual-studio-2003/</guid>
		<description><![CDATA[In VS2003 you can&#8217;t add your .exe to project reference of separate test assembly. So it is well known practice to copy it to some folder, rename to .dll and reference it from there. (Note: VS2005 allows you to reference .exe) After performing such steps when you run Coverage from TestDriven.Net context menu, you can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=10&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In VS2003 you can&#8217;t add your .exe to project reference of separate test assembly. So it is well known practice to copy it to some folder, rename to .dll and reference it from there. (Note: VS2005 allows you to reference .exe)</p>
<p>After performing such steps when you run Coverage from TestDriven.Net context menu, you can notice that there is coverage only for the test assembly.</p>
<p>Solution: Many chances you didn&#8217;t copy .pdb file for the .exe, but NCover can only profile assemblies which have .pdb files for them</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gramotei.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gramotei.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gramotei.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gramotei.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gramotei.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gramotei.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gramotei.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gramotei.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gramotei.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gramotei.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gramotei.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gramotei.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gramotei.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gramotei.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gramotei.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gramotei.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=10&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gramotei.wordpress.com/2007/10/30/code-coverage-with-testdrivennet-in-visual-studio-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72c5b280164968a664a26e7d0df13298?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gramotei</media:title>
		</media:content>
	</item>
		<item>
		<title>Html attributes, single quote and HtmlAttributeEncode</title>
		<link>http://gramotei.wordpress.com/2007/09/11/html-attributes-single-quote-and-htmlattributeencode/</link>
		<comments>http://gramotei.wordpress.com/2007/09/11/html-attributes-single-quote-and-htmlattributeencode/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 11:33:29 +0000</pubDate>
		<dc:creator>gramotei</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://gramotei.wordpress.com/2007/09/11/html-attributes-single-quote-and-htmlattributeencode/</guid>
		<description><![CDATA[When you develop your own custom controls do not forget that HtmlAttributeEncode method DOES NOT encode single quote. MSDN says: The string result from the HtmlAttributeEncode method should be used only for double-quoted attributes. Security issues might arise when using the HtmlAttributeEncode method with single-quoted attributes. So you should use double quotes<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=9&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you develop your own custom controls do not forget that HtmlAttributeEncode method <strong>DOES NOT </strong>encode single quote.</p>
<p>MSDN says:</p>
<p><em>The string result from the HtmlAttributeEncode method should be used only for double-quoted attributes. Security issues might arise when using the HtmlAttributeEncode method with single-quoted attributes.</em></p>
<p>So you should use double quotes</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gramotei.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gramotei.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gramotei.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gramotei.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gramotei.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gramotei.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gramotei.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gramotei.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gramotei.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gramotei.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gramotei.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gramotei.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gramotei.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gramotei.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gramotei.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gramotei.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=9&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gramotei.wordpress.com/2007/09/11/html-attributes-single-quote-and-htmlattributeencode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72c5b280164968a664a26e7d0df13298?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gramotei</media:title>
		</media:content>
	</item>
		<item>
		<title>New Lightweight Dependency Injection Framework for .NET &#8211; Ninject</title>
		<link>http://gramotei.wordpress.com/2007/09/05/new-lightweight-dependency-injection-framework-for-net-ninject/</link>
		<comments>http://gramotei.wordpress.com/2007/09/05/new-lightweight-dependency-injection-framework-for-net-ninject/#comments</comments>
		<pubDate>Wed, 05 Sep 2007 15:11:34 +0000</pubDate>
		<dc:creator>gramotei</dc:creator>
				<category><![CDATA[.net]]></category>

		<guid isPermaLink="false">http://gramotei.wordpress.com/2007/09/05/new-lightweight-dependency-injection-framework-for-net-ninject/</guid>
		<description><![CDATA[Ninject (earlier known as Titan) is a Lightweight Dependency Injection Framework for .NET inspired by Google&#8217;s Guice. From what I can read it from the docs it is really nice for small projects and allows you to live without creating large xml files for configuration and it also uses .NET 2.0+ DynamicMethods to improve object [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=8&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a HREF="http://ninject.org/" TITLE="NInject main website">Ninject</a> (earlier known as Titan) is a Lightweight Dependency Injection Framework for .NET inspired by Google&#8217;s <a HREF="http://code.google.com/p/google-guice/" TITLE="Google Guice">Guice</a>.</p>
<p>From what I can read it from the <a HREF="http://ninject.org/users-guide.html" TITLE="Ninject docs">docs</a> it is really nice for small projects and allows you to live without creating large xml files for configuration and it also uses<a HREF="http://msdn2.microsoft.com/en-us/library/system.reflection.emit.dynamicmethod(vs.80).aspx" TITLE="DynamicMethods on MSDN"> .NET 2.0+ DynamicMethods</a> to improve object creation speed.</p>
<p>I am going to give it a shot!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gramotei.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gramotei.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gramotei.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gramotei.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gramotei.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gramotei.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gramotei.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gramotei.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gramotei.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gramotei.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gramotei.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gramotei.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gramotei.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gramotei.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gramotei.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gramotei.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=8&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gramotei.wordpress.com/2007/09/05/new-lightweight-dependency-injection-framework-for-net-ninject/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72c5b280164968a664a26e7d0df13298?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gramotei</media:title>
		</media:content>
	</item>
		<item>
		<title>Little-known C# 2.0 operator &#8211; ??</title>
		<link>http://gramotei.wordpress.com/2007/08/21/little-known-c-20-operator/</link>
		<comments>http://gramotei.wordpress.com/2007/08/21/little-known-c-20-operator/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 14:39:34 +0000</pubDate>
		<dc:creator>gramotei</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://gramotei.wordpress.com/2007/08/21/little-known-c-20-operator/</guid>
		<description><![CDATA[Excerpt from the msdn: The ?? operator returns the left-hand operand if it is not null, or else it returns the right operand. Example: string s = null; int? i = null; Console.WriteLine(s ?? "(null)"); Console.WriteLine(i ?? -1); Will produce: (null) -1<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=5&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Excerpt from the msdn:</p>
<p><strong>The ?? operator returns the left-hand operand if it is not null, or else it returns the right operand.</strong></p>
<p>Example:</p>
<pre>string s = null;
int? i = null;
Console.WriteLine(s ?? "(null)");
Console.WriteLine(i ?? -1);</pre>
<p>Will produce:</p>
<pre>(null)
-1</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gramotei.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gramotei.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gramotei.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gramotei.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gramotei.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gramotei.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gramotei.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gramotei.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gramotei.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gramotei.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gramotei.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gramotei.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gramotei.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gramotei.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gramotei.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gramotei.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=5&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gramotei.wordpress.com/2007/08/21/little-known-c-20-operator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72c5b280164968a664a26e7d0df13298?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gramotei</media:title>
		</media:content>
	</item>
		<item>
		<title>Links For Continuous Learners</title>
		<link>http://gramotei.wordpress.com/2007/08/20/links-for-continuous-learners/</link>
		<comments>http://gramotei.wordpress.com/2007/08/20/links-for-continuous-learners/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 09:44:57 +0000</pubDate>
		<dc:creator>gramotei</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://gramotei.wordpress.com/2007/08/20/links-for-continuous-learners/</guid>
		<description><![CDATA[Today I&#8217;ve spotted nice Steve Pietrek&#8217;s blog where he puts links to miscellaneous articles about .Net and related technologies http://spietrek.blogspot.com/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=4&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve spotted nice Steve Pietrek&#8217;s blog where he puts links to miscellaneous articles about .Net and related technologies</p>
<p><a TITLE="Continuous Learners Blog" HREF="http://spietrek.blogspot.com/">http://spietrek.blogspot.com/</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/gramotei.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/gramotei.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gramotei.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gramotei.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gramotei.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gramotei.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gramotei.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gramotei.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gramotei.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gramotei.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gramotei.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gramotei.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gramotei.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gramotei.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gramotei.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gramotei.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gramotei.wordpress.com&amp;blog=1537858&amp;post=4&amp;subd=gramotei&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gramotei.wordpress.com/2007/08/20/links-for-continuous-learners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72c5b280164968a664a26e7d0df13298?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gramotei</media:title>
		</media:content>
	</item>
	</channel>
</rss>
