<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Matt Manela's Blog : Downloads</title><link>http://blogs.msdn.com/matt/archive/tags/Downloads/default.aspx</link><description>Tags: Downloads</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Visualizing LINQ</title><link>http://blogs.msdn.com/matt/archive/2008/02/28/visualizing-linq.aspx</link><pubDate>Fri, 29 Feb 2008 09:52:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7943497</guid><dc:creator>MattManela</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/matt/comments/7943497.aspx</comments><wfw:commentRss>http://blogs.msdn.com/matt/commentrss.aspx?PostID=7943497</wfw:commentRss><description>&lt;p&gt;I ran across an awesome code sample written by &lt;a href="http://msmvps.com/blogs/jon.skeet/archive/2008/02/20/visual-linq-watch-query-expressions-as-they-happen.aspx" target="_blank"&gt;Jon Skeet&lt;/a&gt;.&amp;nbsp;&amp;nbsp; He realized that many people may have difficulty understanding how the lazy evaluation in LINQ (and programming with iterator combinators in general) works.&amp;nbsp; His program/code sample is able make the lazy evaluation clear by animating it on the fly.&amp;nbsp; He intercepts each step in the LINQ evaluation and animates that step.&amp;nbsp; When the program runs you will see one element at a time be processed through the LINQ query.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;I definitely recommend taking a look:&lt;/p&gt; &lt;p&gt;&lt;a title="http://msmvps.com/blogs/jon.skeet/archive/2008/02/20/visual-linq-watch-query-expressions-as-they-happen.aspx" href="http://msmvps.com/blogs/jon.skeet/archive/2008/02/20/visual-linq-watch-query-expressions-as-they-happen.aspx"&gt;http://msmvps.com/blogs/jon.skeet/archive/2008/02/20/visual-linq-watch-query-expressions-as-they-happen.aspx&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://msmvps.com/blogs/jon.skeet/archive/2008/02/20/visual-linq-watch-query-expressions-as-they-happen.aspx"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="444" alt="image" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/VisualizingLINQ_141DB/image_3.png" width="403" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Kudos to Jon on a job well done.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7943497" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/matt/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/matt/archive/tags/Downloads/default.aspx">Downloads</category><category domain="http://blogs.msdn.com/matt/archive/tags/LINQ/default.aspx">LINQ</category></item><item><title>FastSharp - Write it, Execute it</title><link>http://blogs.msdn.com/matt/archive/2008/02/11/fastsharp-write-it-execute-it.aspx</link><pubDate>Tue, 12 Feb 2008 10:30:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7634526</guid><dc:creator>MattManela</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/matt/comments/7634526.aspx</comments><wfw:commentRss>http://blogs.msdn.com/matt/commentrss.aspx?PostID=7634526</wfw:commentRss><description>&lt;p&gt;Last year I wrote this program which I named FastSharp.&amp;nbsp; It is a text editor which lets you compile and run C# code that would normally exist inside a method.&amp;nbsp; The inspiration for this came from getting tired of opening up Visual Studio and creating a project when all I want to do is execute one line of code and see what it outputs.&amp;nbsp; &lt;/p&gt; &lt;p&gt;A prime example of this happened today (which is what sparked me to finally post this program).&amp;nbsp; My co-worker &lt;a href="http://blogs.msdn.com/bertan" target="_blank"&gt;Bertan&lt;/a&gt; and I were talking about the &lt;a title="DateTime Structure" href="http://msdn2.microsoft.com/03ybds8y.aspx"&gt;System.DateTime&lt;/a&gt; object in .NET.&amp;nbsp; We were wondering if the ToBinary() method would return the same value regardless&amp;nbsp; whether the datetime object was in local time or in UTC mode.&amp;nbsp; He was about to fire up Visual Studio and create a project just to write this two line program when I showed him FastSharp. &lt;/p&gt; &lt;p&gt;First I opened the program:&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/FastSharpWriteitSeeitForgetaboutit_13688/image_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="353" alt="image" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/FastSharpWriteitSeeitForgetaboutit_13688/image_thumb.png" width="444" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Then I entered this two line program and hit the run button:&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/FastSharpWriteitSeeitForgetaboutit_13688/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="353" alt="image" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/FastSharpWriteitSeeitForgetaboutit_13688/image_thumb_1.png" width="444" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;I got an error because I forgot the capitalize the second t in ToUniversalTime().&amp;nbsp; So, I corrected that and then ran it again:&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/FastSharpWriteitSeeitForgetaboutit_13688/image_6.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="353" alt="image" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/FastSharpWriteitSeeitForgetaboutit_13688/image_thumb_2.png" width="444" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;And then we had our answer.&amp;nbsp; The to outputs are not the same so they do produce different results.&amp;nbsp; &lt;/p&gt; &lt;p&gt;The way FastSharp works is pretty simple.&amp;nbsp; It takes whatever you enter and wraps it in a Main method which is then wrapped in a class which then has a list of import statements appended above it (configurable through the settings dialog).&amp;nbsp; It then compiles the code using the &lt;a title="CSharpCodeProvider Class" href="http://msdn2.microsoft.com/tteyf242.aspx"&gt;Microsoft.CSharp.CSharpCodeProvider&lt;/a&gt; class and executes it.&amp;nbsp; Because FastSharp wraps the code inside of a method block you can only write code that would normally compile inside of a method. (No classes or methods).&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Things To Consider and Future Consideration&lt;/strong&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;FastSharp can only do console output not input.&amp;nbsp; I was unable to figure out how to make Console.ReadLine() work inside the program.&amp;nbsp; This will be an important future feature if someone can figure it out.&lt;/li&gt; &lt;li&gt;FastSharp compiles only C# code but it is not hard to make it work for Visual Basic, which would also be a nice feature upgrade.&lt;/li&gt; &lt;li&gt;FastSharp uses the out-of-the-box winforms RichTextBox control as the code editor.&amp;nbsp; It would be nice to replace this with a code editor that color coded or even give intellisense :)&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Give Me! Give Me! Give Me!&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;To download both the FastSharp binary and source code visit &lt;a href="http://code.msdn.microsoft.com/matt/Wiki/View.aspx?title=FastSharp" target="_blank"&gt;FastSharp Code Gallery Page&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7634526" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/matt/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://blogs.msdn.com/matt/archive/tags/Programming/default.aspx">Programming</category><category domain="http://blogs.msdn.com/matt/archive/tags/Downloads/default.aspx">Downloads</category><category domain="http://blogs.msdn.com/matt/archive/tags/MSDN+Code+Gallery/default.aspx">MSDN Code Gallery</category></item><item><title>JavaScript Rich Text Editors</title><link>http://blogs.msdn.com/matt/archive/2007/11/19/javascript-rich-text-editors.aspx</link><pubDate>Tue, 20 Nov 2007 09:22:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6422855</guid><dc:creator>MattManela</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/matt/comments/6422855.aspx</comments><wfw:commentRss>http://blogs.msdn.com/matt/commentrss.aspx?PostID=6422855</wfw:commentRss><description>&lt;p&gt;While in college I worked on several websites for my school (&lt;a href="http://www.binghamton.edu" target="_blank"&gt;Binghamton University&lt;/a&gt;).&amp;nbsp; One of my main tasks in developing websites was to create a&amp;nbsp;easy to use system&amp;nbsp;which would let non-developers be able to update and modify web content.&amp;nbsp; I wrote these systems in PHP and I used a rich text editor control&amp;nbsp;to allow non-developers to modify content.&amp;nbsp; The editor I would install was always &lt;a href="http://tinymce.moxiecode.com/" target="_blank"&gt;TinyMCE&lt;/a&gt;.&amp;nbsp; It is a very feature rich and easy to use editor and is open source (which is a nice plus).&amp;nbsp; It also worked very well with PHP style applications.&lt;/p&gt; &lt;p&gt;Here is a screen shot of &lt;a href="http://tinymce.moxiecode.com/" target="_blank"&gt;TinyMCE&lt;/a&gt;:&lt;/p&gt; &lt;p&gt;&lt;a href="http://tinymce.moxiecode.com/" target="_blank" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="260" alt="image" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/JavaScriptRichTextEditors_12C19/image_2.png" width="421" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Now that I am working at Microsoft I began learning and playing with ASP.NET.&amp;nbsp; The development model and ideology behind ASP.NET is very different from what I was used to for PHP.&amp;nbsp; Each have their advantages and disadvantages but that is not the point of this post ;)&amp;nbsp; After writing some applications with ASP.NET I wanted to try to write something similar to what I have done in the past with PHP and TinyMCE.&amp;nbsp; While TinyMCE will work fine with ASP.NET I wanted a RTE that was made with ASP.NET development in mind.&amp;nbsp; Recently, I found one which is published on &lt;a href="http://www.codeplex.com" target="_blank"&gt;Codeplex&lt;/a&gt; (an open source development site).&amp;nbsp; Its not so catchy title is &lt;a href="http://www.codeplex.com/rte" target="_blank"&gt;RTE (Rich Text Editor) ASP.NET Control&lt;/a&gt;. It works very well and already supports many of the features that TinyMCE has.&amp;nbsp; It is not as polished as TinyMCE however since it is also open source it will hopefully grow and gain polish as the community gets its hands on it.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Here is a screen shot of &lt;a href="http://www.codeplex.com/rte" target="_blank"&gt;RTE (Rich Text Editor) ASP.NET Control&lt;/a&gt;:&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.codeplex.com/rte" target="_blank" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="326" alt="image" src="http://blogs.msdn.com/blogfiles/matt/WindowsLiveWriter/JavaScriptRichTextEditors_12C19/image_3.png" width="404" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6422855" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/matt/archive/tags/Programming/default.aspx">Programming</category><category domain="http://blogs.msdn.com/matt/archive/tags/ASP+.NET/default.aspx">ASP .NET</category><category domain="http://blogs.msdn.com/matt/archive/tags/Downloads/default.aspx">Downloads</category></item></channel></rss>