<?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>Everyday programming</title>
	<atom:link href="http://ioanbucur.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ioanbucur.wordpress.com</link>
	<description>This blog contains mostly articles related to software developement</description>
	<lastBuildDate>Wed, 28 Sep 2011 09:06:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ioanbucur.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Everyday programming</title>
		<link>http://ioanbucur.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ioanbucur.wordpress.com/osd.xml" title="Everyday programming" />
	<atom:link rel='hub' href='http://ioanbucur.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Provide value on &#8216;System.Windows.Data.Binding&#8217; threw an exception</title>
		<link>http://ioanbucur.wordpress.com/2011/09/28/provide-value-on-system-windows-data-binding-threw-an-exception/</link>
		<comments>http://ioanbucur.wordpress.com/2011/09/28/provide-value-on-system-windows-data-binding-threw-an-exception/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 09:06:09 +0000</pubDate>
		<dc:creator>Ioan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[DataTemplateSelector]]></category>
		<category><![CDATA[Exception]]></category>

		<guid isPermaLink="false">https://ioanbucur.wordpress.com/2011/09/28/provide-value-on-system-windows-data-binding-threw-an-exception/</guid>
		<description><![CDATA[Today is the second time I receive the exception message: “Provide value on &#8216;System.Windows.Data.Binding&#8217; threw an exception” when using the WPF DataTemplateSelector. Problem: Static resources declaration order *matter* !!! So you should not declare the instance of your DataTemplateSelector before actually declaring DataTemplates (see code sample below). &#60;!-- data template selector NOT HERE--&#62; &#60;local:CustomDataTemplateSelector x:Key=&#34;_customDataTemplateSelector&#34; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=81&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today is the second time I receive the exception message: <strong>“Provide value on &#8216;System.Windows.Data.Binding&#8217; threw an exception”</strong> when using the WPF <a href="http://msdn.microsoft.com/en-us/library/system.windows.controls.datatemplateselector.aspx">DataTemplateSelector</a>. </p>
<p>Problem: Static resources declaration order <strong>*matter*</strong> !!! So you should not declare the instance of your DataTemplateSelector before actually declaring DataTemplates (see code sample below).</p>
<pre class="brush: xml; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;">
&lt;!-- data template selector NOT HERE--&gt;
<strike>&lt;local:CustomDataTemplateSelector
	x:Key=&quot;_customDataTemplateSelector&quot;
	FirstDataTemplate=&quot;{StaticResource _firstDataTemplate}&quot;
	SecondDataTemplate=&quot;{StaticResource _secondDataTemplate}&quot;
	ThirdDataTemplate=&quot;{StaticResource _thirdDataTemplate}&quot;
/&gt;</strike>

&lt;DataTemplate x:Key=&quot;_firstDataTemplate&quot;&gt;
	&lt;TextBlock Text=&quot;dataTemplate 1&quot;/&gt;
&lt;/DataTemplate&gt; 

&lt;DataTemplate x:Key=&quot;_secondDataTemplate&quot;&gt;
	&lt;TextBlock Text=&quot;dataTemplate 2&quot;/&gt;
&lt;/DataTemplate&gt; 

&lt;DataTemplate x:Key=&quot;_thirdDataTemplate&quot;&gt;
	&lt;TextBlock Text=&quot;dataTemplate 3&quot;/&gt;
&lt;/DataTemplate&gt; 

&lt;!-- data template selector --&gt;
&lt;local:CustomDataTemplateSelector
	x:Key=&quot;_customDataTemplateSelector&quot;
	FirstDataTemplate=&quot;{StaticResource _firstDataTemplate}&quot;
	SecondDataTemplate=&quot;{StaticResource _secondDataTemplate}&quot;
	ThirdDataTemplate=&quot;{StaticResource _thirdDataTemplate}&quot;
/&gt;</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ioanbucur.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ioanbucur.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ioanbucur.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ioanbucur.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ioanbucur.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ioanbucur.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ioanbucur.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ioanbucur.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ioanbucur.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ioanbucur.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ioanbucur.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ioanbucur.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ioanbucur.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ioanbucur.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=81&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ioanbucur.wordpress.com/2011/09/28/provide-value-on-system-windows-data-binding-threw-an-exception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93c86912c02ac5ca557fcc39d2c151c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nelutu</media:title>
		</media:content>
	</item>
		<item>
		<title>.NET Task class</title>
		<link>http://ioanbucur.wordpress.com/2011/09/23/net-task-class/</link>
		<comments>http://ioanbucur.wordpress.com/2011/09/23/net-task-class/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 13:17:15 +0000</pubDate>
		<dc:creator>Ioan</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[TPL]]></category>
		<category><![CDATA[Task]]></category>
		<category><![CDATA[Parallel]]></category>
		<category><![CDATA[BackgroundWorker]]></category>
		<category><![CDATA[Thread]]></category>

		<guid isPermaLink="false">http://ioanbucur.wordpress.com/?p=54</guid>
		<description><![CDATA[Hey! Just to give you a heads up for a new class called Task introduced in .Net Framework 4. This class, as the name suggests, allows the developer to run a synchronous or asynchronous job in a separate thread. It offers quite a few advantages in comparison with other well known classes like the now [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=54&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey! Just to give you a heads up for a new class called <a href="http://msdn.microsoft.com/en-us/library/system.threading.tasks.task.aspx">Task</a> introduced in .Net Framework 4.</p>
<p>This class, as the name suggests, allows the developer to run a synchronous or asynchronous job in a separate thread. It offers quite a few advantages in comparison with other well known classes like the now old <a href="http://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx">BackgroundWorker</a> like the possibility to cancel a task and the possibility to create sub-tasks and many others. In exchange what you see in BackgroundWorker and you don&#8217;t see in Task class is progress reporting. Fortunately this is a functionality that is easily implementable also using a Task class. See <a href="http://nitoprograms.blogspot.com/2010/06/reporting-progress-from-tasks.html">this nice post</a> for how to do it. You can also find there an equivalent implementation using BackgroundWorker.</p>
<p>Task class is found inside <a href="http://msdn.microsoft.com/en-us/library/system.threading.tasks.aspx">System.Threading.Tasks</a> namespace. This class and related types are part of a set of public types called <a href="http://msdn.microsoft.com/en-us/library/dd460717.aspx">TPL (Task Parallel Library)</a> and it is a new programming model introduced by Microsoft in it’s framework mainly for parallel programming.</p>
<p>For more information please visit MSDN page for <a href="http://msdn.microsoft.com/en-us/library/dd460717.aspx">TPL (Task Parallel Library)</a>.</p>
<p>Here’s a simple example (<a href="http://msdn.microsoft.com/en-us/library/dd997396.aspx">from MSDN</a>) of code showing how you can manipulate a single Task instance: </p>
<p><span id="more-54"></span>
<pre class="brush: csharp; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;">using System;
using System.Threading;
using System.Threading.Tasks;
class Program
{
    static void Main()
    {

        var tokenSource2 = new CancellationTokenSource();
        CancellationToken ct = tokenSource2.Token;

        var task = Task.Factory.StartNew(() =&gt;
        {

            // Were we already canceled?
            ct.ThrowIfCancellationRequested();

            bool moreToDo = true;
            while (moreToDo)
            {
                // Poll on this property if you have to do
                // other cleanup before throwing.
                if (ct.IsCancellationRequested)
                {
                    // Clean up here, then...
                    ct.ThrowIfCancellationRequested();
                }

            }
        }, tokenSource2.Token); // Pass same token to StartNew.

        tokenSource2.Cancel();

        // Just continue on this thread, or Wait/WaitAll with try-catch:
        try
        {
            task.Wait();
        }
        catch (AggregateException e)
        {
            foreach (var v in e.InnerExceptions)
                Console.WriteLine(e.Message + &quot; &quot; + v.Message);
        }

        Console.ReadKey();
    }
}</pre>
<p>Also Task integrates rather nicely with other existent API’s like <a href="http://msdn.microsoft.com/en-us/library/system.iasyncresult.aspx">IAsyncResult</a>, <a href="http://msdn.microsoft.com/en-us/library/system.runtime.remoting.messaging.asyncresult.asyncwaithandle.aspx">AsyncWaitHandle</a> etc making it easier to integrate into already developed applications.</p>
<p>Clearly the Task class is an evolution compared to everything we had and it should make life easier when dealing with a sequence of tasks that may have subtasks and that also support cancellation. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ioanbucur.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ioanbucur.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ioanbucur.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ioanbucur.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ioanbucur.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ioanbucur.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ioanbucur.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ioanbucur.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ioanbucur.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ioanbucur.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ioanbucur.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ioanbucur.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ioanbucur.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ioanbucur.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=54&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ioanbucur.wordpress.com/2011/09/23/net-task-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93c86912c02ac5ca557fcc39d2c151c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nelutu</media:title>
		</media:content>
	</item>
		<item>
		<title>Properties defaults for a Binding object in WPF</title>
		<link>http://ioanbucur.wordpress.com/2011/08/25/binding-default-property-values-in-wpf/</link>
		<comments>http://ioanbucur.wordpress.com/2011/08/25/binding-default-property-values-in-wpf/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 12:43:38 +0000</pubDate>
		<dc:creator>Ioan</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[binding]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://ioanbucur.wordpress.com/?p=57</guid>
		<description><![CDATA[Default values for a Binding object used to bind a TextBox. No property has been changed neither on Text nor on the Binding itself. Inside the Binding we can see a custom ValidationRule defined.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=57&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Default values for a Binding object used to bind a TextBox. No property has been changed neither on Text nor on the Binding itself. Inside the Binding we can see a custom ValidationRule defined.</p>
<div id="attachment_58" class="wp-caption aligncenter" style="width: 310px"><a href="http://ioanbucur.files.wordpress.com/2011/08/bindingdefaultvalues.png"><img class="size-medium wp-image-58" title="BindingDefaultValues" src="http://ioanbucur.files.wordpress.com/2011/08/bindingdefaultvalues.png?w=300&#038;h=145" alt="" width="300" height="145" /></a><p class="wp-caption-text">Default values for a binding object</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ioanbucur.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ioanbucur.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ioanbucur.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ioanbucur.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ioanbucur.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ioanbucur.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ioanbucur.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ioanbucur.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ioanbucur.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ioanbucur.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ioanbucur.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ioanbucur.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ioanbucur.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ioanbucur.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=57&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ioanbucur.wordpress.com/2011/08/25/binding-default-property-values-in-wpf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93c86912c02ac5ca557fcc39d2c151c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nelutu</media:title>
		</media:content>

		<media:content url="http://ioanbucur.files.wordpress.com/2011/08/bindingdefaultvalues.png?w=300" medium="image">
			<media:title type="html">BindingDefaultValues</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse and PHP headache</title>
		<link>http://ioanbucur.wordpress.com/2011/03/15/eclipse-and-php-headache/</link>
		<comments>http://ioanbucur.wordpress.com/2011/03/15/eclipse-and-php-headache/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 13:02:09 +0000</pubDate>
		<dc:creator>Ioan</dc:creator>
				<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">https://ioanbucur.wordpress.com/2011/03/15/eclipse-and-php-headache/</guid>
		<description><![CDATA[I’m a Visual Studio guy. That being said, I tried to setup Eclipse and php. I just wanted to run and debug the code. Nothing complicated. 1. Try to create a php project and run it So I downloaded WampServer (which includes Apache, Php and MySQL), then I downloaded Eclipse with php module. Then I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=46&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration:underline;">I’m a Visual Studio guy.</span></p>
<p>That being said, I tried to setup Eclipse and php. I just wanted to run and debug the code. Nothing complicated.</p>
<p>1. Try to create a php project and run it</p>
<p>So I downloaded <a href="http://www.wampserver.com/" target="_blank">WampServer</a> (which includes Apache, Php and MySQL), then I downloaded Eclipse with php module. Then I created a php project and a php page called test.php. Trying to run it I got the <strong>“The webpage cannot be found”</strong> error.</p>
<p>2. Try to debug the project</p>
<p>Not being able to even run the project of course debugging wasn’t working either. Setting debug options fired up other errors like:</p>
<h3><a href="http://ioanbucur.files.wordpress.com/2011/03/debugerr_eclipse.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;margin:0 0 0 10px;" title="debugerr_eclipse" src="http://ioanbucur.files.wordpress.com/2011/03/debugerr_eclipse_thumb.png?w=244&#038;h=77" border="0" alt="debugerr_eclipse" width="244" height="77" /></a></h3>
<h3>(this happens when choosing ‘Test debugger’ in Eclipse Run Configurations options dialog)</h3>
<p>After almost a half a day trying to figure that out I still think Visual Studio is the best IDE out there. Of course I’m not giving up and I will make it work in the end.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ioanbucur.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ioanbucur.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ioanbucur.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ioanbucur.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ioanbucur.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ioanbucur.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ioanbucur.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ioanbucur.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ioanbucur.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ioanbucur.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ioanbucur.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ioanbucur.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ioanbucur.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ioanbucur.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=46&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ioanbucur.wordpress.com/2011/03/15/eclipse-and-php-headache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93c86912c02ac5ca557fcc39d2c151c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nelutu</media:title>
		</media:content>

		<media:content url="http://ioanbucur.files.wordpress.com/2011/03/debugerr_eclipse_thumb.png" medium="image">
			<media:title type="html">debugerr_eclipse</media:title>
		</media:content>
	</item>
		<item>
		<title>Generate PDF files in Asp .NET</title>
		<link>http://ioanbucur.wordpress.com/2011/02/25/create-pdf-in-asp-net/</link>
		<comments>http://ioanbucur.wordpress.com/2011/02/25/create-pdf-in-asp-net/#comments</comments>
		<pubDate>Fri, 25 Feb 2011 09:54:20 +0000</pubDate>
		<dc:creator>Ioan</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[commercial]]></category>
		<category><![CDATA[Report Viewer]]></category>
		<category><![CDATA[Crystal Reports]]></category>
		<category><![CDATA[iTextSharp]]></category>
		<category><![CDATA[PDFSharp]]></category>

		<guid isPermaLink="false">https://ioanbucur.wordpress.com/?p=38</guid>
		<description><![CDATA[How can you print documents in PDF format from ASP .NET? If you have to generate reports then maybe Microsoft Reports or Crystal Reports would be better choices. Microsoft Reports comes with Visual Studio. Crystal Reports was included in Visual Studio until VS2008. If you want to use Crystal Reports in Visual Studio 2010 then [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=38&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How can you print documents in PDF format from ASP .NET?</p>
<p>If you have to generate reports then maybe <a title="Microsoft Reports" href="http://msdn.microsoft.com/en-us/library/bb885185.aspx" target="_blank">Microsoft Reports</a> or Crystal Reports would be better choices. Microsoft Reports comes with Visual Studio. Crystal Reports was included in Visual Studio until VS2008. If you want to use Crystal Reports in Visual Studio 2010 then go <a title="SAP Crystal Reports for Visual Studio 2010" href="http://www.businessobjects.com/jump/xi/crvs2010/default.asp" target="_blank">here</a>.</p>
<p>For PDF printing there are several solutions out there.</p>
<p>So…here are a few of the products I ‘googled’ upon:</p>
<p><span id="more-38"></span><strong>1) PDFsharp and MigraDoc Foundation (</strong><a title="http://www.pdfsharp.net/Default.aspx" href="http://www.pdfsharp.net/Default.aspx"><strong>http://www.pdfsharp.net/Default.aspx</strong></a><strong>)</strong></p>
<p>Both, free open source library allowing any .NET language application to work with PDF format documents. Their features are enumerated <a href="http://www.pdfsharp.net/Features.ashx" target="_blank">here</a> on their site.</p>
<p><strong>2) iTextSharp (<a title="http://itextpdf.com/" href="http://itextpdf.com/">http://itextpdf.com/</a></strong><a title="http://sourceforge.net/projects/itextsharp/" href="http://sourceforge.net/projects/itextsharp/"><strong></strong></a><strong>)</strong></p>
<p>iText# (iTextSharp) is a port of the iText open source java library for PDF generation written entirely in C# for the .NET platform. Personally I think this component is pretty cool.</p>
<p>Binaries and examples can be found at <a title="http://sourceforge.net/projects/itextsharp/files/" href="http://sourceforge.net/projects/itextsharp/files/">http://sourceforge.net/projects/itextsharp/files/</a>.</p>
<p><span style="text-decoration:underline;">Links:</span></p>
<p>iSharp in Action 2nd Edition Examples (<a title="http://kuujinbo.info/iTextInAction2Ed/index.aspx" href="http://kuujinbo.info/iTextInAction2Ed/index.aspx">http://kuujinbo.info/iTextInAction2Ed/index.aspx</a>)<br />
Code Examples (<a title="http://www.ujihara.jp/iTextdotNET/en/examples.html" href="http://www.ujihara.jp/iTextdotNET/en/examples.html">http://www.ujihara.jp/iTextdotNET/en/examples.html</a>)<br />
Application sample (<a title="http://www.codeproject.com/KB/graphics/iTextSharpTutorial.aspx" href="http://www.codeproject.com/KB/graphics/iTextSharpTutorial.aspx">http://www.codeproject.com/KB/graphics/iTextSharpTutorial.aspx</a>)<br />
iTextSharp tutorial (<a title="http://www.mikesdotnetting.com/Article/80/Create-PDFs-in-ASP.NET-getting-started-with-iTextSharp" href="http://www.mikesdotnetting.com/Article/80/Create-PDFs-in-ASP.NET-getting-started-with-iTextSharp">http://www.mikesdotnetting.com/Article/80/Create-PDFs-in-ASP.NET-getting-started-with-iTextSharp</a>)</p>
<h4>3) AspPDF.NET (<a title="http://www.asppdf.net/" href="http://www.asppdf.net/">http://www.asppdf.net/</a>)</h4>
<p><span style="text-decoration:underline;">Commercial product</span>, AspPDF is an ActiveX server component for dynamically creating, reading and modifying Portable Document Format (PDF) files.</p>
<p>4) EVO HTML to PDF Converter v2.0 (<a title="http://www.evopdf.com/download.aspx" href="http://www.evopdf.com/download.aspx">http://www.evopdf.com/download.aspx</a>)</p>
<p><span style="text-decoration:underline;">Commercial product</span>, converts HTML to PDF. It supports C# and VB.NET for ASP.NET, Windows Forms and Windows Azure Cloud.</p>
<p>5) easyPDF SDK (<a title="http://www.pdfonline.com/easypdf/pdf-server/automatic-create-pdf-server.htm" href="http://www.pdfonline.com/easypdf/pdf-server/automatic-create-pdf-server.htm">http://www.pdfonline.com/easypdf/pdf-server/automatic-create-pdf-server.htm</a>)</p>
<p><span style="text-decoration:underline;">Commercial product</span>, apparently easy to use ActiveX server component allowing to generate PDF documents.</p>
<p>6) Essential PDF (<a title="http://www.syncfusion.com/products/reporting-edition/pdf" href="http://www.syncfusion.com/products/reporting-edition/pdf">http://www.syncfusion.com/products/reporting-edition/pdf</a>)</p>
<p>Of course, when talking about .NET technologies SynchFusion cannot be missed out. So Essential PDF is a commercial product from SyncFusion, a .NET library that can produce Adobe PDF files from your data. It features a full-fledged object model allowing for the easy creation of PDF files using any .NET language. It does not have any external dependencies.</p>
<p>I haven’t tried it but I think that, as usual, components developed by SyncFusion are of pretty good quality.</p>
<p>7) Dynamic PDF Generator for .NET (<a title="http://www.cete.com/Products/DynamicPDFForNET/Generator/" href="http://www.cete.com/Products/DynamicPDFForNET/Generator/">http://www.cete.com/Products/DynamicPDFForNET/Generator/</a>)</p>
<p><span style="text-decoration:underline;">Commercial product</span>, DynamicPDF Generator for .NET is an award winning product used for the real-time creation of PDF documents based on dynamic data.</p>
<p> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> HTML to PDF Converter for .NET (<a title="http://www.winnovative-software.com/" href="http://www.winnovative-software.com/">http://www.winnovative-software.com/</a>)</p>
<p><span style="text-decoration:underline;">Commercial product</span>, the HTML to PDF Converter for .NET is a library that can be used in any type of .NET application, either ASP.NET web sites or Windows Forms and WPF applications, to convert URLs, HTML strings and streams to PDF or to image. The library is compatible with .NET 2.0, .NET 3.5 and .NET 4.0.</p>
<p>9) Aspose.Pdf.Kit for .NET (<a title="http://www.aspose.com/categories/.net-components/aspose.pdf.kit-for-.net/default.aspx" href="http://www.aspose.com/categories/.net-components/aspose.pdf.kit-for-.net/default.aspx">http://www.aspose.com/categories/.net-components/aspose.pdf.kit-for-.net/default.aspx</a>)</p>
<p><span style="text-decoration:underline;">Commercial product</span>, Aspose.Pdf.Kit for .NET is a PDF document manipulation component that enables .NET developers to manage and manipulate existing PDF files as well as manage form fields embedded within PDF files.</p>
<p>10) ABCpdf (<a title="http://www.websupergoo.com/abcpdf-1.htm" href="http://www.websupergoo.com/abcpdf-1.htm">http://www.websupergoo.com/abcpdf-1.htm</a>)</p>
<p><span style="text-decoration:underline;">Commercial product</span>, ABCpdf PDF is a server/client component used to dynamically read and write Adobe PDF documents on the fly.</p>
<p>11) ASP.NET PDF creator (<a title="http://www.novapdf.com/kb/asp-net-pdf-creator-181.html" href="http://www.novapdf.com/kb/asp-net-pdf-creator-181.html">http://www.novapdf.com/kb/asp-net-pdf-creator-181.html</a>)</p>
<p><span style="text-decoration:underline;">Commercial product</span>, <strong>ASP.NET PDF creator</strong> refers to a computer program that installs as a virtual PDF printer driver (PDF creator) and is programmatically accessed from an ASP.NET-based web application.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ioanbucur.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ioanbucur.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ioanbucur.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ioanbucur.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ioanbucur.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ioanbucur.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ioanbucur.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ioanbucur.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ioanbucur.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ioanbucur.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ioanbucur.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ioanbucur.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ioanbucur.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ioanbucur.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=38&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ioanbucur.wordpress.com/2011/02/25/create-pdf-in-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93c86912c02ac5ca557fcc39d2c151c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nelutu</media:title>
		</media:content>
	</item>
		<item>
		<title>Useful links</title>
		<link>http://ioanbucur.wordpress.com/2011/02/23/useful-links/</link>
		<comments>http://ioanbucur.wordpress.com/2011/02/23/useful-links/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 15:26:33 +0000</pubDate>
		<dc:creator>Ioan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://ioanbucur.wordpress.com/2011/02/23/useful-links/</guid>
		<description><![CDATA[TDD Anti-Patterns (by James Carr) http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/ Discusses a very interesting subject of different abuses that are done by developers in their ‘everyday programming’. Useful to read and definitely useful to apply. Good reading! (posting date: 2011.02.23)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=35&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>TDD Anti-Patterns (by James Carr)</h2>
<p><a title="http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/" href="http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/">http://blog.james-carr.org/2006/11/03/tdd-anti-patterns/</a></p>
<p>Discusses a very interesting subject of different abuses that are done by developers in their ‘everyday programming’. Useful to read and definitely useful to apply. Good reading!</p>
<p>(posting date: 2011.02.23)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ioanbucur.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ioanbucur.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ioanbucur.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ioanbucur.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ioanbucur.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ioanbucur.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ioanbucur.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ioanbucur.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ioanbucur.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ioanbucur.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ioanbucur.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ioanbucur.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ioanbucur.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ioanbucur.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=35&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ioanbucur.wordpress.com/2011/02/23/useful-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93c86912c02ac5ca557fcc39d2c151c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nelutu</media:title>
		</media:content>
	</item>
		<item>
		<title>Web PI just hangs</title>
		<link>http://ioanbucur.wordpress.com/2011/02/22/web-pi-just-hangs/</link>
		<comments>http://ioanbucur.wordpress.com/2011/02/22/web-pi-just-hangs/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 15:30:32 +0000</pubDate>
		<dc:creator>Ioan</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[hangs]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[Web PI]]></category>
		<category><![CDATA[Web Platform Installer]]></category>

		<guid isPermaLink="false">https://ioanbucur.wordpress.com/2011/02/22/web-pi-just-hangs/</guid>
		<description><![CDATA[So if your Web Platform Installer too just hangs at startup before showing up the list of products to install, maybe you have the same problem I ran into a few minutes ago. Searching the web the following solutions/diagnostics were proposed: - look in System and Application system event logger &#8211; I couldn&#8217;t find anything [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=34&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So if your Web Platform Installer too just hangs at startup before showing up the list of products to install, maybe you have the same problem I ran into a few minutes ago.   <br />Searching the web the following solutions/diagnostics were proposed:    <br />- look in <strong>System</strong> and <strong>Application</strong> system event logger &#8211; I couldn&#8217;t find anything related    <br />- look in <strong>%temp%\webpi_launcher.txt</strong> for clues &#8211; mine was empty    <br />- look in <strong>%USERPROFILE%\AppData\Local\Microsoft\Web Platform Installer</strong> for clues &#8211; yeap that&#8217;s it!</p>
<p>Actually in <strong>%USERPROFILE%\AppData\Local\Microsoft\Web Platform Installer\logs</strong> there are logs which are created each time your start Web PI. And in those logs I saw that Web PI loads data at startup from a cached files located at <strong>%USERPROFILE%\AppData\Local\Microsoft\Web Platform Installer</strong>.</p>
<p><strong><u><font size="3">Solution</font></u></strong>: just delete all those files located at %<strong>USERPROFILE%\AppData\Local\Microsoft\Web Platform Installer</strong> and restart Web PI. It worked in my case.    </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ioanbucur.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ioanbucur.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ioanbucur.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ioanbucur.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ioanbucur.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ioanbucur.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ioanbucur.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ioanbucur.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ioanbucur.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ioanbucur.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ioanbucur.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ioanbucur.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ioanbucur.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ioanbucur.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=34&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ioanbucur.wordpress.com/2011/02/22/web-pi-just-hangs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93c86912c02ac5ca557fcc39d2c151c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nelutu</media:title>
		</media:content>
	</item>
		<item>
		<title>Some good code writing principles</title>
		<link>http://ioanbucur.wordpress.com/2011/02/10/nice-software-programing-principles/</link>
		<comments>http://ioanbucur.wordpress.com/2011/02/10/nice-software-programing-principles/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 16:26:29 +0000</pubDate>
		<dc:creator>Ioan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://ioanbucur.wordpress.com/2011/02/10/nice-software-programing-principles/</guid>
		<description><![CDATA[&#160; KISS Principle – Keep It Simple, Stupid DRY Principle – Don’t Repeat Yourself<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=26&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p><strong>KISS</strong> Principle – <strong>K</strong>eep <strong>I</strong>t Simple, <strong>S</strong>tupid</p>
<p><strong>DRY</strong> Principle – <strong>D</strong>on’t <strong>R</strong>epeat <strong>Y</strong>ourself</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ioanbucur.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ioanbucur.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ioanbucur.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ioanbucur.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ioanbucur.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ioanbucur.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ioanbucur.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ioanbucur.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ioanbucur.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ioanbucur.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ioanbucur.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ioanbucur.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ioanbucur.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ioanbucur.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=26&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ioanbucur.wordpress.com/2011/02/10/nice-software-programing-principles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93c86912c02ac5ca557fcc39d2c151c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nelutu</media:title>
		</media:content>
	</item>
		<item>
		<title>TextBlock vs Label in WPF</title>
		<link>http://ioanbucur.wordpress.com/2010/12/14/textblock-vs-label/</link>
		<comments>http://ioanbucur.wordpress.com/2010/12/14/textblock-vs-label/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 21:24:13 +0000</pubDate>
		<dc:creator>Ioan</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">https://ioanbucur.wordpress.com/2010/12/14/textblock-vs-label/</guid>
		<description><![CDATA[A question that most probably every WPF developer asked himself is why have Label and TextBlock controls in WPF? Doing a simple google search gave this answer: Label is a more complex control than TextBlock and it has features like access keys (mnemonics) and target controls. So when you hit Alt-Key than the target control [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=24&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A question that most probably every WPF developer asked himself is why have Label and TextBlock controls in WPF?</p>
<p>Doing a simple google search gave this answer:</p>
<p>Label is a more complex control than TextBlock and it has features like access keys (mnemonics) and target controls. So when you hit Alt-Key than the target control get focus (e.g. a label and a textbox).</p>
<p>This difference resides in the fact that TextBlock, even though it is included in Windows.System.Controls namespace, it is not a control. It inherits FrameworkElement class not the Control class. Label on the other hand it inherits from Control class.</p>
<p>For more details I would suggest a post on “John Smith On WPF” blog:</p>
<p><a title="http://joshsmithonwpf.wordpress.com/2007/07/04/differences-between-label-and-textblock/" href="http://joshsmithonwpf.wordpress.com/2007/07/04/differences-between-label-and-textblock/">http://joshsmithonwpf.wordpress.com/2007/07/04/differences-between-label-and-textblock/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ioanbucur.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ioanbucur.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ioanbucur.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ioanbucur.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ioanbucur.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ioanbucur.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ioanbucur.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ioanbucur.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ioanbucur.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ioanbucur.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ioanbucur.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ioanbucur.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ioanbucur.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ioanbucur.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=24&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ioanbucur.wordpress.com/2010/12/14/textblock-vs-label/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93c86912c02ac5ca557fcc39d2c151c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nelutu</media:title>
		</media:content>
	</item>
		<item>
		<title>Make an Fat32 USB disk bootable</title>
		<link>http://ioanbucur.wordpress.com/2010/08/22/make-an-fat32-usb-disk-bootable/</link>
		<comments>http://ioanbucur.wordpress.com/2010/08/22/make-an-fat32-usb-disk-bootable/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 09:46:22 +0000</pubDate>
		<dc:creator>Ioan</dc:creator>
				<category><![CDATA[OS]]></category>
		<category><![CDATA[boot disk]]></category>

		<guid isPermaLink="false">http://ioanbucur.wordpress.com/?p=22</guid>
		<description><![CDATA[Requirements: 1) HP boot disk utility. 2) A folder containing MS DOS system files. Command line I used: HPUSBF I:  -FS:FAT32 -V:MYDEV -B:c:\usbdos &#8216;C:\USBDOS&#8217; folder contains dos system files: command.com, io.sys, msdos.sys<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=22&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Requirements:</p>
<p>1) HP boot disk utility.</p>
<p>2) A folder containing MS DOS system files.</p>
<p>Command line I used:</p>
<p><strong>HPUSBF I:  -FS:FAT32 -V:MYDEV -B:c:\usbdos</strong></p>
<p>&#8216;C:\USBDOS&#8217; folder contains dos system files: command.com, io.sys, msdos.sys</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ioanbucur.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ioanbucur.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ioanbucur.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ioanbucur.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ioanbucur.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ioanbucur.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ioanbucur.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ioanbucur.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ioanbucur.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ioanbucur.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ioanbucur.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ioanbucur.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ioanbucur.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ioanbucur.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ioanbucur.wordpress.com&amp;blog=6148528&amp;post=22&amp;subd=ioanbucur&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ioanbucur.wordpress.com/2010/08/22/make-an-fat32-usb-disk-bootable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93c86912c02ac5ca557fcc39d2c151c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nelutu</media:title>
		</media:content>
	</item>
	</channel>
</rss>
