<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>Eduardo Dias : ASP.NET</title><link>http://weblogs.asp.net/eduardodias/archive/tags/ASP.NET/default.aspx</link><description>Tags: ASP.NET</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Folks Ajax - New Release, Documentation and Samples now available!</title><link>http://weblogs.asp.net/eduardodias/archive/2008/03/08/folks-ajax-new-release-documentation-and-samples-now-available.aspx</link><pubDate>Sun, 09 Mar 2008 00:58:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5940006</guid><dc:creator>edurdias</dc:creator><author>edurdias</author><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/eduardodias/rsscomments.aspx?PostID=5940006</wfw:commentRss><comments>http://weblogs.asp.net/eduardodias/archive/2008/03/08/folks-ajax-new-release-documentation-and-samples-now-available.aspx#comments</comments><description>
&lt;p&gt;The Folks Ajax Framework 0.1.0 was released, stable, refactored, documented and with new features. &lt;br&gt; &lt;/p&gt;
&lt;p&gt;This Folks' release contains a lot of changes:&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;b&gt;Features&lt;/b&gt;&lt;br&gt; &lt;br&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;FolksManager&lt;/b&gt; - The responsible for managing the postbacks
and other features. Now it isn't needed to extend the FolksPage
(deprecated), turning the application model free. It's possible now to
enable an entire Web Form just setting to True the CaptureAll property.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;FolksContainer&lt;/b&gt;
- Like UpdatePanel from ASP.NET Ajax. But with improvements to work in
cascade (Five levels was tested succefully). It's possible to specify a
progress control to display during the request.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;FolksProgress&lt;/b&gt; - Added a progress template control.&lt;/li&gt;
&lt;/ul&gt;
 &lt;br&gt;&lt;b&gt;Improvements&lt;/b&gt;&lt;br&gt; &lt;br&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Rendering&lt;/b&gt; - The rendering process was improved to work with FolksContainer.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Client Side&lt;/b&gt; - The FolksManager javascript class was re-written gaining performance and removing the useless code.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;jQuery Version&lt;/b&gt; - Updated the jQuery library version.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;br&gt;&lt;b&gt;Samples and Documentation&lt;/b&gt;&lt;br&gt; &lt;br&gt;The samples are available at &lt;a href="http://folks.edurdias.com" mce_href="http://folks.edurdias.com"&gt;http://folks.edurdias.com&lt;/a&gt; and the documentation at the project &lt;a href="http://www.codeplex.com/folks" mce_href="http://www.codeplex.com/folks"&gt;site&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;More Information&lt;/b&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.codeplex.com/folks" mce_href="http://www.codeplex.com/folks"&gt;http://www.codeplex.com/folks&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;I hope you enjoy it! &lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/p&gt;
&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.asp.net%2feduardodias%2farchive%2f2008%2f03%2f08%2ffolks-ajax-new-release-documentation-and-samples-now-available.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.asp.net%2feduardodias%2farchive%2f2008%2f03%2f08%2ffolks-ajax-new-release-documentation-and-samples-now-available.aspx" alt="kick it on DotNetKicks.com" border="0"&gt;&lt;/a&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5940006" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/eduardodias/archive/tags/.net/default.aspx">.net</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/Ajax/default.aspx">Ajax</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/jQuery/default.aspx">jQuery</category></item><item><title>A comparison between Folks and ASP.NET Ajax</title><link>http://weblogs.asp.net/eduardodias/archive/2008/02/13/a-comparison-between-folks-and-asp-net-ajax.aspx</link><pubDate>Wed, 13 Feb 2008 15:34:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5779390</guid><dc:creator>edurdias</dc:creator><author>edurdias</author><slash:comments>10</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/eduardodias/rsscomments.aspx?PostID=5779390</wfw:commentRss><comments>http://weblogs.asp.net/eduardodias/archive/2008/02/13/a-comparison-between-folks-and-asp-net-ajax.aspx#comments</comments><description>&lt;p&gt;
		A small benchmark of Folks performance against ASP.NET Ajax.&amp;nbsp;
	&lt;/p&gt;
	&lt;p&gt;
		&lt;b&gt;Scenario&lt;br&gt;
		&lt;/b&gt;Population a GridView with a specific number of Person { Name, Email } items.&lt;/p&gt;
	&lt;p&gt;
		&lt;b&gt;Configuration&lt;/b&gt;&lt;b&gt;&lt;br&gt;
		&lt;/b&gt;Running on Centrino Duo 1,67, 1GB RAM on Windows XP Pro SP2, Firefox 2 with
		Firebug (used to collect the response), IE6 with Fiddler to collect responses' size. The Web Form developed contains a TextBox, a Button and a GridView. The GridView was configured to show 100 records, others only with pagination (what isn't covered here).&lt;br&gt;&lt;/p&gt;
	&lt;p&gt;
		&lt;b&gt;Data&lt;br&gt;
		&lt;/b&gt;The data collected was the response (including client response) in milliseconds and payload for populate a GridView
		with 10, 100, 1k, 10k and 100k of items.&lt;br&gt;&lt;/p&gt;
	&lt;p&gt;
		&lt;b&gt;Result&lt;br&gt;
		&lt;/b&gt;The result is shown below (Response Time in milliseconds):&lt;/p&gt;
	&lt;table border="1" cellpadding="2" cellspacing="0"&gt;
		&lt;thead&gt;
			&lt;tr&gt;
				&lt;td rowspan="2" align="center" valign="middle"&gt;
					&lt;b&gt;Items&lt;/b&gt;&lt;/td&gt;
				&lt;td colspan="2" align="center" valign="top" width="84"&gt;
					&lt;b&gt;Response (ms)&lt;/b&gt;&lt;/td&gt;
				&lt;td colspan="2" align="center" valign="top"&gt;
					&lt;b&gt;Bytes Sent&lt;/b&gt;&lt;/td&gt;
				&lt;td colspan="2" align="center" valign="top"&gt;
					&lt;b&gt;Bytes Received&lt;/b&gt;&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td valign="top"&gt;
					&lt;b&gt;Folks&lt;/b&gt;&lt;/td&gt;
				&lt;td valign="top"&gt;
					&lt;b&gt;ASP.NET Ajax&lt;/b&gt;&lt;/td&gt;
				&lt;td valign="top"&gt;
					&lt;b&gt;Folks&lt;/b&gt;&lt;/td&gt;
				&lt;td valign="top"&gt;
					&lt;b&gt;ASP.NET Ajax&lt;/b&gt;&lt;/td&gt;
				&lt;td valign="top"&gt;
					&lt;b&gt;Folks&lt;/b&gt;&lt;/td&gt;
				&lt;td valign="top"&gt;
					&lt;b&gt;ASP.NET Ajax&lt;/b&gt;&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/thead&gt;
		&lt;tbody&gt;
			&lt;tr&gt;
				&lt;td valign="top"&gt;
					10&lt;/td&gt;
				&lt;td valign="top"&gt;
					15&lt;/td&gt;
				&lt;td valign="top"&gt;
					31&lt;/td&gt;
				&lt;td valign="top"&gt;
					1.937&lt;/td&gt;
				&lt;td valign="top"&gt;
						1.959&lt;/td&gt;
				&lt;td valign="top"&gt;
						4.012&lt;/td&gt;
				&lt;td valign="top"&gt;
						4.394&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td valign="top"&gt;
					100&lt;/td&gt;
				&lt;td valign="top"&gt;
					32&lt;/td&gt;
				&lt;td valign="top"&gt;
					109&lt;/td&gt;
				&lt;td valign="top"&gt;
					1.938&lt;/td&gt;
				&lt;td valign="top"&gt;
						1.960&lt;/td&gt;
				&lt;td valign="top"&gt;
						30.688&lt;/td&gt;
				&lt;td valign="top"&gt;
						30.893&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td valign="top"&gt;
					1000&lt;/td&gt;
				&lt;td valign="top"&gt;
					31&lt;/td&gt;
				&lt;td valign="top"&gt;
					281&lt;/td&gt;
				&lt;td valign="top"&gt;
					9.297&lt;/td&gt;
				&lt;td valign="top"&gt;
						9.323&lt;/td&gt;
				&lt;td valign="top"&gt;
						31.785&lt;/td&gt;
				&lt;td valign="top"&gt;
						31.984&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td valign="top"&gt;
					10000&lt;/td&gt;
				&lt;td valign="top"&gt;
					46&lt;/td&gt;
				&lt;td valign="top"&gt;
					203&lt;/td&gt;
				&lt;td valign="top"&gt;
					9.354&lt;/td&gt;
				&lt;td valign="top"&gt;
						9.384&lt;/td&gt;
				&lt;td valign="top"&gt;
						31.891&lt;/td&gt;
				&lt;td valign="top"&gt;
						32.090&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td valign="top"&gt;
					100000&lt;/td&gt;
				&lt;td valign="top"&gt;
					140&lt;/td&gt;
				&lt;td valign="top"&gt;
					281&lt;/td&gt;
				&lt;td valign="top"&gt;
					9.373&lt;/td&gt;
				&lt;td valign="top"&gt;
						9.387&lt;/td&gt;
				&lt;td valign="top"&gt;
						31.896&lt;/td&gt;
				&lt;td valign="top"&gt;
						32.095&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/tbody&gt;
	&lt;/table&gt;
	&lt;br&gt;
	&lt;p&gt;
		&lt;b&gt;
			Conclusion&lt;br&gt;
		&lt;/b&gt;As a basic benchmark, Folks shown to be faster in all cases. If you have a comparison
		idea, please tell us commenting this post.&lt;/p&gt;
	&lt;p&gt;
		&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.asp.net%2feduardodias%2farchive%2f2008%2f02%2f13%2fa-comparison-between-folks-and-asp-net-ajax.aspx" mce_href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.asp.net%2feduardodias%2farchive%2f2008%2f02%2f13%2fa-comparison-between-folks-and-asp-net-ajax.aspx"&gt;
			&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.asp.net%2feduardodias%2farchive%2f2008%2f02%2f13%2fa-comparison-between-folks-and-asp-net-ajax.aspx" mce_src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.asp.net%2feduardodias%2farchive%2f2008%2f02%2f13%2fa-comparison-between-folks-and-asp-net-ajax.aspx" alt="kick it on DotNetKicks.com" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5779390" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/eduardodias/archive/tags/.net/default.aspx">.net</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/Ajax/default.aspx">Ajax</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/Folks/default.aspx">Folks</category></item><item><title>Folks Ajax Framework - New Stable Release 0.0.2</title><link>http://weblogs.asp.net/eduardodias/archive/2008/02/12/folks-ajax-framework-new-stable-release-0-0-2.aspx</link><pubDate>Tue, 12 Feb 2008 18:14:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5770176</guid><dc:creator>edurdias</dc:creator><author>edurdias</author><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/eduardodias/rsscomments.aspx?PostID=5770176</wfw:commentRss><comments>http://weblogs.asp.net/eduardodias/archive/2008/02/12/folks-ajax-framework-new-stable-release-0-0-2.aspx#comments</comments><description>
&lt;p&gt;The Folks Project Team has been released a new stable version (0.0.2). This release contains many speed improvements and several bug fixs.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Release changes:&lt;/b&gt;&lt;br&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Added SandBoxVB project.&lt;/li&gt;
&lt;li&gt;Removed Library reference.&lt;/li&gt;
&lt;li&gt;Improvements of jQuery usage.&lt;/li&gt;
&lt;li&gt;Increased data size of Sample's GridView (40k+ elements)&lt;/li&gt;
&lt;li&gt;Reported and unreported bug fixes. &lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br&gt;
&lt;p&gt;More information about this release can be found &lt;a href="https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=folks&amp;amp;ReleaseId=10657" title="Folks Ajax Framework 0.0.2" mce_href="https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=folks&amp;amp;ReleaseId=10657"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.asp.net%2feduardodias%2farchive%2f2008%2f02%2f12%2ffolks-ajax-framework-new-stable-release-0-0-2.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.asp.net%2feduardodias%2farchive%2f2008%2f02%2f12%2ffolks-ajax-framework-new-stable-release-0-0-2.aspx" alt="kick it on DotNetKicks.com" border="0"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5770176" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/eduardodias/archive/tags/.net/default.aspx">.net</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/Ajax/default.aspx">Ajax</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/Folks/default.aspx">Folks</category></item><item><title>Folks - A small, simple and fast Ajax framework.</title><link>http://weblogs.asp.net/eduardodias/archive/2008/02/05/folks-a-small-simple-and-fast-ajax-framework.aspx</link><pubDate>Tue, 05 Feb 2008 16:44:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5715604</guid><dc:creator>edurdias</dc:creator><author>edurdias</author><slash:comments>12</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/eduardodias/rsscomments.aspx?PostID=5715604</wfw:commentRss><comments>http://weblogs.asp.net/eduardodias/archive/2008/02/05/folks-a-small-simple-and-fast-ajax-framework.aspx#comments</comments><description>&lt;p&gt;The Folks Ajax Framework provides a clean, easy and fast way to build Ajax  enabled web applications in .NET 2.0.
&lt;br&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Goals&lt;/b&gt;&lt;br&gt; &lt;br&gt;The main goal of this project is offer a easy and fast way to enable Ajax into a ASP.NET 2.0 application.&lt;br&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Documentation&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/folks/Wiki/View.aspx?title=Install&amp;amp;referringTitle=Home"&gt;Install&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/folks/Wiki/View.aspx?title=Configuration&amp;amp;referringTitle=Home"&gt;Configuration&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/folks/Wiki/View.aspx?title=Usage&amp;amp;referringTitle=Home"&gt;Usage&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/folks/Wiki/View.aspx?title=Frequently%20Asked%20Questions&amp;amp;referringTitle=Home"&gt;Frequently Asked Questions&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Samples&lt;/b&gt;&lt;br&gt; &lt;br&gt;The Folks samples are available at &lt;a href="http://folks.edurdias.com/" class="externalLink"&gt;http://folks.edurdias.com&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. The examples are:&lt;br&gt; &lt;br&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://folks.edurdias.com/HelloWorld.aspx" class="externalLink"&gt;Hello World&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://folks.edurdias.com/CommonControls.aspx" class="externalLink"&gt;Common Controls&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://folks.edurdias.com/DataVisualization.aspx" class="externalLink"&gt;Data Visualization&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://folks.edurdias.com/TreeView.aspx" class="externalLink"&gt;TreeView&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://folks.edurdias.com/Menu.aspx" class="externalLink"&gt;Menu&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;&lt;p&gt;&lt;span id="ctl00_ctl00_Content_TabContentPanel_Content_wikiSourceLabel"&gt;&lt;b&gt;Benchmark&lt;/b&gt;&lt;br&gt; &lt;br&gt;You can see the official benchmark &lt;a href="http://weblogs.asp.net/eduardodias/archive/2008/02/13/a-comparison-between-folks-and-asp-net-ajax.aspx" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; that make a comparison of Payload and Total Response Time (including the cliente response time).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;More Information&lt;/b&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span id="ctl00_ctl00_Content_TabContentPanel_Content_wikiSourceLabel"&gt;&lt;/span&gt;More information you can find &lt;a href="http://www.codeplex.com/Folks" target="_blank" mce_href="http://www.codeplex.com/Folks"&gt;here&lt;/a&gt;&lt;b&gt;.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;I hope you enjoy it!&lt;/p&gt;
&lt;p&gt;Eduardo&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.asp.net%2feduardodias%2farchive%2f2008%2f02%2f05%2ffolks-a-small-simple-and-fast-ajax-framework.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.asp.net%2feduardodias%2farchive%2f2008%2f02%2f05%2ffolks-a-small-simple-and-fast-ajax-framework.aspx" alt="kick it on DotNetKicks.com" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5715604" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/eduardodias/archive/tags/.net/default.aspx">.net</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/Ajax/default.aspx">Ajax</category></item><item><title>Translating a text with a MineGoogleTranslator Web Control</title><link>http://weblogs.asp.net/eduardodias/archive/2008/01/24/translating-a-text-with-a-minegoogletranslator-web-control.aspx</link><pubDate>Thu, 24 Jan 2008 15:52:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5643673</guid><dc:creator>edurdias</dc:creator><author>edurdias</author><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/eduardodias/rsscomments.aspx?PostID=5643673</wfw:commentRss><comments>http://weblogs.asp.net/eduardodias/archive/2008/01/24/translating-a-text-with-a-minegoogletranslator-web-control.aspx#comments</comments><description>&lt;P&gt;The MineGoogleTranslator is a easy way to consume the Google Translation Service.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What is the MineGoogleTranslator?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This project catches the result of Google Translation Page and parses it through Regular Expressions. It contains three ways to consume:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A small Windows application &lt;/LI&gt;
&lt;LI&gt;A Web Service &lt;/LI&gt;
&lt;LI&gt;A Web Control's collection &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;As the MineGoogleTranslator is in development stage, its releases offer simple version of these features. Their roadmap contains features like a tray icon for the Windows Application and new Web Controls.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Using the WebControl&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Add the project's reference to your project. After that you can add a control to your web page. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: The project contains a Web Application with a simple sample of the Web Controls usage.&lt;/P&gt;
&lt;P&gt;Your page must include the registration for the library:&lt;/P&gt;&lt;CODE&gt;&amp;lt;%@ Register &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assembly="MineGoogleTranslator.Web" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Namespace="MineGoogleTranslator.Web" &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TagPrefix="mgt" %&amp;gt;&lt;/CODE&gt; 
&lt;P&gt;After registering the assembly, you just add the Web Control and configure it like this:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;mgt:TranslatorBox&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id="myTranslatorBox"&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; runat="server"&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OriginalText="A simple text to translate."&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ButtonText="Translate It!"&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FromLanguage="en"&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ToLanguage="pt"&amp;gt; &lt;BR&gt;&amp;lt;/mgt:TranslatorBox&amp;gt;&lt;/CODE&gt; &lt;/P&gt;
&lt;P&gt;All the languages available in Google Translation Page will be available here. If a language pair isn't valid, the control will throw an exception.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: The Web Control has an event named Translate; you can handle it to get the translation result.&lt;/P&gt;
&lt;P&gt;And that's all, folks. Now you can add a translation service on your web site! :D&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;More Informations&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can find more informations about the project &lt;A class="" href="http://www.codeplex.com/mgt" target=_blank mce_href="http://www.codeplex.com/mgt"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5643673" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/eduardodias/archive/tags/.net/default.aspx">.net</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/Web+Services/default.aspx">Web Services</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/General+Software+Development/default.aspx">General Software Development</category><category domain="http://weblogs.asp.net/eduardodias/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item></channel></rss>