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

<channel>
	<title>.Net Geek &#187; Garage Code</title>
	<atom:link href="http://www.aakashjain.com/tag/garage-code/feed" rel="self" type="application/rss+xml" />
	<link>http://www.aakashjain.com</link>
	<description>Technology, musings and stuff by Aakash Jain</description>
	<lastBuildDate>Thu, 11 Aug 2011 05:09:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Few More dasblog Macro</title>
		<link>http://www.aakashjain.com/dasblog/few-more-dasblog-macro-23</link>
		<comments>http://www.aakashjain.com/dasblog/few-more-dasblog-macro-23#comments</comments>
		<pubDate>Sat, 09 Feb 2008 15:39:07 +0000</pubDate>
		<dc:creator>Aakash</dc:creator>
				<category><![CDATA[dasBlog]]></category>
		<category><![CDATA[Garage Code]]></category>
		<category><![CDATA[Macro]]></category>

		<guid isPermaLink="false">http://www.aakashjain.com/Few+More+Dasblog+Macro.aspx</guid>
		<description><![CDATA[Completed my next dasBlog macro (LastFm Recent Tracks) and just uploaded a new page dedicated to dasBlog macro. Here are the list of dasblog macros that I have developed so far - List of Last.Fm Recent Tracks This macro will show a list of recent tracks that was listened by you and scrobbled by Last.fm. This [...]]]></description>
			<content:encoded><![CDATA[<p>Completed my next dasBlog macro (<strong>LastFm Recent Tracks</strong>) and just uploaded a <a href="http://www.aakashjain.com/stuff/dasblog+macros.aspx" target="_blank">new page dedicated to dasBlog macro</a>. Here are the list of dasblog macros that I have developed so far -</p>
<p><span style="font-size: x-small;"><strong>List of Last.Fm Recent Tracks</strong></span></p>
<p>This macro will show a list of recent tracks that was listened by you and scrobbled by Last.fm. This macro is for only who have signed up at <a href="http://www.last.fm" target="_blank">last.fm</a>.</p>
<p><span style="font-size: x-small;"><strong>List of Last.Fm Top Artist</strong> </span></p>
<p>This macro will show the list of Top Artist that you listened to this week. Again, this macro is for only who have signed up at last.fm.</p>
<p><span style="font-size: x-small;"><strong>Show a Shoutbox<br />
</strong></span></p>
<p>This macro will add a shoutbox to dasBlog. Features included-<br />
XML Database &#8211; (All entries are stored in XML File. It can be kept under the content directory of blog)<br />
Ajax Enabled – No Iframe or refreshing of whole page. <span style="text-decoration: underline;">Update shoutbox silently</span> and regularly after specified interval.<br />
Customizable CSS – I tried to make it <span style="text-decoration: underline;">very customizable</span>. It can gel with any theme perfectly.</p>
<p>Visit <a href="http://www.aakashjain.com/stuff/dasblog+macros.aspx">http://www.aakashjain.com/stuff/dasblog+macros.aspx</a> for full description with installation instructions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aakashjain.com/dasblog/few-more-dasblog-macro-23/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shoutbox: my first macro for dasBlog</title>
		<link>http://www.aakashjain.com/dasblog/shoutbox-my-first-macro-for-dasblog-29</link>
		<comments>http://www.aakashjain.com/dasblog/shoutbox-my-first-macro-for-dasblog-29#comments</comments>
		<pubDate>Sun, 23 Dec 2007 09:01:34 +0000</pubDate>
		<dc:creator>Aakash</dc:creator>
				<category><![CDATA[dasBlog]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Garage Code]]></category>
		<category><![CDATA[Macro]]></category>

		<guid isPermaLink="false">http://www.aakashjain.com/Shoutbox+My+First+Macro+For+DasBlog.aspx</guid>
		<description><![CDATA[I have just finished modifications in my first dasBlog macro. This macro will add a shout-box to the dasBlog (see it on the right side of this blog). I have tested it successfully with Firefox and IE 5.5+. This macro is written for new version of dasBlog (version 2.0 &#8211; supports .Net framework 2.0). If you want [...]]]></description>
			<content:encoded><![CDATA[<p>I have just finished modifications in my first dasBlog macro. This macro will add a shout-box to the dasBlog (see it on the right side of this blog). I have tested it successfully with Firefox and IE 5.5+. This macro is written for new version of <a href="http://www.aakashjain.com/dasBlog+V20+Is+Released.aspx">dasBlog</a> (version 2.0 &#8211; supports .Net framework 2.0). If you want to add this custom macro to your dasBlog, make sure you are using new version dasBlog 2.0.</p>
<p>On the best part, this macro uses Ajax to update the entries. It can refresh itself after a specified interval using Ajax calls. You can disable this behavior if you don’t want to update it silently. I have used XML to store the entires in a file on the webserver. So there is no need to bother about database. To make the look and feel for more controlled and customizable, I have added CSS support to shoutbox.</p>
<p>Here are few steps that will help you to add this macro to your blog. But before <a href="http://www.aakashjain.com/stuff/aakashjain.zip"><strong>download macro</strong></a> and extract the zip file on your hard-drive.</p>
<p>1. After extracting, copy <strong>aakashjain.dll</strong> into the bin directory of your blog.</p>
<p>2. Now, edit the web.config file of your dasBlog application to make the following changes.</p>
<p>a) Uncomment or Add the following code in the <strong>&lt;configuration&gt;/&lt;configSections&gt;</strong> of web.config file.</p>
<pre name="code" class="c-sharp:nocontrols">
<section name="newtelligence.DasBlog.Macros" type="newtelligence.DasBlog.Web.Core.MacroSectionHandler, newtelligence.DasBlog.Web.Core" /></pre>
<p>b) Add or uncomment the following lines under the <strong>&lt;configuration&gt;</strong>.</p>
<pre name="code" class="c-sharp:nocontrols"><newtelligence.DasBlog.Macros>    <add macro="AJmacros" type="AakashJain.AakashJainMacros,AakashJain"/></newtelligence.DasBlog.Macros></pre>
<p>c) Add  the following line under the <strong>&lt;httpHandlers&gt;</strong> section of web.config.</p>
<pre name="code" class="c-sharp:nocontrols"><add verb="*" path="aakashjain/shoutBoxHandler.aspx" type="AakashJain.ShoutBoxHandler,AakashJain"/></pre>
<p>d) One more setting is to be done. We need to tell dasBlog about the XML file where our entries will be stored. For this you have to create a key under <strong>&lt;configuration&gt;</strong></p>
<pre name="code" class="c-sharp:nocontrols"><appSettings>    <add key="AakashJainShouts" value="~/content/aakashjainshouts.xml"/></appSettings></pre>
<p>The above piece of code add a key &#8220;<span style="color: #0000ff;">AakashJainShouts&#8221;</span> to specify the location of XML file in which all entries of shoutbox will be saved. I have chosen content directory to save the xml file in the code above. You can specify any directory on the webserver but make sure it should have write permission.<br />
Now add the following line in your <strong>homeTemplate.blogtemplate</strong> file at a suitable place where you want shout-box to appear. (You can find this file in the current theme folder of your blog.)</p>
<pre name="code" class="html:nocontrols"><%AjShoutBox(max char,refresh interval,max entries)|AJmacros%></pre>
<p>Here is the description of each parameter,</p>
<p><strong>max char (int)</strong> – Maximum number of characters allowed to enter in the message textbox of shoutbox. For name this is fixed to 30 characters.</p>
<p><strong>refresh interval (int)</strong> – Enter the number of seconds when the shoutbox will update from new server. If you want to disable this feature enter anything less than 5.</p>
<p><strong>max entries (int)</strong> – Maximum number of entries shown at a time in shout-box.</p>
<p><strong>For instance</strong> &#8211; &lt;%AjShoutBox(150,50,30)|AJmacros%&gt;<br />
(In this example shoutbox will be refreshed in 50 seconds, upto last 30 entries will be shown and only upto 150 characters can be entered in the message.)</p>
<p>Now lets move to style part of shoutbox. After the above settings you would like to apply some styles and colors to shoutbox to match with your blog theme. For this matter I have kept all style related code in a separate style-sheet (ajshoutbox.css). You can find this stylesheet in the download package. To attach this stylesheet to your blog enter the following lines with in the <span style="color: #0000ff;">&lt;head&gt;</span> section of your <strong>homeTemplate.blogtemplate</strong> file.</p>
<pre name="code" class="html:nocontrols">
<link media="all" rel="stylesheet" type="text/css" href="images/shoutbox.css"></link></pre>
<p>(You can keep the stylesheet file in any directory on your web server but I&#8217;d recommend the image directory of dasBlog. Attribute &#8220;<span style="color: #0000ff;">href</span>&#8220; specified the path of CSS file.)</p>
<p>Ok, now this shoutBox is ready to run on your blog. If you have any comments or suggestions please feel free to post them here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aakashjain.com/dasblog/shoutbox-my-first-macro-for-dasblog-29/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My First Dasblog Theme and Macros</title>
		<link>http://www.aakashjain.com/dasblog/my-first-dasblog-theme-and-macros-33</link>
		<comments>http://www.aakashjain.com/dasblog/my-first-dasblog-theme-and-macros-33#comments</comments>
		<pubDate>Fri, 16 Nov 2007 06:39:11 +0000</pubDate>
		<dc:creator>Aakash</dc:creator>
				<category><![CDATA[dasBlog]]></category>
		<category><![CDATA[Garage Code]]></category>
		<category><![CDATA[Last.fm]]></category>

		<guid isPermaLink="false">http://www.aakashjain.com/My+First+Dasblog+Theme+And+Macros.aspx</guid>
		<description><![CDATA[I have created my first dasblog theme. I am using the same at the time of writing this post. Theme: Geeks This theme contains single style-sheet. You can download it here. Apart, I am creating some macros for dasBlog. Few of them are listed below. LastFm Recent Tracks List &#8211; This macro will display the last n tracks [...]]]></description>
			<content:encoded><![CDATA[<p>I have created my first dasblog theme. I am using the same at the time of writing this post.</p>
<p>Theme: <strong>Geeks<br />
</strong><img src="http://www.aakashjain.com/stuff/images/thumbnail_geeks.jpg" alt="" /></p>
<p>This theme contains single style-sheet. You can <a href="http://www.aakashjain.com/stuff/dasblog+themes.aspx" target="_blank">download it here</a>. Apart, I am creating some macros for dasBlog. Few of them are listed below.</p>
<p><strong>LastFm Recent Tracks List</strong> &#8211; This macro will display the last n tracks played by you.</p>
<p><strong>LastFm Top Artist</strong> &#8211; This macro will display a list of top artists played by you in last few days.</p>
<p><strong>dasBlog Shoutbox</strong> &#8211; A AJAX enabled shout-box for dasblog. This will allow the visitors of your web-blog to directly chat with you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aakashjain.com/dasblog/my-first-dasblog-theme-and-macros-33/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make a Data Relation between two Data Tables</title>
		<link>http://www.aakashjain.com/net/how-to-make-a-data-relation-between-two-data-tables-54</link>
		<comments>http://www.aakashjain.com/net/how-to-make-a-data-relation-between-two-data-tables-54#comments</comments>
		<pubDate>Sun, 08 Apr 2007 19:10:16 +0000</pubDate>
		<dc:creator>Aakash</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[Garage Code]]></category>

		<guid isPermaLink="false">http://www.aakashjain.com/How+To+Make+A+Data+Relation+Between+Two+Data+Tables.aspx</guid>
		<description><![CDATA[Ado.Net provides much more than just retrieving and submitting data. We can create in memories representation of tables. This is not limited we can define the Parent and Child relation between those tables. My New article will show how to use Data Relation between two Data Tables to show the records on the basis of Master Child [...]]]></description>
			<content:encoded><![CDATA[<p>Ado.Net provides much more than just retrieving and submitting data. We can create in memories representation of tables. This is not limited we can define the Parent and Child relation between those tables. <a href="http://www.aakashjain.com/articles/DataRelationExample.htm">My New article</a> will show how to use Data Relation between two Data Tables to show the records on the basis of Master Child relationship.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-9528758703353085";
google_alternate_color = "FFFFFF";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-09-24: AJ_Blog_Entries
google_ad_channel = "9667763288";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "000000";
google_color_url = "000000";
google_ui_features = "rc:0";
// --></script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aakashjain.com/net/how-to-make-a-data-relation-between-two-data-tables-54/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

