<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>snataw nags...</title>
	<atom:link href="http://snataw.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://snataw.wordpress.com</link>
	<description>Stephanus Natawardaja's Blog</description>
	<lastBuildDate>Fri, 20 Jun 2008 22:37:36 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='snataw.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/1ea8f02feddbab11f757709e292a5eaf?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>snataw nags...</title>
		<link>http://snataw.wordpress.com</link>
	</image>
			<item>
		<title>This blog has moved</title>
		<link>http://snataw.wordpress.com/2008/06/21/this-blog-has-moved/</link>
		<comments>http://snataw.wordpress.com/2008/06/21/this-blog-has-moved/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 22:37:36 +0000</pubDate>
		<dc:creator>snataw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://snataw.wordpress.com/?p=14</guid>
		<description><![CDATA[Please visit http://stephen.natw.id.au for all archived and new posts.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=snataw.wordpress.com&blog=3877928&post=14&subd=snataw&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Please visit <a href="http://stephen.natw.id.au">http://stephen.natw.id.au</a> for all archived and new posts.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/snataw.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/snataw.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/snataw.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/snataw.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/snataw.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/snataw.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/snataw.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/snataw.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/snataw.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/snataw.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/snataw.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/snataw.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=snataw.wordpress.com&blog=3877928&post=14&subd=snataw&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://snataw.wordpress.com/2008/06/21/this-blog-has-moved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ca8b5d4c1dd3f21880202565e8fb654?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">snataw</media:title>
		</media:content>
	</item>
		<item>
		<title>Tweak your computer for running virtual machines</title>
		<link>http://snataw.wordpress.com/2008/06/19/tweak-your-computer-for-running-virtual-machines/</link>
		<comments>http://snataw.wordpress.com/2008/06/19/tweak-your-computer-for-running-virtual-machines/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 14:12:31 +0000</pubDate>
		<dc:creator>snataw</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[optimise]]></category>
		<category><![CDATA[optimize]]></category>
		<category><![CDATA[tweak]]></category>
		<category><![CDATA[virtual pc]]></category>
		<category><![CDATA[virtual server]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://snataw.wordpress.com/?p=11</guid>
		<description><![CDATA[If your computer Operating System (OS) is  Windows Vista, and you use virtualisation for development purposes (e.g. SharePoint solutions), then the following tips and tricks will help you boost overall computer performance:

Add more RAM to the computer. Obviously the more RAM you have, the faster the performance becomes. For running a basic Windows Server 2003 image with SQL Server 2005 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=snataw.wordpress.com&blog=3877928&post=11&subd=snataw&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If your computer Operating System (OS) is  Windows Vista, and you use virtualisation for development purposes (e.g. SharePoint solutions), then the following tips and tricks will help you boost overall computer performance:</p>
<ol>
<li><strong>Add more RAM to the computer</strong>. Obviously the more RAM you have, the faster the performance becomes. For running a basic Windows Server 2003 image with SQL Server 2005 and SharePoint Services (WSS or MOSS), I recommend at least 768 MB of RAM for the image, and at least 768 MB for your host OS (Windows Vista). I recently upgraded my work laptop from 2 to 3GB and could immediately notice the extra performance.<br />
<span style="color:#ffffff;">.</span></li>
<li><strong>Enable Virtualization in the host computer BIOS</strong>. If you use a DELL notebook, press F2 to get into the BIOS when the computer restarts. Navigate to POST Behavior  &gt; Virtualization, and enable virtualisation.<br />
<span style="color:#ffffff;">.</span></li>
<li><strong>Run image from a different hard drive.</strong>  For example, a portable hard drive<br />
<span style="color:#ffffff;">.</span></li>
<li><strong>Disable unnecessary visual effects.</strong> Right click on My Computer, then select Properties. Click Advanced system On the System Properties window, click tab Advanced, and Performance Settings.<br />
<span style="color:#ffffff;">.</span><br />
In the Visual Effects tab, select Adjust for best performance.<br />
<span style="color:#ffffff;">.<br />
</span><a href="http://snataw.files.wordpress.com/2008/06/systemproperties.png"><img class="alignnone size-medium wp-image-13" src="http://snataw.files.wordpress.com/2008/06/systemproperties.png?w=290&#038;h=300" alt="" width="290" height="300" /></a><br />
<span style="color:#ffffff;">.</span><br />
Also change the desktop wallpaper by selecting a solid colour.<br />
<span style="color:#ffffff;">.</span></li>
<li><strong>Disable unnecessary services</strong>. Open the Services console (Start &gt; Run&#8230; &gt; [Type in "services.msc"]. Disable the following services:</li>
</ol>
<ul>
<li>Superfetch - though marketed as &#8220;Maintains and improves system performance over time.&#8221;, it seems to do the opposite</li>
<li>Themes &#8211; this will disable Windows Vista themes</li>
</ul>
<p> </p>
<p> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/snataw.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/snataw.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/snataw.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/snataw.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/snataw.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/snataw.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/snataw.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/snataw.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/snataw.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/snataw.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/snataw.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/snataw.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=snataw.wordpress.com&blog=3877928&post=11&subd=snataw&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://snataw.wordpress.com/2008/06/19/tweak-your-computer-for-running-virtual-machines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ca8b5d4c1dd3f21880202565e8fb654?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">snataw</media:title>
		</media:content>

		<media:content url="http://snataw.files.wordpress.com/2008/06/systemproperties.png?w=290" medium="image" />
	</item>
		<item>
		<title>Change date time format of an ASP.NET web application</title>
		<link>http://snataw.wordpress.com/2008/06/14/change-date-time-format-of-an-aspnet-web-application/</link>
		<comments>http://snataw.wordpress.com/2008/06/14/change-date-time-format-of-an-aspnet-web-application/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 15:25:35 +0000</pubDate>
		<dc:creator>snataw</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[culture]]></category>
		<category><![CDATA[datetime]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[web.config]]></category>

		<guid isPermaLink="false">http://snataw.wordpress.com/?p=6</guid>
		<description><![CDATA[Having worked with ASP.NET websites for a couple of years, I often run into problems with different culture settings in development, staging and production servers.
For example, you develop an ASP.NET web application on your local PC and test on a staging server, both of which have Australia setup as their location. Now the application is about to be deployed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=snataw.wordpress.com&blog=3877928&post=6&subd=snataw&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Having worked with ASP.NET websites for a couple of years, I often run into problems with different culture settings in development, staging and production servers.</p>
<p>For example, you develop an ASP.NET web application on your local PC and test on a staging server, both of which have Australia setup as their location. Now the application is about to be deployed to a production server. It is often the case that to save on running costs, the client chooses US-based shared servers over Australian-based ones. As a result, you notice that the site displays date in a different format &#8211; e.g. mm/dd/yyyy ( 12/25/2008 ) instead of dd/mm/yyyy ( 25/12/2008 ).</p>
<p>Of course as with many shared servers, you don&#8217;t have the privilege to change the global settings on the server as it would affect all other websites hosted on the box. A quick and easy way to overcome this is to add a setting to the web.config file:</p>
<pre class="brush: xml;">
&lt;configuration&gt;
   &lt;system.web&gt;
      &lt;globalization culture=&quot;en-AU&quot; uiCulture=&quot;en-AU&quot; /&gt;
   &lt;/system.web&gt;
&lt;/configuration&gt;
</pre>
<p>Further reading: <a href="http://msdn.microsoft.com/en-us/library/bz9tc508.aspx">http://msdn.microsoft.com/en-us/library/bz9tc508.aspx</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/snataw.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/snataw.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/snataw.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/snataw.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/snataw.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/snataw.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/snataw.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/snataw.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/snataw.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/snataw.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/snataw.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/snataw.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=snataw.wordpress.com&blog=3877928&post=6&subd=snataw&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://snataw.wordpress.com/2008/06/14/change-date-time-format-of-an-aspnet-web-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ca8b5d4c1dd3f21880202565e8fb654?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">snataw</media:title>
		</media:content>
	</item>
		<item>
		<title>Pre-populate document metadata upon upload with event handlers</title>
		<link>http://snataw.wordpress.com/2008/06/11/prepopulate-sharepoint-document-libraries-upon-file-upload-with-event-handlers/</link>
		<comments>http://snataw.wordpress.com/2008/06/11/prepopulate-sharepoint-document-libraries-upon-file-upload-with-event-handlers/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 14:54:05 +0000</pubDate>
		<dc:creator>snataw</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[document library]]></category>
		<category><![CDATA[event handlers]]></category>

		<guid isPermaLink="false">http://snataw.wordpress.com/?p=3</guid>
		<description><![CDATA[I recently worked on a project whereby the user needed to upload one or more files, and store metadata for these files. As most of the metadata was reflected in parts of the filenames, there was also a need for an automated process to extract and pre-populate to the relevant fields upon upload.
The solution consisted of a document [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=snataw.wordpress.com&blog=3877928&post=3&subd=snataw&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently worked on a project whereby the user needed to upload one or more files, and store metadata for these files. As most of the metadata was reflected in parts of the filenames, there was also a need for an automated process to extract and pre-populate to the relevant fields upon upload.</p>
<p>The solution consisted of a document library with custom columns to hold the metadata. The automation process was taken care by event handlers. Upon a file upload, the event handler would try to extract metadata from the filename, and populate the values into the metadata fields in the edit form page. The user could then choose to accept or modify the metadata.</p>
<pre>Sample code goes here - coming soon!</pre>
<p>A few important/useful notes&#8230;</p>
<ol>
<li>Brian Wilson wrote a great set of tutorials on <a href="http://blogs.msdn.com/brianwilson/archive/2007/03/05/part-1-event-handlers-everything-you-need-to-know-about-microsoft-office-sharepoint-portal-server-moss-event-handlers.aspx">SharePoint event handlers</a>.</li>
<li>Don’t forget that when creating an event handler class, it must inherit <strong>SPItemEventReceiver</strong>.</li>
<li>In my scenario above, the best place to put the code was in <strong>ItemAdding</strong>, as oppose to ItemAdded. One big difference between the two methods is that ItemAdding is <em>synchronous</em>. This means that the page will wait for the code to finish execute before displaying the metadata screen – perfect for me to extract and populate metadata values from filenames. ItemAdded, on the other hand, is <em>asynchronous</em>. Hence the page will not wait until the code has finished executing.</li>
<li>Use properties.<strong>AfterProperties</strong>, as oppose to BeforeProperties.</li>
<li><strong>Dispose SPSite</strong> and <strong>SPWeb</strong> objects as required. Roger Lamb has a nice and clear explanation about <a href="http://blogs.msdn.com/rogerla/archive/2008/02/12/sharepoint-2007-and-wss-3-0-dispose-patterns-by-example.aspx">WSS 3 and MOSS 2007 dispose pattern</a>.</li>
<li>In most cases, you will need to refer to list fields by their <strong>internal names</strong>, except when the field name contains full stops (&#8220;.&#8221;) <span style="color:#808080;">- I&#8217;ll come back to this in the future with some explanation why</span>.</li>
<li>For development purposes, use third party tools such as <strong><a href="http://www.codeplex.com/spi/">SharePoint Inspector</a> </strong>to attach the event handlers to the list, as oppose of building and deploying features to do this.</li>
</ol>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/snataw.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/snataw.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/snataw.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/snataw.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/snataw.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/snataw.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/snataw.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/snataw.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/snataw.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/snataw.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/snataw.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/snataw.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=snataw.wordpress.com&blog=3877928&post=3&subd=snataw&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://snataw.wordpress.com/2008/06/11/prepopulate-sharepoint-document-libraries-upon-file-upload-with-event-handlers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ca8b5d4c1dd3f21880202565e8fb654?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">snataw</media:title>
		</media:content>
	</item>
	</channel>
</rss>