<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Elsehemy Junior on .Net</title>
        <link>http://geekswithblogs.net/elsehemyJr/Default.aspx</link>
        <description>All about dotNet</description>
        <language>en-US</language>
        <copyright>Amr Elsehemy</copyright>
        <managingEditor>aelsehemy@gmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <image>
            <title>Elsehemy Junior on .Net</title>
            <url>http://geekswithblogs.net/images/RSS2Image.gif</url>
            <link>http://geekswithblogs.net/elsehemyJr/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>jBlogMvc : part 3 Themable View Engine, Archive and Filtering by year, month and day</title>
            <category>jBlogMvc</category>
            <link>http://geekswithblogs.net/elsehemyJr/archive/2008/11/01/jblogmvc--part-3-themable-view-engine-archive-and-filtering.aspx</link>
            <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;NOTE: &lt;/strong&gt;In this series I build a blogengine using ASP.NET MVC and jQuery from scratch in order to learn more about these new technologies. If you haven't read the &lt;/em&gt;&lt;em&gt;&lt;a href="http://geekswithblogs.net/post/2008/09/21/Introducing-jBlogMvc.aspx"&gt;first post in this series, I would encourage you do to that first&lt;/a&gt;&lt;/em&gt;&lt;em&gt;, or check out &lt;/em&gt;&lt;em&gt;&lt;a href="http://geekswithblogs.net/category/jBlogMvc.aspx"&gt;the jBlogMvc category&lt;/a&gt;&lt;/em&gt;&lt;em&gt;. You can also always &lt;a href="http://feeds.feedburner.com/AmrElsehemyBlog"&gt;subscribe to the feeds&lt;/a&gt;.&lt;/em&gt; &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;jBlogMvc is converted to be used on &lt;strong&gt;ASP.NET MVC Beta 1&lt;/strong&gt; if you haven't downloaded it yet you can find it &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=A24D1E00-CD35-4F66-BAA0-2362BDDE0766&amp;amp;displaylang=en"&gt;here&lt;/a&gt;, to read about the changes and additions in the beta 1 I do recommend reading &lt;a href="http://weblogs.asp.net/scottgu/archive/2008/10/16/asp-net-mvc-beta-released.aspx"&gt;ScottGu's asp net mvc beta1 announcement&lt;/a&gt; if you haven't already read it.&lt;/p&gt;
&lt;p&gt;This part had witnessed a big change in project structure hence the new release of the beta1 and building a themable folder structure as shown in the pic.&lt;/p&gt;
&lt;p&gt;Continue this &lt;a href="http://amrelsehemy.net/post/2008/10/28/jBlogMvc-part-3-Themable-View-Engine-Archive-and-Filtering-by-year-month-and-day.aspx"&gt;article here&lt;/a&gt;.&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=126450"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=126450" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/elsehemyJr/aggbug/126450.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amr Elsehemy</dc:creator>
            <guid>http://geekswithblogs.net/elsehemyJr/archive/2008/11/01/jblogmvc--part-3-themable-view-engine-archive-and-filtering.aspx</guid>
            <pubDate>Sat, 01 Nov 2008 05:13:03 GMT</pubDate>
            <comments>http://geekswithblogs.net/elsehemyJr/archive/2008/11/01/jblogmvc--part-3-themable-view-engine-archive-and-filtering.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/elsehemyJr/comments/commentRss/126450.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/elsehemyJr/services/trackbacks/126450.aspx</trackback:ping>
        </item>
        <item>
            <title>jBlogMvc : part 2 Editing, Deleting, Paging Posts and Rss feeds</title>
            <category>jBlogMvc</category>
            <link>http://geekswithblogs.net/elsehemyJr/archive/2008/10/09/jblogmvc--part-2-editing-deleting-paging-posts-and-rss.aspx</link>
            <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;NOTE: &lt;/strong&gt;In this series I build a blogengine using ASP.NET MVC and jQuery from scratch in order to learn more about these new technologies. If you haven't read the &lt;/em&gt;&lt;em&gt;&lt;a href="http://geekswithblogs.net/post/2008/09/21/Introducing-jBlogMvc.aspx"&gt;first post in this series, I would encourage you do to that first&lt;/a&gt;&lt;/em&gt;&lt;em&gt;, or check out &lt;/em&gt;&lt;em&gt;&lt;a href="http://geekswithblogs.net/category/jBlogMvc.aspx"&gt;the jBlogMvc category&lt;/a&gt;&lt;/em&gt;&lt;em&gt;. You can also always &lt;a href="http://feeds.feedburner.com/AmrElsehemyBlog"&gt;subscribe to the feeds&lt;/a&gt;.&lt;/em&gt; &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;What about new features this part will cover : &lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;Configuration is saved in the database.  &lt;/li&gt;
    &lt;li&gt;Managing Posts (Editing, Deleting).  &lt;/li&gt;
    &lt;li&gt;Posts are now paged.  &lt;/li&gt;
    &lt;li&gt;Some jquery magic is used. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So, lets have a tour in the project one more time. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://amrelsehemy.net/post/2008/10/05/jBlogMvc-part-2-editing-deleting-paging-posts-rss-feeds.aspx" target="_self"&gt;Read the complete article here.&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=125733"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=125733" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/elsehemyJr/aggbug/125733.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amr Elsehemy</dc:creator>
            <guid>http://geekswithblogs.net/elsehemyJr/archive/2008/10/09/jblogmvc--part-2-editing-deleting-paging-posts-and-rss.aspx</guid>
            <pubDate>Thu, 09 Oct 2008 19:08:57 GMT</pubDate>
            <comments>http://geekswithblogs.net/elsehemyJr/archive/2008/10/09/jblogmvc--part-2-editing-deleting-paging-posts-and-rss.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/elsehemyJr/comments/commentRss/125733.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/elsehemyJr/services/trackbacks/125733.aspx</trackback:ping>
        </item>
        <item>
            <title>jBlogMvc : part 1 Building the Administration Area</title>
            <category>jBlogMvc</category>
            <link>http://geekswithblogs.net/elsehemyJr/archive/2008/10/06/jblogmvc--part-1-building-the-administration-area.aspx</link>
            <description>&lt;blockquote&gt;
&lt;p&gt; 							&lt;em&gt;&lt;strong&gt;NOTE: &lt;/strong&gt;In this series I build a blogengine using ASP.NET MVC and jQuery from scratch in order to learn more about these new technologies. If you haven't read the &lt;/em&gt;&lt;em&gt;&lt;a href="http://geekswithblogs.net/post/2008/09/21/Introducing-jBlogMvc.aspx"&gt;first post in this series, I would encourage you do to that first&lt;/a&gt;&lt;/em&gt;&lt;em&gt;, or check out &lt;/em&gt;&lt;em&gt;&lt;a href="http://geekswithblogs.net/category/jBlogMvc.aspx"&gt;the jBlogMvc category&lt;/a&gt;&lt;/em&gt;&lt;em&gt;. You can also always &lt;a href="http://feeds.feedburner.com/AmrElsehemyBlog"&gt;subscribe to the feeds&lt;/a&gt;.&lt;/em&gt;						 	&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt; In this part of the series, I build the administration area of the blog engine I am building using the ASP.NET MVC and jQuery, in this part I will cover more basic features used in any blog engine, so lets get started.   &lt;/p&gt;
&lt;h3&gt;What will part 1 cover ?&lt;/h3&gt;
&lt;p&gt; Basically it will cover how to build an administration area, I chose the &lt;a href="http://wordpress.org"&gt;wordpress&lt;/a&gt; blog engine and tried to clone its structure and some look and feel of it, the operations I will implement in this part will be : &lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Visitor
    &lt;ul&gt;
        &lt;li&gt;Login -- I will just reuse the code available with the default project template for membership stuff.&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Admin
    &lt;ul&gt;
        &lt;li&gt;Logout  &lt;/li&gt;
        &lt;li&gt;Add Post&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; The stuff I collected and used all over the net from blogs and used in this part can be summarized in the following, &lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;Using membership for validation  &lt;/li&gt;
    &lt;li&gt;Using the Authorize attribute  &lt;/li&gt;
    &lt;li&gt;Using Model Binders  &lt;/li&gt;
    &lt;li&gt;jQuery Client validation  &lt;/li&gt;
    &lt;li&gt;Small validation framework for business rules and server side validation.(originally written by scott gu)  &lt;/li&gt;
    &lt;li&gt;Using nested master pages in ASP.NET MVC  &lt;/li&gt;
    &lt;li&gt;Applying the &lt;a href="http://en.wikipedia.org/wiki/Post/Redirect/Get"&gt;"Post/Redirect/Get" (aka PRG) pattern&lt;/a&gt;.  &lt;/li&gt;
    &lt;li&gt;Applying some css to make it look nice (based on &lt;a href="http://wordpress.org"&gt;wordpress blogengine&lt;/a&gt; admin layout)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="http://amrelsehemy.net/post/2008/09/25/jBlogMvc-part-1-Building-the-Administration-Area.aspx"&gt;Read the full article here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=125661"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=125661" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/elsehemyJr/aggbug/125661.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amr Elsehemy</dc:creator>
            <guid>http://geekswithblogs.net/elsehemyJr/archive/2008/10/06/jblogmvc--part-1-building-the-administration-area.aspx</guid>
            <pubDate>Mon, 06 Oct 2008 21:54:48 GMT</pubDate>
            <comments>http://geekswithblogs.net/elsehemyJr/archive/2008/10/06/jblogmvc--part-1-building-the-administration-area.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/elsehemyJr/comments/commentRss/125661.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/elsehemyJr/services/trackbacks/125661.aspx</trackback:ping>
        </item>
        <item>
            <title>WiXing Around</title>
            <category>WiX</category>
            <link>http://geekswithblogs.net/elsehemyJr/archive/2007/07/26/wix-virtualdirectory.aspx</link>
            <description>While having my first steps towards learning &lt;a href="http://sourceforge.net/projects/wix/"&gt;WiX&lt;/a&gt; v.3, The first step was to read some of the tutorials over &lt;a href="http://www.tramontana.co.hu/wix/"&gt;here&lt;/a&gt;, then after downloading the samples I started exploring them to learn more. In my very first sample (named SampleWebDir) almost the simplest one although I had some troubles because the samples were built using the WiX v2 while I am trying to build it using v3. Simple changes had to be done inorder to make it built:
&lt;ol&gt;
    &lt;li&gt;Change the Wix Schema from &lt;br /&gt;
    xmlns='http://schemas.microsoft.com/wix/2003/01/wi'&lt;br /&gt;
    to xmlns='http://schemas.microsoft.com/wix/2006/wi' &lt;/li&gt;
    &lt;li&gt;Add Reference to the WixIIsExtension dll &lt;/li&gt;
    &lt;li&gt;Now inlcude the IIS namespace within the wxs file to be as : &lt;br /&gt;
    &amp;lt;wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"&amp;gt; &lt;/li&gt;
    &lt;li&gt;Prefix the web elements with the iis: to be like this &lt;br /&gt;
    &amp;lt;iis:WebVirtualDir&amp;gt;&lt;br /&gt;
    &amp;lt;iis:WebApplication&amp;gt;&lt;br /&gt;
    &amp;lt;iis:WebSite&amp;gt;&lt;br /&gt;
    &amp;lt;iis:WebAddress&amp;gt;&lt;br /&gt;
    &lt;/li&gt;
    &lt;li&gt;To remove warnings:
    &lt;ul&gt;
        &lt;li&gt;Add an Upgrade Code to the Product element &lt;/li&gt;
        &lt;li&gt;Remove the LongName key/value in the File Element is now depreacted. &lt;/li&gt;
        &lt;li&gt;Remove the Package Id is has been deprecated. &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;To remove all the localization errors put assigned a culture to the project (right click the project node)&amp;gt;&amp;gt;(Properties)&amp;gt;&amp;gt;(Linker tab)&amp;gt;&amp;gt;(put the Culture as: en-US)for example. &lt;/li&gt;
&lt;/ol&gt;
Note:The steps up there are when using votive on visual studio and were tested on windows vista running iis7.&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114181"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114181" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/elsehemyJr/aggbug/114181.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Amr Elsehemy</dc:creator>
            <guid>http://geekswithblogs.net/elsehemyJr/archive/2007/07/26/wix-virtualdirectory.aspx</guid>
            <pubDate>Thu, 26 Jul 2007 18:24:00 GMT</pubDate>
            <comments>http://geekswithblogs.net/elsehemyJr/archive/2007/07/26/wix-virtualdirectory.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/elsehemyJr/comments/commentRss/114181.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/elsehemyJr/services/trackbacks/114181.aspx</trackback:ping>
        </item>
    </channel>
</rss>