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

<channel>
	<title>flickdotnet.de &#187; 2008 &#187; January</title>
	<atom:link href="http://www.flickdotnet.de/index.php/2008/01/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flickdotnet.de</link>
	<description>Opinions, reviews and software for the Microsoft .NET Framework - focusing on Linq, ECO &#38; XPO</description>
	<pubDate>Thu, 06 May 2010 17:59:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>ECO for VS: Great blog available to getting used to short cuts and other &#34;different&#34; things in the Microsoft IDE</title>
		<link>http://www.flickdotnet.de/index.php/2008/01/eco-for-vs-great-blog-available-to-getting-used-to-short-cuts-and-other-different-things-in-the-microsoft-ide/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/01/eco-for-vs-great-blog-available-to-getting-used-to-short-cuts-and-other-different-things-in-the-microsoft-ide/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 10:23:00 +0000</pubDate>
		<dc:creator></dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">f0630277-550d-4841-b505-bcad6784f9c4:455</guid>
		<description><![CDATA[<p>Borland's IDE have been a part of my life since I am 9 years old. I got used to the short-cuts and thus know the IDE by heart. In school we had to look at different versions of VB, but I never really got used to the different approach to do things and I also got confused as Microsoft used different short-cuts. Now with ECO IV for VS being in</p>]]></description>
			<content:encoded><![CDATA[<p>Borland&#8217;s IDE have been a part of my life since I am 9 years old. I got used to the short-cuts and thus know the IDE by heart. In school we had to look at different versions of VB, but I never really got used to the different approach to do things and I also got confused as Microsoft used different short-cuts. Now with ECO IV for VS being in the beta stage, I am stepping on VS territory again. The F5 key&nbsp;is definitely&nbsp;worst. In Borland IDEs (and now in CodeGear&#8217;s) the F5 key sets a breakpoint whereas in VS you run the application in debugging mode. Of course, in the Borland IDE there is a setting to change the shortcuts to the MS-style and there is a plugin available for VS to make&nbsp;the shortcuts&nbsp;work like in a Borland IDE.</p>
<p>All great. However, there are so many things that are not related to short-cuts and be it as simple as docking and undocking a window. It works very differently in VS. Yesterday, I found an awesome blog. Sara Ford writes one tip per day on Visual Studio 2008 on her blog. Actually, she sometimes blogs more than once a day and if you are just interested in the VS 2008 tips, use this URL to access them: <a href="http://blogs.msdn.com/saraford/archive/tags/Visual+Studio+2008+Tip+of+the+Day/default.aspx">http://blogs.msdn.com/saraford/archive/tags/Visual+Studio+2008+Tip+of+the+Day/default.aspx</a>&nbsp;</p>
<p>Sara Ford works for Microsoft and is part of the Visual Studio core team, so she definitely knows what she is talking about. Thanks for the great blog! </p>
<p><img src="http://flickdotnet.de:8080/aggbug.aspx?PostID=455" width="1" height="1"/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/01/eco-for-vs-great-blog-available-to-getting-used-to-short-cuts-and-other-different-things-in-the-microsoft-ide/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IEnumerable&#60;&#62; - the &#34;difference&#34; between Count&#60;&#62;() and Count()</title>
		<link>http://www.flickdotnet.de/index.php/2008/01/ienumerable-the-difference-between-count-and-count/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/01/ienumerable-the-difference-between-count-and-count/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 15:33:00 +0000</pubDate>
		<dc:creator></dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">f0630277-550d-4841-b505-bcad6784f9c4:449</guid>
		<description><![CDATA[<p>After posting my last blog entry regarding LINQ, Jonas Högström pinged me on Skype. He asked me, why I had used Count<string>() instead of Count(). As IEnumerable<> already was only carrying string objects, there was no need to do that. I agreed, but said that I fell into a trap with Intellisense. Visual Studio makes it so easy to enter code that you sometimes make your code too verbose. However</string></p>]]></description>
			<content:encoded><![CDATA[<p>After posting my last blog entry regarding LINQ, Jonas Högström pinged me on Skype. He asked me, why I had used Count&lt;string&gt;() instead of Count(). As IEnumerable&lt;&gt; already was only carrying string objects, there was no need to do that. I agreed, but said that I fell into a trap with Intellisense. Visual Studio makes it so easy to enter code that you sometimes make your code too verbose. However, I waondered if there was a performance penalty to be paid as I definitely was calling a method that seems to be more complicated. So I used my good old friend the ildasm and asked him what he thought. </p>
<p>I wrote a short test case which called Count() and then Count&lt;string&gt;(). This is the reply he gave me:&nbsp; </p>
<pre>  int32 [System.Core]System.Linq.Enumerable::Count(class       [mscorlib]System.Collections.Generic.IEnumerable`1)
  call       void [mscorlib]System.Console::WriteLine(int32)
  nop
  ldloc.1
  call       int32 [System.Core]System.Linq.Enumerable::Count(class      [mscorlib]System.Collections.Generic.IEnumerable`1)
  call       void [mscorlib]System.Console::WriteLine(int32)
  nop
</pre>
<p>Thus, we can see that both calls to Count&lt;string&gt;() and to Count() result in the very same intermediate assembly code. So, the compiler makes the choice for us. There is absolutely no performance penalty involved as the same method is being called internally.<img src="http://flickdotnet.de:8080/aggbug.aspx?PostID=449" width="1" height="1"/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/01/ienumerable-the-difference-between-count-and-count/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Free e-Books from MS Press</title>
		<link>http://www.flickdotnet.de/index.php/2008/01/free-e-books-from-ms-press/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/01/free-e-books-from-ms-press/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 12:14:00 +0000</pubDate>
		<dc:creator></dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">f0630277-550d-4841-b505-bcad6784f9c4:446</guid>
		<description><![CDATA[<p>Thanks to Lex Li (<a href="http://lextm.blogspot.com/">http://lextm.blogspot.com/</a>) I found a link to three great e-books from MS Press. The topics are not outdated what one may think when reading "free".  Only the LINQ book is complete, the rest are restricted to some essential chapters.</p>
<p>The books are:</p>
<ul>
<li>Introducing Microsoft LINQ by Paolo Pialorsi and Marco Russo</li>
<li>Introducing Microsoft ASP.NET AJAX by Dino Esposito (Chapters </li>
<li>Introducing Microsoft Silverlight 1.0 by Laurence Moroney</li></ul>
<p> </p><img src="http://flickdotnet.de:8080/aggbug.aspx?PostID=446" width="1" height="1"/>]]></description>
			<content:encoded><![CDATA[<p>Thanks to Lex Li (<a href="http://lextm.blogspot.com/">http://lextm.blogspot.com/</a>) I found a link to three great e-books from MS Press. The topics are not outdated what one may think when reading &#8220;free&#8221;.&nbsp; Only the LINQ book is complete, the rest are restricted to some essential&nbsp;chapters.</p>
<p>The books are:</p>
<ul>
<li><strong>Introducing Microsoft LINQ</strong> <br />by Paolo Pialorsi and Marco Russo</li>
<li><strong>Introducing Microsoft ASP.NET AJAX</strong> <br />by Dino Esposito (Chapters </li>
<li><strong>Introducing Microsoft Silverlight 1.0</strong> <br />by Laurence Moroney</li>
</ul>
<p>&nbsp;</p>
<p><img src="http://flickdotnet.de:8080/aggbug.aspx?PostID=446" width="1" height="1"/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/01/free-e-books-from-ms-press/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using LinQ in your ECO Models</title>
		<link>http://www.flickdotnet.de/index.php/2008/01/using-linq-in-your-eco-models/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/01/using-linq-in-your-eco-models/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 10:56:00 +0000</pubDate>
		<dc:creator></dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">f0630277-550d-4841-b505-bcad6784f9c4:444</guid>
		<description><![CDATA[<p>LinQ is much more than just being able to write database applications easier. People, who say that LinQ is limited to databases, should really have a look at it first. The strength of LinQ is that you can apply SQL-like queries to framework objects. Mostly, those are the same people who say that WCF is a new framework from Microsoft to force users to use new protocols invented by MS --</p>]]></description>
			<content:encoded><![CDATA[<p>LinQ is much more than just being able to write database applications easier. People, who say that LinQ is limited to databases, should really have a look at it first. The strength of LinQ is that you can&nbsp;apply SQL-like queries to framework objects. Mostly, those are the same people who say that WCF is a new framework from Microsoft to force users to use new protocols invented by MS &#8212; which is just as wrong. But back to the topic.</p>
<p>Assume, I have a class named &#8220;Person&#8221; and a person can have write documents. Thus, I add an one-to-many association to the class &#8220;Document&#8221;. I also add a method named &#8220;GetDocument&#8221; to the class &#8220;Person&#8221;. Every document is identified by a name, which is unique. The previously mentioned method &#8220;GetDocument&#8221; has exactly one parameter so I can specify the name of the document I want to retrieve. I make sure that the name is unique by always using &#8220;GetDocument&#8221; which uses LinQ to get the document I want.</p>
<p>It becomes very simple as the class &#8220;Person&#8221; already offers a list of &#8220;Document&#8221; with all the linked documents. I just need to find a document with a certain name. LinQ can be used with list classes in the .NET framework that implement IEnumerable and thus, you can use the following code to find a document. Furthermore, the following method creates a new document and hooks it up to the instance of person if there is no document by the name one is looking for.</p>
<p><img style="WIDTH:591px;HEIGHT:355px;" height=355 src="/gfx/ecolinq.png" width=591/></p>
<p>As my previous blog post indicates, you can use this comfort with VCL.NET and RAD Studio 2007 just as long as you build your models with the Visual Studio version of ECO. Sadly, there is no Delphi .NET support for LinQ yet. </p>
<p>For the people, who are 100% certain that LinQ is just something to make database access easier&#8230; where is the database in my example? <img src='http://www.flickdotnet.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><img src="http://flickdotnet.de:8080/aggbug.aspx?PostID=444" width="1" height="1"/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/01/using-linq-in-your-eco-models/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ECO for VS and ECO for RAD Studio 2007 &#8230; are they compatible?</title>
		<link>http://www.flickdotnet.de/index.php/2008/01/eco-for-vs-and-eco-for-rad-studio-2007-are-they-compatible/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/01/eco-for-vs-and-eco-for-rad-studio-2007-are-they-compatible/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 10:50:00 +0000</pubDate>
		<dc:creator></dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">f0630277-550d-4841-b505-bcad6784f9c4:443</guid>
		<description><![CDATA[<p>As blogs are supposed to be matter of fact style and without suspense: yes, you can use ECO Models that have been created with Visual Studio 2005/2008 in RAD Studio 2007 and vice versa. It even works if you target .NET 3.0/3.5 in Visual Studio 2008. You just have to add "System.Core.dll" from .NET 3.5 to your Delphi project that references the model and ECO will be able to pick</p>]]></description>
			<content:encoded><![CDATA[<p>As blogs are supposed to be matter of fact style and without suspense: yes, you can use ECO Models that have been created with Visual Studio 2005/2008 in RAD Studio 2007 and vice versa. It even works if you target .NET 3.0/3.5 in Visual Studio 2008. You just have to add &#8220;System.Core.dll&#8221; from .NET 3.5 to your Delphi project that references the model and ECO will be able to pick up all the packages inside of the assembly.</p>
<p>What advantages does that bring me using models from VS in RAD Studio 2007? Personally, I prefer the VCL to Winforms quite a lot and this way <strong>one can write client applications in VCL.NET without having the drawback of not being able to use LinQ</strong>! Linq is being used in all my models by now and I simply cannot compile them in RAD Studio 2007 as Delphi for .NET has no LinQ support at this stage.</p>
<p>&nbsp;</p>
<p><img src="http://flickdotnet.de:8080/aggbug.aspx?PostID=443" width="1" height="1"/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/01/eco-for-vs-and-eco-for-rad-studio-2007-are-they-compatible/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
