<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-18089051</atom:id><lastBuildDate>Fri, 01 Nov 2024 11:20:20 +0000</lastBuildDate><title>Gayani&#39;s Blog</title><description>Starting my career as Technical Person opened up many avenues in my life pushing me forward to explore skills hidden inside me. They fascinated me and took me to heights I could not imagine. Publishing my first article in Simple Talk - Red Gate as one of the most memorable achievements and being called by Microsoft Sri Lanka for Technical Presentations was another.&#xa;Posts you will find in Blog are my view points and thoughts and do not reflect the views of my current or past employers.</description><link>http://dilrukshidevapriya.blogspot.com/</link><managingEditor>noreply@blogger.com (Unknown)</managingEditor><generator>Blogger</generator><openSearch:totalResults>49</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-4783593450487311155</guid><pubDate>Tue, 07 Aug 2012 15:14:00 +0000</pubDate><atom:updated>2012-08-07T20:44:31.481+05:30</atom:updated><title>NetSuite or SalesForce.com; what is out there?</title><description>&lt;p&gt;NetSuite and SalesForce.com are both cloud based CRM solutions. NetSuite is not just a CRM but also an ERP. However, why does SalesForce.com out there&amp;nbsp; in the market so much? I starting wondering about this ever since I started working with both products. In terms of the product features and capabilities I find NetSuite being in front than SalesForce.com but it was quite an amazing to note that so many companies moving in to SalesFore.com&lt;/p&gt; &lt;p&gt;Could it be the marketing? It kind of reminds me of the Novel vs Microsoft situation though Novel was a technical advanced product, Microsoft captured the market by brining in user friendly easy to use products rather then technical advanced, seeing SalesForce.com and NetSuite CRM reminds of a similar marketing atmosphere, but cannot exactly compare Novel-Microsoft scenario as the focus of the product (technology focused or customer focused ) were different at that time. &lt;/p&gt; &lt;p&gt;It is interesting to note that what are the focus areas of these two companies in terms of marketing their products. User Friendly, Ease of use, external API exposure, On call support all these matters and also a good complete product matters too.&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2012/08/netsuite-or-salesforcecom-what-is-out.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-6392762143464878645</guid><pubDate>Tue, 07 Aug 2012 14:55:00 +0000</pubDate><atom:updated>2012-08-07T20:26:06.976+05:30</atom:updated><title>Attacked by Live Security Platinum</title><description>&lt;p&gt;I thought it was well worth publishing this link as it helped me to get rid of Live Security Platinum virus, &lt;a title=&quot;http://trojan-killer.net/live-security-platinum-virus-delete-us/&quot; href=&quot;http://trojan-killer.net/live-security-platinum-virus-delete-us/&quot;&gt;http://trojan-killer.net/live-security-platinum-virus-delete-us/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Thank you so much!&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2012/08/attack-by-live-security-platinum.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-5926018287446077274</guid><pubDate>Fri, 14 Oct 2011 14:24:00 +0000</pubDate><atom:updated>2011-10-14T20:04:52.135+05:30</atom:updated><title>Speech #3</title><description>&lt;p&gt;&lt;a href=&quot;http://hosted.verticalresponse.com/587541/2ac74a0ded/317731159/420823eeda/&quot; target=&quot;_blank&quot;&gt;It is all we have...&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://hosted.verticalresponse.com/587541/2ac74a0ded/317731159/420823eeda/&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;379&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivTZ4hpZL5rBZTKGu5KZCP30Sb4ngd8ORcyIhF79HDsSUR-5Mf3u0uv2LBaKhONp0VAPvFGIMfUWyShRcF_XQpQTscVV9BqCqwgxkkKJrz7YIhIdVvuzLouLti0uOl3r1bykx3cw/?imgmax=800&quot; width=&quot;382&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2011/10/speech-3.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivTZ4hpZL5rBZTKGu5KZCP30Sb4ngd8ORcyIhF79HDsSUR-5Mf3u0uv2LBaKhONp0VAPvFGIMfUWyShRcF_XQpQTscVV9BqCqwgxkkKJrz7YIhIdVvuzLouLti0uOl3r1bykx3cw/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-1628855528208580142</guid><pubDate>Sat, 03 Oct 2009 00:56:00 +0000</pubDate><atom:updated>2009-10-03T07:16:35.562+05:30</atom:updated><title>SDNUG October Meeting - 2009</title><description>&lt;p&gt;Last Thursday the 1st of October I attended the &lt;a href=&quot;http://www.sdnug.org/&quot; target=&quot;_blank&quot;&gt;Sydney Deep .NET User Group&lt;/a&gt; meeting. This was the first time I attended an Australian user group meeting after my arrival in Australia and it was a great experience for me. &lt;/p&gt; &lt;p&gt;The session was about ASP.NET V4 - New Features by &lt;a href=&quot;http://weblogs.asp.net/pglavich/&quot; target=&quot;_blank&quot;&gt;Paul Glavich&lt;/a&gt;. It was a very informative session which he introduced the new features of ASP.NET V4 in terms of Core Services, AJAX, Web Forms, MVC, Dynamic Data, Design Improvements and Web App development in VS 2010. &lt;/p&gt; &lt;p&gt;I gained a lot insight to ASP.NET V4 and thank you very much.&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2009/10/sdnug-october-meeting-2009.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>6</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-6805972525517057314</guid><pubDate>Wed, 30 Sep 2009 01:44:00 +0000</pubDate><atom:updated>2009-10-03T07:14:27.896+05:30</atom:updated><title>May to October</title><description>&lt;p&gt;My blog has been pretty quite for a while, so let me fill in the gaps with some of the shots I&#39;ve captured :) &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOndcTLX-NIsaWL6Hly7KNjPTJYaUMljVBin2-i49Giin4qfI82oYMQDsTFb-ldJALQsbaxulbPN3bUQVEF5Gx4OgOmZXA9VrWX-nIhuBPh8oWpfCClJHaA4jBfyPmt9fgWEJNDA/s1600-h/DSC07962%5B1%5D.jpg&quot; onrightclick=&quot;return false;&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;268&quot; alt=&quot;DSC07962&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKEq-PMApbEJhRpdD_iiX5vptPatDmLOmAYxod-y5YTc5GDOpTVCcfPlecmvoJxuzchMdPu1sKTs5ILogOvorL-XRj4cglL55wZcW_nkJXnxN5J9qLL0hVcHGCXJR7XWOvM-qz2A/?imgmax=800&quot; width=&quot;208&quot; border=&quot;0&quot;&gt;&lt;/a&gt; &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLWShauRzC1b60cfJYl5-vnZmfm9lwRW5J-k1prvRKPizXz5wLYsWh1PGju8CeMhXpcw5F-5vJdSGZadQIticpnBJ6Ux_skgyYfy_q2flisChoOmTgsDLvrWKgmz2Fx_C9nn9lCw/s1600-h/Image0090%5B1%5D.jpg&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;268&quot; alt=&quot;Image0090&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx7orgWfIC1LZbxmoewZamhtlz8yFLI-iWTK8Nbj8-1JPswtWkcQn2ZBhC4wP8YzqB2EaV9Irv64suPZ21S9c31RMW7czOKjVfGCtmPe1gToEghVb89f2Y2-LqaNqnWtTszmJ0ug/?imgmax=800&quot; width=&quot;208&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgku7jdg2TgL2Umf1c6g79B_8j6_Z8Rn6q7TuNLhYAbq2N8fT6dGU9NMZLXU8cMqAlDIkgDmJboBU4P6NVPOoLEhkT-zoePFqHxRmFRR-BNpYmvkuMDth9hAB7XD2YFrCXEc5t3mw/s1600-h/Image0092%5B1%5D.jpg&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;208&quot; alt=&quot;Image0092&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTglb7NUK73FyRIvJLG2qy3FSJ1Mu01jn6PyTkyr61FrVP2Q1rByBCDf6sgzDvuSPapyny4Wgdnb6HRKuYzPCWDianLsmY2dyiN8SX5W8fjCe4yS9Nj1VfYW3NpsZp09TnroIn4w/?imgmax=800&quot; width=&quot;268&quot; border=&quot;0&quot;&gt;&lt;/a&gt; &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaBMfxCRqBeNoUmQub5_WsVONhXLiuyZX2It7OeINwy5omf-2jPD8Vqv8rLVYdwR0nVRlOthk5WyytZLtwondaIMpHgVpmQy0h_urVcuqZdEdgNDYn8RDMyj5m-xm0mIasyqi5Tw/s1600-h/DSC07963%5B1%5D.jpg&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;216&quot; alt=&quot;DSC07963&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdoaLol3jyQepWkxGi4-OZ4FLcaaWWtKObOseqdd5MXjt_Z6N26K7GZpUZDCWjVvT5dVyF__rd3N9jT6_-IpQXoeUZei0yJhmXt6nINYEtgXx_4P6Bler3Heca-KqxkLcNJ5ZX7w/?imgmax=800&quot; width=&quot;276&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgQfT8C3LC7RsvaTDu0QmArRv8iQyFhY6GUMX3nk_UlKURo6C-4nEWIslnAQaysmyB5Cg4_xxq-LB2HL90cIfAqGjyI4ptxxlKS6I93tRBnBotSQhdxq3OgsJuEALd6FZgCK6DQw/s1600-h/DSC07824%5B1%5D.jpg&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;224&quot; alt=&quot;DSC07824&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6XAKUe1D5RW_xB84CD5UlRgI3oFDofxcJf2WyE6fmZxBd6fAKUvAW_KTM5vdn7JjfKzE4bKykZiIo7mtcj4aA9yYmu9NFYuxpPRZf9ZuVtlL5h-hqPJ3UPMtbdC-E0k817N9ZzQ/?imgmax=800&quot; width=&quot;275&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2009/10/may-to-october.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKEq-PMApbEJhRpdD_iiX5vptPatDmLOmAYxod-y5YTc5GDOpTVCcfPlecmvoJxuzchMdPu1sKTs5ILogOvorL-XRj4cglL55wZcW_nkJXnxN5J9qLL0hVcHGCXJR7XWOvM-qz2A/s72-c?imgmax=800" height="72" width="72"/><thr:total>9</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-6922365169018446280</guid><pubDate>Sat, 09 May 2009 15:11:00 +0000</pubDate><atom:updated>2009-10-03T06:41:28.485+05:30</atom:updated><title>May .NET User Group Meeting - 2009</title><description>&lt;p&gt;&lt;a href=&quot;http://dotnetforum.lk/content/events.aspx&quot; target=&quot;_blank&quot;&gt;Colombo .NET User Group&lt;/a&gt; (CDNUG) meeting took place last Thursday the 7th May and &lt;a href=&quot;http://www.yeschandana.com/&quot; target=&quot;_blank&quot;&gt;Chandana&lt;/a&gt; did the first session on &lt;a href=&quot;http://www.microsoft.com/azure/default.mspx&quot; target=&quot;_blank&quot;&gt;Windows Azure Services Platform.&lt;/a&gt;&lt;/p&gt; &lt;p&gt;The next session was take by me. My presentation was on &lt;strong&gt;&#39;LINQ to SQL to build your Data Access Layer&lt;/strong&gt;.&#39; On this session I talked about how to build a DAL using LINQ to SQL for a disconnected environment and highlighted some points to gain better performance as well. The full explanation and the code downloads can be found &lt;a href=&quot;http://www.simple-talk.com/dotnet/.net-framework/designing-a-data-access-layer-in-linq-to-sql/&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;It was interesting to see questions coming up from the audience and their enthusiasm on the subject. Hope it was useful and do feel free to buzz me if you find any thing interesting on this or have any queries.&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2009/05/may-net-user-group-meeting-2009.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>7</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-3899632672328820273</guid><pubDate>Thu, 23 Apr 2009 18:32:00 +0000</pubDate><atom:updated>2009-05-02T10:32:32.733+05:30</atom:updated><title>Microsoft ISV Training on Dynamic Data</title><description>&lt;p&gt;Yesterday I did a training program for ISVs on &lt;strong&gt;ASP.NET Dynamic Data&lt;/strong&gt;. Apart from the setting up and customization, I talked and demo a bit on the very latest concept of using a Domain Service with Dynamic Data. So in other words it opens up a way to take more control on your data, in DD.&lt;/p&gt; &lt;p&gt;It was pretty interesting to see various queries from different aspects. And I hope it was an informative and a useful session for all of you. By the way, some one asked me to post all the references in my blog. So here they are...&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://www.asp.net/dynamicdata/&quot; target=&quot;_blank&quot;&gt;Dynamic Data Official Site&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/cc488545.aspx&quot; target=&quot;_blank&quot;&gt;Dynamic Data - MSDN&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=14473 &quot; target=&quot;_blank&quot;&gt;Dynamic Data - CodePlex&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://forums.asp.net/1145.aspx&quot; target=&quot;_blank&quot;&gt;Dynamic Data - Forum&lt;/a&gt;&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2009/04/microsoft-isv-training-on-dynamic-data.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>6</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-1190076072145574209</guid><pubDate>Fri, 03 Apr 2009 02:19:00 +0000</pubDate><atom:updated>2009-10-03T06:42:24.043+05:30</atom:updated><title>April .NET User Group Meeting - 2009</title><description>&lt;p&gt;I did my&amp;nbsp; very &lt;strong&gt;first&lt;/strong&gt; presentation at &lt;a href=&quot;http://dotnetforum.lk/content/events.aspx&quot; target=&quot;_blank&quot;&gt;Colombo .NET User Group&lt;/a&gt; (CDNUG) yesterday on &lt;a href=&quot;http://www.simple-talk.com/dotnet/.net-framework/dynamic-data-templates-in-asp.net-3.5/&quot; target=&quot;_blank&quot;&gt;Dynamic Data&lt;/a&gt; titled as &lt;strong&gt;&#39;Building Data-Driven Web Applications using Dynamic Data&#39;&lt;/strong&gt;. &lt;/p&gt; &lt;p&gt;The session touched the key areas of Dynamic Data customization apart from setting up and configuration. I was so happy to see the audience coming up questions :) I enjoyed doing the session a lot and do feel free to buzz me if you come up with any problems or something interesting on Dynamic Data.&lt;/p&gt; &lt;p&gt;By the way, there are couple of snap shots..and will be posting them once I receive them.&lt;/p&gt; &lt;p&gt;Here are they are..&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK0K62iUK4I02ft-r_mJl8J1hugpBgjsjYDQJuEceGpvwE27kf15gP04ABnigcC-cj-LFvEBjTzGgzUOs4r8Y3M35w8K8X_rxIX7CT1lM02GGWpXf0CUZVrNHhBGOF_WLDyK5hog/s1600-h/IMAG0023%5B45%5D.jpg&quot;&gt;&lt;img style=&quot;border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px&quot; height=&quot;184&quot; alt=&quot;IMAG0023&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv3vIKMUc-PJ8Y7foUhJS7EikgzmnlqxPl4cgn6dbPyGHv8ItEKkN7fxyIXTjgY5NtrZa12jrjq_TIU-bdMk7xJ5b3uA_-zajJQc2mgeYIeLLp-22MHk6c8xIYB1HkauevOrA2Dg/?imgmax=800&quot; width=&quot;231&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-swEeis-a0SOT3C9Hj30Er5JqbpAICrH2xdJ4ZcYGXVJh4tFmKRuYYLcNNFf0VUiQKt-UGexHUm4Z78G-baO2llbuvlJ8Yfn3glofvnRr6AdlGhmT3sCk8HxklB_7-iAnso6IWA/s1600-h/IMAG0025%5B35%5D.jpg&quot;&gt;&lt;img style=&quot;border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px&quot; height=&quot;178&quot; alt=&quot;IMAG0025&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiGIZIVqWbLg0Omd8lU5b060cyWvaUbL4Et5mxSvQ8qyl9SXxgRYKPZgf2-5qq35ph53bR1kSMFTbdXmzoOASUjJYSpdcByLLPEWrwDTzixU47jbaxKsIy9Ybu9z4-CLDZ0rzLbQ/?imgmax=800&quot; width=&quot;234&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2009/04/april-net-user-group-meeting-2009.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv3vIKMUc-PJ8Y7foUhJS7EikgzmnlqxPl4cgn6dbPyGHv8ItEKkN7fxyIXTjgY5NtrZa12jrjq_TIU-bdMk7xJ5b3uA_-zajJQc2mgeYIeLLp-22MHk6c8xIYB1HkauevOrA2Dg/s72-c?imgmax=800" height="72" width="72"/><thr:total>9</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-8686164392214206955</guid><pubDate>Wed, 04 Mar 2009 16:59:00 +0000</pubDate><atom:updated>2009-03-04T22:32:57.970+05:30</atom:updated><title>Designing A Data Access Layer in LINQ to SQL</title><description>&lt;p&gt;I wrote an article on &lt;a href=&quot;http://www.simple-talk.com/dotnet/.net-framework/designing-a-data-access-layer-in-linq-to-sql/&quot; target=&quot;_blank&quot;&gt;Designing A Data Access Layer in LINQ to SQL&lt;/a&gt;&amp;nbsp; It discusses how LINQ to SQL can be used to design a data access layer and lists some best practices that can help to improve the performance of the application. The complete source code is available for download with my article.&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2009/03/designing-data-access-layer-in-linq-to.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-7802574265987715366</guid><pubDate>Wed, 26 Nov 2008 18:49:00 +0000</pubDate><atom:updated>2008-11-28T00:28:38.092+05:30</atom:updated><title>Dynamic Data Templates in ASP.NET 3.5</title><description>&lt;p&gt;My Article on&lt;strong&gt;&lt;em&gt; &lt;/em&gt;&lt;a href=&quot;http://www.simple-talk.com/dotnet/.net-framework/dynamic-data-templates-in-asp.net-3.5/&quot; target=&quot;_blank&quot;&gt;Dynamic Data Templates in ASP.NET 3.5&lt;/a&gt;&lt;/strong&gt; was published in &lt;a href=&quot;http://www.simple-talk.com&quot; target=&quot;_blank&quot;&gt;Simple Talk&lt;/a&gt; web site on 17th Nov&#39; 2008.&amp;nbsp; &lt;/p&gt; &lt;p&gt;This article gives an introduction to&amp;nbsp; Dynamic Data Templates in ASP.NET 3.5 and explains how one can save a great deal of time and effort when building data-driven web sites by using them and highlights some of the ways of customizing DDT to suit the industry needs. &lt;/p&gt; &lt;p&gt;This was released in the Simple Talk Newsletter as a feature article on the 26th Nov 2008 Edition.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk-PX3MkgKN0OuRlRbzKRPMEYRT9bCPBc7YUCXq3rIsYaNiy6VylgFCImdnCZ8DAZEVSJtK6zd5CAseOrxQsWvLHJZFzc28j2rgLfUvKHwzJjjaKzb2Pk5rrGjg2pZGJDpYm0yyw/s1600-h/NewsLetter.png&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;145&quot; alt=&quot;NewsLetter&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZMI3kmVDCN7b7bsYA7Nem9Rjc0bc8iWm2dKS-NJ8NmXLZl2pk5QSCRGOEKfG0zDTXMyMyX41cgrluSBwkYycArMeLQaKV5xsO6hzito40ZBwIo9lGnEOXcCernKEOkF869aUr2Q/?imgmax=800&quot; width=&quot;244&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2008/11/dynamic-data-templates-in-aspnet-35.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZMI3kmVDCN7b7bsYA7Nem9Rjc0bc8iWm2dKS-NJ8NmXLZl2pk5QSCRGOEKfG0zDTXMyMyX41cgrluSBwkYycArMeLQaKV5xsO6hzito40ZBwIo9lGnEOXcCernKEOkF869aUr2Q/s72-c?imgmax=800" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-2116569719764971832</guid><pubDate>Tue, 07 Oct 2008 17:15:00 +0000</pubDate><atom:updated>2008-10-07T22:46:25.373+05:30</atom:updated><title>Some thing I really enjoyed...</title><description>&lt;p&gt;Today I did a presentation on LINQ at my office for my technical colleagues. It basically focused on giving an insight to LINQ and brief intro to LINQ to SQL, LINQ to Entity &amp;amp; LINQ to XML. Of course I was bombarded with all kinds of questions but end of the day it turned out to be a productive session.I simply love it.&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2008/10/some-thing-i-really-enjoyed.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-3174189804908110497</guid><pubDate>Sat, 04 Oct 2008 13:36:00 +0000</pubDate><atom:updated>2008-11-01T13:14:52.888+05:30</atom:updated><title>Extracting XML and Insert Bulk Data using LINQ to XML and LINQ to SQL in .NET 3.5</title><description>&lt;p&gt;Today I published an article in &lt;a href=&quot;www.codeproject.com/&quot; target=&quot;_blank&quot;&gt;CodeProject&lt;/a&gt;, I am so excited about it because its the first time I published some thing outside my Blog. &lt;/p&gt; &lt;p&gt;Mainly this article focuses on how to read XML content and insert bulk data to the database using LINQ to XML, LINQ to SQL &amp;amp; LINQ and discusses the significance of LINQ. &lt;/p&gt; &lt;p&gt;You can find the article here : &lt;a title=&quot;http://www.codeproject.com/KB/dotnet/LINQ_FOR_OPERATIONS.aspx&quot; href=&quot;http://www.codeproject.com/KB/dotnet/LINQ_FOR_OPERATIONS.aspx&quot; target=&quot;_blank&quot;&gt;http://www.codeproject.com/KB/dotnet/LINQ_FOR_OPERATIONS.aspx&lt;/a&gt;&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2008/10/extracting-xml-and-sql-bulk-updates.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-3825277320232183968</guid><pubDate>Sat, 30 Aug 2008 09:52:00 +0000</pubDate><atom:updated>2009-04-05T14:49:05.808+05:30</atom:updated><title>Enhancements in C# Code Editor in VS 2008</title><description>&lt;p&gt;Explicit compilation was often needed to Identify the semantic errors in C# code in Visual Studio 2005 and earlier versions. For instance if we declare and use an unknown data type in C# code, it required compilation for identification of the errors.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgStxTEe77k5HC24MtwWX-QvksUVJA1RMFy-5pPu-9ayxtH8sjqn1vYRp_WpKZCtkKtXPEz7ysQD6cRIGMg4x1WJkioV2V2LQugLrmRjymIqG6B4pUeq7vLF00uqFQTOlpZZEpjsg/s1600-h/image%5B9%5D.png&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;203&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcOq4a3olgOh7LWDotzzaA8lID9hQLiHUtVCJ5_8Otww6q3a8l2iJIP06lLqrX-hJLXCEkZiOKWDQv9jkGvTuSqVCZhwMRxocqVJGrauLr6QOTOJvO5-MDAq5RlevbrLBOLWvITA/?imgmax=800&quot; width=&quot;314&quot; border=&quot;0&quot;&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Now with the Visual Studio 2008 SP1 C# code editor instantly identifies and mark these errors with squiggles in red with out the need of explicit compilation. &lt;/p&gt; &lt;p&gt;This adds up value to the developer experience plus saves the building time. &lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2008/08/enhancements-in-c-code-editor-in-vs.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcOq4a3olgOh7LWDotzzaA8lID9hQLiHUtVCJ5_8Otww6q3a8l2iJIP06lLqrX-hJLXCEkZiOKWDQv9jkGvTuSqVCZhwMRxocqVJGrauLr6QOTOJvO5-MDAq5RlevbrLBOLWvITA/s72-c?imgmax=800" height="72" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-7394735218263646190</guid><pubDate>Thu, 12 Jun 2008 16:50:00 +0000</pubDate><atom:updated>2008-08-30T15:32:47.509+05:30</atom:updated><title>Exciting Tools</title><description>&lt;p&gt;Recently, I came across with some interesting free tools that makes your life easy, especially if you are in to web development.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href=&quot;http://www.colorschemer.com/colorpix_info.php&quot; target=&quot;_blank&quot;&gt;Color Pix&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;An exciting cute little color picker that identifies the pixel by the movement of the mouse and converts the pined color in to various different color formats. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href=&quot;http://yaldex.com/JSFactory_Pro.htm&quot; target=&quot;_blank&quot;&gt;JavaScript Editor&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;An Editor that basically supports intelligence, built-in-previews, syntax highlighting and a lot more. &lt;/p&gt; &lt;p&gt;Yes it definitely excited me and that’s why I thought to write about these two tools in my Blog. Enjoy scripting and color picking…&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2008/06/exciting-tools.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-9064274265424581411</guid><pubDate>Sat, 07 Jun 2008 12:46:00 +0000</pubDate><atom:updated>2008-08-30T16:49:22.121+05:30</atom:updated><title>Dynamically Generating Images using ASP.NET Handlers</title><description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt; &lt;p&gt;Dynamic image generation in web applications are expensive tasks. More often we tend to access images from a location in a web server, or the regularly accessed images are often stored in cache objects. In some cases we need to draw images dynamically.  &lt;p&gt;In any of these cases, more the resource are consumed the performance of the application reduces. There fore it is vital to use techniques that will improve the application performance. This article introduces the HttpHander and how it can be used to dynamically generate images providing a better performance to the application. &lt;p&gt;&lt;strong&gt;The HttpHander&lt;/strong&gt; &lt;p&gt;It’s all to do with how the IIS handles a request. When the web application receives a request, it checks with its ISAPI filter. Internet Server Application Program Interface (ASPNET_ISAPI.DLL). This is responsible for getting the control on http requests. So when we have configured the application to handle the image types we require it will process them.  &lt;p&gt;In this example jpeg is used. The configuration in the IIS will be explained later in this article.  &lt;p&gt;&lt;strong&gt;Common Class to Handle Images&lt;/strong&gt; &lt;p&gt;We need a class that will basically handle the images in our application. First we need to make this class, process the request that we get from the web page.  &lt;p&gt;There fore, let us create a class that implements &lt;font color=&quot;#0000a0&quot;&gt;IhttpHandler&lt;/font&gt;. From the &lt;font color=&quot;#000080&quot;&gt;IhttpHandler&lt;/font&gt; implement the default members namely, the &lt;font color=&quot;#0000a0&quot;&gt;IsReusable&lt;/font&gt; and &lt;font color=&quot;#0000a0&quot;&gt;ProcessRequest&lt;/font&gt;. &lt;font color=&quot;#0000a0&quot;&gt;IsReusable&lt;/font&gt; method is responsible of indicating whether this particular instance can be used by another request or not, so here we will specify return false, as to indicate that it will be used by a single request. &lt;font color=&quot;#0000a0&quot;&gt;ProcessRequest&lt;/font&gt; is basically responsible of processing the http web request. So in this example I will transmit a particular person’s image based on the person’s name.  &lt;p&gt;&lt;a href=&quot;http://lh6.ggpht.com/gayani.devapriya/SLkr8v8qy9I/AAAAAAAABn8/Lr27jsjWsus/s1600-h/image%5B13%5D.png&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;236&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/gayani.devapriya/SLkr-65p90I/AAAAAAAABoA/5Hn194cTZjA/image_thumb%5B9%5D.png?imgmax=800&quot; width=&quot;403&quot; border=&quot;0&quot;&gt;&lt;/a&gt;  &lt;p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Utilizing the Common Class&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Let us create a web page with a RadioButtonList control specifying the values (a,b,c) and text (person names) and a Panel control to load the images. Our objective is to display the person&#39;s image for selecting the name from the RadioButtonList control. And for this let us use the created class above. &lt;/p&gt; &lt;p&gt;Image control is created and the required ImageUrl is constructed and assigned to the ImageUrl property of the Image control before adding the control to the panel. Here, image URL is pointed to Test.jpg image, which actually does not exists in the solution.&amp;nbsp; &lt;/p&gt; &lt;p&gt;So, how does this actually work? Let us dive deep to this and see what happens inside. When passing the selected value as the query string to the Test.jpg, the IIS identifies that it is an image to be processed of type jpeg and then the ImageHandler class will response with the relevant image. &lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://lh3.ggpht.com/gayani.devapriya/SEqDdhwuvDI/AAAAAAAABoE/-khDMowp5bA/s1600-h/6%5B6%5D.png&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;117&quot; alt=&quot;6&quot; src=&quot;http://lh5.ggpht.com/gayani.devapriya/SEqDfisgzaI/AAAAAAAABoI/v-CBsRsctFM/6_thumb%5B6%5D.png?imgmax=800&quot; width=&quot;404&quot; border=&quot;0&quot;&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Setting the Web.config&lt;/strong&gt;  &lt;p&gt;For our application to inform that .jpg file types are handled by the HttpHandlers, a tag is added to the &amp;lt;httpHandlers&amp;gt; section specifying the path as *.jpg and verb as * to handle any jpg request and by using the class ImageHandler which is specified in the type.  &lt;p&gt;&lt;a href=&quot;http://lh5.ggpht.com/gayani.devapriya/SEqDhpqIncI/AAAAAAAABoM/RqUak_w6DMQ/s1600-h/7%5B11%5D.png&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;76&quot; alt=&quot;7&quot; src=&quot;http://lh4.ggpht.com/gayani.devapriya/SEqDjsy30bI/AAAAAAAABoQ/YOHiNI8jC4g/7_thumb%5B11%5D.png?imgmax=800&quot; width=&quot;405&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Configuring IIS&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;As we mentioned earlier, to make IIS identify the images, an application mapping for the .jpg (The file Type)&amp;nbsp; that is handled by HttpHander needs to be configured in IIS. Follow are the steps for configuration.&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;· Open the IIS. &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;· Right Click on the Web Site. &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;· Properties -&amp;gt; Configuration -&amp;gt; Application Configuration-&amp;gt; Mapping &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;· Click Add &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;· Browse the aspnet_isapi .dll, type the extension as .jpg, &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;. Click on “Check that file exists” option.&lt;/font&gt;  &lt;p&gt;&lt;em&gt;&lt;strong&gt;Note (Only for Windows XP Professional Edition users) :&lt;/strong&gt; In a Windows XP Professional Edition,&amp;nbsp; OK button is disabled in this configuration. To overcome this, Once you select the dll, just bring your cursor to that field and make it focused. You must click on the Executable field and you must click on the Detention fields. And then OK will be enabled.&lt;/em&gt;  &lt;p&gt;After configuring the application let us run at application. And here is how it appears.  &lt;p&gt;&lt;a href=&quot;http://lh6.ggpht.com/gayani.devapriya/SEqDuUFOGoI/AAAAAAAABmQ/lmdK0m2l4j0/2.png&quot;&gt;&lt;img style=&quot;border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px&quot; height=&quot;244&quot; alt=&quot;2&quot; src=&quot;http://lh5.ggpht.com/gayani.devapriya/SEqD1bmxG0I/AAAAAAAABmU/pDQoogSCcAM/2_thumb.png&quot; width=&quot;211&quot; border=&quot;0&quot;&gt;&lt;/a&gt; &lt;a href=&quot;http://lh3.ggpht.com/gayani.devapriya/SEqD-b_vOjI/AAAAAAAABmY/m0gbg6JHUIE/3%5B1%5D.png&quot;&gt;&lt;img style=&quot;border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px&quot; height=&quot;252&quot; alt=&quot;3&quot; src=&quot;http://lh5.ggpht.com/gayani.devapriya/SEqEDBuGWqI/AAAAAAAABmc/UsV0jQ6-QMM/3_thumb%5B1%5D.png&quot; width=&quot;215&quot; border=&quot;0&quot;&gt;&lt;/a&gt;  &lt;p&gt;&lt;strong&gt;Performance Evaluation&lt;/strong&gt;&amp;nbsp; &lt;p&gt;The following performance report depicts the most called functions and functions with more work.  &lt;p&gt;&lt;a href=&quot;http://lh4.ggpht.com/gayani.devapriya/SEqEJJFVawI/AAAAAAAABmg/wnL5yam5Fk4/8%5B2%5D.png&quot;&gt;&lt;img style=&quot;border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px&quot; height=&quot;247&quot; alt=&quot;8&quot; src=&quot;http://lh3.ggpht.com/gayani.devapriya/SEqENEeMvYI/AAAAAAAABmk/cHY9ArrzyHQ/8_thumb%5B2%5D.png&quot; width=&quot;399&quot; border=&quot;0&quot;&gt;&lt;/a&gt;  &lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Loading images dynamically using the handlers are much faster and less memory consuming compared to other techniques. Further, from a coding perspective it reduces the lines of code and keep things more clean and neat, from a performance perspective it improving the overall web application performance. &lt;/p&gt; &lt;p&gt;&lt;b&gt;References&lt;/b&gt; &lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://support.microsoft.com/kb/317948&quot;&gt;http://support.microsoft.com/kb/317948&lt;/a&gt;&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2008/06/dynamically-generating-images-using.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/gayani.devapriya/SLkr-65p90I/AAAAAAAABoA/5Hn194cTZjA/s72-c/image_thumb%5B9%5D.png?imgmax=800" height="72" width="72"/><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-2014157932120658563</guid><pubDate>Mon, 02 Jun 2008 17:26:00 +0000</pubDate><atom:updated>2008-10-07T22:56:35.356+05:30</atom:updated><title>70-551</title><description>&lt;p&gt;After attempting for 4 times, I finally passed the exam 70-551. So thought to share some significant areas of interests and where more questions were targeted. &lt;/p&gt; &lt;p&gt;As you know, this exam consists of 3 parts. The order, which part comes first is random and here is a glance on the content. There are questions from all the chapters but here are some highlights of which most questioned are asked.&lt;/p&gt; &lt;p&gt;For Web Application related :&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Mobile applications  &lt;li&gt;Web Parts &amp;amp; Personalization  &lt;li&gt;Deploying Tools  &lt;li&gt;Custom Controls such as Wizard control, Login Control.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;For the Application Foundation related :&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Compression Techniques  &lt;li&gt;Application Security  &lt;li&gt;Serialization&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;For Application Design related :&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Deploying Applications  &lt;li&gt;Testing Applications  &lt;li&gt;WMI, WSAT  &lt;li&gt;Design Evaluation&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;One thing I noticed was that the exam content updates so fast, and it always comprises of latest changes.&lt;/p&gt;  </description><link>http://dilrukshidevapriya.blogspot.com/2008/10/70-551.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-2714179872662314546</guid><pubDate>Sun, 18 May 2008 13:31:00 +0000</pubDate><atom:updated>2008-05-18T19:06:58.700+05:30</atom:updated><title>Glimpse on LINQ TO SQL</title><description>&lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;What is Linq to SQL Server&lt;/b&gt;  &lt;p&gt;So far all this time we have been using the ADO.NET to communicate with the Database, extracting and manipulating data. Linq to SQL opens a new window to do non other than the same thing. Linq to SQL provides ways of extracting and manipulating data on SQL Server Databases only.  &lt;p&gt;&lt;b&gt;How does it do it? &lt;/b&gt; &lt;p&gt;So, how does LINQ do it? The concept behind it is, it converts a Linq Expression to a SQL query at the backstage. But it’s not straight forward as such.  &lt;p&gt;In Linq, first will look how it querys SQL data? Obviously, the DB structure should be mapped to some format understandable by linq. And that is done using the Linq to SQL class. I assume that application is already connected to some datasource.  &lt;ul&gt; &lt;li&gt;Add a Linq to SQL Class to your solution; this class automatically creates necessary functionality to work with the table in the DB.  &lt;li&gt;Open the server explores, connect to your DB and add some tables to this class; when tables are added a Linq to SQL Class which in this example the &lt;font color=&quot;#408080&quot;&gt;ContactDBDataContext&lt;/font&gt; is updated with the necessary functionality to deal with the DB.  &lt;li&gt;Take a look at the code below.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font color=&quot;#408080&quot;&gt;ContactDBDataContext&lt;/font&gt; context = &lt;font color=&quot;#000080&quot;&gt;new&lt;/font&gt; &lt;font color=&quot;#408080&quot;&gt;ContactDBDataContext&lt;/font&gt;();&lt;br&gt;&lt;font color=&quot;#000080&quot;&gt;var&lt;/font&gt; contactData = &lt;font color=&quot;#000080&quot;&gt;from&lt;/font&gt; &lt;font color=&quot;#408080&quot;&gt;Course&lt;/font&gt; in context.Courses&lt;br&gt;&lt;font color=&quot;#000080&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select&lt;/font&gt; &lt;font color=&quot;#000080&quot;&gt;new&lt;/font&gt; { Course.Name, Course.Certification };&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#408080&quot;&gt;ContactDBDataContext&lt;/font&gt; is the Linq to SQL Class I added. &lt;font color=&quot;#408080&quot;&gt;Course&lt;/font&gt; is the table I added to that class. It references the course table as Courses. I’ve written a linq expression to get all the course names and certification names from the course table. &lt;/p&gt; &lt;p&gt;When you add your table to that class, it makes that added table identified as a &lt;font color=&quot;#000080&quot;&gt;System.Data.Linq.Table&amp;lt;TypeOfTable&amp;gt;&lt;/font&gt; and this is accessible from the Linq expression. Ok, now linq is aware of what tables to work with. Now how does it fetch the data? When linq expression is run on a Table&amp;lt;T&amp;gt; it returns an object of type &lt;font color=&quot;#000080&quot;&gt;System.Data.Linq.DataQuery&lt;/font&gt;, which has all the details to fetch the data you want. Even the SQL statement preview could be viewed by called the ‘ToString()’ on the particular DataQuery object.  &lt;p&gt;This object of type System.Data.Linq.DataQuery implements the IEnumerable interface allowing it to traverse through its items using a ‘for’ loop. This object contains all the data you need to access, in this sample.  &lt;p align=&quot;right&quot;&gt;&amp;nbsp;- &lt;i&gt;This is just a surface of an ocean to dive in. &lt;/i&gt;&lt;/p&gt;</description><link>http://dilrukshidevapriya.blogspot.com/2008/05/glimpse-on-linq-to-sql.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-1343297487860593672</guid><pubDate>Sun, 11 May 2008 19:29:00 +0000</pubDate><atom:updated>2008-05-13T23:02:41.776+05:30</atom:updated><title>LINQ in Brief</title><description>&lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;What is LINQ? &lt;/b&gt; &lt;p&gt;LINQ stands for &lt;b&gt;L&lt;/b&gt;anguage &lt;b&gt;IN&lt;/b&gt;tegrated &lt;b&gt;Q&lt;/b&gt;uery. Basically this presents a mechanism for retrieving, sorting, manipulating data which are in various sources. As LINQ is new to .NET so as the syntax.  &lt;p&gt;&lt;font color=&quot;#408080&quot;&gt;List&lt;/font&gt;&amp;lt;&lt;font color=&quot;#8000ff&quot;&gt;int&lt;/font&gt;&amp;gt; Prices = new &lt;font color=&quot;#408080&quot;&gt;List&lt;/font&gt;&amp;lt;&lt;font color=&quot;#8000ff&quot;&gt;int&lt;/font&gt;&amp;gt; {456,789,235,723 };  &lt;p&gt;&lt;font color=&quot;#8000ff&quot;&gt;var&lt;/font&gt; myPriceList = &lt;font color=&quot;#8000ff&quot;&gt;from&lt;/font&gt; p &lt;font color=&quot;#8000ff&quot;&gt;in&lt;/font&gt; Prices &lt;font color=&quot;#8000ff&quot;&gt;orderby&lt;/font&gt; p &lt;font color=&quot;#8000ff&quot;&gt;descending&lt;/font&gt; &lt;font color=&quot;#8000ff&quot;&gt;select&lt;/font&gt; p  &lt;p&gt;In the above line of code, from the Prices List&amp;lt;int&amp;gt;,&amp;nbsp;p is specified as a representation of an item in the collection, saying to get p which are in Prices List&amp;lt;int&amp;gt; based on the ordering clause and finally selecting the item.  &lt;p&gt;&lt;b&gt;Difference between LINQ &amp;amp; SQL, .NET 3.5&lt;/b&gt;  &lt;p&gt;Seeing LINQ in .NET 3.5 suddenly made me guess whether it operates like SQL too? Linq uses similar syntax as in SQL but its functionality is totally different to SQL.  &lt;p&gt;SQL basically operates on tables, while LINQ could be operated on collections, and other datasources such as databases or xml. Unlike dealing with rows in a table, these collections could be manipulated using LINQ, whether they have values in them or even objects. Let’s look at some interesting features in LINQ.  &lt;p&gt;&lt;b&gt;Some Interesting Features in LINQ&lt;/b&gt;  &lt;p&gt;A collection could be modified retaining the initial values of the collection as it is. For an example, let’s say you retrieve prices and you want to add the currency symbol to the prices. In spite of LINQ, if we were to retrieve the values and add the currency symbol to it, may require traversing through the collection. But LINQ does it simply as this.  &lt;p&gt;&lt;font color=&quot;#8000ff&quot;&gt;private static void&lt;/font&gt; GetPriceList()&lt;/p&gt; &lt;p&gt;{ &lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font color=&quot;#408080&quot;&gt;List&lt;/font&gt;&amp;lt;&lt;font color=&quot;#8000ff&quot;&gt;int&lt;/font&gt;&amp;gt; Prices = new &lt;font color=&quot;#408080&quot;&gt;List&lt;/font&gt;&amp;lt;&lt;font color=&quot;#8000ff&quot;&gt;int&lt;/font&gt;&amp;gt; {456,789,235,723 }; &lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font color=&quot;#8000ff&quot;&gt;var&lt;/font&gt; myPriceList = &lt;font color=&quot;#8000ff&quot;&gt;from&lt;/font&gt; p &lt;font color=&quot;#8000ff&quot;&gt;in&lt;/font&gt; Prices &lt;font color=&quot;#8000ff&quot;&gt;orderby&lt;/font&gt; p &lt;font color=&quot;#8000ff&quot;&gt;descending&lt;/font&gt; &lt;font color=&quot;#8000ff&quot;&gt;select&lt;/font&gt; p.ToString(&quot;&lt;font color=&quot;#804000&quot;&gt;C&lt;/font&gt;&quot;); &lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font color=&quot;#8000ff&quot;&gt;foreach &lt;/font&gt;(&lt;font color=&quot;#8000ff&quot;&gt;string&lt;/font&gt; i &lt;font color=&quot;#8000ff&quot;&gt;in&lt;/font&gt; myPriceList)  &lt;p&gt;{  &lt;p&gt;&lt;font color=&quot;#408080&quot;&gt;Console&lt;/font&gt;.WriteLine(i);&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;}&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;}  &lt;p&gt;Not only that, calculations too could be performed on them. Let’s say in the above list you want to get the average price. Here is how to get it. &lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#408080&quot;&gt;Console&lt;/font&gt;.WriteLine(&quot;&lt;font color=&quot;#800040&quot;&gt;The average is {0:F2}&lt;/font&gt;&quot;, Prices.Average());  &lt;p&gt;The important point here is that, method Average() is not a method of the List. It’s available due to LINQ. Such methods are called extension methods. That is basically used to extend the functionality of List in this example. Saving the manipulated collection to an array, dictionary or a list is also possible by the extension methods such as ToArray(), ToDictionary(), ToList().  &lt;p&gt;For a programmer using .net 2.0 for and the previous versions for some time LINQ might seem a bit odd and alien. But when you look deep in to it, it does cuts off lot of code and thinking which you would invest to do some complex work out. For example a simple selection from a list, will require you to traverse through a loop and then check for a condition and extract the data.Linq makes this task easy by giving a whole new look in to the Visual Studio 2008 environment, giving the new key words and a lot of functionality to what you want to achieve. &lt;/p&gt;</description><link>http://dilrukshidevapriya.blogspot.com/2008/05/linq-in-brief.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-6574910693815404264</guid><pubDate>Fri, 25 Apr 2008 18:03:00 +0000</pubDate><atom:updated>2008-04-25T23:33:10.116+05:30</atom:updated><title>Solution to Dynamic Length Arrays in C#</title><description>&lt;p&gt;Creating dynamic length arrays is often a requirement, but arrays&amp;nbsp;do have a limitation in this point. C# allows you to create dynamic length arrays as follows. &lt;font color=&quot;#0000a0&quot;&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;int[] intAry = new int[] { 1, 2, 3 };&lt;/font&gt;&lt;/p&gt; &lt;p&gt;If your requirement is simple as this, then fine. But what if&amp;nbsp;you want to create an array based on the elements you add and specify the length accordingly.&lt;/p&gt; &lt;p&gt;You could use : &lt;font color=&quot;#0000a0&quot;&gt;Array.Resize&amp;lt;int&amp;gt;(ref intAry, 2);&lt;/font&gt;&amp;nbsp; to resize. But again you may have to traverse through the array or use another array to copy the elements.&lt;/p&gt; &lt;p&gt;Arrays do have a limitation where you cannot make it grow dynamically. Collections on the other hand grows dynamically. Here&#39;s a solution to the dynamic length arrays.&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;List&amp;lt;int&amp;gt; oNumList = new List&amp;lt;int&amp;gt;();&lt;/font&gt; //Haven&#39;t specified the size&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;oNumList.Add(1123);&lt;/font&gt; //Add items to the list&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;int[] oNums = new int[oNumList.Count];&lt;/font&gt; //Create an int Array&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;oNums = oNumList.ToArray();&lt;/font&gt; //Convert the List to an Array &lt;/p&gt; &lt;p&gt;C# List&amp;lt;&amp;gt; allows you to create a List&amp;lt;T&amp;gt; specifying the type in T. So, create a List&amp;lt;int&amp;gt; of type int and add the items to it, with out specifying the count of the List. Then convert it back to an Array. There could be other solutions to this as well.. &lt;/p&gt;</description><link>http://dilrukshidevapriya.blogspot.com/2008/04/solution-to-dynamic-length-arrays-in-c.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-2421447370038580982</guid><pubDate>Sun, 03 Feb 2008 13:54:00 +0000</pubDate><atom:updated>2008-02-24T21:12:25.449+05:30</atom:updated><title>Validate DataTypes using the CompareValidator</title><description>&lt;p&gt;Tiny tip on Validation. CompareValidator in ASP.NET, could be used in an effective way such as to validate&amp;nbsp;inputs for either Integer, Double, Date or Currency. Here is how you could do so.&lt;/p&gt; &lt;p&gt;In the CompareValidator, set the&amp;nbsp;ControlToValidate to the input control and set the &lt;strong&gt;Type&lt;/strong&gt; to the expected data type you need to validate, and then set the Operator to the &lt;strong&gt;DataTypeCheck&lt;/strong&gt;. And just leave the ControlToCompare property empty.&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#800000&quot;&gt;&amp;lt;asp:CompareValidator &lt;font color=&quot;#ff0000&quot;&gt;ID&lt;/font&gt;=&quot;&lt;font color=&quot;#0000ff&quot;&gt;CompareValidator1&lt;/font&gt;&quot; &lt;font color=&quot;#ff0000&quot;&gt;runat&lt;/font&gt;=&quot;&lt;font color=&quot;#0000ff&quot;&gt;server&lt;/font&gt;&quot; &lt;font color=&quot;#ff0000&quot;&gt;ControlToValidate&lt;/font&gt;=&quot;&lt;font color=&quot;#0000ff&quot;&gt;TextBox1&lt;/font&gt;&quot; &lt;font color=&quot;#ff0000&quot;&gt;Display&lt;/font&gt;=&quot;&lt;font color=&quot;#0000ff&quot;&gt;Dynamic&lt;/font&gt;&quot; &lt;font color=&quot;#ff0000&quot;&gt;Operator&lt;/font&gt;=&quot;&lt;font color=&quot;#0000ff&quot;&gt;DataTypeCheck&lt;/font&gt;&quot; &lt;font color=&quot;#ff0000&quot;&gt;Type&lt;/font&gt;=&quot;&lt;font color=&quot;#0000ff&quot;&gt;Date&lt;/font&gt;&quot;&amp;gt;InValid Date&amp;lt;/asp:CompareValidator&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Significant point to note here is,&amp;nbsp;that this validates the Type and not the format of the type. There fore if you expect to specify a format for example, number of decimal points for a double value or specific date format for the date this is not the ideal validation control to go for. (rather uses default date format to check)&lt;/p&gt; &lt;p&gt;But if you need to validate the specific Data Type only,&amp;nbsp;&amp;nbsp;I think this is a&amp;nbsp;quick and clean way.&lt;/p&gt;</description><link>http://dilrukshidevapriya.blogspot.com/2008/02/validate-datatypes-using.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-5428044137723745134</guid><pubDate>Sat, 03 Nov 2007 19:07:00 +0000</pubDate><atom:updated>2008-02-24T21:12:25.450+05:30</atom:updated><title>Resource Saving Dynamic Word Doc Generation.</title><description>&lt;p&gt;Most often in web development we may require to export web content&amp;nbsp;or&amp;nbsp;contents of a database query to some other media&amp;nbsp;such as word. Creating a word document, writing the content and saving it in the web server and downloading at demand is often time and resource consuming. Here is a quick way to dynamically generate the word document using the&amp;nbsp;Http Response.&lt;/p&gt; &lt;p&gt;To start with, lets assume you already have some content ready to write to a word doc as a response to a button click event of your web page. &lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;Response.Clear(); &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;Response.Charset = &quot;&quot;;&amp;nbsp;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;Response.AppendHeader(&quot;Content-Type&quot;, &quot;application/msword&quot;); &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;Response.AddHeader(&quot;Content-Disposition&quot;, &quot;attachment; filename=&quot; + &quot;MyWord.doc&quot;); &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;Response.AddHeader(&quot;Content-Length&quot;, sb.ToString().Length.ToString()); &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;Response.Write(sb.ToString()); &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;Response.End(); &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;Response.Flush();&lt;/font&gt; &lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#0080c0&quot;&gt;/* &amp;nbsp;section (A)&amp;nbsp; */&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Here is a way to add a little formatting to the word document. Lets assume you need to make the page orientation to&amp;nbsp;landscape and want to view in the Print View with the zoom 75%. Here is how you do it.&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&lt;font color=&quot;#000080&quot;&gt;StringBuilder sb = new StringBuilder();&lt;/font&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;sb.Append(&quot;&amp;lt;html &lt;/font&gt;&lt;font color=&quot;#0000a0&quot;&gt;xmlns:o=&#39;urn:schemas-microsoft-com:office:office&#39; &quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;xmlns:w=&#39;urn:schemas-microsoft-com:office:word&#39;&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;xmlns=&#39;&lt;/font&gt;&lt;a href=&quot;http://www.w3.org/TR/REC-html40&#39;&quot;&gt;&lt;font color=&quot;#0000a0&quot;&gt;http://www.w3.org/TR/REC-html40&#39;&lt;/font&gt;&lt;/a&gt;&lt;font color=&quot;#0000a0&quot;&gt;&amp;gt;&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;My Title&amp;lt;/title&amp;gt;&quot;) ;&lt;/font&gt;  &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;string sStyle = &quot;&amp;lt;!--[if gte mso 9]&amp;gt;&lt;/font&gt;&lt;font color=&quot;#0000a0&quot;&gt;&amp;lt;xml&amp;gt;&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;lt;w:WordDocument&amp;gt;&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;lt;w:View&amp;gt;Print&amp;lt;/w:View&amp;gt;&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;lt;w:Zoom&amp;gt;75&amp;lt;/w:Zoom&amp;gt;&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;lt;w:DoNotOptimizeForBrowser/&amp;gt;&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;lt;/w:WordDocument&amp;gt;&lt;/font&gt;&lt;font color=&quot;#0000a0&quot;&gt;&amp;lt;/xml&amp;gt;&lt;/font&gt;&lt;font color=&quot;#0000a0&quot;&gt;&amp;lt;![endif]--&amp;gt;&quot;; &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&amp;nbsp;sb.Append(sStyle);&lt;/font&gt;  &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&amp;nbsp;sb.Append(&quot;&amp;lt;style&amp;gt;&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;lt;!-- /* Style Definitions */&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;@page Section1&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;nbsp;&amp;nbsp; {size:841.9pt 595.3pt; &quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;nbsp;&amp;nbsp; mso-page-orientation:landscape;&amp;nbsp; &quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;nbsp;&amp;nbsp; margin:.5in 1.0in 1.0in .5in ; &quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;nbsp;&amp;nbsp; mso-header-margin:.5in; &quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;nbsp;&amp;nbsp; mso-footer-margin:.5in; mso-paper-source:0; }&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot; div.Section1&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;nbsp;&amp;nbsp; {page:Section1;}&quot; + &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;--&amp;gt;&quot; +&lt;/font&gt;  &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;&quot;&amp;lt;/style&amp;gt;&amp;lt;/head&amp;gt;&quot;); &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;sb.Append(&quot;&amp;lt;body lang=EN-US style=&#39;tab-interval:.5in&#39;&amp;gt;&amp;lt;div class=Section1&amp;gt;&quot; ); &lt;/font&gt; &lt;p&gt;&lt;font color=&quot;#0080c0&quot;&gt;/*Now append the content to be written to the word document.*/&lt;/font&gt;  &lt;p&gt;&lt;font color=&quot;#000080&quot;&gt;sb.Append(&quot;&amp;lt;b&amp;gt;Sample Test &amp;lt;b&amp;gt;&quot;);&lt;/font&gt;  &lt;p&gt;&lt;font color=&quot;#0000a0&quot;&gt;sb.Append(&quot;&amp;lt;div&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&quot;);&lt;/font&gt;  &lt;p&gt;And use Response.Write() section (section (A) )mentioned in the above to obtain the response as a word document.  &lt;p&gt;As an overview, this is more useful when you want to extract large amount of information in a predefined&amp;nbsp;word format. Such as extracting transaction information from the online bank statement for example. &lt;/p&gt;</description><link>http://dilrukshidevapriya.blogspot.com/2007/11/resource-saving-dynamic-word-doc.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-2555121465502420815</guid><pubDate>Sat, 06 Oct 2007 14:54:00 +0000</pubDate><atom:updated>2008-02-24T21:12:50.279+05:30</atom:updated><title>Think Different</title><description>&lt;p&gt;Found this great article,&amp;nbsp; with some interesting&amp;nbsp;tips for those who wish to&amp;nbsp;become a supper star in their&amp;nbsp;career.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://www.techcareers.com/content/article.asp?articleID=201808122&amp;amp;pgno=1&quot; target=&quot;_blank&quot;&gt;Aim to be a superstar so that you can have more options in your career for creating a life you want. Here are things to think about while planning your path to superstardom.... Brazen Careerist: Five Ways To Make Yourself A Workplace Superstar&lt;/a&gt;&lt;/p&gt;</description><link>http://dilrukshidevapriya.blogspot.com/2007/10/think-different.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-983865283084809858</guid><pubDate>Sun, 16 Sep 2007 15:23:00 +0000</pubDate><atom:updated>2008-02-24T21:12:45.238+05:30</atom:updated><title>Efficient way of combining Strings using StringBuilder Class</title><description>&lt;p&gt;In C#.NET, when combining strings, we often tend to combine as follows. This article discusses an efficient way of doing it.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;color:#000080;&quot;&gt;public string&lt;/span&gt; createContent()&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;color:#000080;&quot;&gt;string&lt;/span&gt; sMessage = &lt;span style=&quot;color:#000080;&quot;&gt;string&lt;/span&gt;.Empty;&lt;br /&gt;sMessage += &lt;span style=&quot;color:#800000;&quot;&gt;&quot;Introduction.. &quot;;&lt;br /&gt;&lt;/span&gt;sMessage += &lt;span style=&quot;color:#800000;&quot;&gt;&quot;Welcome to Strings.. &quot;;&lt;/span&gt;&lt;br /&gt;sMessage += &lt;span style=&quot;color:#800000;&quot;&gt;&quot;This is a demo.. &quot;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#000080;&quot;&gt;return&lt;/span&gt; sMessage;&lt;br /&gt;}&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;As you know String is a refernce type, and each time sMessage will be assigned by a value, but we only use the last assigned value. The others will be disposed by the GC. To avoid unneccasary garbage collection we could use StringBuilder. This is how we could use it.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=&quot;color:#000080;&quot;&gt;public string&lt;/span&gt; createNextContent()&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;color:#0080c0;&quot;&gt;StringBuilder&lt;/span&gt; sbTest = &lt;span style=&quot;color:#000080;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color:#0080c0;&quot;&gt;StringBuilder&lt;/span&gt;();&lt;br /&gt;sbTest.Append(&quot;&lt;span style=&quot;color:#800000;&quot;&gt;Introduction&lt;/span&gt;.. &quot;);&lt;br /&gt;sbTest.Append(&quot;&lt;span style=&quot;color:#800000;&quot;&gt;Welcome to Strings..&lt;/span&gt; &quot;);&lt;br /&gt;sbTest.Append(&quot;&lt;span style=&quot;color:#800000;&quot;&gt;This is a demo..&lt;/span&gt; &quot;);&lt;br /&gt;&lt;span style=&quot;color:#000080;&quot;&gt;return&lt;/span&gt; sbTest.ToString();&lt;br /&gt;}&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;StringBuilder creates a buffer of 16bytes long by default and grows as needed. It is possible to specify the initial size and the maximum size as well. &lt;/p&gt;</description><link>http://dilrukshidevapriya.blogspot.com/2007/09/efficient-way-of-combining-strings.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-3677239102427089730</guid><pubDate>Fri, 08 Jun 2007 07:37:00 +0000</pubDate><atom:updated>2008-02-24T21:13:00.199+05:30</atom:updated><title>How to upgrade a DotNetNuke web site in version 3.2.x to version 4.4.1</title><description>&lt;p&gt;Upgrading web sites that was created in DNN 3.2 or older versions to newer versions has become a common need today, due to the latest browsers and upcoming features that new versions provide. For example the IE7.0 does not display the tool bar of the FreeTextBox of the site created in DNN3.2 or later versions.&lt;/p&gt;&lt;p&gt;So here are the steps to follow to convert a DNN 3.2 web site to DNN 4.4. First, test this in a QA environment rather than trying on the production server. &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Backup the web site database and the web sites folder that contain all the files. &lt;li&gt;Unzip the DNN 4.x installation package to any of the folders, then open up the web.config file. &lt;li&gt;And do the following changes, and use the web sites web.config file as the source to obtain the following details. &lt;li&gt;Set the &lt;ul&gt;&lt;li&gt;Database name &lt;li&gt;Machine Validation key value. &lt;li&gt;DecryptionKey value. &lt;li&gt;Database Owner &lt;li&gt;ObjectQualifier&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;&lt;p&gt;as same as the web.config file of the web site. Also make sure you copy any other settings you have made in the web sites web.config file. &lt;/p&gt;&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;Now that you have done the necessary changes; copy the dnn4 folder contents to the web sites folder contents, this process will over ride the web config as well a so other files. &lt;li&gt;Now go to IIS and select the folder that you have set this site to run and change the DotNet engine to 2.0 version. &lt;li&gt;Now our web.config file will still be pointed to the production database of the test machine. Once we browse this site; what happens is that the contents for a DNN4 database will be installed on top of your production database through the application. And it will show up an upgrading screen in the portal. Once it is success it will create a link to browse the site. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;If you check the database; some of the existing tables will now appear with additional fields. Further, during the upgrading if there was any problems it will be logged and the log will be pointed for you knowledge. &lt;/p&gt;&lt;p&gt;The process of converting is very straight forward, but its always advisable to get a back up of your files and convert the site. &lt;/p&gt;&lt;p&gt;Its often the case where some of the custom modules you&#39;ve created, may give problems during a site upgrading. One solution to this would be to uninstall the module and convert that particular module to DotNet 2.0 and then re-install. &lt;/p&gt;&lt;p&gt;DotNetNuke upgrading allows you to retain your data as it is and upgrade the web site successfully. &lt;/p&gt;</description><link>http://dilrukshidevapriya.blogspot.com/2007/06/how-to-upgrade-dotnetnuke-web-site-in.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-18089051.post-5109560733404341117</guid><pubDate>Fri, 08 Jun 2007 07:36:00 +0000</pubDate><atom:updated>2008-02-24T21:13:00.199+05:30</atom:updated><title>Briefing on Installing DotNetNuke 4.x</title><description>&lt;p&gt;Thought to share a tiny sereat, since its a bit messy to figure out the process of installing DNN4. Well, its basically same as DotNetNuke 3.x but rather you should have .NET Framework 2.0 already installed as a prerequisite. &lt;/p&gt; &lt;p&gt;First visit the site &lt;a href=&quot;http://www.DotNetNuke.com&quot;&gt;DotNetNuke&lt;/a&gt;&amp;nbsp;and download the latest version of DotNetNuke source. Now, there are two files to download, but select based on your requirements for example&amp;nbsp;if you are developing your own nuke modules, its advisable to install the source, or else go for the general installation.&lt;/p&gt; &lt;p&gt;One significant point about nuke is that; its so easy to mess unless you don&#39;t know what to be done. For a simple example, if you unzip the downloaded source to a folder name you desire then you are in trouble. Just extract to the contents to a folder that&amp;nbsp;creates by&amp;nbsp;default in the same driver. Then go to &lt;font color=&quot;#000080&quot;&gt;C:\DotNetNuke_4.4.1_Source\Website\Documentation\Readme.txt&lt;/font&gt; path and you will find a read me text document; which explains every step to follow. In simple terms it goes as follows.&lt;/p&gt; &lt;p&gt;Now that you have un-zip the folder, and now create a virtual directory in IIS. Now If you open the folder of the contents you will come across with the Website folder, Library folder and the solution file, just point the virtual directory path to the Website folder since it has the project file.&lt;/p&gt; &lt;p&gt;If you already have dnn3 installed; there is nothing to bother since you will be installing this to a completely different folder and we will be mapping to a new database.&lt;/p&gt; &lt;p&gt;Once you create the virtual directory, make default.aspx as the top and make the Dotnet version to 2.0xxx Now go back to your folder and properties and make sure you have given the permission for the Network services user and as well as aspnet user, full control. Now open up Sqlserver 2000 or 2005. and create a database by any name.&lt;/p&gt; &lt;p&gt;once that is done, go back to the folder and rename the release.config to web.config and change the connection string properties. In Nuke version 4.x it the database connection is specified in two places. So it needs to be changed accordingly. &lt;/p&gt; &lt;p&gt;Now open the IE and browse &lt;a href=&quot;http://localhost/VirtualFolderName&quot;&gt;http://localhost/VirtualFolderName&lt;/a&gt; and there you go the DotNetNuke4.x will be installed nice and smoothly.&amp;nbsp;&lt;/p&gt;</description><link>http://dilrukshidevapriya.blogspot.com/2007/06/briefing-on-installing-dotnetnuke-4x.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item></channel></rss>