<?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>Ahmed Elbaz&#039;s Blog</title>
	<atom:link href="http://ahmedelbaz.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ahmedelbaz.com</link>
	<description>Software, Programming and Web Development</description>
	<lastBuildDate>Tue, 27 Dec 2011 06:50:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ahmedelbaz.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ahmed Elbaz&#039;s Blog</title>
		<link>http://ahmedelbaz.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ahmedelbaz.com/osd.xml" title="Ahmed Elbaz&#039;s Blog" />
	<atom:link rel='hub' href='http://ahmedelbaz.com/?pushpress=hub'/>
		<item>
		<title>Hide export format in RDLC/SSRS Report Viewer control</title>
		<link>http://ahmedelbaz.com/2010/05/10/rdlc-ssrs-report-viewer-disable-hide-export-format/</link>
		<comments>http://ahmedelbaz.com/2010/05/10/rdlc-ssrs-report-viewer-disable-hide-export-format/#comments</comments>
		<pubDate>Sun, 09 May 2010 20:03:53 +0000</pubDate>
		<dc:creator>Ahmed Elbaz</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Export Format]]></category>
		<category><![CDATA[RDLC]]></category>
		<category><![CDATA[ReportViewer]]></category>
		<category><![CDATA[SSRS]]></category>

		<guid isPermaLink="false">http://ahmedelbaz.com/?p=289</guid>
		<description><![CDATA[I recently needed to hide or disable PDF format in Export Formats dropdown list displayed in SSRS ReportViewer’s toolbar in Local Report mode. Unfortunately, ReportViewer control has no method or property to manage specific format’s visibility and this is true also for the recently released Report Viewer 10. We can use Report Viewer’s property ShowExportControls [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=289&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently needed to hide or disable PDF format in Export Formats dropdown list displayed in SSRS ReportViewer’s toolbar in <strong>Local Report mode</strong>.</p>
<p>Unfortunately,  ReportViewer control has no method or property to manage specific format’s visibility and this is true also for the recently released <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=a941c6b2-64dd-4d03-9ca7-4017a0d164fd&amp;displaylang=en" target="_blank">Report Viewer 10</a>.</p>
<p>We can use Report Viewer’s property <strong>ShowExportControls</strong> to hide the export formats dropdown list but not a specific format such as PDF.</p>
<p>In Local Report mode, there are 2 export formats (Excel and PDF) and more <a href="http://msdn.microsoft.com/en-us/library/ms154606.aspx" target="_blank">Rendering Extensions</a> for Server Report mode are available.</p>
<p>We have the option to hide export formats control and implement our own list. this <a href="http://msdn.microsoft.com/en-us/library/ms251839.aspx" target="_blank">article</a> might help on this.</p>
<p>Finally, I ended up with adding new extension method <strong>SetExportFormatVisibility</strong> to ReportViewer control which uses private Reflection to disable/enable export formats.</p>
<p>This method is inspired by Stephen Songer’s blog post <a href="http://weblogs.asp.net/stephensonger/archive/2009/02/20/disable-enable-export-format-in-ssrs-and-asp-net.aspx" target="_blank">Disable/Enable export format in SSRS and ASP.NET</a>.</p>
<p>The code consists of two parts, one is <strong>ReportViewerExtensions </strong>class which has <strong>SetExportFormatVisibility</strong> extension method and the second is <strong>ReportViewerExportFormat</strong> Enum to specify available export formats.</p>
<p><pre class="brush: csharp;">
public static class ReportViewerExtensions
 {
 public static void SetExportFormatVisibility(this ReportViewer viewer, ReportViewerExportFormat format, bool isVisible)
 {

 string formatName = format.ToString();

 const System.Reflection.BindingFlags Flags = System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance;
 System.Reflection.FieldInfo m_previewService = viewer.LocalReport.GetType().GetField(&quot;m_previewService&quot;, Flags);

 System.Reflection.MethodInfo ListRenderingExtensions = m_previewService.FieldType.GetMethod(&quot;ListRenderingExtensions&quot;, Flags);
 object previewServiceInstance = m_previewService.GetValue(viewer.LocalReport);

 IList extensions = (IList)ListRenderingExtensions.Invoke(previewServiceInstance, null);
 System.Reflection.PropertyInfo name = extensions[0].GetType().GetProperty(&quot;Name&quot;, Flags);

 //object extension = null;
 foreach (var ext in extensions)
 {

 if ((string.Compare(name.GetValue(ext, null).ToString(), formatName, true) == 0))
 {
 System.Reflection.FieldInfo m_isVisible = ext.GetType().GetField(&quot;m_isVisible&quot;, System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);

 System.Reflection.FieldInfo m_isExposedExternally = ext.GetType().GetField(&quot;m_isExposedExternally&quot;, System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);
 m_isVisible.SetValue(ext, isVisible);
 m_isExposedExternally.SetValue(ext, isVisible);

 break;
 }

 }
 }

 }

 public enum ReportViewerExportFormat
 {
 Excel,
 PDF
 }
</pre></p>
<p>Simple to use..</p>
<p><pre class="brush: csharp;"> ReportViewer1.SetExportFormatVisibility(ReportViewerExportFormat.PDF, false); </pre></p>
<p><a rev="vote-for" href="http://dotnetshoutout.com/Hide-export-format-in-RDLCSSRS-Report-Viewer-control-Ahmed-Elbazs-Blog"><img alt="Shout it" src="http://dotnetshoutout.com/image.axd?url=http%3A%2F%2Fahmedelbaz.com%2F2010%2F05%2F10%2Frdlc-ssrs-report-viewer-disable-hide-export-format%2F" style="border:0;" /></a> <a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f05%2f10%2frdlc-ssrs-report-viewer-disable-hide-export-format%2f"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f05%2f10%2frdlc-ssrs-report-viewer-disable-hide-export-format%2f" border="0" alt="kick it on DotNetKicks.com" /></a> <a title="Add to Twitter" rel="nofollow" href="http://twitter.com/home/?status=Hide%20export%20format%20in%20%23SSRS%20%23ReportViewer+http://ahmedelbaz.com/2010/05/10/rdlc-ssrs-report-viewer-disable-hide-export-format/%20%40AhmedElbaz" target="_blank">Retweet</a></p>
<br />Filed under: <a href='http://ahmedelbaz.com/category/asp-net/'>ASP.NET</a> Tagged: <a href='http://ahmedelbaz.com/tag/export-format/'>Export Format</a>, <a href='http://ahmedelbaz.com/tag/rdlc/'>RDLC</a>, <a href='http://ahmedelbaz.com/tag/reportviewer/'>ReportViewer</a>, <a href='http://ahmedelbaz.com/tag/ssrs/'>SSRS</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahmadelbaz.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahmadelbaz.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahmadelbaz.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahmadelbaz.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahmadelbaz.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahmadelbaz.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahmadelbaz.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahmadelbaz.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahmadelbaz.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahmadelbaz.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahmadelbaz.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahmadelbaz.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahmadelbaz.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahmadelbaz.wordpress.com/289/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=289&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahmedelbaz.com/2010/05/10/rdlc-ssrs-report-viewer-disable-hide-export-format/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0060216d7c9f75736be67bdd868ccdd4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aelbaz</media:title>
		</media:content>

		<media:content url="http://dotnetshoutout.com/image.axd?url=http%3A%2F%2Fahmedelbaz.com%2F2010%2F05%2F10%2Frdlc-ssrs-report-viewer-disable-hide-export-format%2F" medium="image">
			<media:title type="html">Shout it</media:title>
		</media:content>

		<media:content url="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f05%2f10%2frdlc-ssrs-report-viewer-disable-hide-export-format%2f" medium="image">
			<media:title type="html">kick it on DotNetKicks.com</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows 7 &#8211; Sticky Notes</title>
		<link>http://ahmedelbaz.com/2010/05/05/windows-7-sticky-notes/</link>
		<comments>http://ahmedelbaz.com/2010/05/05/windows-7-sticky-notes/#comments</comments>
		<pubDate>Wed, 05 May 2010 05:17:38 +0000</pubDate>
		<dc:creator>Ahmed Elbaz</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Sticky Notes]]></category>

		<guid isPermaLink="false">https://ahmadelbaz.wordpress.com/?p=313</guid>
		<description><![CDATA[Is it the time to leave my pen, sticky clips and such physical and paper-based stuff when I am writing my daily notes? Windows 7 introduced new feature Sticky Notes which enables Windows users to write their notes on the top of Windows Desktop. You can open Sticky Notes through Start Menu =&#62; Accessories as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=313&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Is it the time to leave my pen, sticky clips and such physical and paper-based stuff when I am writing my daily notes?</p>
<p><a href="http://ahmadelbaz.files.wordpress.com/2010/05/stickynotesmenu.png"><img class="alignleft" style="display:inline;margin-left:0;margin-right:0;border:0 none;" title="sticky-notes-menu" src="http://ahmadelbaz.files.wordpress.com/2010/05/stickynotesmenu_thumb.png?w=259&#038;h=456" border="0" alt="sticky-notes-menu" width="259" height="456" align="left" /></a>Windows 7 introduced new feature <strong><a href="http://windows.microsoft.com/en-us/windows7/products/features/sticky-notes" target="_blank">Sticky Notes</a></strong> which enables Windows users to write their notes on the top of Windows Desktop.</p>
<p>You can open Sticky Notes through Start Menu =&gt; Accessories as you can see in the figure at the left.</p>
<p>As the below figure shows, User has the ability to create multiple notes and colorize each one of them with a different color (arrow 3).</p>
<p>Also user has the option to re-size a Note&#8217;s area separately from the other Notes.</p>
<p>To add a new Note click on <strong>+</strong> sign (arrow 1) or just press Ctrl + N. Also you can delete the active Note by clicking on <strong>X</strong> sign (arrow 2) or pressing Ctrl + D.</p>
<p><a href="http://ahmadelbaz.files.wordpress.com/2010/05/windows7stickynotes.png"><img style="display:inline;border:0 none;" title="windows-7-sticky-notes" src="http://ahmadelbaz.files.wordpress.com/2010/05/windows7stickynotes_thumb.png?w=624&#038;h=386" border="0" alt="windows-7-sticky-notes" width="624" height="386" /></a></p>
<p>Enjoy…</p>
<p><a title="Add to Twitter" rel="nofollow" href="http://twitter.com/home/?status=%23Windows7%20Sticky%20Notes+http://ahmedelbaz.com/2010/05/05/windows-7-sticky-notes/%20%40AhmedElbaz" target="_blank">Retweet</a></p>
<br />Filed under: <a href='http://ahmedelbaz.com/category/windows-7/'>Windows 7</a> Tagged: <a href='http://ahmedelbaz.com/tag/sticky-notes/'>Sticky Notes</a>, <a href='http://ahmedelbaz.com/tag/windows-7/'>Windows 7</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahmadelbaz.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahmadelbaz.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahmadelbaz.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahmadelbaz.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahmadelbaz.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahmadelbaz.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahmadelbaz.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahmadelbaz.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahmadelbaz.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahmadelbaz.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahmadelbaz.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahmadelbaz.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahmadelbaz.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahmadelbaz.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=313&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahmedelbaz.com/2010/05/05/windows-7-sticky-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0060216d7c9f75736be67bdd868ccdd4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aelbaz</media:title>
		</media:content>

		<media:content url="http://ahmadelbaz.files.wordpress.com/2010/05/stickynotesmenu_thumb.png" medium="image">
			<media:title type="html">sticky-notes-menu</media:title>
		</media:content>

		<media:content url="http://ahmadelbaz.files.wordpress.com/2010/05/windows7stickynotes_thumb.png" medium="image">
			<media:title type="html">windows-7-sticky-notes</media:title>
		</media:content>
	</item>
		<item>
		<title>Entity Framework and LINQ to SQL Paging</title>
		<link>http://ahmedelbaz.com/2010/05/03/entity-framework-and-linq-to-sql-paging/</link>
		<comments>http://ahmedelbaz.com/2010/05/03/entity-framework-and-linq-to-sql-paging/#comments</comments>
		<pubDate>Mon, 03 May 2010 16:48:02 +0000</pubDate>
		<dc:creator>Ahmed Elbaz</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Entity Framework]]></category>
		<category><![CDATA[LINQ to SQL]]></category>
		<category><![CDATA[Paging]]></category>
		<category><![CDATA[Skip()]]></category>
		<category><![CDATA[Take()]]></category>

		<guid isPermaLink="false">http://ahmedelbaz.com/?p=127</guid>
		<description><![CDATA[In some applications when we need to display large sets of data , Data Paging is our choice in order to improve the performance. For ASP.NET developers we can use Data Paging mechanism provided by the most of ASP.NET Data-bound Controls such as GridView. The default behavior of ASP.NET Data Controls is to bring the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=127&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In some applications when we need to display large sets of data , Data Paging is our choice in order to improve the performance. For ASP.NET developers we can use Data Paging mechanism provided by the most of ASP.NET Data-bound Controls such as GridView.</p>
<p>The default behavior of ASP.NET Data Controls is to bring the complete data set and do the paging at the application server side. This will led to network overload and server memory consuming every time user requests new data page.</p>
<p>Paging at the database level is mostly the best way to optimize the performance. The idea behind database level paging is to build the appropriate SQL query which brings the needed data page rather than the complete data set.</p>
<p><a href="http://msdn.microsoft.com/en-us/library/aa697427%28VS.80%29.aspx" target="_blank">Entity Framework</a> and <a href="http://msdn.microsoft.com/en-us/library/bb425822.aspx" target="_blank">LINQ to SQL</a> provide developers with the ability to extend their SQL generator functionality to build paging enabled queries through extending <a href="http://msdn.microsoft.com/en-us/library/bb351562.aspx" target="_blank">IQueryable&lt;T&gt;</a> interface implementation.</p>
<p>Here is the IQueryable&lt;T&gt; function as described in <a href="http://msdn.microsoft.com/en-us/library/bb351562.aspx" target="_blank">MSDN</a>:</p>
<blockquote><p>The IQueryable&lt;T&gt; interface enables queries to be polymorphic. That is, because a query against an <strong>IQueryable</strong> data source is represented as an expression tree, it can be executed against different types of data sources.</p></blockquote>
<p>In this article, I am going to create a new <a href="http://msdn.microsoft.com/en-us/library/bb383977.aspx" target="_blank">Extended Method</a> to offer Paging functionality to Entity Framework and LINQ to SQL query providers.</p>
<p>After this is completed we should be able to use Page method as the below figure shows</p>
<p><a href="http://ahmadelbaz.files.wordpress.com/2010/05/page-autocomplete.png"><img style="border:0 none;" src="http://ahmadelbaz.files.wordpress.com/2010/05/page-autocomplete.png?w=600" border="0" alt="" /></a></p>
<p><strong>Page Method Signature</strong></p>
<p><pre class="brush: csharp;">
public static IQueryable&lt;T&gt; Page&lt;T, TResult&gt; (this IQueryable&lt;T&gt; query,
                                              int pageNum, int pageSize,
                                              Expression&lt;Func&lt;T, TResult&gt;&gt; orderByProperty,
                                              bool isAscendingOrder,
                                              out int rowsCount
                                             )
</pre></p>
<p>Page method takes 2 generic types <strong>T </strong>and <strong>TResult</strong>. T is the type of the data in the data source to be paged and TResult is the return value of the method encapsulated by <a href="http://msdn.microsoft.com/en-us/library/bb549151.aspx" target="_blank">Func&lt;T, TResult&gt; Delegate</a>.</p>
<p><strong>query </strong>parameter is the <a href="http://msdn.microsoft.com/en-us/library/bb345303.aspx" target="_blank">Object Query</a> where paging should be applied, <strong>pageNum </strong>parameter is the data page to retrieve, <strong>pageSize</strong> is the number of rows to be retrieved per data page, <strong>orderByProperty</strong> is the T type property to sorted by and it is defined as a <a href="http://msdn.microsoft.com/en-us/library/bb335710.aspx" target="_blank">Lambda Expression</a> to avoid passing <strong>orderByProperty</strong> parameter as a string, <strong>isAscendingOrder</strong> identifies if the sorting is ASC or DESC and  <strong>rowsCount</strong> is the count of rows in the complete data set. this will help on creating UI <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.datapager.aspx" target="_blank">Data Pager</a> in the <a href="http://www.exforsys.com/tutorials/application-development/n-tier-architecture-presentation-logic-layer.html" target="_blank">Presentation Layer</a></p>
<p><strong>rowsCount</strong> parameter is defined as <a href="http://msdn.microsoft.com/en-us/library/t3c3bfhx%28VS.80%29.aspx" target="_blank">out</a> which requires <strong>rowsCount</strong> to be assigned to a value before the Page method returns.</p>
<p><strong>Page Method Implementation</strong></p>
<p>First off, I am validating the parameters as the following:</p>
<p><strong>pageSize</strong> should be greater than zero, otherwise an <a href="http://msdn.microsoft.com/en-us/library/system.argumentoutofrangeexception.aspx" target="_blank">Argument Out Of Range Exception</a> thrown or a default value provided. The default value might be the <strong>rowsCount</strong> or a data page size predefined. In this example I’ll use 20 as the default page size.</p>
<p><strong>pageNum </strong>should be greater than zero, otherwise <strong>pageNum</strong> is defined as 1. In case of <strong>pageSize</strong> is greater than or equals to <strong>rowsCount</strong>, 1 will be used as the <strong>pageNum</strong>.</p>
<p>I will use the query providers <strong><a href="http://msdn.microsoft.com/en-us/library/bb300906.aspx" target="_blank">Take</a></strong>, <strong><a href="http://msdn.microsoft.com/en-us/library/bb357513.aspx" target="_blank">Skip</a></strong> and <strong><a href="http://msdn.microsoft.com/en-us/library/bb549264.aspx" target="_blank">OrderBy</a></strong> methods to get the correct data page according to the current page number and page size.</p>
<p>Let’s show how Skip and Take methods differ when mapped to SQL code. I am using <a href="http://linqpad.net/" target="_blank">LINQPad</a> to get the equivalent SQL code.</p>
<p>If we write the below code</p>
<p><pre class="brush: csharp;"> Customers.Take(5)</pre></p>
<p>Equivalent SQL code looks like</p>
<p><pre class="brush: sql;"> SELECT TOP (5) [t0].[ID], [t0].[Name]
FROM [Customers] AS [t0]
</pre></p>
<p>And for</p>
<p><pre class="brush: csharp;"> Customers.Skip(5)</pre></p>
<p>The result is</p>
<p><pre class="brush: sql;">
-- Region Parameters
DECLARE @p0 Int SET @p0 = 5
-- EndRegion
SELECT [t1].[ID], [t1].[Name]
FROM (
    SELECT ROW_NUMBER() OVER (ORDER BY [t0].[ID], [t0].[Name]) AS [ROW_NUMBER], [t0].[ID], [t0].[Name]
    FROM [Customers] AS [t0]
    ) AS [t1]
WHERE [t1].[ROW_NUMBER] &gt; @p0
ORDER BY [t1].[ROW_NUMBER]
</pre></p>
<p><strong>Page Method Complete Code</strong></p>
<p><pre class="brush: csharp;">
public static IQueryable&lt;T&gt; Page&lt;T, TResult&gt;(this IQueryable&lt;T&gt; query,
                        int pageNum, int pageSize,
                        Expression&lt;Func&lt;T, TResult&gt;&gt; orderByProperty,
                        bool isAscendingOrder, out int rowsCount)
{
    if (pageSize &lt;= 0) pageSize = 20;

    rowsCount = query.Count();

    if (rowsCount &lt;= pageSize || pageNum &lt;= 0) pageNum = 1;

    int excludedRows = (pageNum - 1) * pageSize;

    if (isAscendingOrder)
        query = query.OrderBy(orderByProperty);
    else
        query = query.OrderByDescending(orderByProperty);

    return query.Skip(excludedRows).Take(pageSize);
}
</pre></p>
<p><strong>excludedRows </strong>is the set of rows should be skipped using Skip method and computed as <strong>pageSize</strong> multiplied by (<strong>pageNum</strong> – 1)</p>
<p>I’d like to know your suggestions…</p>
<p><a rev="vote-for" href="http://dotnetshoutout.com/Entity-Framework-and-LINQ-to-SQL-Paging-Ahmed-Elbazs-Blog"><img alt="Shout it" src="http://dotnetshoutout.com/image.axd?url=http%3A%2F%2Fahmedelbaz.com%2F2010%2F05%2F03%2Fentity-framework-and-linq-to-sql-paging%2F" style="border:0;" /></a> <a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f05%2f03%2fentity-framework-and-linq-to-sql-paging%2f"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f05%2f03%2fentity-framework-and-linq-to-sql-paging%2f" border="0" alt="kick it on DotNetKicks.com" /></a> <a title="Add to Twitter" rel="nofollow" href="http://twitter.com/home/?status=%23EntityFramework%20Paging+http://ahmedelbaz.com/2010/05/03/entity-framework-and-linq-to-sql-paging/%20%40AhmedElbaz" target="_blank">Retweet</a></p>
<br />Filed under: <a href='http://ahmedelbaz.com/category/c/'>C#</a>, <a href='http://ahmedelbaz.com/category/entity-framework-2/'>Entity Framework</a> Tagged: <a href='http://ahmedelbaz.com/tag/entity-framework/'>Entity Framework</a>, <a href='http://ahmedelbaz.com/tag/linq-to-sql/'>LINQ to SQL</a>, <a href='http://ahmedelbaz.com/tag/paging/'>Paging</a>, <a href='http://ahmedelbaz.com/tag/skip/'>Skip()</a>, <a href='http://ahmedelbaz.com/tag/take/'>Take()</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahmadelbaz.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahmadelbaz.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahmadelbaz.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahmadelbaz.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahmadelbaz.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahmadelbaz.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahmadelbaz.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahmadelbaz.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahmadelbaz.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahmadelbaz.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahmadelbaz.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahmadelbaz.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahmadelbaz.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahmadelbaz.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=127&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahmedelbaz.com/2010/05/03/entity-framework-and-linq-to-sql-paging/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0060216d7c9f75736be67bdd868ccdd4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aelbaz</media:title>
		</media:content>

		<media:content url="http://ahmadelbaz.files.wordpress.com/2010/05/page-autocomplete.png" medium="image" />

		<media:content url="http://dotnetshoutout.com/image.axd?url=http%3A%2F%2Fahmedelbaz.com%2F2010%2F05%2F03%2Fentity-framework-and-linq-to-sql-paging%2F" medium="image">
			<media:title type="html">Shout it</media:title>
		</media:content>

		<media:content url="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f05%2f03%2fentity-framework-and-linq-to-sql-paging%2f" medium="image">
			<media:title type="html">kick it on DotNetKicks.com</media:title>
		</media:content>
	</item>
		<item>
		<title>Visual Studio 2010 Report Designer doesn&#8217;t support SSRS 2005 format</title>
		<link>http://ahmedelbaz.com/2010/04/16/visual-studio-2010-report-designer-doesnt-support-ssrs-2005-format/</link>
		<comments>http://ahmedelbaz.com/2010/04/16/visual-studio-2010-report-designer-doesnt-support-ssrs-2005-format/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 19:32:25 +0000</pubDate>
		<dc:creator>Ahmed Elbaz</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[Multi-targeting]]></category>
		<category><![CDATA[RDLC]]></category>
		<category><![CDATA[Report Designer]]></category>
		<category><![CDATA[SSRS]]></category>
		<category><![CDATA[SSRS 2005]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://ahmedelbaz.com/?p=203</guid>
		<description><![CDATA[Note: This issue should be resolved by converting VS 2008 (SSRS 2005) RDLCs to VS 2010 (SSRS 2008) RDLCs and adding Microsoft.ReportViewer.WebForms.dll Version 10 reference to your .NET Framework 3.5 project&#8217;s references instead of Version 9 Thanks to the Framework Multi-Targeting new feature of Visual Studio 2010 which enables .NET developers to develop .NET applications [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=203&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color:#ff0000;">Note: </span>This issue should be resolved by converting VS 2008 (SSRS 2005) RDLCs to VS 2010 (SSRS 2008) RDLCs and adding <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=a941c6b2-64dd-4d03-9ca7-4017a0d164fd&amp;displaylang=en">Microsoft.ReportViewer.WebForms.dll Version 10</a> reference to your .NET Framework 3.5 project&#8217;s references instead of Version 9</strong><br />
<br />
Thanks to the <a href="http://msdn.microsoft.com/en-us/library/bb398197%28VS.100%29.aspx">Framework Multi-Targeting</a> new feature of Visual Studio 2010 which enables .NET developers to develop .NET applications which target the previous versions of .NET Framework using Visual Studio 2010.</p>
<p>Based on this, I have decided to remove all previous Visual Studio versions and install Visual Studio 2010.</p>
<p>By the way, I have struggled to uninstall Visual Studio 2008. When I used the regular uninstall through Windows Control Panel. I have got a message which says something like <strong>&#8220;Can&#8217;t uninstall Visual Studio 2008&#8243;</strong>.</p>
<p>After few trials to find what is the wrong with my system, I did a quick search I found that this problem raised due to some Visual Studio 2008 hot fixes and updates which cannot be removed by the normal uninstall process. Therefore Microsoft provides <a href="http://go.microsoft.com/fwlink/?LinkId=105801">Auto Uninstall Tool</a> to completely remove Visual Studio 2008.</p>
<p>If you run this tool, the below screen will be displayed. just click Yes to start the cleaning process.</p>
<p><a href="http://ahmadelbaz.files.wordpress.com/2010/04/vs2008-uninstall.jpg"><img title="Visual Studio 2008 Auto Uninstall Tool" src="http://ahmadelbaz.files.wordpress.com/2010/04/vs2008-uninstall.jpg?w=600" alt="" /></a></p>
<p>Let&#8217;s get back to the main reason I did this blog post for. I used Visual Studio 2010 to open ASP.NET application developed using .NET Framework 3.5. I got the below message when I tried to open RDLC report.</p>
<p><a href="http://ahmadelbaz.files.wordpress.com/2010/04/rdlc-convert.png"><img title="RDLC 2005 conversion to RDLC 2008 prompt" src="http://ahmadelbaz.files.wordpress.com/2010/04/rdlc-convert.png?w=600" alt="" /></a></p>
<p>This message asks if I want to convert RDLC report format to 2008. After I canceled the conversion, the report designer showed<strong> &#8220;The version of the report definition language (RDL) is not support by Visual Studio 2010 Report Designer&#8221;</strong> message as you can see at the following figure</p>
<p><a href="http://ahmadelbaz.files.wordpress.com/2010/04/rdlc-cancel-convert.png"><img title="RDLC 2005 is not supported by Report Designer 2010" src="http://ahmadelbaz.files.wordpress.com/2010/04/rdlc-cancel-convert.png?w=600" alt="" /></a></p>
<p>This problem happens due to Visual Studio 2008 Report Designer uses SQL Server Reporting Service (SSRS) 2005 format to work with RDLC reports and Visual Studio 2010 uses SSRS 2008 format.</p>
<p>It supposed that Report Designer 2010 has the ability to open and edit the previous RDLC formats for the sake of back compatibility.</p>
<p>I recalled that after SSRS 2008 was released, developers were not able to create RDLC reports in 2008 format and the reason of that is Visual Studio 2008 released before SQL Server 2008!.</p>
<p>However, I still have the ability to convert the report to RDLC 2008 format which is weird. .NET Framework 3.5 &#8220;Microsoft Report Viewer&#8221; control doesn&#8217;t support RDLC 2008 format in Local mode.</p>
<p>The following figure shows the message you&#8217;ll get if you try to run RDLC 2008 report under .NET Framework 3.5.</p>
<p><a href="http://ahmadelbaz.files.wordpress.com/2010/04/invalid-rdlc.png"><img title=".NET Framework 3.5 Report Viewer does not support RDLC 2008" src="http://ahmadelbaz.files.wordpress.com/2010/04/invalid-rdlc.png?w=600" alt="" /></a></p>
<p>The question here is: Why I can convert RDLC 2005 to RDLC 2008 whereas I still use .NET Framework 3.5?!</p>
<p><a rev="vote-for" href="http://dotnetshoutout.com/Visual-Studio-2010-Report-Designer-doesnt-support-SSRS-2005-format-Ahmed-Elbazs-Blog"><img src="http://dotnetshoutout.com/image.axd?url=http%3A%2F%2Fahmedelbaz.com%2F2010%2F04%2F16%2Fvisual-studio-2010-report-designer-doesnt-support-ssrs-2005-format%2F" alt="Shout it" /></a> <a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f04%2f16%2fvisual-studio-2010-report-designer-doesnt-support-ssrs-2005-format%2f"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f04%2f16%2fvisual-studio-2010-report-designer-doesnt-support-ssrs-2005-format%2f" border="0" alt="kick it on DotNetKicks.com" /></a> <a title="Add to Twitter" rel="nofollow" href="http://twitter.com/home/?status=%23VS2010%20Report%20Designer+http://ahmedelbaz.com/2010/04/16/visual-studio-2010-report-designer-doesnt-support-ssrs-2005-format/%20%40AhmedElbaz" target="_blank">Retweet</a></p>
<br />Filed under: <a href='http://ahmedelbaz.com/category/asp-net/'>ASP.NET</a>, <a href='http://ahmedelbaz.com/category/sql-server/'>SQL Server</a> Tagged: <a href='http://ahmedelbaz.com/tag/net-framework/'>.Net Framework</a>, <a href='http://ahmedelbaz.com/tag/multi-targeting/'>Multi-targeting</a>, <a href='http://ahmedelbaz.com/tag/rdlc/'>RDLC</a>, <a href='http://ahmedelbaz.com/tag/report-designer/'>Report Designer</a>, <a href='http://ahmedelbaz.com/tag/ssrs/'>SSRS</a>, <a href='http://ahmedelbaz.com/tag/ssrs-2005/'>SSRS 2005</a>, <a href='http://ahmedelbaz.com/tag/visual-studio-2010/'>Visual Studio 2010</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahmadelbaz.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahmadelbaz.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahmadelbaz.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahmadelbaz.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahmadelbaz.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahmadelbaz.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahmadelbaz.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahmadelbaz.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahmadelbaz.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahmadelbaz.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahmadelbaz.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahmadelbaz.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahmadelbaz.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahmadelbaz.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=203&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahmedelbaz.com/2010/04/16/visual-studio-2010-report-designer-doesnt-support-ssrs-2005-format/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0060216d7c9f75736be67bdd868ccdd4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aelbaz</media:title>
		</media:content>

		<media:content url="http://ahmadelbaz.files.wordpress.com/2010/04/vs2008-uninstall.jpg" medium="image">
			<media:title type="html">Visual Studio 2008 Auto Uninstall Tool</media:title>
		</media:content>

		<media:content url="http://ahmadelbaz.files.wordpress.com/2010/04/rdlc-convert.png" medium="image">
			<media:title type="html">RDLC 2005 conversion to RDLC 2008 prompt</media:title>
		</media:content>

		<media:content url="http://ahmadelbaz.files.wordpress.com/2010/04/rdlc-cancel-convert.png" medium="image">
			<media:title type="html">RDLC 2005 is not supported by Report Designer 2010</media:title>
		</media:content>

		<media:content url="http://ahmadelbaz.files.wordpress.com/2010/04/invalid-rdlc.png" medium="image">
			<media:title type="html">.NET Framework 3.5 Report Viewer does not support RDLC 2008</media:title>
		</media:content>

		<media:content url="http://dotnetshoutout.com/image.axd?url=http%3A%2F%2Fahmedelbaz.com%2F2010%2F04%2F16%2Fvisual-studio-2010-report-designer-doesnt-support-ssrs-2005-format%2F" medium="image">
			<media:title type="html">Shout it</media:title>
		</media:content>

		<media:content url="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f04%2f16%2fvisual-studio-2010-report-designer-doesnt-support-ssrs-2005-format%2f" medium="image">
			<media:title type="html">kick it on DotNetKicks.com</media:title>
		</media:content>
	</item>
		<item>
		<title>Redmine, Bug Tracking and Flexible Project Management Tool</title>
		<link>http://ahmedelbaz.com/2010/04/11/redmine-bug-tracking-project-management/</link>
		<comments>http://ahmedelbaz.com/2010/04/11/redmine-bug-tracking-project-management/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 11:03:10 +0000</pubDate>
		<dc:creator>Ahmed Elbaz</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[BitNami]]></category>
		<category><![CDATA[Bug Tracking]]></category>
		<category><![CDATA[Gantt Chart]]></category>
		<category><![CDATA[Project Management]]></category>
		<category><![CDATA[Redmine]]></category>

		<guid isPermaLink="false">http://ahmedelbaz.com/?p=161</guid>
		<description><![CDATA[A while ago, me and some of my colleagues were talking about Bug Tracking systems in order to enhance and enforce Quality Assurance and to have a well-organized and easy to use bug reporting and monitoring tool. There are many open source web-based bug tracking systems such as Bugzilla, Trac, BugTracker.NET and more &#8230; Some [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=161&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A while ago, me and some of my colleagues were talking about <a href="http://en.wikipedia.org/wiki/Bugtracker">Bug Tracking</a> systems in order to enhance and enforce <a href="http://en.wikipedia.org/wiki/Quality_assurance">Quality Assurance</a> and to have a well-organized and easy to use bug reporting and monitoring tool.</p>
<p>There are many open source web-based bug tracking systems such as <a href="http://www.bugzilla.org/">Bugzilla</a>, <a href="http://trac.edgewall.org/">Trac</a>, <a href="http://ifdefined.com/bugtrackernet.html">BugTracker.NET</a> and more &#8230;</p>
<p>Some of bug and issue tracking systems extend its functionality to cover Project Management area such as <a href="http://www.redmine.org/">Redmine</a>.</p>
<p>You might take a look at <a href="http://en.wikipedia.org/wiki/Comparison_of_issue_tracking_systems">comparison of issue tracking systems</a>.</p>
<p>As my team already has installed Redmine, In this article, I&#8217;m going to summarize its features.</p>
<p><a href="http://www.redmine.org/">Redmine</a> is free, open source and cross-platform Bug Tracking and Project Management tool developed using <a href="http://rubyonrails.org/">Ruby on Rails </a>. It provides features like <a href="http://en.wikipedia.org/wiki/Gantt_chart">Gantt chart</a> and Calendar to manage project schedule, start and end dates of project&#8217;s elements, show dependencies and that stuff related to project management.</p>
<p>I quoted Redmine&#8217;s features as it mentioned in Redmine <a href="http://www.redmine.org/">web site</a>:</p>
<p>    *  Multiple projects support<br />
    * Flexible role based access control<br />
    * Flexible issue tracking system<br />
    * Gantt chart and calendar<br />
    * News, documents &amp; files management<br />
    * Feeds &amp; email notifications<br />
    * Per project wiki<br />
    * Per project forums<br />
    * Time tracking<br />
    * Custom fields for issues, time-entries, projects and users<br />
    * SCM integration (SVN, CVS, Git, Mercurial, Bazaar and Darcs)<br />
    * Issue creation via email<br />
    * Multiple LDAP authentication support<br />
    * User self-registration support<br />
    * Multilanguage support<br />
    * Multiple databases support</p>
<p>You can find more information about these features through <a href="http://www.redmine.org/wiki/redmine/Features">Redmine features</a> and an online demo <a href="http://demo.redmine.org">here</a>.</p>
<p>Redmine can be deployed using a native installer, as a virtual machine, in the cloud or as a module  over an already installed infrastructure Stack as described in <a href="http://bitnami.org/stack/redmine">BitNami Redmine Stack</a>.</p>
<p>Bug Bug!</p>
<p><a rev="vote-for" href="http://dotnetshoutout.com/Redmine-Bug-Tracking-and-Flexible-Project-Management-Tool-Ahmed-Elbazs-Blog"><img alt="Shout it" src="http://dotnetshoutout.com/image.axd?url=http%3A%2F%2Fahmedelbaz.com%2F2010%2F04%2F11%2Fredmine-bug-tracking-project-management%2F" style="border:0;" /></a> <a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f04%2f11%2fredmine-bug-tracking-project-management%2f"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f04%2f11%2fredmine-bug-tracking-project-management%2f" border="0" alt="kick it on DotNetKicks.com" /></a>  <a title="Add to Twitter" rel="nofollow" href="http://twitter.com/home/?status=%23Redmine%20Bug%20Tracking%20and%20Project%20Management%20Tool+http://ahmedelbaz.com/2010/04/11/redmine-bug-tracking-project-management/%20%40AhmedElbaz" target="_blank">Retweet</a></p>
<br />Filed under: <a href='http://ahmedelbaz.com/category/general/'>General</a> Tagged: <a href='http://ahmedelbaz.com/tag/bitnami/'>BitNami</a>, <a href='http://ahmedelbaz.com/tag/bug-tracking/'>Bug Tracking</a>, <a href='http://ahmedelbaz.com/tag/gantt-chart/'>Gantt Chart</a>, <a href='http://ahmedelbaz.com/tag/project-management/'>Project Management</a>, <a href='http://ahmedelbaz.com/tag/redmine/'>Redmine</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahmadelbaz.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahmadelbaz.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahmadelbaz.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahmadelbaz.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahmadelbaz.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahmadelbaz.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahmadelbaz.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahmadelbaz.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahmadelbaz.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahmadelbaz.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahmadelbaz.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahmadelbaz.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahmadelbaz.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahmadelbaz.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=161&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahmedelbaz.com/2010/04/11/redmine-bug-tracking-project-management/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0060216d7c9f75736be67bdd868ccdd4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aelbaz</media:title>
		</media:content>

		<media:content url="http://dotnetshoutout.com/image.axd?url=http%3A%2F%2Fahmedelbaz.com%2F2010%2F04%2F11%2Fredmine-bug-tracking-project-management%2F" medium="image">
			<media:title type="html">Shout it</media:title>
		</media:content>

		<media:content url="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f04%2f11%2fredmine-bug-tracking-project-management%2f" medium="image">
			<media:title type="html">kick it on DotNetKicks.com</media:title>
		</media:content>
	</item>
		<item>
		<title>Snowboarding, What a Pleasure?</title>
		<link>http://ahmedelbaz.com/2010/04/10/snowboarding/</link>
		<comments>http://ahmedelbaz.com/2010/04/10/snowboarding/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 19:13:23 +0000</pubDate>
		<dc:creator>Ahmed Elbaz</dc:creator>
				<category><![CDATA[Personel]]></category>
		<category><![CDATA[Mall of Emirates]]></category>
		<category><![CDATA[Ski]]></category>
		<category><![CDATA[Ski Dubai]]></category>
		<category><![CDATA[Snowboarding]]></category>

		<guid isPermaLink="false">http://ahmedelbaz.com/?p=147</guid>
		<description><![CDATA[Since around 4 or 5 months, I went through discovery session to learn the basics of snowboarding in Ski Dubai. Ski Dubai is an indoor ski resort with 22,500 square meters of indoor ski area which is located in Dubai, UAE as a part of Mall of the Emirates. I recalled this trip during surfing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=147&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Since around 4 or 5 months, I went through discovery session to learn the basics of snowboarding in <a href="http://www.skidxb.com">Ski Dubai</a>.</p>
<p>Ski Dubai is an indoor ski resort with 22,500 square meters of indoor ski area which is located in Dubai, UAE as a part of <a href="http://www.malloftheemirates.com/moe/Default.aspx">Mall of the Emirates</a>.</p>
<p>I recalled this trip during surfing my photos tonight and I just want to share some of them with you.</p>
<p><a href="http://ahmadelbaz.files.wordpress.com/2010/04/ahmed-elbaz-ski-1.jpg"><img class="alignnone size-medium wp-image-177" title="Ahmed Elbaz Ski Trip" src="http://ahmadelbaz.files.wordpress.com/2010/04/ahmed-elbaz-ski-1.jpg?w=500&#038;h=400" alt="" width="500" height="400" /></a><br />
<a href="http://ahmadelbaz.files.wordpress.com/2010/04/ahmed-elbaz-ski-2.jpg"></a></p>
<p><a href="http://ahmadelbaz.files.wordpress.com/2010/04/ahmed-elbaz-ski-2.jpg"><img class="alignnone size-medium wp-image-178" title="Ahmed Elbaz Ski Trip" src="http://ahmadelbaz.files.wordpress.com/2010/04/ahmed-elbaz-ski-2.jpg?w=500&#038;h=400" alt="" width="500" height="400" /></a><br />
<a href="http://ahmadelbaz.files.wordpress.com/2010/04/ahmed-elbaz-ski.jpg"></a></p>
<p><a href="http://ahmadelbaz.files.wordpress.com/2010/04/ahmed-elbaz-ski.jpg"><img class="alignnone size-medium wp-image-179" title="Ahmed Elbaz Ski Trip" src="http://ahmadelbaz.files.wordpress.com/2010/04/ahmed-elbaz-ski.jpg?w=400&#038;h=500" alt="" width="400" height="500" /></a></p>
<br />Filed under: <a href='http://ahmedelbaz.com/category/personel/'>Personel</a> Tagged: <a href='http://ahmedelbaz.com/tag/mall-of-emirates/'>Mall of Emirates</a>, <a href='http://ahmedelbaz.com/tag/ski/'>Ski</a>, <a href='http://ahmedelbaz.com/tag/ski-dubai/'>Ski Dubai</a>, <a href='http://ahmedelbaz.com/tag/snowboarding/'>Snowboarding</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahmadelbaz.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahmadelbaz.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahmadelbaz.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahmadelbaz.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahmadelbaz.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahmadelbaz.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahmadelbaz.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahmadelbaz.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahmadelbaz.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahmadelbaz.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahmadelbaz.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahmadelbaz.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahmadelbaz.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahmadelbaz.wordpress.com/147/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=147&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahmedelbaz.com/2010/04/10/snowboarding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0060216d7c9f75736be67bdd868ccdd4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aelbaz</media:title>
		</media:content>

		<media:content url="http://ahmadelbaz.files.wordpress.com/2010/04/ahmed-elbaz-ski-1.jpg?w=300" medium="image">
			<media:title type="html">Ahmed Elbaz Ski Trip</media:title>
		</media:content>

		<media:content url="http://ahmadelbaz.files.wordpress.com/2010/04/ahmed-elbaz-ski-2.jpg?w=300" medium="image">
			<media:title type="html">Ahmed Elbaz Ski Trip</media:title>
		</media:content>

		<media:content url="http://ahmadelbaz.files.wordpress.com/2010/04/ahmed-elbaz-ski.jpg?w=225" medium="image">
			<media:title type="html">Ahmed Elbaz Ski Trip</media:title>
		</media:content>
	</item>
		<item>
		<title>Working Hours Monthly</title>
		<link>http://ahmedelbaz.com/2010/04/08/month-working-hours/</link>
		<comments>http://ahmedelbaz.com/2010/04/08/month-working-hours/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 11:16:47 +0000</pubDate>
		<dc:creator>Ahmed Elbaz</dc:creator>
				<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://ahmedelbaz.com/?p=148</guid>
		<description><![CDATA[ language="css"]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=148&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Organizations always try to manage their employees performance to make do of them which will lead to increased revenue and customer trustworthy.</p>
<p>I am working now on such application called Time Capturing System (TCS). TCS allows employees to charge their time against a project from their profiles.</p>
<p>TCS ends up with some complicated reports such as Cost Recovery Tool (CRT) and some Utilization Reports. Therefore, I need to compute the working hours for every month.</p>
<p>I wrote a method named <strong>MonthWorkingHours</strong>. The method assumes that Weekend days are Friday and Saturday and Working Hours per day is 8 hours, So working hours per month = Business days * Working hours per day.</p>
<p><strong>MonthWorkingHours</strong> takes year and month as parameters and returns month working hours as Int.</p>
<p><strong>Note </strong>that you might need to pass working hours per day and weekend days to the method which I ignored here for the sake of simplicity.</p>
<p><pre class="brush: csharp;">
public int MonthWorkingHours(int year, int month)
{
 // days in month
 int monthDays = DateTime.DaysInMonth(year,month);
 //month end date
 DateTime endDate = new DateTime(year,month,monthDays);
 //current day by default is the start date
 DateTime currentDay = new DateTime(year, month, 1);

 int workingDays = 0;
 //check if the current day is weekend day
 while (currentDay &lt;= endDate)
 {
  if (currentDay.DayOfWeek != DayOfWeek.Friday &amp;&amp;
      currentDay.DayOfWeek != DayOfWeek.Saturday)
  {
   workingDays++;
  }

 currentDay = currentDay.AddDays(1);
 }

 return workingDays * 8; // 8 is working hours per day
}
</pre></p>
<p>This is not the complete story, you might need to exclude Public Holidays from the business days and the like.</p>
<p>Happy Weekend&#8230;</p>
<p><a rev="vote-for" href="http://dotnetshoutout.com/Working-Hours-Monthly-Ahmed-Elbazs-Blog"><img alt="Shout it" src="http://dotnetshoutout.com/image.axd?url=http%3A%2F%2Fahmedelbaz.com%2F2010%2F04%2F08%2Fmonth-working-hours%2F" style="border:0;" /></a> <a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f04%2f08%2fmonth-working-hours%2f"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f04%2f08%2fmonth-working-hours%2f" border="0" alt="kick it on DotNetKicks.com" /></a>  <a title="Add to Twitter" rel="nofollow" href="http://twitter.com/home/?status=Monthly%20Working%20Hours+http://ahmedelbaz.com/2010/04/08/month-working-hours/%20%40AhmedElbaz" target="_blank">Retweet</a></p>
<br />Filed under: <a href='http://ahmedelbaz.com/category/c/'>C#</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahmadelbaz.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahmadelbaz.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahmadelbaz.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahmadelbaz.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahmadelbaz.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahmadelbaz.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahmadelbaz.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahmadelbaz.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahmadelbaz.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahmadelbaz.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahmadelbaz.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahmadelbaz.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahmadelbaz.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahmadelbaz.wordpress.com/148/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=148&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahmedelbaz.com/2010/04/08/month-working-hours/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0060216d7c9f75736be67bdd868ccdd4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aelbaz</media:title>
		</media:content>

		<media:content url="http://dotnetshoutout.com/image.axd?url=http%3A%2F%2Fahmedelbaz.com%2F2010%2F04%2F08%2Fmonth-working-hours%2F" medium="image">
			<media:title type="html">Shout it</media:title>
		</media:content>

		<media:content url="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fahmedelbaz.com%2f2010%2f04%2f08%2fmonth-working-hours%2f" medium="image">
			<media:title type="html">kick it on DotNetKicks.com</media:title>
		</media:content>
	</item>
		<item>
		<title>Real Time Web Analytics</title>
		<link>http://ahmedelbaz.com/2010/04/06/real-time-web-analytics/</link>
		<comments>http://ahmedelbaz.com/2010/04/06/real-time-web-analytics/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 19:19:30 +0000</pubDate>
		<dc:creator>Ahmed Elbaz</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Real time web analytics]]></category>
		<category><![CDATA[web analytics]]></category>

		<guid isPermaLink="false">http://ahmedelbaz.com/?p=128</guid>
		<description><![CDATA[Awesome! once you register in http://getclicky.com you&#8217;ll take advantage of real time tracking your web site&#8217;s traffic. Also you can display its stats on your web site as a widget. Free account provides only tracking of one web site. Filed under: Web Tagged: Real time web analytics, web analytics<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=128&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Awesome! once you register in <a href="http://getclicky.com">http://getclicky.com</a> you&#8217;ll take advantage of real time tracking your web site&#8217;s traffic.<br />
Also you can display its stats on your web site as a widget.<br />
Free account provides only tracking of one web site.</p>
<br />Filed under: <a href='http://ahmedelbaz.com/category/web/'>Web</a> Tagged: <a href='http://ahmedelbaz.com/tag/real-time-web-analytics/'>Real time web analytics</a>, <a href='http://ahmedelbaz.com/tag/web-analytics/'>web analytics</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahmadelbaz.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahmadelbaz.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahmadelbaz.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahmadelbaz.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahmadelbaz.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahmadelbaz.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahmadelbaz.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahmadelbaz.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahmadelbaz.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahmadelbaz.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahmadelbaz.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahmadelbaz.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahmadelbaz.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahmadelbaz.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=128&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahmedelbaz.com/2010/04/06/real-time-web-analytics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0060216d7c9f75736be67bdd868ccdd4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aelbaz</media:title>
		</media:content>
	</item>
		<item>
		<title>Format Your Code to Publish on Web</title>
		<link>http://ahmedelbaz.com/2010/04/06/format-csharp-code/</link>
		<comments>http://ahmedelbaz.com/2010/04/06/format-csharp-code/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 17:40:14 +0000</pubDate>
		<dc:creator>Ahmed Elbaz</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Csharp]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Format Code]]></category>

		<guid isPermaLink="false">http://ahmedelbaz.com/?p=126</guid>
		<description><![CDATA[When we write code such as C# to publish on our blogs or web sites, it&#8217;s better to format it using CSS and HTML instead of screen-shot the code. this provides copy and paste functionality. The best way is to automate the process of formatting the code. Most of forums, blogs and web sites provide [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=126&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When we write code such as C# to publish on our blogs or web sites, it&#8217;s better to format it using CSS and HTML instead of screen-shot the code. this provides copy and paste functionality.</p>
<p>The best way is to automate the process of formatting the code. Most of forums, blogs and web sites provide some specific tags to format your code, but if no we need to find a work-around to achieve this.</p>
<p>After a quick search on the web I found <a href="http://www.manoli.net/csharpformat/">web site</a> which provides such functionality for C#, VB, T-SQL, ASPX, XML and HTML along with options such as line numbers, alternate line background and embed style-sheet.</p>
<p>You can also download <a href="http://www.manoli.net/csharpformat/CSharpFormat.zip">.Net Source Code</a> for this application and extent the functionality. for example I needed to format my code with Inline CSS style.</p>
<p>Also there are some helpful tools such as <a href="http://daringfireball.net/projects/markdown/">Markdown</a></p>
<p>Happy Styling&#8230;</p>
<br />Filed under: <a href='http://ahmedelbaz.com/category/general/'>General</a> Tagged: <a href='http://ahmedelbaz.com/tag/csharp/'>Csharp</a>, <a href='http://ahmedelbaz.com/tag/css/'>CSS</a>, <a href='http://ahmedelbaz.com/tag/format-code/'>Format Code</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahmadelbaz.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahmadelbaz.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahmadelbaz.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahmadelbaz.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahmadelbaz.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahmadelbaz.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahmadelbaz.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahmadelbaz.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahmadelbaz.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahmadelbaz.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahmadelbaz.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahmadelbaz.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahmadelbaz.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahmadelbaz.wordpress.com/126/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=126&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahmedelbaz.com/2010/04/06/format-csharp-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0060216d7c9f75736be67bdd868ccdd4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aelbaz</media:title>
		</media:content>
	</item>
		<item>
		<title>Tweet to Email</title>
		<link>http://ahmedelbaz.com/2010/04/06/tweet-to-email/</link>
		<comments>http://ahmedelbaz.com/2010/04/06/tweet-to-email/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 16:17:58 +0000</pubDate>
		<dc:creator>Ahmed Elbaz</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[tweet to email]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://ahmedelbaz.com/?p=125</guid>
		<description><![CDATA[My friend Ali Bin Yahia has taken a good step to extend Twitter functionality. Ali published his new web site Tweet to Email which will enable Twitter users to send tweets to their Non-Twitter friends. Tweet to Email enables its users to add groups. each group of them would contain a list of emails and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=125&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My friend <a href="http://twitter.com/binyahia">Ali Bin Yahia</a> has taken a good step to extend <a href="http://twitter.com">Twitter </a> functionality. Ali published his new web site <a href="http://www.tweettoemail.com/">Tweet to Email</a> which will enable Twitter users to send tweets to their Non-Twitter friends.<br />
Tweet to Email enables its users to add groups. each group of them would contain a list of emails and tagged by predefined hash tags such as #TM1.<br />
You need to add your Twitter Id to your Tweet to Email profile and to add the right hash tag to your tweet.<br />
Tweet to Email checks Twitter every 2 minutes. Messages would be sent based on Twitter Id and the Hash Tag mentioned in the tweet.</p>
<div id="attachment_130" class="wp-caption alignnone" style="width: 510px"><a href="http://ahmadelbaz.files.wordpress.com/2010/04/tweet-to-email.png"><img class="size-medium wp-image-130  " title="tweet-to-email" src="http://ahmadelbaz.files.wordpress.com/2010/04/tweet-to-email.png?w=500&#038;h=300" alt="" width="500" height="300" /></a><p class="wp-caption-text">Tweet to Email</p></div>
<br />Filed under: <a href='http://ahmedelbaz.com/category/general/'>General</a> Tagged: <a href='http://ahmedelbaz.com/tag/tweet-to-email/'>tweet to email</a>, <a href='http://ahmedelbaz.com/tag/twitter/'>twitter</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ahmadelbaz.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ahmadelbaz.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ahmadelbaz.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ahmadelbaz.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ahmadelbaz.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ahmadelbaz.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ahmadelbaz.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ahmadelbaz.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ahmadelbaz.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ahmadelbaz.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ahmadelbaz.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ahmadelbaz.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ahmadelbaz.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ahmadelbaz.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ahmedelbaz.com&amp;blog=12777116&amp;post=125&amp;subd=ahmadelbaz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ahmedelbaz.com/2010/04/06/tweet-to-email/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0060216d7c9f75736be67bdd868ccdd4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aelbaz</media:title>
		</media:content>

		<media:content url="http://ahmadelbaz.files.wordpress.com/2010/04/tweet-to-email.png?w=300" medium="image">
			<media:title type="html">tweet-to-email</media:title>
		</media:content>
	</item>
	</channel>
</rss>
