<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-18089051</id><updated>2012-01-23T13:58:14.835+05:30</updated><title type='text'>Gayani's Blog</title><subtitle type='html'>I am a Software Engineer and these are blogs about things i come across and my interests. Further, these are just my view points and thoughts and does not reflect the views of my current or past employers.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>48</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-18089051.post-5926018287446077274</id><published>2011-10-14T19:54:00.001+05:30</published><updated>2011-10-14T20:04:52.135+05:30</updated><title type='text'>Speech #3</title><content type='html'>&lt;p&gt;&lt;a href="http://hosted.verticalresponse.com/587541/2ac74a0ded/317731159/420823eeda/" target="_blank"&gt;It is all we have...&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://hosted.verticalresponse.com/587541/2ac74a0ded/317731159/420823eeda/"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="379" alt="image" src="http://lh5.ggpht.com/-JjxhWtAf21o/TphIic1LYKI/AAAAAAAAD1A/I2VGGYhTMYg/image%25255B1%25255D.png?imgmax=800" width="382" border="0"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-5926018287446077274?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/5926018287446077274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=5926018287446077274' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/5926018287446077274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/5926018287446077274'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2011/10/speech-3.html' title='Speech #3'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/-JjxhWtAf21o/TphIic1LYKI/AAAAAAAAD1A/I2VGGYhTMYg/s72-c/image%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-1628855528208580142</id><published>2009-10-03T06:26:00.001+05:30</published><updated>2009-10-03T07:16:35.562+05:30</updated><title type='text'>SDNUG October Meeting - 2009</title><content type='html'>&lt;p&gt;Last Thursday the 1st of October I attended the &lt;a href="http://www.sdnug.org/" target="_blank"&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="http://weblogs.asp.net/pglavich/" target="_blank"&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;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-1628855528208580142?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/1628855528208580142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=1628855528208580142' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/1628855528208580142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/1628855528208580142'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2009/10/sdnug-october-meeting-2009.html' title='SDNUG October Meeting - 2009'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-6805972525517057314</id><published>2009-09-30T07:14:00.000+05:30</published><updated>2009-10-03T07:14:27.896+05:30</updated><title type='text'>May to October</title><content type='html'>&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've captured :) &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;a href="http://lh4.ggpht.com/_NC4biJzfh3U/SsarbL0Fu1I/AAAAAAAADNs/IhfBONWOvTc/s1600-h/DSC07962%5B1%5D.jpg" onrightclick="return false;"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="268" alt="DSC07962" src="http://lh4.ggpht.com/_NC4biJzfh3U/SsapvfUke-I/AAAAAAAADN0/fn4oP2JYefA/DSC07962_thumb.jpg?imgmax=800" width="208" border="0"&gt;&lt;/a&gt; &lt;a href="http://lh5.ggpht.com/_NC4biJzfh3U/Ssap1jrQ4QI/AAAAAAAADN8/rLPOYQ4LkwY/s1600-h/Image0090%5B1%5D.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="268" alt="Image0090" src="http://lh3.ggpht.com/_NC4biJzfh3U/Ssap63M5-tI/AAAAAAAADOE/vYOJ7MFivkM/Image0090_thumb.jpg?imgmax=800" width="208" border="0"&gt;&lt;/a&gt;&lt;a href="http://lh4.ggpht.com/_NC4biJzfh3U/Ssap_a8QRII/AAAAAAAADOM/yV3VN_FyFvE/s1600-h/Image0092%5B1%5D.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="208" alt="Image0092" src="http://lh3.ggpht.com/_NC4biJzfh3U/SsaqDu4eGrI/AAAAAAAADOU/AwfHWy9RdVA/Image0092_thumb.jpg?imgmax=800" width="268" border="0"&gt;&lt;/a&gt; &lt;a href="http://lh4.ggpht.com/_NC4biJzfh3U/SsaqIPGp_cI/AAAAAAAADOc/m0WrUN6B9bo/s1600-h/DSC07963%5B1%5D.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="216" alt="DSC07963" src="http://lh6.ggpht.com/_NC4biJzfh3U/SsaqOL37AYI/AAAAAAAADOk/smSnFbHXRxw/DSC07963_thumb.jpg?imgmax=800" width="276" border="0"&gt;&lt;/a&gt;&lt;a href="http://lh6.ggpht.com/_NC4biJzfh3U/SsaqT_DsP2I/AAAAAAAADOs/4XZIl0B33rU/s1600-h/DSC07824%5B1%5D.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="224" alt="DSC07824" src="http://lh5.ggpht.com/_NC4biJzfh3U/SsaqYoMYEuI/AAAAAAAADO0/VrGontpn8Ok/DSC07824_thumb.jpg?imgmax=800" width="275" border="0"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-6805972525517057314?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/6805972525517057314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=6805972525517057314' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/6805972525517057314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/6805972525517057314'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2009/10/may-to-october.html' title='May to October'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_NC4biJzfh3U/SsapvfUke-I/AAAAAAAADN0/fn4oP2JYefA/s72-c/DSC07962_thumb.jpg?imgmax=800' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-6922365169018446280</id><published>2009-05-09T20:41:00.001+05:30</published><updated>2009-10-03T06:41:28.485+05:30</updated><title type='text'>May .NET User Group Meeting - 2009</title><content type='html'>&lt;p&gt;&lt;a href="http://dotnetforum.lk/content/events.aspx" target="_blank"&gt;Colombo .NET User Group&lt;/a&gt; (CDNUG) meeting took place last Thursday the 7th May and &lt;a href="http://www.yeschandana.com/" target="_blank"&gt;Chandana&lt;/a&gt; did the first session on &lt;a href="http://www.microsoft.com/azure/default.mspx" target="_blank"&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;'LINQ to SQL to build your Data Access Layer&lt;/strong&gt;.' 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="http://www.simple-talk.com/dotnet/.net-framework/designing-a-data-access-layer-in-linq-to-sql/" target="_blank"&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;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-6922365169018446280?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/6922365169018446280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=6922365169018446280' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/6922365169018446280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/6922365169018446280'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2009/05/may-net-user-group-meeting-2009.html' title='May .NET User Group Meeting - 2009'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-3899632672328820273</id><published>2009-04-24T00:02:00.001+05:30</published><updated>2009-05-02T10:32:32.733+05:30</updated><title type='text'>Microsoft ISV Training on Dynamic Data</title><content type='html'>&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="http://www.asp.net/dynamicdata/" target="_blank"&gt;Dynamic Data Official Site&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/cc488545.aspx" target="_blank"&gt;Dynamic Data - MSDN&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=14473 " target="_blank"&gt;Dynamic Data - CodePlex&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://forums.asp.net/1145.aspx" target="_blank"&gt;Dynamic Data - Forum&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-3899632672328820273?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/3899632672328820273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=3899632672328820273' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/3899632672328820273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/3899632672328820273'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2009/04/microsoft-isv-training-on-dynamic-data.html' title='Microsoft ISV Training on Dynamic Data'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-1190076072145574209</id><published>2009-04-03T07:49:00.001+05:30</published><updated>2009-10-03T06:42:24.043+05:30</updated><title type='text'>April .NET User Group Meeting - 2009</title><content type='html'>&lt;p&gt;I did my&amp;nbsp; very &lt;strong&gt;first&lt;/strong&gt; presentation at &lt;a href="http://dotnetforum.lk/content/events.aspx" target="_blank"&gt;Colombo .NET User Group&lt;/a&gt; (CDNUG) yesterday on &lt;a href="http://www.simple-talk.com/dotnet/.net-framework/dynamic-data-templates-in-asp.net-3.5/" target="_blank"&gt;Dynamic Data&lt;/a&gt; titled as &lt;strong&gt;'Building Data-Driven Web Applications using Dynamic Data'&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="http://lh4.ggpht.com/_NC4biJzfh3U/Sdh0nhNhSuI/AAAAAAAACqU/9v8qDJBTHV8/s1600-h/IMAG0023%5B45%5D.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="184" alt="IMAG0023" src="http://lh5.ggpht.com/_NC4biJzfh3U/SdY-wEfqj6I/AAAAAAAACqc/f13WjIBs4Og/IMAG0023_thumb%5B44%5D.jpg?imgmax=800" width="231" border="0"&gt;&lt;/a&gt;&amp;nbsp;&lt;a href="http://lh4.ggpht.com/_NC4biJzfh3U/Sdh11WFirHI/AAAAAAAACqk/7r5HTh6uTKc/s1600-h/IMAG0025%5B35%5D.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="178" alt="IMAG0025" src="http://lh6.ggpht.com/_NC4biJzfh3U/SdZI3PWr5tI/AAAAAAAACqs/e5xrmg_rNnE/IMAG0025_thumb%5B34%5D.jpg?imgmax=800" width="234" border="0"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-1190076072145574209?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/1190076072145574209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=1190076072145574209' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/1190076072145574209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/1190076072145574209'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2009/04/april-net-user-group-meeting-2009.html' title='April .NET User Group Meeting - 2009'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_NC4biJzfh3U/SdY-wEfqj6I/AAAAAAAACqc/f13WjIBs4Og/s72-c/IMAG0023_thumb%5B44%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-8686164392214206955</id><published>2009-03-04T22:29:00.000+05:30</published><updated>2009-03-04T22:32:57.970+05:30</updated><title type='text'>Designing A Data Access Layer in LINQ to SQL</title><content type='html'>&lt;p&gt;I wrote an article on &lt;a href="http://www.simple-talk.com/dotnet/.net-framework/designing-a-data-access-layer-in-linq-to-sql/" target="_blank"&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;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-8686164392214206955?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/8686164392214206955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=8686164392214206955' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/8686164392214206955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/8686164392214206955'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2009/03/designing-data-access-layer-in-linq-to.html' title='Designing A Data Access Layer in LINQ to SQL'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-7802574265987715366</id><published>2008-11-27T00:19:00.000+05:30</published><updated>2008-11-28T00:28:38.092+05:30</updated><title type='text'>Dynamic Data Templates in ASP.NET 3.5</title><content type='html'>&lt;p&gt;My Article on&lt;strong&gt;&lt;em&gt; &lt;/em&gt;&lt;a href="http://www.simple-talk.com/dotnet/.net-framework/dynamic-data-templates-in-asp.net-3.5/" target="_blank"&gt;Dynamic Data Templates in ASP.NET 3.5&lt;/a&gt;&lt;/strong&gt; was published in &lt;a href="http://www.simple-talk.com" target="_blank"&gt;Simple Talk&lt;/a&gt; web site on 17th Nov' 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="http://lh3.ggpht.com/_NC4biJzfh3U/SS7t0EmQt5I/AAAAAAAACKw/jk4dHLb3ICs/s1600-h/NewsLetter.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="145" alt="NewsLetter" src="http://lh3.ggpht.com/_NC4biJzfh3U/SS7t2mP6kdI/AAAAAAAACK0/KXRtxMXO58I/NewsLetter_thumb.png?imgmax=800" width="244" border="0"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-7802574265987715366?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/7802574265987715366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=7802574265987715366' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/7802574265987715366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/7802574265987715366'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2008/11/dynamic-data-templates-in-aspnet-35.html' title='Dynamic Data Templates in ASP.NET 3.5'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_NC4biJzfh3U/SS7t2mP6kdI/AAAAAAAACK0/KXRtxMXO58I/s72-c/NewsLetter_thumb.png?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-2116569719764971832</id><published>2008-10-07T22:45:00.001+05:30</published><updated>2008-10-07T22:46:25.373+05:30</updated><title type='text'>Some thing I really enjoyed...</title><content type='html'>&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;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-2116569719764971832?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/2116569719764971832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=2116569719764971832' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/2116569719764971832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/2116569719764971832'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2008/10/some-thing-i-really-enjoyed.html' title='Some thing I really enjoyed...'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-3174189804908110497</id><published>2008-10-04T19:06:00.001+05:30</published><updated>2008-11-01T13:14:52.888+05:30</updated><title type='text'>Extracting XML and Insert Bulk Data using LINQ to XML and LINQ to SQL in .NET 3.5</title><content type='html'>&lt;p&gt;Today I published an article in &lt;a href="www.codeproject.com/" target="_blank"&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="http://www.codeproject.com/KB/dotnet/LINQ_FOR_OPERATIONS.aspx" href="http://www.codeproject.com/KB/dotnet/LINQ_FOR_OPERATIONS.aspx" target="_blank"&gt;http://www.codeproject.com/KB/dotnet/LINQ_FOR_OPERATIONS.aspx&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-3174189804908110497?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/3174189804908110497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=3174189804908110497' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/3174189804908110497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/3174189804908110497'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2008/10/extracting-xml-and-sql-bulk-updates.html' title='Extracting XML and Insert Bulk Data using LINQ to XML and LINQ to SQL in .NET 3.5'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-3825277320232183968</id><published>2008-08-30T15:22:00.001+05:30</published><updated>2009-04-05T14:49:05.808+05:30</updated><title type='text'>Enhancements in C# Code Editor in VS 2008</title><content type='html'>&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="http://lh4.ggpht.com/_NC4biJzfh3U/Sdh3gxDQyFI/AAAAAAAACq0/vnph5lPE9Hw/s1600-h/image%5B9%5D.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="203" alt="image" src="http://lh3.ggpht.com/_NC4biJzfh3U/SLkYW41Cy7I/AAAAAAAACq4/e8DCTCLIXMY/image_thumb%5B8%5D.png?imgmax=800" width="314" border="0"&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;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-3825277320232183968?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/3825277320232183968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=3825277320232183968' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/3825277320232183968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/3825277320232183968'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2008/08/enhancements-in-c-code-editor-in-vs.html' title='Enhancements in C# Code Editor in VS 2008'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_NC4biJzfh3U/SLkYW41Cy7I/AAAAAAAACq4/e8DCTCLIXMY/s72-c/image_thumb%5B8%5D.png?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-7394735218263646190</id><published>2008-06-12T22:20:00.001+05:30</published><updated>2008-08-30T15:32:47.509+05:30</updated><title type='text'>Exciting Tools</title><content type='html'>&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="http://www.colorschemer.com/colorpix_info.php" target="_blank"&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="http://yaldex.com/JSFactory_Pro.htm" target="_blank"&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;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-7394735218263646190?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/7394735218263646190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=7394735218263646190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/7394735218263646190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/7394735218263646190'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2008/06/exciting-tools.html' title='Exciting Tools'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-9064274265424581411</id><published>2008-06-07T18:16:00.000+05:30</published><updated>2008-08-30T16:49:22.121+05:30</updated><title type='text'>Dynamically Generating Images using ASP.NET Handlers</title><content type='html'>&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="#0000a0"&gt;IhttpHandler&lt;/font&gt;. From the &lt;font color="#000080"&gt;IhttpHandler&lt;/font&gt; implement the default members namely, the &lt;font color="#0000a0"&gt;IsReusable&lt;/font&gt; and &lt;font color="#0000a0"&gt;ProcessRequest&lt;/font&gt;. &lt;font color="#0000a0"&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="#0000a0"&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="http://lh6.ggpht.com/gayani.devapriya/SLkr8v8qy9I/AAAAAAAABn8/Lr27jsjWsus/s1600-h/image%5B13%5D.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="236" alt="image" src="http://lh6.ggpht.com/gayani.devapriya/SLkr-65p90I/AAAAAAAABoA/5Hn194cTZjA/image_thumb%5B9%5D.png?imgmax=800" width="403" border="0"&gt;&lt;/a&gt;  &lt;p&gt; &lt;p&gt;&lt;font color="#0000a0"&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'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="http://lh3.ggpht.com/gayani.devapriya/SEqDdhwuvDI/AAAAAAAABoE/-khDMowp5bA/s1600-h/6%5B6%5D.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="117" alt="6" src="http://lh5.ggpht.com/gayani.devapriya/SEqDfisgzaI/AAAAAAAABoI/v-CBsRsctFM/6_thumb%5B6%5D.png?imgmax=800" width="404" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt; &lt;p&gt;&lt;font color="#0000a0"&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="http://lh5.ggpht.com/gayani.devapriya/SEqDhpqIncI/AAAAAAAABoM/RqUak_w6DMQ/s1600-h/7%5B11%5D.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="76" alt="7" src="http://lh4.ggpht.com/gayani.devapriya/SEqDjsy30bI/AAAAAAAABoQ/YOHiNI8jC4g/7_thumb%5B11%5D.png?imgmax=800" width="405" border="0"&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="#0000a0"&gt;· Open the IIS. &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;· Right Click on the Web Site. &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;· Properties -&amp;gt; Configuration -&amp;gt; Application Configuration-&amp;gt; Mapping &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;· Click Add &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;· Browse the aspnet_isapi .dll, type the extension as .jpg, &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&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="http://lh6.ggpht.com/gayani.devapriya/SEqDuUFOGoI/AAAAAAAABmQ/lmdK0m2l4j0/2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="244" alt="2" src="http://lh5.ggpht.com/gayani.devapriya/SEqD1bmxG0I/AAAAAAAABmU/pDQoogSCcAM/2_thumb.png" width="211" border="0"&gt;&lt;/a&gt; &lt;a href="http://lh3.ggpht.com/gayani.devapriya/SEqD-b_vOjI/AAAAAAAABmY/m0gbg6JHUIE/3%5B1%5D.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="252" alt="3" src="http://lh5.ggpht.com/gayani.devapriya/SEqEDBuGWqI/AAAAAAAABmc/UsV0jQ6-QMM/3_thumb%5B1%5D.png" width="215" border="0"&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="http://lh4.ggpht.com/gayani.devapriya/SEqEJJFVawI/AAAAAAAABmg/wnL5yam5Fk4/8%5B2%5D.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="247" alt="8" src="http://lh3.ggpht.com/gayani.devapriya/SEqENEeMvYI/AAAAAAAABmk/cHY9ArrzyHQ/8_thumb%5B2%5D.png" width="399" border="0"&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="http://support.microsoft.com/kb/317948"&gt;http://support.microsoft.com/kb/317948&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-9064274265424581411?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/9064274265424581411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=9064274265424581411' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/9064274265424581411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/9064274265424581411'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2008/06/dynamically-generating-images-using.html' title='Dynamically Generating Images using ASP.NET Handlers'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></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></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-2014157932120658563</id><published>2008-06-02T22:56:00.000+05:30</published><updated>2008-10-07T22:56:35.356+05:30</updated><title type='text'>70-551</title><content type='html'>&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;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-2014157932120658563?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/2014157932120658563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=2014157932120658563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/2014157932120658563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/2014157932120658563'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2008/10/70-551.html' title='70-551'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-2714179872662314546</id><published>2008-05-18T19:01:00.001+05:30</published><updated>2008-05-18T19:06:58.700+05:30</updated><title type='text'>Glimpse on LINQ TO SQL</title><content type='html'>&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="#408080"&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="#408080"&gt;ContactDBDataContext&lt;/font&gt; context = &lt;font color="#000080"&gt;new&lt;/font&gt; &lt;font color="#408080"&gt;ContactDBDataContext&lt;/font&gt;();&lt;br&gt;&lt;font color="#000080"&gt;var&lt;/font&gt; contactData = &lt;font color="#000080"&gt;from&lt;/font&gt; &lt;font color="#408080"&gt;Course&lt;/font&gt; in context.Courses&lt;br&gt;&lt;font color="#000080"&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="#000080"&gt;new&lt;/font&gt; { Course.Name, Course.Certification };&lt;/p&gt; &lt;p&gt;&lt;font color="#408080"&gt;ContactDBDataContext&lt;/font&gt; is the Linq to SQL Class I added. &lt;font color="#408080"&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="#000080"&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="#000080"&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="right"&gt;&amp;nbsp;- &lt;i&gt;This is just a surface of an ocean to dive in. &lt;/i&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-2714179872662314546?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/2714179872662314546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=2714179872662314546' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/2714179872662314546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/2714179872662314546'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2008/05/glimpse-on-linq-to-sql.html' title='Glimpse on LINQ TO SQL'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-1343297487860593672</id><published>2008-05-12T00:59:00.001+05:30</published><updated>2008-05-13T23:02:41.776+05:30</updated><title type='text'>LINQ in Brief</title><content type='html'>&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="#408080"&gt;List&lt;/font&gt;&amp;lt;&lt;font color="#8000ff"&gt;int&lt;/font&gt;&amp;gt; Prices = new &lt;font color="#408080"&gt;List&lt;/font&gt;&amp;lt;&lt;font color="#8000ff"&gt;int&lt;/font&gt;&amp;gt; {456,789,235,723 };  &lt;p&gt;&lt;font color="#8000ff"&gt;var&lt;/font&gt; myPriceList = &lt;font color="#8000ff"&gt;from&lt;/font&gt; p &lt;font color="#8000ff"&gt;in&lt;/font&gt; Prices &lt;font color="#8000ff"&gt;orderby&lt;/font&gt; p &lt;font color="#8000ff"&gt;descending&lt;/font&gt; &lt;font color="#8000ff"&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="#8000ff"&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="#408080"&gt;List&lt;/font&gt;&amp;lt;&lt;font color="#8000ff"&gt;int&lt;/font&gt;&amp;gt; Prices = new &lt;font color="#408080"&gt;List&lt;/font&gt;&amp;lt;&lt;font color="#8000ff"&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="#8000ff"&gt;var&lt;/font&gt; myPriceList = &lt;font color="#8000ff"&gt;from&lt;/font&gt; p &lt;font color="#8000ff"&gt;in&lt;/font&gt; Prices &lt;font color="#8000ff"&gt;orderby&lt;/font&gt; p &lt;font color="#8000ff"&gt;descending&lt;/font&gt; &lt;font color="#8000ff"&gt;select&lt;/font&gt; p.ToString("&lt;font color="#804000"&gt;C&lt;/font&gt;"); &lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font color="#8000ff"&gt;foreach &lt;/font&gt;(&lt;font color="#8000ff"&gt;string&lt;/font&gt; i &lt;font color="#8000ff"&gt;in&lt;/font&gt; myPriceList)  &lt;p&gt;{  &lt;p&gt;&lt;font color="#408080"&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="#408080"&gt;Console&lt;/font&gt;.WriteLine("&lt;font color="#800040"&gt;The average is {0:F2}&lt;/font&gt;", 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;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-1343297487860593672?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/1343297487860593672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=1343297487860593672' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/1343297487860593672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/1343297487860593672'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2008/05/linq-in-brief.html' title='LINQ in Brief'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-6574910693815404264</id><published>2008-04-25T23:33:00.001+05:30</published><updated>2008-04-25T23:33:10.116+05:30</updated><title type='text'>Solution to Dynamic Length Arrays in C#</title><content type='html'>&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="#0000a0"&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#0000a0"&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="#0000a0"&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's a solution to the dynamic length arrays.&lt;/p&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;List&amp;lt;int&amp;gt; oNumList = new List&amp;lt;int&amp;gt;();&lt;/font&gt; //Haven't specified the size&lt;/p&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;oNumList.Add(1123);&lt;/font&gt; //Add items to the list&lt;/p&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;int[] oNums = new int[oNumList.Count];&lt;/font&gt; //Create an int Array&lt;/p&gt; &lt;p&gt;&lt;font color="#0000a0"&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;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-6574910693815404264?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/6574910693815404264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=6574910693815404264' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/6574910693815404264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/6574910693815404264'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2008/04/solution-to-dynamic-length-arrays-in-c.html' title='Solution to Dynamic Length Arrays in C#'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-2421447370038580982</id><published>2008-02-03T19:24:00.001+05:30</published><updated>2008-02-24T21:12:25.449+05:30</updated><title type='text'>Validate DataTypes using the CompareValidator</title><content type='html'>&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="#800000"&gt;&amp;lt;asp:CompareValidator &lt;font color="#ff0000"&gt;ID&lt;/font&gt;="&lt;font color="#0000ff"&gt;CompareValidator1&lt;/font&gt;" &lt;font color="#ff0000"&gt;runat&lt;/font&gt;="&lt;font color="#0000ff"&gt;server&lt;/font&gt;" &lt;font color="#ff0000"&gt;ControlToValidate&lt;/font&gt;="&lt;font color="#0000ff"&gt;TextBox1&lt;/font&gt;" &lt;font color="#ff0000"&gt;Display&lt;/font&gt;="&lt;font color="#0000ff"&gt;Dynamic&lt;/font&gt;" &lt;font color="#ff0000"&gt;Operator&lt;/font&gt;="&lt;font color="#0000ff"&gt;DataTypeCheck&lt;/font&gt;" &lt;font color="#ff0000"&gt;Type&lt;/font&gt;="&lt;font color="#0000ff"&gt;Date&lt;/font&gt;"&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;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-2421447370038580982?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/2421447370038580982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=2421447370038580982' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/2421447370038580982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/2421447370038580982'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2008/02/validate-datatypes-using.html' title='Validate DataTypes using the CompareValidator'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-5428044137723745134</id><published>2007-11-04T00:37:00.001+05:30</published><updated>2008-02-24T21:12:25.450+05:30</updated><title type='text'>Resource Saving Dynamic Word Doc Generation.</title><content type='html'>&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="#0000a0"&gt;Response.Clear(); &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;Response.Charset = "";&amp;nbsp;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;Response.AppendHeader("Content-Type", "application/msword"); &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;Response.AddHeader("Content-Disposition", "attachment; filename=" + "MyWord.doc"); &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;Response.AddHeader("Content-Length", sb.ToString().Length.ToString()); &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;Response.Write(sb.ToString()); &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;Response.End(); &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;Response.Flush();&lt;/font&gt; &lt;/p&gt; &lt;p&gt;&lt;font color="#0080c0"&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="#0000a0"&gt;&lt;font color="#000080"&gt;StringBuilder sb = new StringBuilder();&lt;/font&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;sb.Append("&amp;lt;html &lt;/font&gt;&lt;font color="#0000a0"&gt;xmlns:o='urn:schemas-microsoft-com:office:office' " + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"xmlns:w='urn:schemas-microsoft-com:office:word'" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"xmlns='&lt;/font&gt;&lt;a href="http://www.w3.org/TR/REC-html40'"&gt;&lt;font color="#0000a0"&gt;http://www.w3.org/TR/REC-html40'&lt;/font&gt;&lt;/a&gt;&lt;font color="#0000a0"&gt;&amp;gt;" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;My Title&amp;lt;/title&amp;gt;") ;&lt;/font&gt;  &lt;p&gt;&lt;font color="#0000a0"&gt;string sStyle = "&amp;lt;!--[if gte mso 9]&amp;gt;&lt;/font&gt;&lt;font color="#0000a0"&gt;&amp;lt;xml&amp;gt;" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;lt;w:WordDocument&amp;gt;" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;lt;w:View&amp;gt;Print&amp;lt;/w:View&amp;gt;" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;lt;w:Zoom&amp;gt;75&amp;lt;/w:Zoom&amp;gt;" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;lt;w:DoNotOptimizeForBrowser/&amp;gt;" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;lt;/w:WordDocument&amp;gt;&lt;/font&gt;&lt;font color="#0000a0"&gt;&amp;lt;/xml&amp;gt;&lt;/font&gt;&lt;font color="#0000a0"&gt;&amp;lt;![endif]--&amp;gt;"; &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;&amp;nbsp;sb.Append(sStyle);&lt;/font&gt;  &lt;p&gt;&lt;font color="#0000a0"&gt;&amp;nbsp;sb.Append("&amp;lt;style&amp;gt;" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;lt;!-- /* Style Definitions */" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"@page Section1" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;nbsp;&amp;nbsp; {size:841.9pt 595.3pt; " + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;nbsp;&amp;nbsp; mso-page-orientation:landscape;&amp;nbsp; " + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;nbsp;&amp;nbsp; margin:.5in 1.0in 1.0in .5in ; " + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;nbsp;&amp;nbsp; mso-header-margin:.5in; " + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;nbsp;&amp;nbsp; mso-footer-margin:.5in; mso-paper-source:0; }" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;" div.Section1" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;nbsp;&amp;nbsp; {page:Section1;}" + &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;"--&amp;gt;" +&lt;/font&gt;  &lt;p&gt;&lt;font color="#0000a0"&gt;"&amp;lt;/style&amp;gt;&amp;lt;/head&amp;gt;"); &lt;/font&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;sb.Append("&amp;lt;body lang=EN-US style='tab-interval:.5in'&amp;gt;&amp;lt;div class=Section1&amp;gt;" ); &lt;/font&gt; &lt;p&gt;&lt;font color="#0080c0"&gt;/*Now append the content to be written to the word document.*/&lt;/font&gt;  &lt;p&gt;&lt;font color="#000080"&gt;sb.Append("&amp;lt;b&amp;gt;Sample Test &amp;lt;b&amp;gt;");&lt;/font&gt;  &lt;p&gt;&lt;font color="#0000a0"&gt;sb.Append("&amp;lt;div&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;");&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;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-5428044137723745134?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/5428044137723745134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=5428044137723745134' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/5428044137723745134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/5428044137723745134'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2007/11/resource-saving-dynamic-word-doc.html' title='Resource Saving Dynamic Word Doc Generation.'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-2555121465502420815</id><published>2007-10-06T20:24:00.001+05:30</published><updated>2008-02-24T21:12:50.279+05:30</updated><title type='text'>Think Different</title><content type='html'>&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="http://www.techcareers.com/content/article.asp?articleID=201808122&amp;amp;pgno=1" target="_blank"&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;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-2555121465502420815?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/2555121465502420815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=2555121465502420815' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/2555121465502420815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/2555121465502420815'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2007/10/think-different.html' title='Think Different'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-983865283084809858</id><published>2007-09-16T20:53:00.001+05:30</published><updated>2008-02-24T21:12:45.238+05:30</updated><title type='text'>Efficient way of combining Strings using StringBuilder Class</title><content type='html'>&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="color:#000080;"&gt;public string&lt;/span&gt; createContent()&lt;br /&gt;{&lt;br /&gt;&lt;span style="color:#000080;"&gt;string&lt;/span&gt; sMessage = &lt;span style="color:#000080;"&gt;string&lt;/span&gt;.Empty;&lt;br /&gt;sMessage += &lt;span style="color:#800000;"&gt;"Introduction.. ";&lt;br /&gt;&lt;/span&gt;sMessage += &lt;span style="color:#800000;"&gt;"Welcome to Strings.. ";&lt;/span&gt;&lt;br /&gt;sMessage += &lt;span style="color:#800000;"&gt;"This is a demo.. ";&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000080;"&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="color:#000080;"&gt;public string&lt;/span&gt; createNextContent()&lt;br /&gt;{&lt;br /&gt;&lt;span style="color:#0080c0;"&gt;StringBuilder&lt;/span&gt; sbTest = &lt;span style="color:#000080;"&gt;new&lt;/span&gt; &lt;span style="color:#0080c0;"&gt;StringBuilder&lt;/span&gt;();&lt;br /&gt;sbTest.Append("&lt;span style="color:#800000;"&gt;Introduction&lt;/span&gt;.. ");&lt;br /&gt;sbTest.Append("&lt;span style="color:#800000;"&gt;Welcome to Strings..&lt;/span&gt; ");&lt;br /&gt;sbTest.Append("&lt;span style="color:#800000;"&gt;This is a demo..&lt;/span&gt; ");&lt;br /&gt;&lt;span style="color:#000080;"&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;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-983865283084809858?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/983865283084809858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=983865283084809858' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/983865283084809858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/983865283084809858'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2007/09/efficient-way-of-combining-strings.html' title='Efficient way of combining Strings using StringBuilder Class'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-3677239102427089730</id><published>2007-06-08T13:07:00.001+05:30</published><updated>2008-02-24T21:13:00.199+05:30</updated><title type='text'>How to upgrade a DotNetNuke web site in version 3.2.x to version 4.4.1</title><content type='html'>&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'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;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-3677239102427089730?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/3677239102427089730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=3677239102427089730' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/3677239102427089730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/3677239102427089730'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2007/06/how-to-upgrade-dotnetnuke-web-site-in.html' title='How to upgrade a DotNetNuke web site in version 3.2.x to version 4.4.1'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-5109560733404341117</id><published>2007-06-08T13:06:00.001+05:30</published><updated>2008-02-24T21:13:00.199+05:30</updated><title type='text'>Briefing on Installing DotNetNuke 4.x</title><content type='html'>&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="http://www.DotNetNuke.com"&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'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="#000080"&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="http://localhost/VirtualFolderName"&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;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-5109560733404341117?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/5109560733404341117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=5109560733404341117' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/5109560733404341117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/5109560733404341117'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2007/06/briefing-on-installing-dotnetnuke-4x.html' title='Briefing on Installing DotNetNuke 4.x'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-117603083031991724</id><published>2007-04-08T16:43:00.000+05:30</published><updated>2008-02-24T21:12:25.450+05:30</updated><title type='text'>Image Gallery Control</title><content type='html'>&lt;p&gt;Here are some important points to remember when using the Image Gallery control with the Freetextbox, in ASP.NET.&lt;/p&gt;&lt;p&gt;The image gallery control that is packed with the Freetext box control has some significant functionality that we could use instead of spending time to develop the Image uploads, resizing retaining its resolutions and maintaining your own image gallery in a web application. Freetext box, gives you facility of editing some content and save with its formatting. What it saves is basically HTML.&lt;/p&gt;&lt;p&gt;First you should download the Freetext box control from &lt;a href="http://www.FreeTextbox.com/" target="_blank"&gt;http://www.FreeTextbox.com/&lt;/a&gt; site and add the control to the Tools. Then double click on the Freetext box and add the control to your web page. &lt;/p&gt;&lt;p&gt;Set the Validate Request of the ASPX page to false on the page directive.&lt;/p&gt;&lt;p&gt;ValidateRequest="false"&lt;/p&gt;&lt;p&gt;By default in ASPX pages the RequestValidation is set to true to avoid un-encoded HTML content being submitted to the server. But we will set this status false, since we need to send HTML to the server.&lt;/p&gt;&lt;p&gt;Now lets add the Image Gallery to this Freetextbox. Go to the folder that you downloaded and Freetextbox -&amp;gt;examples -&amp;gt;fullyloaded-&amp;gt;&lt;span style="color:#000080;"&gt;ftb.imagegallery.aspx&lt;/span&gt; and add this to your web application.&lt;/p&gt;&lt;p&gt;Under the Freetextbox properties Click on ToolbarLayout property, and copy the following. &lt;p&gt;ParagraphMenu,FontFacesMenu,FontSizesMenu,&lt;/p&gt;&lt;p&gt;FontForeColorsMenuBold,Italic,Underline,Strikethrough;Superscript,&lt;/p&gt;&lt;p&gt;Subscript,RemoveFormatJustifyLeft,JustifyRight,JustifyCenter,&lt;/p&gt;&lt;p&gt;JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,&lt;/p&gt;&lt;p&gt;Unlink,InsertImage,InsertRuleCut,Copy,Paste;Undo,Redo,&lt;/p&gt;&lt;p&gt;Print,&lt;span style="color:#0000a0;"&gt;InsertImageFromGallery,Preview,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#0000a0;"&gt;SelectAll,WordClean,NetSpell&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#0000a0;"&gt;&lt;a href="http://photos1.blogger.com/x/blogger/6119/1761/1600/487352/ftb_image.jpg"&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;The ToolbarLayout property will contain the functionality of the Freetextbox and the blue colored parts indicated the image gallery functionalities, that we added newly.&lt;/p&gt;&lt;p&gt;Now we need to set some properties as to Create folders, Upload Images, Delete Images and etc, so click on the &lt;span style="color:#000080;"&gt;ftb.imagegallery.aspx&lt;/span&gt; and in the code find where it references the freetextbox and set the following properties. &lt;/p&gt;&lt;p&gt;&lt;span style="color:#000080;"&gt;&amp;lt;FTB:ImageGallery id="ImageGallery1"&lt;br /&gt;AllowImageDelete="true" AllowImageUpload="true" AllowDirectoryCreate="true" AllowDirectoryDelete="true" runat="Server" /&amp;gt;&lt;/span&gt; &lt;p&gt;One significant point is that by default all the images are saved in the "images" folder in your application and any directory we create will also be created in side the "images" folder. There fore its a point to remember that if your site uses any other images that you do not require user involvements (such as images in banners or buttons) better place then in a separate folder, and create a folder with the name of "images" inside your web application.&lt;/p&gt;&lt;p&gt;If you user master pages then there is a small change you need to do in the &lt;span style="color:#000080;"&gt;ftb.imagegallery.aspx&lt;/span&gt;. Make the header part runat server.&lt;/p&gt;&lt;p&gt;&amp;lt;head runat="server"&amp;gt; &lt;/p&gt;&lt;p&gt;&amp;lt;title&amp;gt;Image Gallery&amp;lt;/title&amp;gt; &lt;p&gt;&amp;lt;/head&amp;gt; &lt;p&gt;Freetextbox is used as to allow the user to have the flexibility to design the content as he wishes, there for the length of the text we need to store would be a problem there for by using a data type "text" in the SQL server would give the facility to store enough text as requests. &lt;p&gt;Now that all are done lets take a look at how it appears.&lt;p align="right"&gt;&lt;span style="color:#0000a0;"&gt;&lt;a href="http://photos1.blogger.com/x/blogger/6119/1761/1600/487352/ftb_image.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/x/blogger/6119/1761/320/235615/ftb_image.jpg" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Freetextbox &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt;&lt;a href="http://photos1.blogger.com/x/blogger/6119/1761/1600/324837/ig_image.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/x/blogger/6119/1761/320/918081/ig_image.jpg" border="0" /&gt;&lt;/a&gt;Image Gallery&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-117603083031991724?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/117603083031991724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=117603083031991724' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/117603083031991724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/117603083031991724'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2007/04/image-gallery-control.html' title='Image Gallery Control'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-117108845004287937</id><published>2007-02-10T11:50:00.000+05:30</published><updated>2008-02-24T21:13:10.047+05:30</updated><title type='text'>Release Me...</title><content type='html'>&lt;p&gt;When I was just 5 I heard my daddy singing some of the songs, by ENGELBERT HUMPERDINCK...just remember it slightly... Recently...I came across with song - Release Me by EH and was listening to it....it was so amazing....I simply love it...So I thought I need to write some thing in my Blog on this..&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.engelbert.com/news.html"&gt;ENGELBERT HUMPERDINCK&lt;/a&gt; was the spot light in music in 60s..with an amazing strong voice that would touch many generations, being the king of kings of romance he really has some extraordinary talent of course. Great music, great voice, great lyrics...simply it takes you to heaven.. I continuously listen to it more than 10 time or may be more...and I became a fan of him just like my daddy ;) those days.&lt;/p&gt;&lt;p&gt;Some Lyrics I picked up from Walk Through This World...&lt;/p&gt;&lt;table style="WIDTH: 403px; HEIGHT: 197px" border="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top" width="90"&gt;&lt;p&gt;&lt;!-- &lt;a href="$humper33436[7].jpg" atomicselection="true"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="111" src="$humper33436_thumb[5].jpg" width="114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;--&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://photos1.blogger.com/x/blogger/6119/1761/1600/856474/humper33436.jpg"&gt;&lt;img style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height="111" src="http://photos1.blogger.com/x/blogger/6119/1761/320/692340/humper33436.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width="10"&gt;&lt;/td&gt;&lt;td valign="top" align="left" width="100%"&gt;&lt;p&gt;&lt;em&gt;walk through this world with me - go where I go&lt;br /&gt;share all your dreams with me - I need you so&lt;br /&gt;in life we search - its some ones smile&lt;br /&gt;I've looked for you my love-- for a long long time&lt;br /&gt;and now that I found - new horizons I see&lt;br /&gt;come take my hand - and &lt;strong&gt;walk thorough this world with me &lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-117108845004287937?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/117108845004287937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=117108845004287937' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/117108845004287937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/117108845004287937'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2007/02/release-me.html' title='Release Me...'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-116871213159431569</id><published>2007-01-13T23:45:00.000+05:30</published><updated>2008-02-24T21:12:55.968+05:30</updated><title type='text'>one go...</title><content type='html'>&lt;p&gt;Recently I came across with this site meebo.com where you can connect to&amp;nbsp;yahoo, MSN, gtalk and any other in one go, its &lt;a href="http://www.meebo.com" target="_blank"&gt;meebo.com&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Good thing about this site is that, you don't need to install any of these software in your PC, further...every thing will appear in a one window and simple.&lt;/p&gt; &lt;p&gt;This is useful at times, since it cuts off the multiple processes of running&amp;nbsp;many messenger services, in the machine. And for me it was useful at times..and hope it will be useful for you too.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-116871213159431569?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/116871213159431569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=116871213159431569' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/116871213159431569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/116871213159431569'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2007/01/one-go.html' title='one go...'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-116815023688233177</id><published>2007-01-07T11:40:00.000+05:30</published><updated>2008-02-24T21:12:45.239+05:30</updated><title type='text'>Short Cut Keys.</title><content type='html'>&lt;div&gt; &lt;p&gt;Here are some short cut keys that will be useful in working with VS 2005. &lt;/p&gt; &lt;p&gt;Guess its no point introducing some thing common, only the uncommon ones are listed here. Most of you may already be familiar, but for the ones who don't know...hope its useful.&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;Format a line : &lt;font color="#000080"&gt;Ctrl + K + D&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Delete a line : &lt;font color="#000080"&gt;Ctrl + L&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt;&lt;/blockquote&gt; &lt;p&gt;If you need to delete or format a code segment, you may select the expected area of code before going for the key combination.&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;Get a blank line on top of a line of code : &lt;font color="#000080"&gt;Ctrl + Enter&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Search for a line number : &lt;font color="#000080"&gt;Ctrl + G&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Find and replace : &lt;font color="#000080"&gt;Ctrl + F&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Obtain&amp;nbsp;full screen mode : &lt;font color="#000080"&gt;Alt + Shift + Enter&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Build the solution : &lt;font color="#000080"&gt;Ctrl + Shift + B &lt;/font&gt;&lt;/p&gt; &lt;p&gt;Comment a block of code&amp;nbsp;: &lt;font color="#000080"&gt;Ctrl + K + C&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Un-comment a&amp;nbsp;block of code :&amp;nbsp;&amp;nbsp;&lt;font color="#000080"&gt;Ctrl + K + U&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-116815023688233177?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/116815023688233177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=116815023688233177' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/116815023688233177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/116815023688233177'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2007/01/short-cut-keys.html' title='Short Cut Keys.'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-116262319312055622</id><published>2006-11-04T12:23:00.000+05:30</published><updated>2008-02-24T21:13:10.048+05:30</updated><title type='text'>Two days from my diary...</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/6119/1761/1600/flower.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/6119/1761/200/flower.jpg" border="0" /&gt;&lt;/a&gt; Subject : &lt;b&gt;Hi this is for U&lt;/b&gt; &lt;p&gt;&lt;p&gt;7&lt;sup&gt;th&lt;/sup&gt; September 2004, An anonymous mail was received; with just initials(pw) saying “I see you every day”… that was just a simple message but the receiver replied with thundering words blaming “why cant you come out and talk”…because she knew by identity who the person behind the bars, even she has never met him before… that was indeed a surprise for the sender…, because he never expected her to know who he was and never expected such a reply…so, he thought that this was better to keep away….&lt;/p&gt;&lt;p&gt;Things went by…..They passed each other not knowing who they were….never met, never talked a word..…he saw her but, she was too proud to reach…she never saw him… she comple tely forgot, nor didn’t remember how the guy felt by reading her mail …. But they remembered their names very well…and paid close attention where ever they head them… &lt;p&gt;Time flew.... lot of things changed….. &lt;p&gt;After 2 years …on 1&lt;sup&gt;st&lt;/sup&gt; October 2006, a bright shinny day; they coincidentally met each other and “hello” was the first reply… they talked….and realized they could be great friends … they had built the misunderstanding because, they never met nor talked before…. &lt;p&gt;It was sort of funny for both of them…they saw each other and laughed together…it was simply sweet and stupid J &lt;p&gt;They indeed became great friends…&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-116262319312055622?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/116262319312055622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=116262319312055622' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/116262319312055622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/116262319312055622'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/11/two-days-from-my-diary.html' title='Two days from my diary...'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-116193034476184058</id><published>2006-10-27T11:54:00.000+05:30</published><updated>2008-02-24T21:12:45.240+05:30</updated><title type='text'>Validating a decimal number of specified integers and factional points; using a regular expression.</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/6119/1761/1600/code.jpg" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;/a&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;br&gt;It’s often the case where we stick to a specified number of integer and fractional number in decimal numbers. But some times the requirement arises to validate the decimal numbers which we specify the number of integers and fractions in it.&lt;/div&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;br&gt;Here is a solution to such a problem.&lt;/div&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;br&gt;Following is a regular expression I wrote will validate 0 to i number of integers and 0 to f number of fractional points.&lt;br&gt;&lt;br&gt;&lt;strong&gt;&lt;span style="color: #000099"&gt;string&lt;/span&gt; sTest = &lt;span style="color: #993300"&gt;@"^\d{0," + i + @"}\.\d{0," + f + "}$";&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;br&gt;&lt;span style="color: #666600"&gt;&lt;font color="#408080"&gt;string i = iNumericLength.ToString(); &lt;/font&gt;&lt;/span&gt;&lt;/div&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span style="color: #666600"&gt;&lt;font color="#408080"&gt;string f = iDecimalPoints.ToString(); &lt;/font&gt;&lt;/span&gt;&lt;/div&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span style="color: #666600"&gt;&lt;font color="#408080"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span style="color: #666600"&gt;&lt;font color="#408080"&gt;string sTest = @"^\d{0," + i + @"}\.\d{0," + f + "}$"; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span style="color: #666600"&gt;&lt;font color="#408080"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span style="color: #666600"&gt;&lt;font color="#408080"&gt;Regex ex = new Regex(sTest); &lt;/font&gt;&lt;/span&gt;&lt;/div&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span style="color: #666600"&gt;&lt;font color="#408080"&gt;string st = txtEnteredValue.Text; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span style="color: #666600"&gt;&lt;font color="#408080"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span style="color: #666600"&gt;&lt;font color="#408080"&gt;if (!ex.IsMatch(st)) &lt;/font&gt;&lt;/span&gt;&lt;/div&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span style="color: #666600"&gt;&lt;font color="#408080"&gt;{ &lt;/font&gt;&lt;/span&gt;&lt;/div&gt; &lt;blockquote&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span style="color: #666600"&gt;&lt;/span&gt;&lt;span style="color: #666600"&gt;&lt;font color="#408080"&gt;MessageBox.Show("This is a decimal field which supports max. of " + i + " numbers and max. of " + f+ " decimal numbers."); &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt; &lt;div align="left" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;span style="color: #666600"&gt;&lt;font color="#408080"&gt;}&lt;br&gt;&lt;/div&gt;&lt;/font&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-116193034476184058?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/116193034476184058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=116193034476184058' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/116193034476184058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/116193034476184058'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/10/validating-decimal-number-of-specified.html' title='Validating a decimal number of specified integers and factional points; using a regular expression.'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-115701028805714861</id><published>2006-08-31T13:14:00.000+05:30</published><updated>2008-02-24T21:12:55.969+05:30</updated><title type='text'>Windows Live Writer(Beta)</title><content type='html'>&lt;p&gt;One of my good frinds gave me this link and said its gr8 and easy to post articles in the Blog using this software..So I thought to give it a try&lt;/p&gt; &lt;p&gt;So here is the link&lt;/p&gt; &lt;p&gt;&lt;a href="http://ideas.live.com/programpage.aspx?versionId=4372c8c2-b76f-4d44-aea1-9835b61d8dc1" target="_blank"&gt;http://WindowsLiveWriter(Beta)DownLoads&lt;/a&gt;&lt;/p&gt; &lt;p&gt;I find it easy...guess it will be useful for those of us who always have the trouble in publishing posts; using the Blog itself.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-115701028805714861?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/115701028805714861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=115701028805714861' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/115701028805714861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/115701028805714861'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/08/windows-live-writerbeta.html' title='Windows Live Writer(Beta)'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-115544315227022333</id><published>2006-08-13T09:49:00.000+05:30</published><updated>2008-02-24T21:12:25.450+05:30</updated><title type='text'>allowDefinition='MachineToApplication' beyond application level.</title><content type='html'>&lt;p&gt;&lt;span style="color:#000099;"&gt;It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.&lt;/span&gt; &lt;/p&gt;&lt;p&gt;Above is an error which I continuously faced when I was trying to deploy a WebService written using VS2005.&lt;/p&gt;&lt;p&gt;I wrote a web service in vs 2005 and was trying to deploy it in IIS. What I did was created an empty folder and mapped the virtual folder to it. Then I published the Web Service giving that empty folder as the destination. In the IIS, I changed the ASP.NET version in IIS to 2.0 , but when I was trying to publish it gave the above error. &lt;/p&gt;&lt;p&gt;Well, after searching the web for so long; one day I tried out this..&lt;/p&gt;&lt;p&gt;created the web service and build it(no errors) then clicked on the publish option from the menu that drops down from the project I need to publish; it then requested the http URL, where I specified as &lt;a href="http://localhost/TestSomeService"&gt;http://localhost/TestSomeService&lt;/a&gt;, then it was published creating a folder in IIS as TestSomeService and mappings all done, and all I had to do was to change the ASP.NET version in IIS to 2.0. And there it worked fine....&lt;/p&gt;&lt;p&gt;One thing I learnt was that the new Visual Studio 2005; provides an inbuilt webhosting facility. it uses a Cassini to host the web service locally. This is good for developments; but as far as deployment is concerned; you got to go for IIS. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-115544315227022333?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/115544315227022333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=115544315227022333' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/115544315227022333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/115544315227022333'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/08/allowdefinitionmachinetoapplication.html' title='allowDefinition=&apos;MachineToApplication&apos; beyond application level.'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-115531094514332063</id><published>2006-08-11T21:08:00.000+05:30</published><updated>2008-02-24T21:12:25.451+05:30</updated><title type='text'>Accessing the ConnectionString in ASP.NET 2.0</title><content type='html'>&lt;p&gt;It is a general practise; we define the connection string in the web.config file and access it from else where of the application when we need to handle database activities. In asp.net 1.1 and lower versions; in web.config file we define the connection string by specifying it as a key value pair tag under the &lt;appsettings&gt;. That is, we specify the connection details under the section of application settings. Just to recap, this is the way we’ve been using in normally. &lt;a href="http://photos1.blogger.com/blogger/6119/1761/1600/old_con.3.jpg"&gt;&lt;img style="float: left; margin: 0px 10px 10px 0px; cursor: hand" alt="" src="http://photos1.blogger.com/blogger/6119/1761/400/old_con.0.jpg" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;And access the connection string as follows. &lt;span style="color: #3333ff"&gt;string&lt;/span&gt; ConnectionString = &lt;span style="color: #339999"&gt;Configuration&lt;/span&gt;.AppSettings[“&lt;span style="color: #993300"&gt;ConnectionString&lt;/span&gt;”].ToString(); The asp.net2.0 takes a one step forward and changes this by adding a &lt;connectionstring&gt;tag just after the &lt;appsettings&gt;. So with in this we can specify any amounts of connections to the database. It will look as follows. Let’s see how we can do it in asp.net 2.0. &lt;a href="http://photos1.blogger.com/blogger/6119/1761/1600/new_con.0.jpg"&gt;&lt;img style="float: left; margin: 0px 10px 10px 0px; cursor: hand" alt="" src="http://photos1.blogger.com/blogger/6119/1761/400/new_con.jpg" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;This is how we could access this connection defined in the web.config file. &lt;span style="color: #3333ff"&gt;string&lt;/span&gt; strCon = &lt;span style="color: #339999"&gt;ConfigurationManager&lt;/span&gt;.ConnectionStrings["&lt;span style="color: #993300"&gt;NorthwindConnectionString&lt;/span&gt;"].ConnectionString; The asp.net 2.0 uses the ConfigurationManager class which exposes the property of ConnnectionStrings where we could specify the key and access the connection string. If we want to get the application settings we could use the ConfigurationManager.AppSettings where this will give us the application settings of the web application. &lt;/p&gt; &lt;p&gt;Inorder to access the &lt;span style="color: #339999"&gt;ConfigurationManager &lt;/span&gt;class we need to add the &lt;font color="#0000a0"&gt;System.Configuration dll&lt;/font&gt; manually.&lt;/p&gt; &lt;p&gt;As you’ve seen now; ConfigurationManager class which is a new introduction in asp.net 2.0 allows us to carry out the general tasks in a bit different way; but guess; it’s trying to put things in to right places. Is it?&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-115531094514332063?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/115531094514332063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=115531094514332063' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/115531094514332063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/115531094514332063'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/08/accessing-connectionstring-in-aspnet.html' title='Accessing the ConnectionString in ASP.NET 2.0'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-115356912911167888</id><published>2006-07-22T17:07:00.000+05:30</published><updated>2008-02-24T21:13:00.200+05:30</updated><title type='text'>Few Guidelines in Creating a Custom Module in DotNetNuke 3.0</title><content type='html'>&lt;p&gt;First step in creating custom modules in DotNetNuke is to load the empty module successfully in to the nuke portal. There onwards, of course adding functionality to it is as same as working with ASP.NET. So, in this article I focus on few steps pertaining to nuke, that would help you to load a module to the nuke portal with out any errors. Also I assume that one should have some familiarity with the DotNetNuke portal before reading this material.&lt;br /&gt;&lt;br /&gt;When we are working in the nuke portal we should have a little idea about how nuke portal works. This explanation is a bit large. So I would simply say that; we should stick to the pattern that the core team used to create and deploy the module in the nuke. That is it follows a standard.&lt;br /&gt;(How DotNetNuke works will be explained in detail in the another article)&lt;br /&gt;&lt;br /&gt;Here are some points which need you need to keep in mind.&lt;br /&gt;&lt;br /&gt;-&gt; Open the nuke solution.&lt;br /&gt;-&gt; Add a nuke project to the solution. EX: TrainModule &lt;/p&gt;&lt;p&gt;Building the project out side the nuke solution is also possible; but in order to run the project, the entire solution is needed. Since the module that to be loaded can only be tested with in the nuke portal and not outside of it. There for adding the project to the solution is very important. &lt;/p&gt;&lt;p&gt;&lt;a href="http://photos1.blogger.com/blogger/6119/1761/1600/solexp.0.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/6119/1761/320/solexp.jpg" border="0" /&gt;&lt;/a&gt;-&gt; Since we are not doing any functionality at this phase just comment all the method implementations. &lt;/p&gt;&lt;p&gt;-&gt; Add the SQLDataProvider project to the solution; as per the location; select the provider folder of the first module (EX: TrainModule) you already created.&lt;br /&gt;Now you have 2 projects in the solution apart from what was already there in the solution.&lt;br /&gt;It will look as follows. &lt;/p&gt;&lt;p align="left"&gt;&lt;/p&gt;&lt;p&gt;Now before you build the solution, make sure set the dll paths correctly so; right click on the solution and select properties -&gt; configuration and click on output path, and select the location as; DotNetNuke(where the DotNetNuke is installed the main folder name )-&gt; Bin. (This will be the common place where you save all your dlls, in nuke modules). And build the projects separately and then the solution. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;When building the Dnn solution make sure that you do not build the existing modules which were not developed by you; by this way you can avoid building the existing modules.&lt;br /&gt;&lt;br /&gt;One significant point here is that lets just assume that you need to create a module which will not have and dealings with the database. But still you would need to add the SQLDataProvider module as per each project. Why is this? This is because nuke portal keeps a track of every module that’s been installed to the nuke portal with in its database. There fore when we try to load a module that’s been installed to the portal; at the load time it searches the database for the information required for loading the module; this connectivity will not be available if we do not have a SQLDataProvider project linking to your module. – (Please note that this particular explanation depict the way I understood; and not from any references)&lt;br /&gt;&lt;br /&gt;Now you have two projects, one with the TrainModule and the other TrainModule.SQLDataProvider with in the DNN solution and the corresponding dlls of them as well.&lt;br /&gt;&lt;br /&gt;Now let’s see how we can add this module to the Nuke portal.&lt;br /&gt;&lt;br /&gt;There are two main ways of doing it. Either we could upload the module; which is simple as uploading a zip file. And the other is to add the module specifying the view/edit and settings. Here I will explain the second method; since most of the problems encounter there, and since it involves few things to remember.&lt;br /&gt;&lt;br /&gt;Here are the steps we need to perform in order to add a module to the nuke portal.&lt;br /&gt;&lt;br /&gt;-&gt; Add a New Page to your Portal.&lt;br /&gt;(This is not explained here; hope you already know how to do that) &lt;/p&gt;&lt;p&gt;-&gt; Host -&gt; Module Definitions -&gt; Add Module Definition&lt;br /&gt;There you will get a page as follows to fill. Just give the module name, folder name, friendly name (the way you want it to appear in the module list) and a brief description (which will help you to identify the module once you do to its definitions) &lt;/p&gt;&lt;p&gt;Then paste the module name in the New Definition section and click on Add definition. Then you will get an empty location where you have to specify the control, title and the source.&lt;br /&gt;Now to add your controls, click on Add Control.&lt;br /&gt;&lt;br /&gt;The following screen shot displays once all controls are added. &lt;/p&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/6119/1761/400/ModuleDef.0.jpg" border="0" /&gt;&lt;br /&gt;Let me show you how to add the controls which are listed above.&lt;br /&gt;There are 3 main ascx pages we need to set as controls. They are the view page, edit page and the settings page. &lt;p&gt;&lt;u&gt;View Page&lt;/u&gt;&lt;br /&gt;Key:&lt;br /&gt;Source: TrainModule.ascx&lt;br /&gt;Type: View &lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/6119/1761/400/ViewDef.1.jpg" border="0" /&gt;&lt;br /&gt;&lt;u&gt;Edit Page&lt;/u&gt;&lt;br /&gt;Key: Edit&lt;br /&gt;Source: TrainModuleEdit.ascx&lt;br /&gt;Type: Edit&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/6119/1761/400/EditDef.jpg" border="0" /&gt;&lt;br /&gt;&lt;u&gt;Settings Page&lt;/u&gt;&lt;br /&gt;Key: Settings&lt;br /&gt;Source: Settings.ascx&lt;br /&gt;Type: Edit &lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/6119/1761/400/SettingsDef.jpg" border="0" /&gt;&lt;/p&gt;&lt;p&gt;Title is not given since you may give an appropriate title such as: TrainModule Settings.&lt;br /&gt;Also please note that the source need to be the full path where you can select from the drop down list but there I’ve mentioned the name of the file which you need to look for.&lt;br /&gt;&lt;br /&gt;Now that the module is installed, let’s add this module to a page and see how it is.&lt;br /&gt;Go to the page where you need to add the module and select the module and the containers of the page where you need the module to be displayed and click on add.&lt;br /&gt;If every thing had worked fine, you will get a result as follows.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/6119/1761/400/finalDisplay.jpg" border="0" /&gt;&lt;/p&gt;&lt;p&gt;As you see this module does not have any functionality yet, it’s a matter of adding the functionalities and the coding is as same as working in asp.net. Now that you have a successfully loaded module in hand, you can start off implementing the functionalities you expect. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-115356912911167888?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/115356912911167888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=115356912911167888' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/115356912911167888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/115356912911167888'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/07/few-guidelines-in-creating-custom.html' title='Few Guidelines in Creating a Custom Module in DotNetNuke 3.0'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-115025956032995517</id><published>2006-06-14T10:01:00.000+05:30</published><updated>2008-02-24T21:13:10.049+05:30</updated><title type='text'></title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/6119/1761/1600/waterlily.0.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/6119/1761/200/waterlily.0.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;span style="font-family:trebuchet ms;color:#000099;"&gt;" What we are today comes from our thoughts of yesterday, and our present thoughts build our life of tomorrow: &lt;/span&gt;&lt;/div&gt;&lt;div align="center"&gt;&lt;span style="font-family:trebuchet ms;color:#000099;"&gt;Our life is the creation of our mind . . . " &lt;/span&gt;&lt;/div&gt;&lt;div align="center"&gt;&lt;span style="font-family:trebuchet ms;color:#000099;"&gt;- &lt;strong&gt;Lord Buddha&lt;/strong&gt; -&lt;/span&gt;&lt;/div&gt;&lt;div align="center"&gt;&lt;span style="font-family:trebuchet ms;color:#000099;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-115025956032995517?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/115025956032995517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=115025956032995517' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/115025956032995517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/115025956032995517'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/06/what-we-are-today-comes-from-our.html' title=''/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-115009212854575835</id><published>2006-06-12T11:21:00.000+05:30</published><updated>2006-07-23T09:46:08.310+05:30</updated><title type='text'>June11Th2006...In-restrospect</title><content type='html'>&lt;span style="font-family:trebuchet ms;color:#330099;"&gt;Among certain capabilities and habits of some people certain are valuable while others are useless. ...So thought to open up my mind and see some positive points only. These are few things which pin in my mind so thought to make a note on that, on a great friend of mine. And as per my view these could be the key points for his educational and career success.&lt;br /&gt;&lt;br /&gt;Writing them with heart felt gratitude…&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#330099;"&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;strong&gt;HELP&lt;/strong&gt;&lt;br /&gt;Teaching what you know … and helping others to be successful in their career and education…and be happy for another’s success…&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;strong&gt;DETERMINTION&lt;/strong&gt;&lt;br /&gt;Over comes tiredness… never ever waste time… takes the maximum use of time. This is some thing I have asked often, “What you would do after work”. And has told me that he often listens to some music just to get over with the tiredness and start off work again, never ever lie in bed…. And never sleep other than the regular sleeping times… the determination of using the time effectively.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;strong&gt;EFFORT&lt;/strong&gt;&lt;br /&gt;In achieving goals…The desire it self of achieving some thing is not enough at all, rather utmost effort is essential. Deep motivation...&lt;br /&gt;&lt;br /&gt;Today I thought to add up these points in my life since it will place in value to mine as well. So &lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;strong&gt;thank you dear friend...&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-115009212854575835?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/115009212854575835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=115009212854575835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/115009212854575835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/115009212854575835'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/06/june11th2006in-restrospect.html' title='June11Th2006...In-restrospect'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-114961435265501634</id><published>2006-06-06T22:39:00.000+05:30</published><updated>2008-02-24T21:12:25.451+05:30</updated><title type='text'>Creating a proxy class using wsdl.exe tool.</title><content type='html'>Why do we need to create a proxy class if we can add the web service as a reference? Good question, well… the answer is simple; because we could write web services not only in .NET languages; but others as well. So in any case where we are given only the WSDL document as to work with the web service client here is what we need to do.&lt;br /&gt;&lt;br /&gt;We need to create a proxy class in order to create objects from it and expose the methods available. As to do this task, .NET Framework gives the WSDL.EXE tool, you may easily find it if you do a simple search for wsdl.exe in your machine.&lt;br /&gt;&lt;br /&gt;Following is the syntax to generate the proxy class.&lt;br /&gt;&lt;br /&gt;Go to Visual Studio command prompt.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;Wsdl /language:language /protocol:protocol /namespace:myNameSpace&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;/out:filename /username:username /password:password&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;/domain:domain url or path&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Out of the parameters above the URL is the only mandatory parameter, and others are optional.&lt;br /&gt;&lt;br /&gt;This command will create the proxy class in the current directory path you are; in the command prompt. What you need to do is add this created class into the web service client and then start using.&lt;br /&gt;It’s as simple as it is.&lt;br /&gt;&lt;br /&gt;There are some few tips we need to remember rather just getting a copy of the proxy class and use. Here is a brief glimpse to it.&lt;br /&gt;&lt;br /&gt;When WSDL.EXE creates a proxy class, it converts array lists to object arrays. So there for we got to open the proxy class and do this change in the data types.&lt;br /&gt;&lt;br /&gt;Further, in the proxy classes if we are using out parameters and in parameters we need to declare the in parameters first and then the out parameters.&lt;br /&gt;Guess this gives a complete proxy class to work with the web service client.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-114961435265501634?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/114961435265501634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=114961435265501634' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114961435265501634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114961435265501634'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/06/creating-proxy-class-using-wsdlexe.html' title='Creating a proxy class using wsdl.exe tool.'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-114732252950806486</id><published>2006-05-11T10:10:00.000+05:30</published><updated>2008-02-24T21:12:25.452+05:30</updated><title type='text'>.NET Framework 1.1 does not have the Compression namespace.</title><content type='html'>&lt;p&gt;&lt;span style="font-family: arial"&gt;Recently I was searching for the compression namespace in .NET framework 1.1...but didn’t find it... that’s because actually the .NET 1.1 does not have the compression namespace. So, thought to make a note on that. The .NET framework 1.1 does not contain any general purpose libraries for compression. But it’s possible to use free third part libraries. So, here are 2 links I got from friends. &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family: arial"&gt;&lt;a href="http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx" target="_blank"&gt;http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx&lt;/a&gt;&lt;/span&gt; &lt;span style="font-family: arial"&gt;&lt;a href="http://www.chilkatsoft.com/dotNetDoc//ClassZip.htm" target="_blank"&gt;http://www.chilkatsoft.com/dotNetDoc//ClassZip.htm&lt;/a&gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;&lt;span style="font-family: arial"&gt;But .NET framework 2.0 contains the System.IO.Compression namespace. :)&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-114732252950806486?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/114732252950806486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=114732252950806486' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114732252950806486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114732252950806486'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/05/net-framework-11-does-not-have.html' title='.NET Framework 1.1 does not have the Compression namespace.'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-114655576023686855</id><published>2006-05-02T13:07:00.000+05:30</published><updated>2008-02-24T21:13:10.051+05:30</updated><title type='text'>Exam 320</title><content type='html'>&lt;div align="left"&gt;&lt;span style="font-size:85%;color:#666666;"&gt;Few hours back I did my exam 70-320 which is on XML web services and server components.The most questions were targeted from the areas of ADO.NET and web services and not much on .NET Remoting.  &lt;br /&gt;Glad I passed it!!! I really like this subject and happy that it broadened the knowledge. But I need to strengthen my study areas on testing and debugging as well.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;span style="color:#666666;"&gt;&lt;span style="color:#ff99ff;"&gt;&lt;strong&gt;Thank you&lt;/strong&gt;&lt;/span&gt; very much my dear friends who helped me and encouraged me for this achievement.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-114655576023686855?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/114655576023686855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=114655576023686855' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114655576023686855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114655576023686855'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/05/exam-320.html' title='Exam 320'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-114594084619427333</id><published>2006-04-25T10:09:00.000+05:30</published><updated>2008-02-24T21:12:55.970+05:30</updated><title type='text'>Easter Eggs</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="color:#9999ff;"&gt;What are Easter Eggs?&lt;/span&gt;&lt;br /&gt;Easter eggs are hidden features that are developed with in the software. These could include commands, jokes, short cuts, animations, and some times knowing these will make your life easy. Some of the most of the popular software has these features, such as microsoft.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#9999ff;"&gt;How come this be "Easter Eggs" ?&lt;/span&gt;&lt;br /&gt;Generally, easter eggs are the eggs which were decorated at the time of celibrating the easter holiday. Today they are eggs made with choco or filled with candies.&lt;br /&gt;&lt;br /&gt;The name is believed to come from the movie Return of the Living Dead, where a military officer uses it as a code word for lost U.S. govt. containers of zombies created by a chemical spill. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;strong&gt;&lt;span style="color:#ccccff;"&gt;Here is an easter egg in MS Word 2003&lt;/span&gt;&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Open MS Word. And type =rand(2,2) and press enter.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;You can fill two lines by dummy text as follows&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#999999;"&gt;The quick brown fox jumps over the lazy dog.  The quick brown fox jumps over the lazy dog.&lt;br /&gt;The quick brown fox jumps over the lazy dog.  The quick brown fox jumps over the lazy dog.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-114594084619427333?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/114594084619427333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=114594084619427333' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114594084619427333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114594084619427333'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/04/easter-eggs.html' title='Easter Eggs'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-114593986948124607</id><published>2006-04-25T09:58:00.000+05:30</published><updated>2008-02-24T21:13:14.021+05:30</updated><title type='text'>SQL Exception meanings and error codes</title><content type='html'>&lt;span style="font-size:85%;"&gt;Recently I was looking for the SQLException meanings with their corresponding error codes. I finally found it. This is how you can find it.&lt;br /&gt;&lt;br /&gt;Just go to query analyzer. And select Master database and type the following query.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;select &lt;span style="color:#000000;"&gt;*&lt;/span&gt;&lt;br /&gt;from &lt;/span&gt;&lt;span style="color:#009900;"&gt;sysmessages&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;There you will result with all the error codes and their meanings, such as follows.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This is a description of a one instance.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#c0c0c0;"&gt;&lt;span style="font-size:78%;"&gt;&lt;strong&gt;ERROR : 1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;strong&gt;SEVERITY: 10&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;strong&gt;DLEVEL: 0&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;strong&gt;DESCRIPTION: Version date of last upgrade: 10/11/90. &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;strong&gt;MSGLANGID: 1033&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-114593986948124607?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/114593986948124607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=114593986948124607' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114593986948124607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114593986948124607'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/04/sql-exception-meanings-and-error-codes.html' title='SQL Exception meanings and error codes'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-114537749357000357</id><published>2006-04-18T21:40:00.000+05:30</published><updated>2008-02-24T21:12:45.241+05:30</updated><title type='text'>Polymorphism</title><content type='html'>&lt;span style="font-size:85%;"&gt;Polymorphism implies that different objects behave in different forms, by exposing different functionalities that is the properties and methods; by the use of the same public interface. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;The behavior differs since various classes can implement many different un-related interfaces and the same interface can be implemented by various classes.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;span style="font-size:85%;color:#000000;"&gt;&lt;strong&gt;- Interface Polymorphism -&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;One class can implement from one or more interfaces; resulting a class that instantiated objects will behave in a specific way.&lt;br /&gt;Let’s see what an interface is. An interface defines the agreed structure of a class behavior. Behavior of an object will be determined by the properties and the methods which they expose. There for an interface has the method definitions, where the class can implement and override them.&lt;br /&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;interface &lt;/span&gt;IVehicle&lt;br /&gt;{&lt;br /&gt;            &lt;span style="color:#3366ff;"&gt;void&lt;/span&gt; drive();&lt;br /&gt;            &lt;span style="color:#009900;"&gt;// this is the method definition&lt;/span&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// -------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;public class&lt;/span&gt; Car : IVehicle&lt;br /&gt;{&lt;br /&gt;            &lt;span style="color:#3333ff;"&gt;virtual&lt;/span&gt; &lt;span style="color:#3333ff;"&gt;void&lt;/span&gt; drive()&lt;br /&gt;            {&lt;br /&gt;                         &lt;span style="color:#009900;"&gt;// this is the method implementation&lt;/span&gt;&lt;br /&gt;            }&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;According to the above example; if we create a Lorry class which will implement from the IVehicle, and write a method implementation for the drive() method; then the objects created from the car class will differ from the objects created from the lorry class. As you see now its clear that even the both classes implements from a single interface the end result would differ. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#6600cc;"&gt;Note:&lt;/span&gt; Further the methods defined with in the interface are by default public and abstract.&lt;br /&gt;When you are overriding a method is an interface you need to use the key word “virtual”, in order to override. Further, you are allowed to define properties in interfaces but not fields, this ensures that (classes that interact with the interfaces) it does not have access to the internal data of objects.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;span style="font-size:85%;color:#000000;"&gt;&lt;strong&gt;-         Inheritance polymorphism –&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;One class can inherit from another, where the base class will contain the complete functionality. That is, the base class will contain the method implementations; and the inherited classes will contain the base class functionality plus the additional functionalities as well.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Let’s see how we can do this in code.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;public abstract class&lt;/span&gt; vehicle&lt;br /&gt;{&lt;br /&gt;            &lt;span style="color:#3333ff;"&gt;public abstract void&lt;/span&gt; drive();&lt;br /&gt;           &lt;br /&gt;}&lt;br /&gt;-------------------------------------&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;public class&lt;/span&gt; car &lt;span style="color:#3333ff;"&gt;:&lt;/span&gt; vehicle&lt;br /&gt;{&lt;br /&gt;             &lt;span style="color:#3333ff;"&gt;public override void&lt;/span&gt; drive()&lt;br /&gt;             {&lt;br /&gt;            &lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#009900;"&gt; //this is the new implementation&lt;br /&gt;&lt;/span&gt;             }&lt;br /&gt;}&lt;br /&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;In this scenario as well, another class which will inherit the vehicle class will have the same drive() method plus some additional functionality.&lt;br /&gt;&lt;br /&gt;In the case of maintainability, as you may see, when we code for abstract classes; and once we need some additional functionality, we need to change the existing base class. But if we have code for interfaces; then it’s a matter of adding new functionality, with out touching the existing code. There fore coding for interfaces are easy; in the case of maintenance when adding new functionality.&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-114537749357000357?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/114537749357000357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=114537749357000357' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114537749357000357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114537749357000357'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/04/polymorphism.html' title='Polymorphism'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-114434611867035751</id><published>2006-04-06T23:38:00.000+06:00</published><updated>2008-02-24T21:12:37.661+05:30</updated><title type='text'>Software Development – Time Matters</title><content type='html'>As most of us are developers which mostly deal with coding or some times in design, we tend to work on tough targets where we strive to win the battle with the knowledge, time and the perfection or the completion of the product. Question is how we approach this?  Ofcourse need not to mention that one should ofcourse have the high focuss and clear mind and very good visualisation.&lt;br /&gt;&lt;br /&gt;After doing a brief survey from most of the Software Experts I learnt that, one such approach they take is to focus on the skeleton first. Let me explain a bit more on this. In this approach we see the main functionalities as the outline of work. Try to focus on them and get the working product. Then focus on the details, for example enhancements and find out efficient ways of solving the problem.&lt;br /&gt;&lt;br /&gt;If we have a complex work; what will we do? Basically we will devide it to smaller parts. Work on the small units or parts and get it working. In coding, there are two points which spots on. One is the Technical Approach and the other is the Logical Approach taken in solving a problem.&lt;br /&gt;&lt;br /&gt;Let’s look at this a bit deep. There you will face some technical challengers. At the time we face technical concerns there is always web for reference. Or simply we can post questions or search the web, where others have posted same or similar problems. We can carefully go through them and find out where exactly our problem fits. Once you get keen on this, you will feel as if u are like a detective trying to find pieces to solve a plot.&lt;br /&gt;&lt;br /&gt;Logic is tricky. Not every one can learn the rocket science….but not to forget that rocket science was invented by the man...Not any one else.  So, let’s just start visualising the work flow involved behind and try to model it.&lt;br /&gt;&lt;br /&gt;Completion of a given development work with in a time span,  is a one major skill of a developer. Of course there are other skills as well, such as working till the completion of the product and the quality of it too matters. But since this article focuses on time concerns…let me leave an open end to this. So feel free to comment…Because I am in the process of developing that special skill. :d.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-114434611867035751?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/114434611867035751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=114434611867035751' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114434611867035751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114434611867035751'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/04/software-development-time-matters.html' title='Software Development – Time Matters'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-114389081890837849</id><published>2006-04-01T17:20:00.000+06:00</published><updated>2008-02-24T21:13:05.398+05:30</updated><title type='text'>Few thoughts to light up your articles…</title><content type='html'>&lt;p&gt;&lt;span style="font-size:85%;"&gt;Recently one of my blog viewers sent me a mail requesting some advice to enhance their blog. As a result, for all the readers, I thought to publish this small article that would encapsulate my thoughts to shed a little light on their blogs:) hope that it would help her and the others who were interested in the same…&lt;br /&gt;&lt;br /&gt;In my case I use my blog as to publish articles, not as just anything and every thing. In what ever I publish I do take a deep concern in it, because it’s mostly on business domain or in technology.&lt;br /&gt;&lt;br /&gt;So keeping that in mind, here are some points that I’ve observed, which we could use when we are writing articles.&lt;br /&gt;&lt;br /&gt;First of all before we start writing, examine the purpose, or the objective of writing the article. In simple terms, ask your self what exactly you want to convey. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;Then decide on the targeted audience. For example, if the article is much to do with the business try eliminating the too much technical explanations, because it might lose the interest of readers or it could make the reader dreary. In some instances, if you expect some level of technical understanding from the reader in order for him to read your article, make sure to mention it in a very pleasant way. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;Then think of an appropriate approach for presenting your idea. This should also be well balanced with the topic as well as the audience. Following are some of those commonly used approaches.&lt;br /&gt;      - Convey direct idea: this is good when explaining theories. With are strait forward or technical.&lt;br /&gt;      - Explanation with a story: this is also a good approach when the idea is too complex for a general person to understand. And further we need them to walk through it. There for stories are effective in this sense. Anyway, every one loves stories I guess:)&lt;br /&gt;      - Use a work flow: this is a combination of above both. Where the idea could be so lengthy in explanations and we need to explain every little part in it. In this case, try to break it in to pieces, arrange them and explain each separately with out breaking the links to one another.&lt;br /&gt;      &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;After selecting the approach we should structure the article with concern. It should be seen as three separate parts, begin, body and end. Beginning could be a question, or a solution to a problem or an exciting topic, where the attention of the reader is captured. The body need to be presented in detail and with facts where it will be solid and crisp with appropriate information and the end can picture with either the conclusions or suggestions….or an open thought.&lt;br /&gt;      &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;Writing an article is as same as giving a GIFT to a friend. Even if the gift is of value if the wrapper is messy or unappealing it would not serve your purpose. This is same vice versa. There fore take a little concern and a bit of attempt not only to convey your idea, but also to convey in an inspiring manner.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;All the best to you all and enjoy writing...!!!&lt;br /&gt; &lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-114389081890837849?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/114389081890837849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=114389081890837849' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114389081890837849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114389081890837849'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/04/few-thoughts-to-light-up-your-articles.html' title='Few thoughts to light up your articles…'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-114257403655406992</id><published>2006-03-17T11:40:00.000+06:00</published><updated>2006-03-18T13:06:04.006+06:00</updated><title type='text'>bloG statuS ..... :D</title><content type='html'>private  string myBlogStatus = "InProcess";&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;private string CheckBlogStaus(Blog myBlog)&lt;br /&gt;{&lt;br /&gt; &lt;br /&gt;string publishStatus = this.publish(myBlog);&lt;br /&gt;swtch (publishStatus)&lt;br /&gt;{&lt;br /&gt;case("001 java.io.IOException: EOF while reading from control connection "):&lt;br /&gt;myBlogStatus = "stoped";&lt;br /&gt; &lt;br /&gt;break;&lt;br /&gt;case("550 Could not open: No such file or ... "):&lt;br /&gt;myBlogStatus = "attempting to publish";&lt;br /&gt;break;&lt;br /&gt;}&lt;br /&gt;return myBlogStatus;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-114257403655406992?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/114257403655406992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=114257403655406992' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114257403655406992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114257403655406992'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/03/blog-status-d.html' title='bloG statuS ..... :D'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-114257253342977347</id><published>2006-03-17T11:10:00.002+06:00</published><updated>2008-02-24T21:13:14.022+05:30</updated><title type='text'>A simple transaction in SQL</title><content type='html'>&lt;span style="font-family:lucida grande;"&gt;&lt;u&gt;How to write a simple transaction in SQL&lt;br /&gt;&lt;/u&gt;&lt;br /&gt;Transaction is a set of SQL commands that need to be executed in order to fulfill a batch of activities relevant to a database.&lt;br /&gt;Let’s look at an example.&lt;br /&gt;In simple terms, if we were to delete a record; which is a foreign key field of another table; that also need to be deleted at the same time; this could be considered as a set of activities that need to be performed in one attempt.&lt;br /&gt;So ideal would be to go for a transaction.&lt;br /&gt;&lt;br /&gt;The purpose: Once I delete a record in the Orders table the corresponding entry should be deleted in the Order Details table as well.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Create procedure&lt;/span&gt; DeleteOrder&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;(&lt;/span&gt;&lt;br /&gt;@OrderID int&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;)&lt;br /&gt;as&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Declare&lt;/span&gt; @err1 int,@err2 int&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;-- start transaction&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Begin tran&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;-- execute the delete&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Delete from&lt;/span&gt; Orders&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;Where&lt;/span&gt; [OrderID] = @OrderID&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;Select&lt;/span&gt; @err1 = &lt;span style="color:#cc33cc;"&gt;@@Error&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;Delete&lt;/span&gt; &lt;span style="color:#3366ff;"&gt;from&lt;/span&gt; OrderDetails&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;Where&lt;/span&gt; [OrderID] = @OrderID&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Select&lt;/span&gt; @err2 = &lt;span style="color:#cc33cc;"&gt;@@Error&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;If&lt;/span&gt; (@err1 = 0) and (err2 = 0)&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Begin&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;-- commit the transaction&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3366ff;"&gt;Commit tran&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;End&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;Else&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;Begin&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;-- rollback the transaction&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;Rollback tran&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;End&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;br /&gt;What is @@Error?&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;This contains the error ID from the finally executed SQL statement. So in other words, this is an indication whether the last SQL statement was executed successfully or not. If it has executed successfully, the value of @@Error will be 0.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So at the end we could check the value of the variable which the @@Error was saved and based on that; commit or rollback.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-114257253342977347?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/114257253342977347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=114257253342977347' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114257253342977347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/114257253342977347'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/03/simple-transaction-in-sql.html' title='A simple transaction in SQL'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-113876352953675002</id><published>2006-02-01T09:06:00.000+06:00</published><updated>2008-02-24T21:12:25.453+05:30</updated><title type='text'>Sending mail using ASPNET</title><content type='html'>&lt;strong&gt;&lt;u&gt;Sending mail using ASPNET&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This article will mainly focus in two parts. First sending a mail with out attachments and then sending a mail with the attachments. Further this article gives some points concerning when creating an email control using DotNetNuke. As to illustrate the points; code written below is in C#.&lt;br /&gt;&lt;br /&gt;In order to send a mail first we need to reference the Web.Mail class library as follows.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;using System.Web.Mail;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you have already designed the page layout with the relevant controls that you will need, now let’s take a look at the code for the SEND button.&lt;br /&gt;Lets assume you have four text boxes for the, To address, From Address, Subject and the Description in the UI and a link button to SEND the mail.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;MailMessage objMail = new MailMessage();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;objMail.To = txtToAddress.Text;&lt;br /&gt;objMail.From = txtFromAddress.Text;&lt;br /&gt;objMail.Subject = txtSubjectTitle.Text;&lt;br /&gt;objMail.Body = txtDescription.Text;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The MailMessage class in .NET is in charge of sending emails. There fore, first we create an object from MailMessage class. Once you create a mail object, you need to assign the vales for the properties of the mail object. It has the properties such as to, from, subject, body and so on. In the above code we have assigned the relevant values from the controls.&lt;br /&gt;&lt;br /&gt;When sending a mail we need to specify for which email server we are sending the mail to. As for that, we should set a value for the SMTPMail.SMTPServer. This value should be your email server IP Address. If you have hosted in the production server the corresponding email server used with in the organisation should be referenced.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;SmtpMail.SmtpServer = "192.167.0.24"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To send the mail, we could pass the mail object to the send method of the SmtpMail.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;SmtpMail.Send(objMail);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;strong&gt;Sending a mail with attachments.&lt;/strong&gt;&lt;br /&gt;&lt;/u&gt;&lt;br /&gt;Since we are attaching a file, first we need to create an HTML Input File as below.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;protected System.Web.UI.HtmlControls.HtmlInputFile my_attFile;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;MailAttachment is a class which is responsible for handing mail attachments. There fore we will create a MailAttachment object and assign the relevant file to it as shown in the code below. But first we could check whether a file is attached or not.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;if (my_attFile.PostedFile.FileName.ToString() != "" )&lt;br /&gt;{&lt;br /&gt;MailAttachment objmyAtt = new MailAttachment(my_attFile.PostedFile.FileName);&lt;br /&gt;objMail.Attachments.Add(objmyAtt);&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;But, do keep in mind that you will come across some problems as below.&lt;br /&gt;&lt;br /&gt;The files or directories with names with spaces will not be attached by this method.&lt;br /&gt;As a solution to this problem the following approach could be used.&lt;br /&gt;Save the attached file in a directory with a unique name and store the file in the server till it’s attached. Once the mail is sent; delete the directory containing the attachment.&lt;br /&gt;&lt;br /&gt;As an extension of the above article, following guide will provide some additional points to concern when creating an email control in DNN.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;strong&gt;Email control in dnn&lt;/strong&gt;&lt;br /&gt;&lt;/u&gt;&lt;br /&gt;Apart from the above code, when creating an email control in DNN; which is will be used with in the portal, it needs to correspond to a common IP to the entire site. In host settings in dnn, there are SMTP settings which are allowed for host to set. As per the SMTP IP address; we could use the common IP address which will be entered by the host.&lt;br /&gt;&lt;br /&gt;First you need to access the Host Settings of the nuke. This returns a hash table; giving the key of the SMTP IP we could retrieve the corresponding value of the SMTP IP Address, by this way it will be possible to set up mails (using an email control) for which, a one mail server for the entire site. And your dnn email control could pick up the IP automatically by this way.&lt;br /&gt;&lt;br /&gt;Stating that this control has been used with in a user module in DNN, in order to deploy the control in the DNN portal following should be done.&lt;br /&gt;First you need to copy the email control dll to the common DotNetNuke bin directory. The corresponding .cscx file should be copied to the controls folder and the corresponding .resx file should be copied to the app_resouces folder which is which in the controls folder.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Please note that deployment of a module is not explained here.&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-113876352953675002?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/113876352953675002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=113876352953675002' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/113876352953675002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/113876352953675002'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/01/sending-mail-using-aspnet.html' title='Sending mail using ASPNET'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-113705184617373911</id><published>2006-01-12T13:40:00.000+06:00</published><updated>2008-02-24T21:12:37.663+05:30</updated><title type='text'>A Brief Insight to Corporate Travel Management Systems</title><content type='html'>o &lt;strong&gt;Brief introduction&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Almost any company which operates globally where there many sectors physically located in various places would require its employees to travel for some work related activities quite often. In an instance like such, it is very important for the company’s finance and logistics or admin to track their employee’s information for various reporting and tracking purposes.&lt;br /&gt;&lt;br /&gt;One such solution would be a corporate travel management system (CTMS). A fully web based- distributed system that would enable multiple users across destinations to track, record and report.&lt;br /&gt;&lt;br /&gt;Following are some of the basic features in a typical CTMS.&lt;br /&gt;&lt;br /&gt;Ø Employee information upon approval&lt;br /&gt;Ø Passport, Visa and Ticket tracking the status and the obtained information&lt;br /&gt;Ø Logging, transport and food&lt;br /&gt;Ø Arrivals and departures with transit information&lt;br /&gt;Ø Payments and expense claims&lt;br /&gt;Ø Length of stay, its extensions&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;o &lt;strong&gt;What is a Corporate Travel Management System?&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;With in an organisation; upon an employees travel from one location to the other is vital to be tracked. Why is it so? Since the management might expect the presence of that employee or might inquire where will he be at a stated time of the year? Or in certain cases if the company provides logging, the logistics may search for how many employees have occupied the apartment X till a stated date. In the other hand, the finance may request the total claims made by a particular employee with in his travel. And the same employee might be subjected to arrangements at the source as well as the destination.&lt;br /&gt;&lt;br /&gt;A distributed web-based system; which has customized for each user group would eliminate the conflicts and will offer a clear solution to many of the corporate with similar requirements.&lt;br /&gt;&lt;br /&gt;The work flow (process) the company’s user groups (management, logistics, admin, finance) operate on the activity of tracking and employee will certainly differ from one company to the other, based on company’s operational structure and the size.&lt;br /&gt;&lt;br /&gt;But for a general CTMS the above motioned features will be adequate.&lt;br /&gt;&lt;br /&gt;o Advantages and benefits a corporate can obtain by using such a system.&lt;br /&gt;&lt;br /&gt;Companies can gain an estimation of the cost per employee on travel.&lt;br /&gt;Can do advanced visa process for the required employees after travel approval.&lt;br /&gt;For the employees who have the confirmation of travel; could proceed with the other necessary arrangements.&lt;br /&gt;The company’s logistics would not have a hassle in the arrivals for the transport and logging.&lt;br /&gt;Payments and the claims could be settled in the appropriate time lines&lt;br /&gt;&lt;br /&gt;Above are some of the basic benefits.&lt;br /&gt;But a company could benefit more since the entire process is organised and there fore each users (user groups) will have its own set of work/duties pertaining to the process of an employee’s travel.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-113705184617373911?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/113705184617373911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=113705184617373911' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/113705184617373911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/113705184617373911'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2006/01/brief-insight-to-corporate-travel.html' title='A Brief Insight to Corporate Travel Management Systems'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18089051.post-112982829349386252</id><published>2005-10-20T23:04:00.000+06:00</published><updated>2008-11-13T23:03:30.755+05:30</updated><title type='text'>When we need to pay attention to detail…</title><content type='html'>&lt;p align="justify"&gt;No matter what kind of subject area you are functioning, even in your careers or studies, some times you may have come across that you got to pay attention to detail things most of the time. So, let me share with you some valuable thoughts, on this.&lt;/p&gt; &lt;p align="justify"&gt;Whether you are reading a material or listening to a documentary or in the middle of a discussion where you need to grasp as much as details possible and re-explain them again or use the gathered information for some purpose. The first thing is we need to have is the attention. Simply, paying attention to detail, but this is not as easy as it sounds. Since, in most cases even if we do pay attention, we tend to lose some parts of the story. Why is this?&lt;/p&gt; &lt;p align="justify"&gt;When we are listening, try to visualize and represent the details in the mind very clearly. It also should be represented in such a way, that it could be easily manipulated and be flexible enough to relate with other things. And no matter how much detail it is, if your visual representation is strong; then there will always be a place where each detail fit in to.&lt;/p&gt; &lt;p align="justify"&gt;Especially, if we are facing exams or if you are in the middle of a discussion of a previously discussed topic; we tend to search are represented area of mind very regularly and there fore we become capable of finding answers more quickly. This is because when we search the represented area of mind very regularly and as a result we become fast in searching and obtaining it back. So to search on and on the representation of details in our mind is important. And we may question after discussions or read more and more as to fill the gaps in our visual image. By any of these ways, we should make the visual image stronger.&lt;/p&gt; &lt;p align="justify"&gt;It is interesting to realize that how much attention you actually pay at times. And compare with times where you have lots of details to work with and times where you feel you are completely lost. And see and excavate how and why…&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18089051-112982829349386252?l=dilrukshidevapriya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dilrukshidevapriya.blogspot.com/feeds/112982829349386252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=18089051&amp;postID=112982829349386252' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/112982829349386252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18089051/posts/default/112982829349386252'/><link rel='alternate' type='text/html' href='http://dilrukshidevapriya.blogspot.com/2005/10/when-we-need-to-pay-attention-to.html' title='When we need to pay attention to detail…'/><author><name>Gayani Devapriya</name><uri>http://www.blogger.com/profile/13011542633418728246</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
