<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1349166315858894297</id><updated>2012-01-24T03:15:47.224-08:00</updated><title type='text'>Nairooz Nilafdeen's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default?start-index=101&amp;max-results=100'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>110</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-6449116747460715075</id><published>2012-01-23T06:54:00.000-08:00</published><updated>2012-01-24T01:45:54.313-08:00</updated><title type='text'>WCF REST versioning, JSON and Dynamic objects</title><summary type='text'>As everyone knows JSON is a very light weight form of transport when it comes to the web, you can respond and consume JSON using WCF REST services, I have blogged about this in one of my earlier posts in 2008, but last month I got to work on this...WCF makes things very easy, if the client sends a JSON formatted string, WCF infrastructure will de-serialize this into a custom type that you have </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/6449116747460715075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2012/01/wcf-rest-versioning-json-and-dynamic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6449116747460715075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6449116747460715075'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2012/01/wcf-rest-versioning-json-and-dynamic.html' title='WCF REST versioning, JSON and Dynamic objects'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-5028617849708815127</id><published>2012-01-22T04:38:00.001-08:00</published><updated>2012-01-22T06:23:18.460-08:00</updated><title type='text'>Being a good Leader</title><summary type='text'>I was clearing some of the files from the trash when I saw a few notes that I took for a leadership training...here I am writing a few pointers just to remind mt self...- Be confident on what you do.- What are your strengths? make a list, what are the things people have complimented you on- What are your weaknesses? Improve those - Master something, dedicate yourself to learning something new - </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/5028617849708815127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2012/01/being-good-leader.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5028617849708815127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5028617849708815127'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2012/01/being-good-leader.html' title='Being a good Leader'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3033347849778877413</id><published>2011-10-06T05:22:00.001-07:00</published><updated>2011-10-06T05:26:05.351-07:00</updated><title type='text'>LINQ to Object JOIN</title><summary type='text'>I was reviewing a piece of LINQ to Object Join query of one of my colleagues and a code that is written like this (example, not the exact code, the actual query was complex then this…)...&lt;?xml:namespace prefix = o /&gt; IList&lt;int&gt; result = (from i in col1 join j in col2 on i equals j select i).ToList(); told him to re-write it like this…or using a 2 foreach loop, as the join was too complex. IList&lt;</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3033347849778877413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2011/10/linq-to-object-join-son-wins.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3033347849778877413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3033347849778877413'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2011/10/linq-to-object-join-son-wins.html' title='LINQ to Object JOIN'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8821856629028103672</id><published>2011-05-18T00:25:00.000-07:00</published><updated>2011-05-18T00:37:26.557-07:00</updated><title type='text'>.Net Reflector to Telerik JustDecompile</title><summary type='text'>I have been using .Net Reflector for almost 4 years now and this really is a cool tool to just go decompile assemblies when you need to, and this was one of the tool I used to decompile some of the assemblies provided by Microsoft to see what's going in the internals.It was a bit fishy when Reflector was bought by Ants, and gradually as you all might know, Reflector is no longer free, and whats </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/8821856629028103672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2011/05/net-reflector-to-telerik-justdecompile.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8821856629028103672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8821856629028103672'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2011/05/net-reflector-to-telerik-justdecompile.html' title='.Net Reflector to Telerik JustDecompile'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-AlsXNS4_R34/TdN2yLpFbsI/AAAAAAAAAGs/llwK1gh8v8U/s72-c/Just%2BDecompile.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-2914659929404826456</id><published>2011-05-17T23:54:00.000-07:00</published><updated>2011-05-18T00:07:59.195-07:00</updated><title type='text'>Entity Framework and POCO - No Support for Xml or Enums</title><summary type='text'>I have been keeping up to some pace on Entity Framework, however did not try a lot on it.So thought of doing a sample on POCO support with Entity Framework.This was a class I used to insert to my database. public class Task    {        public long TaskID { get; set; }        public XElement TaskParameter{get;set;}        public string TaskType { get; set; }             public DateTime EnquedTime </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/2914659929404826456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2011/05/entity-framework-and-poco-no-support.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2914659929404826456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2914659929404826456'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2011/05/entity-framework-and-poco-no-support.html' title='Entity Framework and POCO - No Support for Xml or Enums'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8957629368539786997</id><published>2011-05-01T05:07:00.000-07:00</published><updated>2011-05-07T08:00:14.646-07:00</updated><title type='text'>WCF Configuration Nightmare, MSBuild, IIS AppCmd</title><summary type='text'>In this post I am going discuss about some of the deployment nightmare that you might have when you design SOA, where you segregate logic into several decoupled services. the post would not really deal with production deployment , but about internal developer releases.The problem here is that when you have multiple services, and you want to deploy your code in one of the test environments for </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/8957629368539786997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2011/05/wcf-configuration-nightmares-msbuild.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8957629368539786997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8957629368539786997'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2011/05/wcf-configuration-nightmares-msbuild.html' title='WCF Configuration Nightmare, MSBuild, IIS AppCmd'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-5583538105105856307</id><published>2011-04-29T22:52:00.000-07:00</published><updated>2011-04-29T23:36:32.330-07:00</updated><title type='text'>Moving Session Data from InProc to State Server or Database And There Problems</title><summary type='text'>Its been a while since i posted , almost 4 months now, was busy with office work.So in this post I would like to talk about ASP.NET sessions.Ok...now we all know about ASP.Net sessions, we all know there are few methods which you can use to store session information, one common way and default way is store session state in the memory of the machine in which ASP.NET is running, the other way is to</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/5583538105105856307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2011/04/moving-session-from-inproc-to-state.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5583538105105856307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5583538105105856307'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2011/04/moving-session-from-inproc-to-state.html' title='Moving Session Data from InProc to State Server or Database And There Problems'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-2228907831201904867</id><published>2011-01-04T08:34:00.001-08:00</published><updated>2011-01-04T08:40:23.394-08:00</updated><title type='text'>File Transactions (TFX)</title><summary type='text'>There are situations where a transaction span into a database and to the file system, typically this is handled by running the database call inside a transaction scope and the do the file update call after the database call returns.If the database call fails then nothing is updated into the file system, however if the file update fails then the database transaction is rolled back.The above </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/2228907831201904867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2011/01/file-transactions-tfx.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2228907831201904867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2228907831201904867'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2011/01/file-transactions-tfx.html' title='File Transactions (TFX)'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-1272786000075776427</id><published>2010-11-14T08:09:00.001-08:00</published><updated>2010-11-14T08:10:19.975-08:00</updated><title type='text'>WCF 4 - File Less Activation, Default Endpoints and Default Bindings</title><summary type='text'>Started going through WCF 4 a few months back, however, its today I got a chance to write down something about itSo let me talk about something that was really interesting when I first read about it, File Less Activation of services.In WCF 3.5 when you wanted to host a service in IIS, you had to go through, adding endpoints, bindings and also a SVC file so that IIS can pick the request up.In WCF </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/1272786000075776427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/11/afasf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1272786000075776427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1272786000075776427'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/11/afasf.html' title='WCF 4 - File Less Activation, Default Endpoints and Default Bindings'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-6747334821674515137</id><published>2010-11-07T16:47:00.000-08:00</published><updated>2010-11-08T09:12:45.314-08:00</updated><title type='text'>Running .NET code on a 64 bit Machine</title><summary type='text'>Needed some information on how to develop .NET application for 64 bit machine, so I was doing the usual, reading a little bit of it, so before I forgot, i thought of posting it here for future reference.The main advantage of using a 64 bit machine over a 32 bit machine is that memory is not constrained to 4GB; in a 32 bit machine, the highest address that the CPU understands is around 4GB, but </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/6747334821674515137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/11/running-net-code-on-64-bit-machine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6747334821674515137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6747334821674515137'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/11/running-net-code-on-64-bit-machine.html' title='Running .NET code on a 64 bit Machine'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8531005553055508227</id><published>2010-10-20T10:14:00.000-07:00</published><updated>2010-10-20T18:54:50.090-07:00</updated><title type='text'>Nullable Value vs Casting.</title><summary type='text'>Was talking to a team member half an hour ago, and he pointed out that he needs to change a line of code like this code (isLocked is a nullable bool)bool isEnabled = (bool)isLockedtobool isEnabled = isLocked.ValueI asked him why you need to do it that way….and his answer was NO IDEA…So thought of dissembling the IL to see what was really happening. This is the dissembled code I got from Reflector</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/8531005553055508227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/10/nullable-value-vs-casting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8531005553055508227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8531005553055508227'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/10/nullable-value-vs-casting.html' title='Nullable&lt;T&gt; Value vs Casting.'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-1574787004132630475</id><published>2010-07-26T18:26:00.000-07:00</published><updated>2010-07-26T19:15:02.254-07:00</updated><title type='text'>Parallel LINQ (PLINQ) - Intro</title><summary type='text'>.Net 4.0 supports parallel LINQ or PLINQ, PLINQ is a parallel implementation of LINQ.PLINQ has the same characteristics has LINQ, in that it executes queries in a differed manner.However, the main difference is that with PLINQ, your data source gets partitioned and each chunk is processed by different worker threads (taking into account the number of processor cores that you have) , making your </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/1574787004132630475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/07/parallel-linq-plinq-intro.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1574787004132630475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1574787004132630475'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/07/parallel-linq-plinq-intro.html' title='Parallel LINQ (PLINQ) - Intro'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-1972301607291923621</id><published>2010-07-26T05:26:00.000-07:00</published><updated>2010-07-26T06:09:11.797-07:00</updated><title type='text'>Implementing Asynchronous Callbacks with Task Parallel Library</title><summary type='text'>Bored again...so thought of posting how you can implement callback with Task Parallel Library (TPL).So what am I talking here, basically I start a task in one thread and I want it to call another method once it completes (Asynchronous callbacks ).Here is a sample code....  Task&lt;int&gt; parent = new Task&lt;int&gt;(                () =&gt;                 {                    Console.WriteLine("In parent");</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/1972301607291923621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/07/implementing-asynchronous-callbacks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1972301607291923621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1972301607291923621'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/07/implementing-asynchronous-callbacks.html' title='Implementing Asynchronous Callbacks with Task Parallel Library'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4778115641075837745</id><published>2010-07-26T04:15:00.000-07:00</published><updated>2010-07-26T04:45:49.653-07:00</updated><title type='text'>Running Parallel Tasks with The Task Parallel Library</title><summary type='text'>Down at home with Conjunctivitis, was boring at home, so was listening to some old classics and then thought of writing a post on how you can run tasks with the Task Parallel Library (TPL).Going forward, Microsoft encourages developers to use TPL for concurrent programming. In my previous post I talked about data parallelism , where I showed how blocks of work running inside a loop can be </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4778115641075837745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/07/running-parallel-tasks-with-task.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4778115641075837745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4778115641075837745'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/07/running-parallel-tasks-with-task.html' title='Running Parallel Tasks with The Task Parallel Library'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-921090595507485667</id><published>2010-07-25T21:29:00.000-07:00</published><updated>2010-07-25T22:05:18.243-07:00</updated><title type='text'>ConcurrentBag&lt;T&amp;gt - Thread Safe Collections</title><summary type='text'>.Net 4.0 introduces a new namespace,  System.Collections.Concurrent, this namespace contains a set of collections that would be very much useful in threaded programming.The Add or Remove methods of List&lt;T&gt; is not thread safe, meaning that if you are adding or removing items from a list which is accessed from multiple threads, you will end up overwriting some of the items.So, in multi threading </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/921090595507485667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/07/systemcollectionsconcurrent.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/921090595507485667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/921090595507485667'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/07/systemcollectionsconcurrent.html' title='ConcurrentBag&amp;lt;T&amp;gt - Thread Safe Collections'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-7787321399816250012</id><published>2010-07-25T03:01:00.000-07:00</published><updated>2010-07-25T03:37:57.154-07:00</updated><title type='text'>Task Parallel Library - Refresher - Stop an Iteration</title><summary type='text'>I have been talking about the Task Parallel Library (TPL)  2 years back , when it was in CTP, I was taking a class on High Performance Computing yesterday, and I just remembered that I have forgotten all about this library  :).This library has now been officially released with .Net 4.0 and Microsoft recommend you to actually use this library if possible when writing concurrent programs, so that </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/7787321399816250012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/07/task-parallel-library-refresher-stop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/7787321399816250012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/7787321399816250012'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/07/task-parallel-library-refresher-stop.html' title='Task Parallel Library - Refresher - Stop an Iteration'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3980999451462867157</id><published>2010-07-17T09:35:00.000-07:00</published><updated>2010-07-19T18:41:08.597-07:00</updated><title type='text'>HashSet&lt;T&gt; vs .Net 4.0 SortedSet&lt;T&gt;</title><summary type='text'>HashSet&lt;T&gt; has been there for a while, it can store objects in such a way that the time to add an item to the set or remove it or search for an item is O(1), constant time.It uses hash based implementation to achieve this constant time for these operations, however when you want to iterate this collection in a sorted way, the operation is intensive, as the values within the HashSet is not sorted,</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3980999451462867157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/07/hashset-vs-net-40-sortedset.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3980999451462867157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3980999451462867157'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/07/hashset-vs-net-40-sortedset.html' title='HashSet&amp;lt;T&amp;gt; vs .Net 4.0 SortedSet&amp;lt;T&amp;gt;'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-7803988132173909536</id><published>2010-07-10T05:44:00.000-07:00</published><updated>2010-07-10T06:51:02.230-07:00</updated><title type='text'>ASP.NET Localization - Implicit Resource Assignment</title><summary type='text'>In one of my previous post I talked about ASP.NET localization basic and 2 ways of which resources can be assigned to ASP.NET pages and controls were also discussed. In this post I will talk about a powerful ASP.net feature that can be used to assign resources implicitly.This feature can be used to assign multiple resources to a control at one shot without individually assigning resources.Lets </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/7803988132173909536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/07/aspnet-localization-implicit-resource.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/7803988132173909536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/7803988132173909536'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/07/aspnet-localization-implicit-resource.html' title='ASP.NET Localization - Implicit Resource Assignment'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/__C9EBEJGz4I/TDh0iVt2A6I/AAAAAAAAAFs/mTn3s4s_TQk/s72-c/res.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-1941580667538451270</id><published>2010-07-04T06:01:00.000-07:00</published><updated>2010-07-04T06:09:11.179-07:00</updated><title type='text'>Satellite Assemblies and Strong Names</title><summary type='text'>A good friend of mine from another project was talking about how a satellite assembly for a given culture that he created for an ASP.NET server control project did not get picked up for the that culture and the default resource was picked up.I was so curious to why this did not happen, and it was today that it hit me that there project is signed with a strong key and that he did not sign the </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/1941580667538451270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/07/satellite-assemblies-and-strong-names.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1941580667538451270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1941580667538451270'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/07/satellite-assemblies-and-strong-names.html' title='Satellite Assemblies and Strong Names'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-2856596320230004795</id><published>2010-07-02T06:17:00.000-07:00</published><updated>2010-07-03T00:16:35.116-07:00</updated><title type='text'>ASP.NET Localization</title><summary type='text'>I have written some blog post on globalization before, but all this was something to do with desktop application or general best practices. This week I was interested in localizing ASP.NET applications (well, I was forced to :)) So, let me start by giving an introduction to ASP.NET resource assignment features. Basically it's the same .NET concept, you create resource files, compile and create </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/2856596320230004795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/07/aspnet-localization-basics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2856596320230004795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2856596320230004795'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/07/aspnet-localization-basics.html' title='ASP.NET Localization'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/__C9EBEJGz4I/TC7bLLceSiI/AAAAAAAAAEs/Go-cM2vrM3U/s72-c/Localization.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-7868694366255121703</id><published>2010-06-21T18:56:00.001-07:00</published><updated>2010-06-22T10:58:53.090-07:00</updated><title type='text'>XQuery - Projecting Attributes With a Where Clause a Query</title><summary type='text'>Had to write an xquery yesterday to extract some attribute values from an xml column, so I thought of posting it here for future reference.This the structure of my XML data stored in the column xmlColumnThis is the records that I have in my tableWhat I need is to select the Id column from a normal table column and then the "value" attributes from the xml coulumn whose "SiteText" is equal to 1This</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/7868694366255121703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/06/xquery-projecting-attributes-with-where.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/7868694366255121703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/7868694366255121703'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/06/xquery-projecting-attributes-with-where.html' title='XQuery - Projecting Attributes With a Where Clause a Query'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/__C9EBEJGz4I/TCAbUqcy_8I/AAAAAAAAAEE/9DMrJ1z5QvE/s72-c/xquery.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3174123205797934293</id><published>2010-06-15T10:21:00.000-07:00</published><updated>2010-06-15T10:32:39.757-07:00</updated><title type='text'>Validating XML with an XSD using LINQ</title><summary type='text'>So how do you validate an XML document that you get with a particular XSD?.One way you can do is with LINQ to XML with these steps.1) Create a XmlSchemaSet2) Add the schemas that your document needs to confirm to3) Call the validate method of the XDocumentSo here is the example code.           //Load an xml document            XDocument doc = XDocument.Load(@"C:\test.xml");            //Define </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3174123205797934293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/06/validating-xml-with-xsd-using-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3174123205797934293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3174123205797934293'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/06/validating-xml-with-xsd-using-linq.html' title='Validating XML with an XSD using LINQ'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4892535979170430423</id><published>2010-06-15T10:11:00.000-07:00</published><updated>2010-06-15T10:16:33.209-07:00</updated><title type='text'>Exposing Enum Types From WCF</title><summary type='text'>There are many cases where you would want to expose enum types from a WCF service, so how do you do this?Simply create a data contract and mark the values with the EnumMember attribute and thats it    [DataContract]    public enum MyEnumName    {        [EnumMember]        CSV,        [EnumMember]        XML = 2    }</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4892535979170430423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/06/exposing-enum-types-from-wcf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4892535979170430423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4892535979170430423'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/06/exposing-enum-types-from-wcf.html' title='Exposing Enum Types From WCF'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4262249142018354075</id><published>2010-06-14T18:24:00.000-07:00</published><updated>2010-07-18T23:41:23.199-07:00</updated><title type='text'>The maximum nametable character count quota (16384) has been exceeded</title><summary type='text'>Some of our services were growing and the other day it hit the quote, I could not update the service references, nor was I able to run the WCFTest client. An error is diplayed saying "The maximum nametable character count quota (16384) has been exceeded " The problem was with the mex endpoint, where the XML that was sent was too much for the client to handle, this can be fixed by do the following</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4262249142018354075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/06/maximum-nametable-character-count-quota.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4262249142018354075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4262249142018354075'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/06/maximum-nametable-character-count-quota.html' title='The maximum nametable character count quota (16384) has been exceeded'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/__C9EBEJGz4I/TBbW1QJqgEI/AAAAAAAAADE/Kb-a7aNQTEg/s72-c/srv.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-7633170006832755278</id><published>2010-05-22T02:28:00.000-07:00</published><updated>2010-05-22T03:23:33.776-07:00</updated><title type='text'>Configuring mexConnections with net.tcp binding</title><summary type='text'>This is one of the issues that does not explain it self to me and I could not find any help from MSDN, so I thought of sharing in the blog for future use.I have a WCF library that is hosted in IIS, after some time we wanted to increase the max connection property of the service to 100 from the default value of 10 and also change the listenBackLog value to the same (if you dont know what these </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/7633170006832755278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/05/configuring-mexconnections-with-nettcp.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/7633170006832755278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/7633170006832755278'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/05/configuring-mexconnections-with-nettcp.html' title='Configuring mexConnections with net.tcp binding'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4459964179938767052</id><published>2010-05-10T09:17:00.000-07:00</published><updated>2010-05-10T09:39:08.182-07:00</updated><title type='text'>Response.Redirect vs PostBackUrl</title><summary type='text'>I normally use Response.Redirect to navigate from page to page, someone told me the other day that it would be better to use PostBackUrl of a control to redirect to a page then use Response.Redirect.So, I ran a little test of my own, created a 2 sample pages, where on a button click I do a Response.Redirect like this.protected void Button1_Click(object sender, EventArgs e){ Response.Redirect("</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4459964179938767052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/05/responseredirect-vs-postbackurl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4459964179938767052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4459964179938767052'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/05/responseredirect-vs-postbackurl.html' title='Response.Redirect vs PostBackUrl'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-529993120996900635</id><published>2010-05-02T05:09:00.000-07:00</published><updated>2010-05-02T05:21:04.800-07:00</updated><title type='text'>Passing in parameters into OPENQUERY</title><summary type='text'>I was struggling for some time now, trying to pass in parameters into OPENQUERY, OPENQUERY does not support passing in parameters, all it does it takes a string value as the 2nd parameter like this,SELECT * FROM OPENQUERY(LINKSERVER_NAME, 'SELECT * FROM COUNTRY WHERE COUNTRYID = 10')What's worse, it does not support passing in a varchar variable as the 2nd parameter.So, if you want to pass in </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/529993120996900635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/05/passing-in-parameters-into-openquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/529993120996900635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/529993120996900635'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/05/passing-in-parameters-into-openquery.html' title='Passing in parameters into OPENQUERY'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-9172002619539004715</id><published>2010-04-30T21:44:00.000-07:00</published><updated>2010-04-30T21:58:36.821-07:00</updated><title type='text'>Generate from using - creating stubs first in VS 2010</title><summary type='text'>A feature that every one loved in VS 2005 is to just type in you class and press Alt+Shift+F10 and Visual studio shows you the options to add the using statements.VS 2010 this has been extended, to create class stubs for you while you code.For an example, if I want to use a class called Person in my code and if the Person class is not there yet in your code base, all you got to do is type the </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/9172002619539004715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/04/generate-from-using-creating-stubs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/9172002619539004715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/9172002619539004715'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/04/generate-from-using-creating-stubs.html' title='Generate from using - creating stubs first in VS 2010'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3529260989920498720</id><published>2010-04-29T11:18:00.001-07:00</published><updated>2010-04-29T11:46:09.617-07:00</updated><title type='text'>Web Protection Library and XSS attacks</title><summary type='text'>I started using the AntiXSS library that comes with the Microsoft Web Protection Library (WPL), this library gives you several APIs that can be used to protect your application from Cross Site Scripting (XSS).So, What is an XSS attack?, this is where a malicious user injects scripts into the web page the user is viewing and the script runs as part of the response from compromised web site.As a </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3529260989920498720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/04/web-protection-library-and-xss-attacks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3529260989920498720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3529260989920498720'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/04/web-protection-library-and-xss-attacks.html' title='Web Protection Library and XSS attacks'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4404430826747738462</id><published>2010-04-26T10:08:00.000-07:00</published><updated>2010-04-26T10:27:51.502-07:00</updated><title type='text'>Linked Servers and OPENQUERY</title><summary type='text'>So how do you access data from one database to another? (specifically talking about SQL SERVER)One possible way you can do is to create a Linked Server to the database you want to connect to.The easiest way to do this is to go to Management Studio, right click on "Server Objects" and click "New Linked Server"Now on the "New Linked Server" dialog you have 2 ways you can create a Linked Server.1) </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4404430826747738462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/04/linked-servers-and-openquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4404430826747738462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4404430826747738462'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/04/linked-servers-and-openquery.html' title='Linked Servers and OPENQUERY'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-7416340999305624541</id><published>2010-04-24T23:38:00.000-07:00</published><updated>2010-04-24T23:46:50.360-07:00</updated><title type='text'>Still no Workflow support in Visual Studio 2010</title><summary type='text'>I was trying out Visual Studio 2010, but was disappointed that they have not included Workflow templates into the express edition (They did not in the 2008 express edition too.)However, you can still create workflows, as it is part of .NET 4.0, but with a lot of pain, that is you have to manually code what ever the designer does for you in the normal editions !.Well, this is where I start hating </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/7416340999305624541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/04/still-no-workflow-support-in-visual.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/7416340999305624541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/7416340999305624541'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/04/still-no-workflow-support-in-visual.html' title='Still no Workflow support in Visual Studio 2010'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-2609680005324585757</id><published>2010-04-23T22:06:00.000-07:00</published><updated>2010-04-23T22:27:31.604-07:00</updated><title type='text'>Workflows and MS WF</title><summary type='text'>Yesterday, I completed my training on Windows Workflow foundation.In my opinion, it yet a new tech and provides you with a set of good features.However, a question that was racing my mind all the time was, why the hell do you need workflows, I mean almost all programs that we write have activities and business logic within them, so what the big use of using a framework to model workflows.These </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/2609680005324585757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2010/04/workflows-and-ms-wf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2609680005324585757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2609680005324585757'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2010/04/workflows-and-ms-wf.html' title='Workflows and MS WF'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-7031172896314994142</id><published>2009-07-23T19:00:00.000-07:00</published><updated>2009-07-23T19:02:39.595-07:00</updated><title type='text'>Globalization Best Practices</title><summary type='text'>I wrote an artical on my previous experince on localizing applications.It's hosted at code project...this is the link.</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/7031172896314994142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2009/07/globalization-best-practices.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/7031172896314994142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/7031172896314994142'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2009/07/globalization-best-practices.html' title='Globalization Best Practices'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-366685509296495159</id><published>2009-05-04T04:41:00.001-07:00</published><updated>2009-05-04T04:45:48.781-07:00</updated><title type='text'>Action Delegate in .Net</title><summary type='text'>Something that comes with the .Net 2.0 and above is the Action&lt;T&gt; delegate; this delegate can be used when ever a delegate is needed that takes in no argument or just one argument etc…Especially in GUI application it is cumbersome that you need to create delegates here and there even for simple functions, but with this new delegate defined in the System namespace you no longer need to do that, </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/366685509296495159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2009/05/action-delegate-in-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/366685509296495159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/366685509296495159'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2009/05/action-delegate-in-net.html' title='Action Delegate in .Net'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4425802061260094274</id><published>2009-04-30T02:44:00.000-07:00</published><updated>2009-04-30T02:47:10.396-07:00</updated><title type='text'>Running Rhino Mock Under FxCop</title><summary type='text'>I wanted to try out Rhino Mock, and I downloaded it and tried it out and it was better then NUnit Mock, I was playing around it a little bit and well, ran fxCop on it,And gosh, I found 640 defects.&lt;?xml:namespace prefix = o /&gt;Well, this is not a critic, but it just brings out the fact the amount of static code analysis we do on our code.I for real, run fxCop on the code I develop before checking </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4425802061260094274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2009/04/running-rhino-mock-under-fxcop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4425802061260094274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4425802061260094274'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2009/04/running-rhino-mock-under-fxcop.html' title='Running Rhino Mock Under FxCop'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-1590471266081926403</id><published>2009-04-05T06:11:00.000-07:00</published><updated>2009-04-05T06:16:56.648-07:00</updated><title type='text'>Knuth-Moris-Pratt (KMP) algorithm on CodeProject</title><summary type='text'>Whoo...Its been kind of 3 month since I had my last post, mainly due to assignments, exams and work.These days, its kind of low work and the 2nd semister is yet to start. I was just going through some of the assignments I did for my MSc , and though of posting one on codeproject.You can find my artical here. Its on a string matching algorithm, KMP, one of the fastest I would say. I have made the </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/1590471266081926403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2009/04/knuth-moris-pratt-kmp-algorithm-on.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1590471266081926403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1590471266081926403'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2009/04/knuth-moris-pratt-kmp-algorithm-on.html' title='Knuth-Moris-Pratt (KMP) algorithm on CodeProject'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-1619127674032216313</id><published>2009-01-09T05:15:00.000-08:00</published><updated>2009-01-09T05:22:50.047-08:00</updated><title type='text'>Windows 7 Beta Out...</title><summary type='text'>Windows 7 is the new operating system built on top of Vista, unlike Vista, more emphasis is given to performance, reliability, security and multimedia experiance.One feature that I heard about Windows 7 being cool is it's task bar.You can find more on Windows 7 and also try out the beta here.</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/1619127674032216313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2009/01/windows-7-beta-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1619127674032216313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1619127674032216313'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2009/01/windows-7-beta-out.html' title='Windows 7 Beta Out...'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-71950776778586762</id><published>2008-12-25T22:10:00.000-08:00</published><updated>2008-12-25T22:29:08.641-08:00</updated><title type='text'>The "Dot" Behaviour</title><summary type='text'>Its just my opinion about dynamic languages, so no need to be harsh.Something that I miss in dynamic languages is IDE support, even if it exists, the "dot" behaviour is likley to be not there.I mean that thing I like about Java and .Net editors is that you can easily make use of it for a quick dirty tool you need to implement, even though you might not no a thing about where to find which APIs, </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/71950776778586762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/12/dot-behaviour-for-dynamic-languages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/71950776778586762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/71950776778586762'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/12/dot-behaviour-for-dynamic-languages.html' title='The &quot;Dot&quot; Behaviour'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-2213433858783028704</id><published>2008-11-29T23:02:00.000-08:00</published><updated>2008-11-29T23:15:18.827-08:00</updated><title type='text'>Back to The Desk</title><summary type='text'>Well, last 2 weeks went in a jiffy, I was on annual leave for 2 weeks and was hopping to spend some time with my family, but it turned out to be that I had to submit 4 assignments and had spend most of my time reading. I have backlogged so much of lectures that I thought its time for me to catch up, and it was boring some times, just proofs, theorm and out of the world ideas, but I think I am </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/2213433858783028704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/11/back-to-desk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2213433858783028704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2213433858783028704'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/11/back-to-desk.html' title='Back to The Desk'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-9082985488892350844</id><published>2008-11-18T08:29:00.000-08:00</published><updated>2008-11-18T08:33:34.439-08:00</updated><title type='text'>CLIP for VS 2008</title><summary type='text'>The Microsoft Captions Language Interface Pack (CLIP) is a simple language translation solution that uses tooltip captions to display translations for English user interface terms for Visual Studio 2008.CLIP can help those users who are not good in English to learn and use Visual Studio 2008 by providing translation for the most common user interface elements of the Visual Studio Integrated </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/9082985488892350844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/11/clip-for-vs-2008.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/9082985488892350844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/9082985488892350844'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/11/clip-for-vs-2008.html' title='CLIP for VS 2008'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-6206974803495759512</id><published>2008-11-04T21:55:00.000-08:00</published><updated>2008-11-04T22:15:27.652-08:00</updated><title type='text'>CRS and Me Getting Fatter</title><summary type='text'>Picked this picture from Shuail's blog. That my first project, CRS...I would say the golden age.I dont see most of them alot, either they are not in the same location or not in the company at all. Well, you can seem me in the corner in a yellows striped shirt, and I was wondering how fat I have become. Me and the workout machine dont go together I guess, every morning I try to get on it and then </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/6206974803495759512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/11/crs-and-me-getting-fatter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6206974803495759512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6206974803495759512'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/11/crs-and-me-getting-fatter.html' title='CRS and Me Getting Fatter'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/__C9EBEJGz4I/SRE4jdJb4MI/AAAAAAAAACA/40-1QUUm6WQ/s72-c/PICT0065.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-6297014741209834705</id><published>2008-10-31T07:55:00.000-07:00</published><updated>2008-10-31T08:06:52.321-07:00</updated><title type='text'>No Time For Blog Posting</title><summary type='text'>This is a post to let u'll guys know what I have been upto these days. It has been past one month since I have posted something.So this is what has been happening, at office..we are targeting on beta and it has been a tough time putting up with defects, so I am sort of going home a bit late these days.I started my MSc in Computer Science at the University of Colombo last month, so there goes my </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/6297014741209834705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/10/no-time-for-blog-posting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6297014741209834705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6297014741209834705'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/10/no-time-for-blog-posting.html' title='No Time For Blog Posting'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-5801457820930466676</id><published>2008-09-23T06:43:00.000-07:00</published><updated>2008-09-23T07:06:05.836-07:00</updated><title type='text'>Going Bad with UI Prototypes</title><summary type='text'>This whole month went busy at office, it was challenging work, made a number of mistakes and I am happy to say, by the end of the day I learnt out of it.I was tyring to get the module working with little knowledge of what the requirment was, this led me to lot of re-work and most of the time was spent discussing with the team what API should be given and how things should be done. Now I think it </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/5801457820930466676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/09/going-bad-with-ui-prototypes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5801457820930466676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5801457820930466676'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/09/going-bad-with-ui-prototypes.html' title='Going Bad with UI Prototypes'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4243697046532334859</id><published>2008-09-07T01:39:00.000-07:00</published><updated>2008-09-07T05:13:54.252-07:00</updated><title type='text'>Dynamic Language Runtime (DLR), IronRuby and Advantages</title><summary type='text'>What's being popular out there right now is something called IronRuby, which is an implementation of the Ruby language in .Net, which is built indirectly on top of the CLR.So let’s talk a little about how IronRuby fits into the .Net world, something that you should know at this point is that Microsoft is building a common platform for dynamic languages called the Dynamic Language Runtime or DLR </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4243697046532334859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/09/dynamic-language-runtime-ironruby-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4243697046532334859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4243697046532334859'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/09/dynamic-language-runtime-ironruby-and.html' title='Dynamic Language Runtime (DLR), IronRuby and Advantages'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3944935761901487905</id><published>2008-09-03T02:28:00.000-07:00</published><updated>2008-09-03T02:50:22.380-07:00</updated><title type='text'>Don't Try To Handle What You Cannot Handle</title><summary type='text'>One thing that came up last week was that the sorting on one of the paged grid did not work, ok…so we were hunting the bug down, but lucky something popped up in the log file and saved the day.Clicking on the sort headers, makes a service call to retrieve the sorted data, and the UI code was written in such a way that the service call is trapped inside a try-catch block, and if any exception </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3944935761901487905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/09/dont-try-to-handle-what-you-cannot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3944935761901487905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3944935761901487905'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/09/dont-try-to-handle-what-you-cannot.html' title='Don&apos;t Try To Handle What You Cannot Handle'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-2295565627776642008</id><published>2008-08-18T21:18:00.000-07:00</published><updated>2008-08-18T21:23:46.555-07:00</updated><title type='text'>The Same Old Story Continues and Continues...</title><summary type='text'>I have put my source to build, hence have some time to write a post…It’s been a while since there was a new post on this blog, reason?..ah work. There is much change that’s going on that does not give me time to write anything new. But this does not stop me from reading and experementing something new, so let me give you an insight on what I have been doing on my weekends.I have been hooked up on</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/2295565627776642008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/08/same-old-story-continues-and-continues.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2295565627776642008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2295565627776642008'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/08/same-old-story-continues-and-continues.html' title='The Same Old Story Continues and Continues...'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-1563329430010348180</id><published>2008-07-27T08:47:00.000-07:00</published><updated>2008-07-27T09:50:16.796-07:00</updated><title type='text'>ADO.NET Data Services</title><summary type='text'>In Traditional web applications, you request a page and the the server, process the request, makes some database calls if needed and put your data and HTML together and pass on to the client.This model has now changed with RIA, using AJAX, Silverlight and others Take for an example a hotel reservation page that uses AJAX for user interactions. Maybe the intital page loads with all available </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/1563329430010348180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/07/adonet-data-services.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1563329430010348180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1563329430010348180'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/07/adonet-data-services.html' title='ADO.NET Data Services'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8243999917925598312</id><published>2008-07-21T18:10:00.000-07:00</published><updated>2008-07-21T18:24:42.922-07:00</updated><title type='text'>Making Applications Offline With Microsoft Sync Framework</title><summary type='text'>Computers are not just on dektops anymore, we see mobile computing theses days. With the heavy use of laptops and smart phone.When data is on the move, there are advantages of taking your data offline, this would typically mean that your client would have a data cache locally.Having data locally has its own advantages, for example, your data is highly available, you can work offline even without </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/8243999917925598312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/07/making-applications-offline-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8243999917925598312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8243999917925598312'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/07/making-applications-offline-with.html' title='Making Applications Offline With Microsoft Sync Framework'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8612436092661456062</id><published>2008-07-08T17:34:00.000-07:00</published><updated>2008-11-12T22:52:54.900-08:00</updated><title type='text'>PEX - Automated Exploratory Program Testing</title><summary type='text'>One of the prodcuts that is being reserched at Microsoft is PEX (program exploration).The team released a 0.5 version product last month and you can download it here.So what is PEX anyway, what does it try to solve?, Remeber how you wrote a method with "amazing" logic and you also wrote nice test cases to test this function, if the function is not very complex and have only a few paths it can </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/8612436092661456062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/07/pex-automated-exploratory-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8612436092661456062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8612436092661456062'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/07/pex-automated-exploratory-program.html' title='PEX - Automated Exploratory Program Testing'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/__C9EBEJGz4I/SHQI3PjiLWI/AAAAAAAAABc/UjQNlHjqhfA/s72-c/pex_1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-825213394457487748</id><published>2008-07-04T19:32:00.000-07:00</published><updated>2008-07-04T19:40:43.296-07:00</updated><title type='text'>ATOM and WCF Syndication</title><summary type='text'>Something that got me intrested is, syndication feeds, more particularly on ATOM 1.0.This might not be new news for most of us, but for the sake of a post after a long time, I had to do this !.Most of us might use feed readers, I use Feedreader, and for the people who dont know what this is all about, let me give you an intro.Think of you visiting my blog, every day to see if I have posted </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/825213394457487748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/07/atom-and-wcf-syndication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/825213394457487748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/825213394457487748'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/07/atom-and-wcf-syndication.html' title='ATOM and WCF Syndication'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4478710216742695466</id><published>2008-06-25T22:10:00.000-07:00</published><updated>2008-06-25T22:11:09.550-07:00</updated><title type='text'>WinForms : DesignMode</title><summary type='text'>Back to WinForms...It was a user control which calls a service, I knew that if I wrap the service call inside a ComponentModel.DesignMode, I could get away with the service call being called at design time and the designer throwing me exceptions...Now this is not an issue at all when your are designing the control, cos' Visual Studio does not create an instance of the user control that is being </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4478710216742695466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/06/winforms-designmode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4478710216742695466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4478710216742695466'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/06/winforms-designmode.html' title='WinForms : DesignMode'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-2786830149764402751</id><published>2008-06-13T07:43:00.001-07:00</published><updated>2008-06-13T20:13:49.207-07:00</updated><title type='text'>Going Parallel With Parallel Extension For .Net 3.5</title><summary type='text'>Now a days, almost all computers being used have multiple cores, for an example technologies like dual core.But, although you have dual core, generally you write programs that run on a single core, this does not utilize the total power of the multiple CPU or core that you have.This is exactly the power what Microsoft Parallel Extensions for .NET Framework 3.5 (a.k.a PFX).gives you.With PFX, you </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/2786830149764402751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/06/going-parallel-with-pfx.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2786830149764402751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2786830149764402751'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/06/going-parallel-with-pfx.html' title='Going Parallel With Parallel Extension For .Net 3.5'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-5782031166087078462</id><published>2008-06-11T06:43:00.001-07:00</published><updated>2008-11-12T22:52:55.299-08:00</updated><title type='text'>Weekend at Namunukala.</title><summary type='text'>Last weekend we took some time off, at Bandarawela. Climbing the Namunkala mountain and visiting some natural pools. It was a fun guranteed trip after all. This is our team. </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/5782031166087078462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/06/weekend-at-namunukala.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5782031166087078462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5782031166087078462'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/06/weekend-at-namunukala.html' title='Weekend at Namunukala.'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/__C9EBEJGz4I/SE_Yc68S7OI/AAAAAAAAABU/WWj70vazexk/s72-c/P1070890.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8762377637584478458</id><published>2008-06-09T00:47:00.000-07:00</published><updated>2008-06-09T03:29:00.316-07:00</updated><title type='text'>Velocity : Distributed Caching</title><summary type='text'>Caching is one way you could increase your applications response time. For an example, takea hotel reservation system, where you might need to show a list of hotels for a particularcountry in your reservation page.For each and every reservation made by users, a service call or a direct database call is onvloved to fetch the list of hotels for the country the user has selected, and when the number</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/8762377637584478458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/06/velocity-distributed-caching.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8762377637584478458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8762377637584478458'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/06/velocity-distributed-caching.html' title='Velocity : Distributed Caching'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4762922431402237905</id><published>2008-06-05T01:25:00.000-07:00</published><updated>2008-06-05T01:30:11.417-07:00</updated><title type='text'>Better Late Then Never</title><summary type='text'>It's been a few weeks since I have blogged, was a bit hooked up on catching on with some of the MS technologies.I started learning the ADO.Net entity Framework, downloaded some videos, samples and ye, did some pretty intresting stuffs with it.Then there was last week, when one of my friends asked me a question on web services, got a bit confused and I had to dig into some of the ws-* standards </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4762922431402237905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/06/better-late-then-never.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4762922431402237905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4762922431402237905'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/06/better-late-then-never.html' title='Better Late Then Never'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8545716013980842667</id><published>2008-05-24T07:41:00.000-07:00</published><updated>2008-05-24T07:45:25.934-07:00</updated><title type='text'>.NET Framework Client Profile</title><summary type='text'>The .NET framwork keeps on growing and so does the size, so it has become apparent that a lighter version of the .NET Framework is needed.Last week, Microsoft released the Visual Studio 2008 and .NET Framework 3.5 SP1 Beta. This includes the .NET Framework Client Profile,a smaller, optimized verson of the .NET framework needed for clients applications to run.The size of this framework is </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/8545716013980842667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/05/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8545716013980842667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8545716013980842667'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/05/blog-post.html' title='.NET Framework Client Profile'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3775963746042034591</id><published>2008-05-12T09:56:00.000-07:00</published><updated>2008-05-12T09:58:06.766-07:00</updated><title type='text'>WS-* and REST, Which Is Better and Why?</title><summary type='text'>I have been hooked up to REST these days after having some times to go through the WCF Web Programming Model (I know I am lagging behind in technologies !).While looking at the pros and cons of REST and WS-*, I could see more then few web pages, blogs, on the debate of what’s the best solution for SOA.REST is easy to use, no SOAP-client tool kits needed to generate web service proxies, as the </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3775963746042034591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/05/ws-and-rest-which-is-better-and-why.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3775963746042034591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3775963746042034591'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/05/ws-and-rest-which-is-better-and-why.html' title='WS-* and REST, Which Is Better and Why?'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-2918309456614577405</id><published>2008-05-06T07:23:00.000-07:00</published><updated>2008-05-07T04:26:18.851-07:00</updated><title type='text'>RESTful Example</title><summary type='text'>Here is an example on how you would create a RESTful webservice with the WCF Web programming model. I assume that you know how to write a WCF service and host it in IIS.In this example I am going to create a service that will say "Hello" plus a string that is passed into the service, further more the service is going to be hosted in IIS.the following is a WCF service class,[ServiceContract] </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/2918309456614577405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/05/wcf-web-programming-model-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2918309456614577405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2918309456614577405'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/05/wcf-web-programming-model-example.html' title='RESTful Example'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4151986907530793923</id><published>2008-05-03T09:35:00.000-07:00</published><updated>2008-05-03T09:40:53.849-07:00</updated><title type='text'>RESTful Web Services and the WCF Web Programming Model</title><summary type='text'>REST (Representational State Transfer) is not a new thing to the web service world; you can find a lot about what it is on the net, but for formality...REST is an architectural style (not a standard) it simply means web services are identified as resources and each operation as a unique URI assigned to it.You invoke the object's operation using the HTTP verbs like GET, POST etc...Most web </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4151986907530793923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/05/restful-web-services-and-wcf-web.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4151986907530793923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4151986907530793923'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/05/restful-web-services-and-wcf-web.html' title='RESTful Web Services and the WCF Web Programming Model'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-5472468279644445798</id><published>2008-05-02T06:22:00.000-07:00</published><updated>2008-05-02T09:14:21.162-07:00</updated><title type='text'>Finalization, Know What it Costs</title><summary type='text'>This is a post about object finalization in .NET.Finalization is not as inexpensive as we think, it increases the pressure put on GC.All objects that need finalization are moved into a finalizable queue and the actual finalization happens in a separate thread. Because the objects full state may be needed, the object itself and all the object it points to are promoted to the next generation (this </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/5472468279644445798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/05/finalization-know-what-it-costs.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5472468279644445798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5472468279644445798'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/05/finalization-know-what-it-costs.html' title='Finalization, Know What it Costs'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8343647344615293039</id><published>2008-04-25T02:11:00.000-07:00</published><updated>2008-04-25T02:24:31.992-07:00</updated><title type='text'>Prabath Siriwardena on Open Id</title><summary type='text'>When I joined in has as a software engineer, one of my first mentors was Prabath Siriwardena. Although it was just 5-6 months in his team, I learnt a lot from him, ranging from writing good code to, team work. He recently acquired his MSc in computer Science from the University of Moratuwa. and today works at WSO2 in the open id integration team. You can listen to his pod cast on Open id here, in</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/8343647344615293039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/04/prabath-siriwardena-on-open-id.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8343647344615293039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8343647344615293039'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/04/prabath-siriwardena-on-open-id.html' title='Prabath Siriwardena on Open Id'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-929997122378242520</id><published>2008-04-22T18:37:00.000-07:00</published><updated>2008-04-23T08:57:51.205-07:00</updated><title type='text'>Initializer Running in The Opposite Order as Constructors</title><summary type='text'>What would be the output of this C# program be?class Program{static void Main(string[] args){new Derived();}}public class Base{A ob = new A("Initialized base A");public Base() { Console.WriteLine("In base constructor");}}public class Derived : Base{A ob = new A("Initialized derived A");public Derived() { Console.WriteLine("In derived constructor");}}public class A{public A(string str) { </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/929997122378242520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/04/initializer-running-in-opposite-order.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/929997122378242520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/929997122378242520'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/04/initializer-running-in-opposite-order.html' title='Initializer Running in The Opposite Order as Constructors'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3540184475055268650</id><published>2008-04-18T18:44:00.000-07:00</published><updated>2008-04-23T08:55:08.329-07:00</updated><title type='text'>Unity Explained</title><summary type='text'>I had some time in the night to make use of the MS Unity applcation block, and I thought of writting a post on an example written uing Unity.To use the dependency injection in your code via Unity is just 2 steps.1) Create an instance of the Unity container, like this.//Import UnityContainer container = new UnityContainer();UnityContainer container = new UnityContainer();2) Register your type with</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3540184475055268650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/04/unity-explained.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3540184475055268650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3540184475055268650'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/04/unity-explained.html' title='Unity Explained'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-5309033396853050322</id><published>2008-04-13T19:42:00.000-07:00</published><updated>2008-04-13T19:49:17.557-07:00</updated><title type='text'>Dependency injection and MS Unity Application Block</title><summary type='text'>Building flexible and maintainable application means to achieve decoupled or very loosely coupled design.Loosely coupled application also mean that you can test them easily using mocks.Two ways of achieving loosely coupled nature in an application is via techniques Dependency injection and service locator.When we talk about dependency injection we are talking about plug-in based development and </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/5309033396853050322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/04/dependency-injection-and-ms-unity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5309033396853050322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5309033396853050322'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/04/dependency-injection-and-ms-unity.html' title='Dependency injection and MS Unity Application Block'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-6405834940290437516</id><published>2008-04-10T04:15:00.000-07:00</published><updated>2008-04-10T04:55:35.263-07:00</updated><title type='text'>Exception Handling Best Practices</title><summary type='text'>Thought of writing some thing on exception and how it should be handled. These are some of the practices to be followed when managing exceptions in code to give you some more performance. 1) Do not use exceptions to control application logic. Throwing an exception is expensive (building the stack trace, etc are expensive). For an example when searching for a student and when it does not exist, do</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/6405834940290437516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/04/exception-handling-best-practices.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6405834940290437516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6405834940290437516'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/04/exception-handling-best-practices.html' title='Exception Handling Best Practices'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3816374113607250503</id><published>2008-04-09T07:17:00.000-07:00</published><updated>2008-04-09T07:29:41.683-07:00</updated><title type='text'>Same Old Story...</title><summary type='text'>Ok, here we go again..it's a new project, a new cubical and a code base that I need to start familiarizing...well that adds up to, I don’t get time to blog or at least read something new, ye the same old story..After much consideration I applied for an ADSL line at home, my first thought was not too, as the weekends are allocated for family, friends and long hours of sleep, but then again I could</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3816374113607250503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/04/same-old-story.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3816374113607250503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3816374113607250503'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/04/same-old-story.html' title='Same Old Story...'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-1223684770331787992</id><published>2008-04-04T05:49:00.001-07:00</published><updated>2008-04-09T07:17:08.056-07:00</updated><title type='text'>The Whole New Environment...</title><summary type='text'>I should have learnt from my lessons! Every time I move into a new project, it seems that everything goes wrong, why?&lt;?xml:namespace prefix = o /&gt;My development environment tends to work counter to my expectation.I have noticed this in almost all the projects I have worked in, the reason being, the tools and other stuff specific to the previous project play almost against the environment needed </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/1223684770331787992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/04/whole-new-environment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1223684770331787992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1223684770331787992'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/04/whole-new-environment.html' title='The Whole New Environment...'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4182977485673710822</id><published>2008-04-01T03:31:00.000-07:00</published><updated>2008-04-01T03:34:47.065-07:00</updated><title type='text'>IE 8 Beta</title><summary type='text'>Here is the link where you can download Internet Explorer 8 beta., There are some new features that has been added, you can read more about it here.The only reason I installed IE 7 was due to it's "Tab" feature, but after some use I understood it was not like IE 6 but lot of hangs, crashes and was not much of a stable product. No offence but, it's my opinion.IE 8 beta was released for download, I</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4182977485673710822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/04/ie-8-beta.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4182977485673710822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4182977485673710822'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/04/ie-8-beta.html' title='IE 8 Beta'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-6419538015205173985</id><published>2008-03-27T04:40:00.000-07:00</published><updated>2008-03-27T04:42:07.163-07:00</updated><title type='text'>Ranking Functions : ROW_NUMBER</title><summary type='text'>One of the features that was included in SQL Server 2005 were ranking functions and I bumped into one of these last week, The ROW_NUMBER().This function allows you to provide a sequential integer value to the results of your query. This comes in handy when you want to rank your data according to some criteria.Let me throw an example…I have a table that has a set of student marls, I can use a </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/6419538015205173985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/03/ranking-functions-rownumber.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6419538015205173985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6419538015205173985'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/03/ranking-functions-rownumber.html' title='Ranking Functions : ROW_NUMBER'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-6248710592666114200</id><published>2008-03-26T04:55:00.000-07:00</published><updated>2008-03-26T04:56:00.598-07:00</updated><title type='text'>IIS 7 admin pack</title><summary type='text'>  One of the core features of IIS 7 is that developers can write .Net modules and plug it in and extend the web server’s functionalities.  This also meant the MS can release future pack to easily extend IIS features.  And last week MS released a technical preview for the IIS 7 admin module; this includes some cool features that web developers can benefit. Some of the new features include:  &lt;![if </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/6248710592666114200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/03/iis-7-admin-pack.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6248710592666114200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6248710592666114200'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/03/iis-7-admin-pack.html' title='IIS 7 admin pack'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-5204308612329870477</id><published>2008-03-24T03:50:00.001-07:00</published><updated>2008-03-24T03:56:53.612-07:00</updated><title type='text'>Wrestle Mania 24</title><summary type='text'>My favorite sport is wrestling, and really I don’t care if it’s real or not…as long as I enjoy it. Just like the world cup in cricket, in WWE it’s Wrestle Mania, and this time the event is taking place on the 30th of this month.There is going to be some real matches this time and some of the ones that I will not try to miss are:Batista vs UmagaEdge vs The Undertaker for the World Heavy Weight </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/5204308612329870477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/03/wrestle-mania.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5204308612329870477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5204308612329870477'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/03/wrestle-mania.html' title='Wrestle Mania 24'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-9177514505972291706</id><published>2008-03-19T07:28:00.001-07:00</published><updated>2008-03-19T07:28:10.543-07:00</updated><title type='text'>Tech-talk on LINQ</title><summary type='text'>  I presented a Tech-talk to my fellow Virtusan’s on LINQ last Monday. Around 25 people came in and in no time the place was turned it to a question base. Well, fortunately I was prepared and it was great answering those questions. Some of the areas I covered were on query expression, LINQ to objects and LINQ to SQL. The presentation was planned for 1 hour but it took an additional 20 minutes for</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/9177514505972291706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/03/tech-talk-on-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/9177514505972291706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/9177514505972291706'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/03/tech-talk-on-linq.html' title='Tech-talk on LINQ'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3012412948057786318</id><published>2008-03-14T05:44:00.000-07:00</published><updated>2008-11-12T22:52:56.139-08:00</updated><title type='text'>Weekend at Ahungalla</title><summary type='text'>This weekend the the whole account here at Virtusa are leaving for "Heritance" at Ahungalla to take a day off from the "busy" work life. It seems that there is going to be a quiet a lot of fun planned.However I will not be able to join them, as I got a family function to attend to...ye ..bad luck.Last time we went on our quartely project trip, it was fun though...thought of posting a pic out of </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3012412948057786318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/03/this-weekend-the-whole-ibm-account-here.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3012412948057786318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3012412948057786318'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/03/this-weekend-the-whole-ibm-account-here.html' title='Weekend at Ahungalla'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/__C9EBEJGz4I/R9p2yoG05oI/AAAAAAAAAAw/fe15L5T3n6c/s72-c/P1030771.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-2659172795845622239</id><published>2008-03-13T01:10:00.000-07:00</published><updated>2008-03-13T01:11:49.026-07:00</updated><title type='text'>One-to-Many mapping in LINQ</title><summary type='text'>Thought of posting about how you can map a simple one-many reletionship in LINQ. Lets take for an example the relationship between a country and its cities, which is one to many, one country can have many cities, If I define a class called Country and City and then ofcourse two table called Country and City, I can map the reletionship in a simple way that looks like this  [Table] class Country {</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/2659172795845622239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/03/one-to-many-mapping-in-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2659172795845622239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2659172795845622239'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/03/one-to-many-mapping-in-linq.html' title='One-to-Many mapping in LINQ'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-2096517734544893469</id><published>2008-03-11T07:57:00.001-07:00</published><updated>2008-03-12T04:30:51.406-07:00</updated><title type='text'>Automatic Properties</title><summary type='text'>I was writing a piece of test code in VS2008 and the prop code snippet want just generate the private field, did some goggling around and found this out.Well, you may remember in the days of VS2003 when you had to write your private fields and then write the property getter and setter for it, that was cumbersome, I remember when it became to hard for me to write all these properties and I had to </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/2096517734544893469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/03/automatic-properties.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2096517734544893469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2096517734544893469'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/03/automatic-properties.html' title='Automatic Properties'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-5994927628437860040</id><published>2008-03-11T04:18:00.001-07:00</published><updated>2008-03-27T02:22:17.517-07:00</updated><title type='text'>Pre-Allocated</title><summary type='text'>Not much of work these days, the truth is there is no work at all. I already blogged about the project I am currently allocated being closed off at the end of March, however, I am “sort” of pre-allocated to another project again from the same client I was working on earlier Surprisingly, the project is called “Sorcerer”.This one is a bit on the domain and there seems to be new modules coming in </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/5994927628437860040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/03/pre-allocated.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5994927628437860040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5994927628437860040'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/03/pre-allocated.html' title='Pre-Allocated'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8579504771290590851</id><published>2008-03-04T21:33:00.000-08:00</published><updated>2008-03-04T21:40:34.116-08:00</updated><title type='text'>LINQ to SQL</title><summary type='text'>&lt;?xml:namespace prefix = o /&gt; This is an abstract of LINQ to SQL; this provides a better way to linq your entites class to the database tables. For example lets say you have a table called “tbl_customer” with fields “customer_name” and “customer_id”, you would map your entity class “Customer” as follows [Table(Name=”tbl_customer”)]public class Customer{            [Column(Name=”customer_id”)] </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/8579504771290590851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/03/linq-to-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8579504771290590851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8579504771290590851'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/03/linq-to-sql.html' title='LINQ to SQL'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3993784269577363967</id><published>2008-02-28T02:18:00.001-08:00</published><updated>2008-03-27T01:52:32.735-07:00</updated><title type='text'>Project closure...End of March</title><summary type='text'>It’s another month to go !. Ye, I am talking about my project; I was working on the security, task scheduling and logging component of an ETL application. It’s been 1+ years since I started on this project, it’s based on a J2ee backend, and .Net 1.1 front end.&lt;?xml:namespace prefix = o /&gt;At first I did not like the project as it was being developed in .Net 1.1, but as it went on I learnt many </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3993784269577363967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/02/project-closureend-of-march.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3993784269577363967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3993784269577363967'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/02/project-closureend-of-march.html' title='Project closure...End of March'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3381377235458915656</id><published>2008-02-25T06:17:00.001-08:00</published><updated>2008-02-25T06:26:17.840-08:00</updated><title type='text'>ASP.NET MVC Framework</title><summary type='text'>ASP.NET MVC Framework is another extension that has been added to .net 3.5, this framework allows developers to create ASP.NET projects using the MVC pattern (of course as the name suggests!).I took a look at it and it seems pretty easy to use. You can learn more about it here.Just to give an idea about how easy controllers can be implemented, take a look at the code below...public class </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3381377235458915656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/02/aspnet-mvc-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3381377235458915656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3381377235458915656'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/02/aspnet-mvc-framework.html' title='ASP.NET MVC Framework'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4711365580578812800</id><published>2008-02-22T04:09:00.000-08:00</published><updated>2008-02-22T05:01:45.477-08:00</updated><title type='text'>Extension methods and Lambda expressions</title><summary type='text'>Maybe it’s a bit late for me to post about .Net 3.5 + VS 2008, but that’s what I am exactly doing these days.My first interest in the language was on Lambda expressions and extension methods and then LINQ.I have learnt quite some stuff about LINQ, meaning the basic, but still did not have a time to try out LINQ to SQL, maybe I will, in the coming week.Just to give you an idea about Lambda </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4711365580578812800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/02/maybe-its-bit-late-for-me-to-start.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4711365580578812800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4711365580578812800'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/02/maybe-its-bit-late-for-me-to-start.html' title='Extension methods and Lambda expressions'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-6466554614449987996</id><published>2008-02-20T19:56:00.000-08:00</published><updated>2008-02-22T04:08:59.510-08:00</updated><title type='text'>LINQ</title><summary type='text'>LINQ, Language Integrated Query is a new feature in .Net 3.5. Tradiationally, a programmerneeds to different query language to query different datasources, for example, data sources likeSql databases, XML and in-memory objects. This meant the programmer needed to learndifferent query languages for each and every technology. There was another problem as well, queries werewritten in string form and</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/6466554614449987996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/02/linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6466554614449987996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6466554614449987996'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/02/linq.html' title='LINQ'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-448344274399234083</id><published>2008-02-14T03:45:00.001-08:00</published><updated>2008-02-14T03:45:32.579-08:00</updated><title type='text'>Being part of an interview</title><summary type='text'>  I always wanted to be part of an interview, and today I got the chance. I was given a chance to accompany one of the interviewers at Virtusa. I got a chance to throw some question as well, not very hard once but you know…basically I did not have much questions.  Anyway, kind of liking this, maybe I should do this often.       </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/448344274399234083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/02/being-part-of-interview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/448344274399234083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/448344274399234083'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/02/being-part-of-interview.html' title='Being part of an interview'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4139750589334150511</id><published>2008-02-13T06:33:00.001-08:00</published><updated>2008-02-13T06:38:05.224-08:00</updated><title type='text'>Memory leaks in managed code</title><summary type='text'>  This was something we ran into in our application used custom GUI components, and well those were rough days…     You sometimes hear that a managed language like C# or Java does away with memory leaks, and frees the programmer from having to think about freeing objects from memory. Well this is not especially true for GUI code.  The main reason for this is the use of the Observer pattern. While</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4139750589334150511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/02/memory-leaks-in-managed-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4139750589334150511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4139750589334150511'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/02/memory-leaks-in-managed-code.html' title='Memory leaks in managed code'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-1889347695905691792</id><published>2008-02-12T04:15:00.001-08:00</published><updated>2008-02-12T04:15:28.348-08:00</updated><title type='text'>SharePoint training</title><summary type='text'>  I was having my usual time at home today when I remembered “my god I have a training to catch”…  I had to race into office and finally made it at around 10 AM. The training was on Microsoft SharePoint server, the trainer was Joy Pradeep one of the MVP of Sri Lanka.  The training was good but the first few hours were mostly concentrated on the administration side of SharePoint, I did not get a </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/1889347695905691792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/02/sharepoint-training.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1889347695905691792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1889347695905691792'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/02/sharepoint-training.html' title='SharePoint training'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3773787732412460824</id><published>2008-02-11T01:52:00.000-08:00</published><updated>2008-02-11T01:55:52.483-08:00</updated><title type='text'>ILMerge</title><summary type='text'>Cool tool for .Net, ILMerge. This allows you to merge two assemblies into one target assembly. One most obvious use for this would be when you have two project one written in C# and one in VB.Net, using ILMerge you can combine these assemblies to distribute to your customer as if you have developed it in one project !!!.span&gt;</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3773787732412460824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/02/ilmerge.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3773787732412460824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3773787732412460824'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/02/ilmerge.html' title='ILMerge'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8354682577413116392</id><published>2008-02-08T05:55:00.000-08:00</published><updated>2008-02-08T06:13:43.628-08:00</updated><title type='text'>Debugging WCF services hosted in IIS 6.0</title><summary type='text'>I have been doing some sample projects in WCF (hosted in IIS 6.0), and today I was trying to debug the service like I have done with web services and ASP.net but with no luck, the break point does not get hit at all !!!, After some goggling found out that direct debugging of projects in the same solution is not possible with WCF.&lt;?xml:namespace prefix = o /&gt;The work around is to run your client </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8354682577413116392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8354682577413116392'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/02/debugging-wcf-services-hosted-in-iis-60.html' title='Debugging WCF services hosted in IIS 6.0'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-4056130943729758907</id><published>2008-02-08T05:48:00.001-08:00</published><updated>2008-02-08T06:14:12.521-08:00</updated><title type='text'>Back for good!!!</title><summary type='text'>Ok guys I am back in the mood to blog, I do remember I said this before but this time it’s for the best...I have been having a hard time at work and did not fins sufficient time to send a post.&lt;?xml:namespace prefix = o /&gt;I have made up mind to take some time of my work to post a message or two at least every week !!!</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/4056130943729758907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2008/02/back-for-good.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4056130943729758907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/4056130943729758907'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2008/02/back-for-good.html' title='Back for good!!!'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-6182476993698833142</id><published>2007-06-19T04:38:00.001-07:00</published><updated>2007-06-19T04:39:57.384-07:00</updated><title type='text'>Life goes on</title><summary type='text'>It’s been quite some times that I have started to blog, not that I was not interested…it was just that I did not have time.My work place recently has started to become busy. And guess what I have started to come to work early. The weekends, ye they come and go, seems that Saturdays and Sundays go too slow compared to working days.Three to four months before , I was hooked up to the computer and </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/6182476993698833142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2007/06/life-goes-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6182476993698833142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6182476993698833142'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/06/life-goes-on.html' title='Life goes on'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-6772914114942066243</id><published>2007-05-10T07:44:00.001-07:00</published><updated>2007-05-10T07:45:14.027-07:00</updated><title type='text'>Sri Lanka , where is it heading?</title><summary type='text'>So it seems that months pass by with no peace, there were several bombing the past month. And still living in fear…Ha.. some said, Sri Lanka is going to change, but it’s obvious that it’s degrading worse very day, not to mention that he has done a few (may be a lot for others) good things to improve the stability of the country.But this does not prove any overall improvement in the society, and I</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/6772914114942066243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2007/05/sri-lanka-where-is-it-heading.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6772914114942066243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/6772914114942066243'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/05/sri-lanka-where-is-it-heading.html' title='Sri Lanka , where is it heading?'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8097030301713825051</id><published>2007-05-04T04:47:00.000-07:00</published><updated>2007-05-04T04:57:47.565-07:00</updated><title type='text'>I love when it rains....</title><summary type='text'>It’s raining more then cats and dogs in Colombo these few days, and it became even worse yesterday.It took me nearly 4 hours to go home instead of the routine 1 hour, and that was hell of a traffic in Colombo.Sort of enjoying work these days, it’s raining , the air conditioner chills more then ever,  come to office around 11 am and leave at minimum 6.Coming to office is also a bit of a war, by </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/8097030301713825051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2007/05/i-love-when-it-rains.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8097030301713825051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8097030301713825051'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/05/i-love-when-it-rains.html' title='I love when it rains....'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-914547123750380223</id><published>2007-04-24T23:47:00.000-07:00</published><updated>2007-04-24T23:58:17.934-07:00</updated><title type='text'>We are into the finals !</title><summary type='text'>I am a cricket fan, (well that’s the only sport I know to play!) .I remember how I enjoyed watching the last World cup, although our guys you know…But this time, it seems that I have lost a certain amount of interest, of course after the busy day and also the busy day ahead does not let me watch the matched until late night.I am damn happy that our guys got into the finals, after all it’s my </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/914547123750380223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2007/04/we-are-into-finals.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/914547123750380223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/914547123750380223'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/04/we-are-into-finals.html' title='We are into the finals !'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-5421448153341895850</id><published>2007-03-29T03:41:00.000-07:00</published><updated>2007-03-29T03:47:12.764-07:00</updated><title type='text'>Wrestle Mania 23</title><summary type='text'>Finally, Wrestle mania 23 is here…Yep folks, it’s on April 1st. These are some of the events I would not want to miss watching..Undertaker vs Batista -  for the World heavy weight championship.John cena vs Shawn Michel -  for the WWE championship.Battle of the billionaires – Umaga vs Bobby lashlyFor more information visit wwe.com</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/5421448153341895850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2007/03/wrestle-mania-23.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5421448153341895850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5421448153341895850'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/03/wrestle-mania-23.html' title='Wrestle Mania 23'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-1259530620654625895</id><published>2007-03-29T02:34:00.000-07:00</published><updated>2007-03-29T02:35:18.853-07:00</updated><title type='text'>A Crouching tiger waits for it’s prey</title><summary type='text'>A Crouching tiger waits for it’s prey…Sometimes you will not respond immediately to your foe, but rather wait until the correct time.This does not mean that this person is not smart enough to defend him self, but what it really means is…, planning the attack takes time.</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/1259530620654625895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2007/03/crouching-tiger-waits-for-its-prey.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1259530620654625895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/1259530620654625895'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/03/crouching-tiger-waits-for-its-prey.html' title='A Crouching tiger waits for it’s prey'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-407320701664900645</id><published>2007-03-29T02:07:00.000-07:00</published><updated>2007-03-29T02:15:23.584-07:00</updated><title type='text'>Hack of a week</title><summary type='text'>This week has been frustrating for me. First I did not have sufficent work at office, and I had to stare at the monitor for half of the time I was there at work.Then the hard disk of my computer at home got corrupted, so I had to buy a new computer (anyway I was planning to buy one cos' the one I had was a bit old. All that money!!). Thirdly, I got soar throath and a fever, and the drugs that I </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/407320701664900645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2007/03/hack-of-week.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/407320701664900645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/407320701664900645'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/03/hack-of-week.html' title='Hack of a week'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-2544029325147014791</id><published>2007-03-20T05:22:00.001-07:00</published><updated>2007-03-20T05:22:50.102-07:00</updated><title type='text'>Localization tips..</title><summary type='text'>  These are something that you would need to consider when planning to localize your system.                 Externalize all the hard code strings, that is, move it into a separate resource file.                 Do not move your strings into the forms own resource file (talking about .NET Win forms), this is because every time you add a new language support or even if you change something on the </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/2544029325147014791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2007/03/localization-tips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2544029325147014791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2544029325147014791'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/03/localization-tips.html' title='Localization tips..'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-5691183334234018329</id><published>2007-03-18T22:20:00.000-07:00</published><updated>2007-03-20T05:08:20.465-07:00</updated><title type='text'>Method inlining</title><summary type='text'>Executing a method has a cost, this cost can be partially avoided by method inlining.Method inlining means basically moving the method into the callers body for an eg. Take a look at the codeint Calc(){return x * y;}int num = Calc();when Calc() is inlined what it basically means isint num = x * y;Unlike C++ (as I read) C# does not have inline keyword to explicitly inline methods, this is due to </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/5691183334234018329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2007/03/method-inlining.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5691183334234018329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/5691183334234018329'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/03/method-inlining.html' title='Method inlining'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8167526927728436733</id><published>2007-02-27T20:22:00.000-08:00</published><updated>2007-03-07T20:46:10.600-08:00</updated><title type='text'>InitilizeComponent() visited</title><summary type='text'>Well these are two scenarios that happened to me:In one of the earlier projects, just before a release I was working on a alignment issue in an aspx page and no change to the code behind file was done. But when the setup was tested on a fresh machine, the application threw exceptions !!. Finally what we found out was that the code behind of the file has really changed, to make things worse, the </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/8167526927728436733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2007/02/initilizecomponent-visited.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8167526927728436733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8167526927728436733'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/02/initilizecomponent-visited.html' title='InitilizeComponent() visited'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-3076237076142002482</id><published>2007-02-25T21:35:00.000-08:00</published><updated>2007-02-25T21:36:30.738-08:00</updated><title type='text'>More on localization...</title><summary type='text'>I was changing the Region and language settings in the control panel, and was expecting that text in the forms to show up in the language that I had set, with no luck.Did some reading and ……CurrentUICulture is a per thread settings that governs from which resource file the ResourceManager class uses in a localized application. CurrentUICulture is a language setting and does not have any thing to </summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/3076237076142002482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2007/02/more-on-localization.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3076237076142002482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/3076237076142002482'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/02/more-on-localization.html' title='More on localization...'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-2240519703137843483</id><published>2007-02-22T03:49:00.001-08:00</published><updated>2007-02-22T03:49:51.032-08:00</updated><title type='text'>Arguing with a egg head !</title><summary type='text'>Well, after posting a mail on Stringbuilder vs String to a group in Sri Lanoka (BITPROJECTS), A guy named Ranga, started pointing out a mistake in my example, well I proved that he was wrong !!.But I guess the guy did not wanted to give up, so he started talking about everything else other then StringBuilderThink he might have got really frustrated, loosing !!!.So finally I thought of giving up, </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2240519703137843483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/2240519703137843483'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/02/arguing-with-egg-head_22.html' title='Arguing with a egg head !'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-1349166315858894297.post-8478808725320301681</id><published>2007-02-19T22:24:00.001-08:00</published><updated>2007-02-25T20:30:52.177-08:00</updated><title type='text'>String vs StringBuilder</title><summary type='text'>Take a look at the code given below&lt;?xml:namespace prefix = o /&gt; string str = string.empty; for(int i= 0 ; I &lt; 100; i++){str += i.ToString();}You should never use string concatenation inside a loop, the reason for this being that strings in java and c# are Immutable.What this mean is that each time you concatenate a string, a whole new string object is created with the older value appended to the</summary><link rel='replies' type='application/atom+xml' href='http://mnairooz.blogspot.com/feeds/8478808725320301681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mnairooz.blogspot.com/2007/02/string-vs-stringbuilder.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8478808725320301681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1349166315858894297/posts/default/8478808725320301681'/><link rel='alternate' type='text/html' href='http://mnairooz.blogspot.com/2007/02/string-vs-stringbuilder.html' title='String vs StringBuilder'/><author><name>Nairooz Nilafdeen</name><uri>http://www.blogger.com/profile/13194447391722403004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__C9EBEJGz4I/TE2LEhlbAHI/AAAAAAAAAF8/rWXAjWyBh7w/S220/n1.jpg'/></author><thr:total>3</thr:total></entry></feed>
