<feed xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
    <title>Sandu's Blog</title>
    <link rel="self" type="application/xml" href="http://geekswithblogs.net/sandu/Atom.aspx" />
    <subtitle type="html">Views on life as a techie</subtitle>
    <id>http://geekswithblogs.net/sandu/Default.aspx</id>
    <author>
        <name>Sandaruwan Fernando</name>
        <uri>http://geekswithblogs.net/sandu/Default.aspx</uri>
    </author>
    <generator uri="http://subtextproject.com" version="Subtext Version 0.0.0.0">Subtext</generator>
    <updated>2009-11-08T00:24:50Z</updated>
    <entry>
        <title>Before You Start</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2009/11/08/before-you-start.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2009/11/08/before-you-start.aspx</id>
        <published>2009-11-08T00:24:50-06:00:00</published>
        <updated>2009-11-08T00:24:50Z</updated>
        <content type="html">&lt;p&gt; &lt;/p&gt;
&lt;p style="TEXT-ALIGN: justify; LINE-HEIGHT: 150%; MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;Many people I know want to someday start their own businesses, including myself. We look at all the famous entrepreneurs of the world and dream of someday to be able to be the same. We are fascinated by their life stories, about how they started in their garage and built a multi-million dollar business. Some of us even might have innovative ideas for new businesses as well. In our work place sometimes we are given the responsibility to lead a project or lead a new product development. But how do we embark on a venture, be it a new business, a new project or a new product? What do we need to start something new? If you do not have a clear vision at the start then you will probably fail.&lt;/p&gt;
&lt;p style="TEXT-ALIGN: justify; LINE-HEIGHT: 150%; MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;It is important to know the critical success factors so that you can focus your resources on them and in case of a new project it is important to have a clear understanding of the deliverables and the end results expected. It is good to define metrics to measure the success factors at the beginning so that we know when we have reached our goal. It is important to have role clarity within your team. &lt;span style="mso-spacerun: yes"&gt; &lt;/span&gt;i.e. It should be clear from the get go who will do what within your team. Also it is crucial to identify the stakeholders and to identify the preferred medium of communication with them.&lt;/p&gt;
&lt;p style="TEXT-ALIGN: justify; LINE-HEIGHT: 150%; MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;Guy Kawasaki, a venture capitalist and the author of the book ‘The Art of the Start’ has some good advice for anyone starting something new. You can watch his speech given at TiECon at &lt;a href="http://video.google.com/videoplay?docid=-3755718939216161559#"&gt;http://video.google.com/videoplay?docid=-3755718939216161559#&lt;/a&gt;&lt;/p&gt;
&lt;p style="TEXT-ALIGN: justify; LINE-HEIGHT: 150%; MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;His first and in my opinion one of the most important advice is starting something that makes meaning rather than something that makes money. This doesn’t mean the product/company/project shouldn’t make money. It means that the main focus should be to make something meaningful. It may be improving the quality of living of people or fixing some wrong in the status quo or preventing the end of something good. He argues that if you build something meaningful it will make money as well.&lt;/p&gt;
&lt;p style="TEXT-ALIGN: justify; LINE-HEIGHT: 150%; MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;He also talks about having a specific and simple business model and about starting something that has both high value and uniqueness.&lt;/p&gt;
&lt;p style="TEXT-ALIGN: justify; LINE-HEIGHT: 150%; MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;Also in his advice he talks about hiring ‘infected’ people and having ‘soul mates’. By ‘infected’ people he means having a team that is truly passionate about the company/product/project. It is not necessary to have people with lot of irrelevant qualifications. But it is crucial to have people who are passionate. By ‘soul mates’ he means having someone beside you who compliments your weaknesses. As examples, he mentions about Steve Jobs and Steve Wozniak complimenting each other and also about Bill Gates and Steve Ballmer.&lt;/p&gt;
&lt;p style="TEXT-ALIGN: justify; LINE-HEIGHT: 150%; MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;Another point he talks about is lowering the barriers to entry. To be successful the learning curve of people using your product should be a small one. You should never ask your client to do something that you wouldn’t do. He elaborates on these points by giving examples of complicated forms that are given to customers by some companies to register for their product. He asks the audience how many people know how to change the time in a VCR.&lt;/p&gt;
&lt;p&gt;&lt;span style="LINE-HEIGHT: 115%; FONT-FAMILY: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Most of Guy Kawasaki’s advice is relevant to entrepreneurs starting new businesses. It is equally relevant to an intrapreneur who is a “person&lt;/span&gt;&lt;span style="LINE-HEIGHT: 115%; FONT-FAMILY: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN; mso-fareast-language: EN-US; mso-bidi-language: AR-SA" lang="EN"&gt;within a large corporation who takes direct responsibility for turning an idea into a profitable finished product through assertive risk-taking and innovation"&lt;/span&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/136134.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/136134.aspx</wfw:comment>
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/136134.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/136134.aspx</trackback:ping>
    </entry>
    <entry>
        <title>How to write a good response to an RFP</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2009/10/18/how-to-write-a-good-response-to-an-rfp.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2009/10/18/how-to-write-a-good-response-to-an-rfp.aspx</id>
        <published>2009-10-18T19:40:09-05:00:00</published>
        <updated>2009-10-18T19:40:09Z</updated>
        <content type="html">&lt;p style="MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;&lt;font size="3"&gt;A request for proposal is an invitation for vendors to submit their proposals for a product or a service. RFP’s allow clients to compare different vendors and gather information about each vendor’s approach and price before making an informed decision on a particular vendor. Therefore learning how to write an effective RFP response is a useful skill to develop. If you are writing a response to a RFP it is important to follow certain guidelines in order to have a better chance of being accepted.&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;&lt;font size="3"&gt;First of all it is probably a good idea to read the RFP cover to cover. You need to have a clear idea on what the client requires. There would probably be sections in the RFP called Deliverables or something to that effect which would give an idea as to what exactly is required. In some instances the exact requirements of the client can be vague. In these circumstances it is important to dig deep and find out the precise requirements or the ‘requirements behind the requirements’.&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;&lt;font size="3"&gt;When starting to write a response it is critical to use the proper format as indicated in the RFP. Failure to do so would probably cause your response to be dismissed even without consideration.&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;&lt;font size="3"&gt;When writing the response try to use an approach such as AIDA (Attention, Interest, Desire, Action). &lt;span style="mso-spacerun: yes"&gt; &lt;/span&gt;Start with something that grabs the reader’s attention. This could be something like a quote from someone famous/respected, or a story, or some statistic. Then build on interest by focusing on the client’s requirements. Always try to focus on the client rather than yourself. Then build desire by drawing a picture of the end result of your solution. Show your value proposition and try to give something extra that the client is not anticipating. And end with summarizing the action plan to get the project in motion.&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;&lt;font size="3"&gt;Here are some more tips to writing a successful response;&lt;/font&gt;&lt;/p&gt;
&lt;ul style="MARGIN-TOP: 0in" type="disc"&gt;
    &lt;li style="MARGIN: 0in 0in 10pt; mso-list: l0 level1 lfo1" class="MsoNormal"&gt;&lt;font size="3"&gt;Do not use jargon&lt;/font&gt;&lt;/li&gt;
    &lt;li style="MARGIN: 0in 0in 10pt; mso-list: l0 level1 lfo1" class="MsoNormal"&gt;&lt;font size="3"&gt;Be as thorough as possible but have a executive summary to give a succinct view of your solution&lt;/font&gt;&lt;/li&gt;
    &lt;li style="MARGIN: 0in 0in 10pt; mso-list: l0 level1 lfo1" class="MsoNormal"&gt;&lt;font size="3"&gt;Offer proof of your qualifications and have references&lt;/font&gt;&lt;/li&gt;
    &lt;li style="MARGIN: 0in 0in 10pt; mso-list: l0 level1 lfo1" class="MsoNormal"&gt;&lt;font size="3"&gt;Give examples of similar projects you have done before&lt;/font&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;&lt;o:p&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p style="MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;&lt;font size="3"&gt;Good Luck!&lt;/font&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/135535.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/135535.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/135535.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/135535.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Share MasterPage across applications</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2008/12/09/share-masterpage-across-applications.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2008/12/09/share-masterpage-across-applications.aspx</id>
        <published>2008-12-09T14:57:02-06:00:00</published>
        <updated>2008-12-09T15:00:22Z</updated>
        <content type="html">&lt;p&gt; &lt;/p&gt;
&lt;p&gt;In my company we have an architecture where we have several websites working together to form one big application. We use the same MasterPage and Theme for all the websites so that they look like the same application. We do this since this allows us to customize our applications based on clients by plugging in different functionality provided by different websites. We also have different Masterpages for different clients and load the correct one dynamically once the user logs in.&lt;/p&gt;
&lt;p&gt;One problem we've been having is that we have copies of the Masterpage files in all the websites. Recently I found a good solution to this problem in &lt;a href="http://blogs.msdn.com/shahpiyush/archive/2007/03/09/Sharing-Master-Pages-amongst-Applications-by-Embedding-it-in-a-Dll_2E00_.aspx"&gt;Piush Shah's&lt;/a&gt; blog. This is by using the VirtualPathProvider of .NET 2.0 to load Masterpage from a different location such as a dll. So this dll can be common to all applications and can contain all the different masterpages we want to load. By doing this we can save effort in maintenance because there is only one copy of the MasterPage file. We can use any other path to load the file from such as database, shared file pah, etc.&lt;/p&gt;
&lt;p&gt;This is done by writing an implementaion to the VirtualPathProvider class and registering it in the Application Load event. If we dig deeper we can see that the default behaviour ASP.NET also uses an implementation of the VirtualPahtProvider which is MapPathBasedVirtualPathProvider, which maps the url path to a file system path.&lt;/p&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/127759.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/127759.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/127759.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/127759.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Windows 7 Taskbar</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2008/11/04/windows-7-taskbar.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2008/11/04/windows-7-taskbar.aspx</id>
        <published>2008-11-04T13:07:32-06:00:00</published>
        <updated>2008-11-04T13:07:32Z</updated>
        <content type="html">&lt;embed src="http://www.youtube.com/v/ipg6ltIZRw0&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xcfcfcf&amp;amp;hl=en&amp;amp;fs=1" width="425" height="344" type="application/x-shockwave-flash" allowfullscreen="true"&gt;&lt;/embed&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/126596.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/126596.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/126596.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/126596.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Microsoft Cloud Operating System - Azure</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2008/10/28/microsoft-cloud-operating-system---azure.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2008/10/28/microsoft-cloud-operating-system---azure.aspx</id>
        <published>2008-10-28T08:36:38-05:00:00</published>
        <updated>2008-10-28T08:36:38Z</updated>
        <content type="html">&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com"&gt;Microsoft&lt;/a&gt; announced its new &lt;a href="http://en.wikipedia.org/wiki/Cloud_computing"&gt;cloud operating system&lt;/a&gt; at PDC on Monday. Its called Windows Azure. Read more about it at &lt;a href="http://news.cnet.com/8301-10805_3-10076004-75.html"&gt;cnet site&lt;/a&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/126263.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/126263.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/126263.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/126263.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Getting back to blogging</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2008/10/18/125911.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2008/10/18/125911.aspx</id>
        <published>2008-10-18T01:46:46-05:00:00</published>
        <updated>2008-10-18T01:46:46Z</updated>
        <content type="html">&lt;p&gt;I started this blog a looong time ago and stopped blogging also a long time ago.... Since then a lot has changed. I have got married to a girl I simply adore. I have moved up in my career. And also I have been trying hard to find a way to do a Masters and do it in a foreign country. It was a strugle to find a good university offering a course I like and also which offered some sort of scholarship so I can afford it. Finally I think I have found a good course in &lt;a href="http://www.heinz.cmu.edu.au/"&gt;Australia&lt;/a&gt; with a full scholarship although I still dont know the details. &lt;/p&gt;
&lt;p&gt;So I have made a resolution to start blogging again. Mostly I will be blogging about the technical stuff I work on. That would be mostly related to .NET. Also from time to time I will blog about interesting stuff happening around me.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/125911.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/125911.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/125911.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/125911.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Bought a New Machine</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2006/10/02/92912.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2006/10/02/92912.aspx</id>
        <published>2006-10-02T12:05:00-05:00:00</published>
        <updated>2006-10-02T12:05:00Z</updated>
        <content type="html">&lt;P&gt;I bought a new machine last saturday, coz i was having so many difficulties working from home lately with my old machine. I bought a 2.8GHz dual core processor and 1GB RAM. But I only got 256 RAM coz aparently they were out of stocks. Still the new machine is mighty faster than the old one. :)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/92912.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/92912.aspx</wfw:comment>
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/92912.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/92912.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Working from home..ADSL woes</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2006/09/13/91047.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2006/09/13/91047.aspx</id>
        <published>2006-09-13T14:12:00-05:00:00</published>
        <updated>2006-09-13T14:12:00Z</updated>
        <content type="html">&lt;P&gt;I joined a new company called Goal Line Solutions recently. It is a Canadian company just starting off in Sri Lanka. So I have been working from home till they make arrangements for a place. &lt;/P&gt;
&lt;P&gt;Today after constantly bugging the help desk of SLT I finally got the ADSL connection. Finally a guy from SLT team figured out what my problem was which was setting a wrong Encapsulation mode. For two whole days I have been hearing many reasons for not getting the connection, few of which are 'Your password must be wrong' (heard this one on two occations, 'We have not still connected it', 'It is working from here', 'We had a server down, it will be up in a couple of hours', 'You will get it today evening', 'You will get it today', 'You will get it tomorrow', etc, etc.&lt;/P&gt;
&lt;P&gt;Aparently the default settings the ADSL modem installs when i run the setup needs to be changed. Because for new connections SLT is using PPPoE and LLC Multiplexing&amp;nbsp;and not PPPoA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/91047.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/91047.aspx</wfw:comment>
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/91047.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/91047.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Passed another MCP exam</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2006/08/22/88723.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2006/08/22/88723.aspx</id>
        <published>2006-08-22T08:18:00-05:00:00</published>
        <updated>2006-08-22T08:18:00Z</updated>
        <content type="html">I did Developing XML Web Services and Server Components exam recently and got 968/1000. Think thats enough. Now im going to attempt the SQL Server exam. This time im not gonna let&amp;nbsp;up until i get the&amp;nbsp;MCSD qualification.&lt;img src="http://geekswithblogs.net/sandu/aggbug/88723.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/88723.aspx</wfw:comment>
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/88723.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/88723.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Long Time No Post</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2006/08/22/88722.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2006/08/22/88722.aspx</id>
        <published>2006-08-22T08:16:00-05:00:00</published>
        <updated>2006-08-22T08:16:00Z</updated>
        <content type="html">&lt;P&gt;I've been busy lately...especially since im about to change jobs. I have been doing .NET projects for the past couple of years. But now im doing Java Struts. It is the after a long time that im doing Java, and Struts for the first time. But it is really interesting to be involved in technologies iv no experiance in. Im learning a lot these days. :)&lt;/P&gt;
&lt;P&gt;But i will be working at a new company from 1st of September. More on that in a later post. Have to read some Struts, Tiles, Dojo..etc etc....wow its so much fun.....;)&lt;/P&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/88722.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/88722.aspx</wfw:comment>
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/88722.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/88722.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Superstars or Super Fakes ???</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2006/03/01/71014.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2006/03/01/71014.aspx</id>
        <published>2006-03-01T06:22:00-06:00:00</published>
        <updated>2006-08-07T07:53:00Z</updated>
        <content type="html">&lt;P&gt;Sirasa the popular local TV channel is having a reality TV show called Sirasa Super Star, which is a carbon copy of the popular show American Idol. I thought of writing a blog about this because it has come to the final stages of this show and everybody is so much interested in it. I have to admit I have also sent a couple of SMSs for the guy i'm rooting for. Now there are only four people left in the competition. Last week a guy everybody was thinking would win the competition was eliminated (much to the dismay of the fairer sex). I think this guy came this far only because of his looks and not the real talent. There was so much controvercy around him. Most were even claiming that the producers were showing favourisms to him. But all that is history now. The guy i'm rooting for is still in the competition. I hope he wins.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/71014.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/71014.aspx</wfw:comment>
        <slash:comments>526</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/71014.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/71014.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Microsoft Security RoadShow</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2006/06/23/82805.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2006/06/23/82805.aspx</id>
        <published>2006-06-23T14:47:00-05:00:00</published>
        <updated>2006-06-23T14:52:00Z</updated>
        <content type="html">&lt;P&gt;Today I participated for the Microsoft Asia Security RoadShow. The event was held at TransAsia Hotel, Colombo. There were three guest speakers.&lt;/P&gt;
&lt;P&gt;The first speaker to start off proceedings was Jacqueline Peterson-Jarvis, who is the senior manager for Security Mobilization for Microsoft in the region. She talked about Microsoft's work on ensuring security in their products. Its processes and strategies.&lt;/P&gt;
&lt;P&gt;Then, the audience was divided into two groups IT Professionals and Developers. As I fall under developer's category I participated for the session '&lt;STRONG&gt;Security Best Practices for Managed Code'&lt;/STRONG&gt; done by Matthew Hardman, a&amp;nbsp;Developer Evangelist. This session was really interesting for me as he talked about new security features of .NET 2.0 and the importance of being aware of&amp;nbsp;how security is affected by the code we write. He talked about stuff like encrypting connection strings, signing assemblies, the new secure string type, etc.&lt;/P&gt;
&lt;P&gt;Sadly, I missed the IT Professional session and a big part of the session on security policies done by Steve Riley. Evidently they didn't think we were interested in security policy stuff. &lt;/P&gt;
&lt;P&gt;Then we had lunch (yeah at TransAsia, wasn't that great though but im not complaining) and headed back to office.&lt;/P&gt;
&lt;P&gt;Oops...forgot to mention, got a nice t-shirt and a goodie bag too. But then again you would expect that from a Microsoft conference.&lt;/P&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/82805.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/82805.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/82805.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/82805.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Customizing ASP.NET Validation Controls</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2006/06/02/80408.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2006/06/02/80408.aspx</id>
        <published>2006-06-02T09:20:00-05:00:00</published>
        <updated>2006-06-02T09:20:00Z</updated>
        <content type="html">&lt;P&gt;Recently I used a ASP.NET CustomValidator to check for the length of text entered into a TextBox. I used a ValidationSummary Control to show the value of the errortext property in the CustomValidator. The requirement was to truncate the text to the allowed limit and show the error when the submit button is clicked. If the submit button is clicked again the page will submit without error if the other Validation Controls on the page are also valid. &lt;/P&gt;
&lt;P&gt;The problem with doing this sort of thing is that if you truncate the text inside the CustomValidator's javascript function the page will submit at once without showing any error.&lt;/P&gt;
&lt;P&gt;The solution was something as follows, where I added a second javascript function for the button's onclick event.&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#808080 size=2&gt;function ValidateLength() { var DescriptionText = document.Form1.DescriptionTextBox.value; if(DescriptionText.length &gt; 200){ if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); document.Form1.DescriptionTextBox.value = DescriptionText.substr(0, 200); return false; } else{ if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); } }&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;the custom validator's function looks like follows;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#808080 size=2&gt;function ValidateMaxLength(sender, args) { var DescriptionText = args.Value; if(DescriptionText.length &gt; 200){ args.IsValid = false; } else { args.IsValid = true; } }&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/80408.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/80408.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/80408.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/80408.aspx</trackback:ping>
    </entry>
    <entry>
        <title>SQL Server 2005 - New Features</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2006/05/29/79919.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2006/05/29/79919.aspx</id>
        <published>2006-05-29T07:42:00-05:00:00</published>
        <updated>2006-05-29T11:21:00Z</updated>
        <content type="html">&lt;P&gt;Last Friday, Microsoft organized a training on SQL Server 2005. It was conducted by, Dinesh Priyankara,&amp;nbsp;one of the MVPs in Sri Lanka.&lt;/P&gt;
&lt;P&gt;Allthough the plan was to cover most of the new features of SQL Server 2005, all we had time for was the new TSQL stuff. And at the end he just touched on the CLR integration.&lt;/P&gt;
&lt;P&gt;The presentation was really interesting considering I'm not much of a db guy. The presentation made me want to learn more on the subject area.&lt;/P&gt;
&lt;P&gt;So, thank you Microsoft and Mr. Dinesh Priyankara for conducting such a session.&lt;/P&gt;
&lt;P&gt;P.S. I heard the next session is going to be about mobile development. Im not gonna miss it for the world :)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/79919.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/79919.aspx</wfw:comment>
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/79919.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/79919.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Screen Scraping</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/sandu/archive/2006/05/24/79423.aspx" />
        <id>http://geekswithblogs.net/sandu/archive/2006/05/24/79423.aspx</id>
        <published>2006-05-24T14:56:00-05:00:00</published>
        <updated>2006-05-24T14:56:00Z</updated>
        <content type="html">&lt;P&gt;&lt;STRONG&gt;Screen scraping&lt;/STRONG&gt; is a technique in which a computer program extracts data from the display output of another program(source:wikepedia)&lt;/P&gt;
&lt;P&gt;The following code could be used to do screen scraping from a web site.&lt;/P&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;
&lt;P align=justify&gt;HttpWebResponse response;&lt;/P&gt;
&lt;P align=justify&gt;WebProxy proxy = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; WebProxy(proxyaddress);&lt;/P&gt;
&lt;P&gt;proxy.Credentials = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; NetworkCredential("username","password");&lt;/P&gt;
&lt;P&gt;HttpWebRequest request = (HttpWebRequest)System.Net.HttpWebRequest.Create(url);&lt;/P&gt;
&lt;P&gt;request.Proxy = proxy;&lt;/P&gt;
&lt;P&gt;response = (HttpWebResponse)request.GetResponse();&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;using&lt;/FONT&gt;&lt;FONT size=2&gt; (StreamReader sr = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; StreamReader(response.GetResponseStream()) )&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;result = sr.ReadToEnd();&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;// Close and clean up the StreamReader&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;sr.Close();&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;/STRONG&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://geekswithblogs.net/sandu/aggbug/79423.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://geekswithblogs.net/sandu/comments/79423.aspx</wfw:comment>
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://geekswithblogs.net/sandu/comments/commentRss/79423.aspx</wfw:commentRss>
        <trackback:ping>http://geekswithblogs.net/sandu/services/trackbacks/79423.aspx</trackback:ping>
    </entry>
</feed>