<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;C0YMQHg-fip7ImA9WhRRFEk.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804</id><updated>2011-11-27T16:46:21.656-08:00</updated><category term="SLQ Server" /><category term="Security" /><category term="General" /><category term="Agile" /><category term="Design Patterns" /><category term=".NET" /><title>MS Techno Blogging</title><subtitle type="html">Blogs on .NET, Biztalk, SQL Server, AJAX 

and any events to bring to others attention.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://mstechnoblogger.blogspot.com/" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/MsTechnoBlogging" /><feedburner:info uri="mstechnoblogging" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CkQNRXk9fip7ImA9WhRRE04.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-2406680217779772851</id><published>2011-11-25T14:47:00.001-08:00</published><updated>2011-11-26T09:59:54.766-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-26T09:59:54.766-08:00</app:edited><title>CruiseControl.NET Server Configuration (ccnet.config)</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
To configure the CruiseConrol.NET Server, the configuration file (ccnet.config)&amp;nbsp;has to be configured and placed in the "server" folder which will&amp;nbsp;be&amp;nbsp;used by Cruise Control .NET for continuous integration. This sample file contains the settings for one of the test application created in Visual Studio. I have tried to configure all the possible settings which are used in practical situations. &lt;br /&gt;
&lt;br /&gt;
This example uses Visual Source Safe (VSS) as the source control application which check for any modifications in VSS (&lt;span style="background-color: #f3f3f3; font-family: Courier New; font-size: x-small;"&gt;IfModificationExists&lt;/span&gt;)&amp;nbsp; every 60 seconds.If any check-in happen in VSS, CruiseControl will pick get the latest files and&amp;nbsp;prepare a auto build.&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;ccnet.config&lt;/em&gt; file&lt;br /&gt;
&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;amp;lt;cruisecontrol&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;amp;lt;project name="CCTestApp" webURL="http://localhost/ccnet/server/local/project/CCTestApp/ViewProjectReport.aspx"&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;workingDirectory&amp;gt;C:\CruiseControlTest\BuildServer\CCTestApp&amp;amp;lt;/workingDirectory&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;amp;lt;artifactDirectory&amp;gt;C:\CruiseControlTest\BuildServer\CCTestApp\Artifacts&amp;amp;lt;/artifactDirectory&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;labeller type="defaultlabeller"&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;prefix&amp;gt;lblCCTestApp_build_&amp;amp;lt;/prefix&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;incrementOnFailure&amp;gt;true&amp;amp;lt;/incrementOnFailure&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;/labeller&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;sourcecontrol type="vss" autoGetSource="true"&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;project&amp;gt;$/CCTestApp&amp;amp;lt;/project&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;username&amp;gt;t799153&amp;amp;lt;/username&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;password&amp;gt;&amp;amp;lt;/password&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;ssdir&amp;gt;C:\Chandreshwar\PROJ\DOTNET\VSS_DB\&amp;amp;lt;/ssdir&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;amp;lt;workingDirectory&amp;gt;C:\CruiseControlTest\BuildServer\CCTestApp\Source&amp;amp;lt;/workingDirectory&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;cleanCopy&amp;gt;true&amp;amp;lt;/cleanCopy&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;applyLabel&amp;gt;false&amp;amp;lt;/applyLabel&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;/sourcecontrol&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;triggers&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;intervalTrigger seconds="60" buildCondition="IfModificationExists"/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;/triggers&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;tasks&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;devenv solutionfile="C:\CruiseControlTest\CCTest\CCTest.sln" configuration="release" executable="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe"/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;modificationWriter&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&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;amp;lt;filename&amp;gt;modifications.xml&amp;amp;lt;/filename&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&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;amp;lt;path&amp;gt;C:\CruiseControlTest\BuildServer\CCTestApp&amp;amp;lt;/path&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;/modificationWriter&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;/tasks&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;publishers&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;xmllogger logDir="C:\CruiseControlTest\BuildServer\CCTestApp\BuildLogs" /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;/publishers&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;nbsp; &amp;amp;lt;/project&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&amp;amp;lt;/cruisecontrol&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can find the complete reference of all the configuration settings in CruiseControl.NET &lt;a href="http://ccnet.sourceforge.net/CCNET/Configuring%20the%20Server.html" target="_blank"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-2406680217779772851?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/a7u40DdTyMvP75sd4rs7P9_eVZo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/a7u40DdTyMvP75sd4rs7P9_eVZo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/a7u40DdTyMvP75sd4rs7P9_eVZo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/a7u40DdTyMvP75sd4rs7P9_eVZo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/zgGSzKJvDvc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/2406680217779772851/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2011/11/cruisecontrolnet-server-configuration.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/2406680217779772851?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/2406680217779772851?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/zgGSzKJvDvc/cruisecontrolnet-server-configuration.html" title="CruiseControl.NET Server Configuration (ccnet.config)" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2011/11/cruisecontrolnet-server-configuration.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcGRXw8eCp7ImA9WxFXGUg.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-5288679942179366360</id><published>2010-05-27T02:53:00.000-07:00</published><updated>2010-05-27T02:53:44.270-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-27T02:53:44.270-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Agile" /><title>Quick Introduction to Scrum - An Agile Methodology</title><content type="html">Its time for me to share the Agile approach of software development which we have applied to our projects since more than 6 months. Its the way I can remember what I worked on to be referenced in future instead of looking for material in my laptop or web community.&lt;br /&gt;
&lt;br /&gt;
We have been using Scrum approach for software development and I really found very impressive with the shippable product at the end of each sprints. Believe me this approach really works which I was not able to assimilate before we planned to implement the process.&lt;br /&gt;
&lt;br /&gt;
To answer what is &lt;i&gt;Scrum&lt;/i&gt;, its an Agile approach to software development where project progresses in series of Iterations called &lt;i&gt;Sprints&lt;/i&gt;. Each Sprint is usually &lt;i&gt;2-4 weeks&lt;/i&gt; with typically &lt;i&gt;5-9 members&lt;/i&gt; with following roles:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;ScrumMaster&lt;/i&gt; - can be thought as a coach to help team to use Scrum and keep team members from any distractions.&amp;nbsp; &lt;i&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;Product Owner&lt;/i&gt; - representing stake holders. &lt;/li&gt;
&lt;li&gt;&lt;i&gt;Team &lt;/i&gt;-&amp;nbsp; self-organized cross-functional team consisting of Programmers, Testers, Designers, Analysts.&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_b1VvFGxdz8c/S6f__QKxDjI/AAAAAAAAJEk/ct2A5ePc7H8/s1600-h/Scrum.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://4.bp.blogspot.com/_b1VvFGxdz8c/S6f__QKxDjI/AAAAAAAAJEk/ct2A5ePc7H8/s400/Scrum.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Activities of Scrum:&lt;/b&gt;&lt;br /&gt;
Following are the main activities that are spanned throughout the iteration.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;Sprint Planning Meeting -&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
This is the first activity for the iteration. Attendees for this meetings are product owner, scrum master, the team, business analysts, architects, database designers, etc. &lt;br /&gt;
&lt;br /&gt;
First task in the planning meeting is to identify the resource availability during the period of sprint (e.g. of 10 days (2 weeks)&amp;nbsp;of development/testing activity how many days each resource is available). Assuming all working at 50% productivity (distraction, un-predictable task), we arrive at total story point for the sprint (e.g. 6 resource available all 10 day&amp;nbsp;comes to&amp;nbsp;60. Working at 50% productivity come to 30 story points). Story point can be thought as number of days and each story is estimated by story points rather than hours.&lt;br /&gt;
&lt;br /&gt;
The&amp;nbsp;&lt;i&gt;product owner&lt;/i&gt; usually identifies the user stories before the start&amp;nbsp;of planning meeting to reduce the time&amp;nbsp;of discussion. Story can be thought as a&amp;nbsp;brief feature description of&amp;nbsp;work&amp;nbsp;to be performed (e.g. multi funding enablement for reports)&amp;nbsp;from the product backlog that need to be considered for the current iteration. Product owner along with Business Analysts explains all the stories well in detail to the team in order for them to estimate the tasks. Its not required that team members should come prepared for the meeting. They can ask all required questions till every one is very clear to estimate the tasks.&lt;br /&gt;
&lt;br /&gt;
Estimation&amp;nbsp;is done using "poker game" (cards with 1, 3, 5,&amp;nbsp;8, 13, 20,&amp;nbsp;40 points)&amp;nbsp;where team, product owner, scrum master individually raises card to show how many point they feel for the story. Advantage of this is that all the members in the team estimate (cross team estimation)&amp;nbsp;the stories which helps reveal any unknowns and assumptions. Estimate not only contains development tasks, but also involves designing, testing, deployment etc..&lt;br /&gt;
&lt;br /&gt;
Upon completion of Planning Meeting, scrum master sticks the&amp;nbsp;stories on the story board. Story board is any white board where is divided into 3 columns viz. Planned, Started and Done. From the image below, you can see that the&amp;nbsp;each story is further broken&amp;nbsp;down into tasks and put on post-its.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_b1VvFGxdz8c/S6ksIq96jGI/AAAAAAAAJEw/Mq55Lc5KLIQ/s1600-h/Image171.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_b1VvFGxdz8c/S6ksIq96jGI/AAAAAAAAJEw/Mq55Lc5KLIQ/s320/Image171.jpg" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;Daily Scrum Meeting -&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
Updating soon....&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;Sprint Review (Demo) -&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
Updating soon....&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;Sprint Retrospective -&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
Updating soon....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-5288679942179366360?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aHBFdwOfWlp63cVOL8stkMb6Cic/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aHBFdwOfWlp63cVOL8stkMb6Cic/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aHBFdwOfWlp63cVOL8stkMb6Cic/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aHBFdwOfWlp63cVOL8stkMb6Cic/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/FWG_EyrNA3g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/5288679942179366360/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2010/05/quick-introduction-to-scrum-agile.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/5288679942179366360?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/5288679942179366360?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/FWG_EyrNA3g/quick-introduction-to-scrum-agile.html" title="Quick Introduction to Scrum - An Agile Methodology" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_b1VvFGxdz8c/S6f__QKxDjI/AAAAAAAAJEk/ct2A5ePc7H8/s72-c/Scrum.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2010/05/quick-introduction-to-scrum-agile.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEDQH07cSp7ImA9WxBaF0s.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-1339034453309282839</id><published>2010-03-28T01:55:00.000-07:00</published><updated>2010-03-28T01:57:51.309-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-28T01:57:51.309-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="General" /><title>Customize your Blogger blog with a novel look and feel</title><content type="html">By this time you might have noticed the new layout of my blog with very unusual template&amp;nbsp;as compared to out-of-the-box templates provided by Blogger.&lt;br /&gt;
&lt;br /&gt;
You can now customize your Blogger Blog with new "&lt;i&gt;&lt;strong&gt;Blogger in Draft&lt;/strong&gt;&lt;/i&gt;". With new &lt;i&gt;Template Designer&lt;/i&gt; introduced, you can customize look and layout of your blog to look dissimilar.&lt;br /&gt;
&lt;br /&gt;
Go to &lt;a href="http://draft.blogger.com/" title="Blogger in Draft"&gt;http://draft.blogger.com/&lt;/a&gt; and log-in using your Blogger account to use new templates as they are &lt;i&gt;only&lt;/i&gt; available from here. Navigate to "Layout" and to the right, you will find "Template Designer" link to customize. (&lt;span style="color: #cc0000;"&gt;You wont find the "Template Designer" from &lt;/span&gt;&lt;a href="http://www.blogger.com/"&gt;&lt;span style="color: #cc0000;"&gt;www.blogger.com&lt;/span&gt;&lt;/a&gt;&lt;span style="color: #cc0000;"&gt; as this hasn't released yet&lt;/span&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_b1VvFGxdz8c/S68UUMoykoI/AAAAAAAAJGM/wt2xBINJDSg/s1600-h/TemplateDesigner.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="104" nt="true" src="http://3.bp.blogspot.com/_b1VvFGxdz8c/S68UUMoykoI/AAAAAAAAJGM/wt2xBINJDSg/s640/TemplateDesigner.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Try now before they are released to all...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;Official "Blogger in Draft": &lt;/em&gt;&lt;a href="http://bloggerindraft.blogspot.com/"&gt;&lt;em&gt;http://bloggerindraft.blogspot.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-1339034453309282839?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mqviS9e9LUu260UlZLaiIbmYCYA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mqviS9e9LUu260UlZLaiIbmYCYA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mqviS9e9LUu260UlZLaiIbmYCYA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mqviS9e9LUu260UlZLaiIbmYCYA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/djxn9un7oPc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/1339034453309282839/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2010/03/customize-your-blogger-blog-with-novel.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/1339034453309282839?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/1339034453309282839?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/djxn9un7oPc/customize-your-blogger-blog-with-novel.html" title="Customize your Blogger blog with a novel look and feel" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_b1VvFGxdz8c/S68UUMoykoI/AAAAAAAAJGM/wt2xBINJDSg/s72-c/TemplateDesigner.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2010/03/customize-your-blogger-blog-with-novel.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcNRXkyeip7ImA9WxNWEU0.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-8767288382571574364</id><published>2009-10-09T05:49:00.000-07:00</published><updated>2009-10-09T09:01:34.792-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-09T09:01:34.792-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SLQ Server" /><title>Search Text in all SQL Server Objects</title><content type="html">&lt;span style="font-family:trebuchet ms;"&gt;Many time you come through a situation where you want to &lt;strong&gt;&lt;span style="color:#009900;"&gt;Search a text in SQL Objects&lt;/span&gt; &lt;/strong&gt;such as table, stored procedure, views, triggers, etc.., but we don't get when required.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;Below SQL Script will search any text assigned to @Search variable in all Tables, Users, Views, Functions, Stored Procedures, Primary Key, Foreign Key etc..&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;em&gt;&lt;strong&gt;&lt;u&gt;Script to search text in all SQL Server objects:&lt;/u&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;u&gt;&lt;span style="font-family:Trebuchet MS;"&gt;&lt;/span&gt;&lt;/u&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;color:#3333ff;"&gt;DECLARE @Search varchar(255)&lt;br /&gt;SET @Search='xsp_get' -- GIVE YOUR SEARCH TEXT&lt;br /&gt;SELECT DISTINCT&lt;br /&gt;LEFT(so.name, 100) AS Object_Name,&lt;br /&gt;LEFT(&lt;br /&gt;CASE so.type&lt;br /&gt;WHEN 'U' THEN 'Table - User'&lt;br /&gt;WHEN 'S' THEN 'Table - System'&lt;br /&gt;WHEN 'P' THEN 'Stored Procedure' &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;color:#3333ff;"&gt;WHEN 'V' THEN 'Table - View'&lt;br /&gt;WHEN 'TR' THEN 'Trigger'&lt;br /&gt;WHEN 'C' THEN 'Constraint - Check'&lt;br /&gt;WHEN 'D' THEN 'Default'&lt;br /&gt;WHEN 'K' THEN 'Key - Primary'&lt;br /&gt;WHEN 'F' THEN 'Key - Foreign'&lt;br /&gt;WHEN 'L' THEN 'Log'&lt;br /&gt;WHEN 'R' THEN 'Rule'&lt;br /&gt;WHEN 'RF' THEN 'Replication Filter stp'&lt;br /&gt;ELSE '&amp;lt;&amp;lt;UNKNOWN ' + so.type + '&amp;gt;&amp;gt;'&lt;br /&gt;END&lt;br /&gt;,25) AS Object_Type&lt;br /&gt;FROM syscomments sc&lt;br /&gt;INNER JOIN sysobjects so ON so.id = sc.id&lt;br /&gt;WHERE text Like '%'+@Search+'%'&lt;br /&gt;ORDER BY 2,1&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-8767288382571574364?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1LRSvPEMaJPkZT64JewZvyA0WTU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1LRSvPEMaJPkZT64JewZvyA0WTU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1LRSvPEMaJPkZT64JewZvyA0WTU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1LRSvPEMaJPkZT64JewZvyA0WTU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/6iI76yenRSg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/8767288382571574364/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2009/10/search-text-in-sql-server-objects.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/8767288382571574364?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/8767288382571574364?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/6iI76yenRSg/search-text-in-sql-server-objects.html" title="Search Text in all SQL Server Objects" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><thr:total>2</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2009/10/search-text-in-sql-server-objects.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUCSX8-eSp7ImA9WxNWFE8.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-5200174938731657345</id><published>2009-09-13T12:26:00.000-07:00</published><updated>2009-10-13T00:51:08.151-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-13T00:51:08.151-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Design Patterns" /><title>Facade Pattern with C#</title><content type="html">&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;strong&gt;Facade Pattern&lt;/strong&gt; classified into &lt;strong&gt;Structural Pattern&lt;/strong&gt; is &lt;strong&gt;&lt;span style="color: #38761d;"&gt;unified interface that represents entire by hiding the complexities&lt;/span&gt;&lt;/strong&gt;. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;It provides the higher level interface which makes subsystem easier to use. It provides client with a single entry point which eliminates knowing the complexity of many subsystems beneath it. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;In this pattern, facade object is aware of the responsibility owned by subsystem classes. It essentially delegates the client request to subsystem classes; whereas sub-system classes perform operation as assigned by facade object and doesn’t holds any reference to it.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Below is the sample class diagram demonstrates Facade pattern where client makes a call to Facade class and the subsystem operations are managed by facade thereby eliminating the client to directly deal with subsystems.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_b1VvFGxdz8c/StO8pCW-cDI/AAAAAAAAIpE/naFbuO0zkKo/s1600-h/FacadeClassDiag.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img $r="true" border="0" src="http://4.bp.blogspot.com/_b1VvFGxdz8c/StO8pCW-cDI/AAAAAAAAIpE/naFbuO0zkKo/s400/FacadeClassDiag.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&lt;strong&gt;&lt;u&gt;Code for Facade Class:&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;namespace MyProject.FacadePattern&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;{&lt;br /&gt;
public class Facade&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;private IValidateUser _validateuser;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;private IAddUser _adduser;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;private INotifyService _notifyservice;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;public Facade()&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;_validateuser = new ValidateUser();&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;_adduser = new AddUser();&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;_notifyservice = new NotifyService();&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;public bool AddUser(User user)&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;if (!_validateuser.ValidateUser(user))&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;return false;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;_adduser.AddUser(user);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;_notifyservice.SendEmail(user);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue; font-family: Trebuchet MS; font-size: large;"&gt;&lt;strong&gt;&lt;a href="http://mstechnoblogger.blogspot.com/2009/09/design-patterns.html"&gt;&amp;lt; Back to Design Patterns&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-5200174938731657345?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uSjhy1clU9MVf-Banozfj-q7KUo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uSjhy1clU9MVf-Banozfj-q7KUo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uSjhy1clU9MVf-Banozfj-q7KUo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uSjhy1clU9MVf-Banozfj-q7KUo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/v8ZjZA-BBrs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/5200174938731657345/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2009/09/facade-pattern-with-c.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/5200174938731657345?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/5200174938731657345?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/v8ZjZA-BBrs/facade-pattern-with-c.html" title="Facade Pattern with C#" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_b1VvFGxdz8c/StO8pCW-cDI/AAAAAAAAIpE/naFbuO0zkKo/s72-c/FacadeClassDiag.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2009/09/facade-pattern-with-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUNQXo5fyp7ImA9WxNWFE8.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-6077719808304363395</id><published>2009-09-10T20:47:00.000-07:00</published><updated>2009-10-13T00:51:30.427-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-13T00:51:30.427-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Design Patterns" /><title>Decorator Pattern with C#</title><content type="html">&lt;span style="font-family: trebuchet ms;"&gt;&lt;strong&gt;Decorator Pattern&lt;/strong&gt; classified into &lt;strong&gt;Structural Pattern&lt;/strong&gt; which &lt;strong&gt;&lt;span style="color: #009900;"&gt;add responsibilities to objects dynamically&lt;/span&gt;&lt;/strong&gt;. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;A client application often needs to augment the services provided by methods of some class, by inserting some pre and post-processing tasks before and after the method calls. If distinct pre and post-processing tasks were to be carried out for different clients, the application logic would become complex by conditional statements, leading to a maintenance nightmare. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;Consider a class where clients can invoke method to transfer files to and from some remote server. In addition to being able to upload and download files, the client application would also like to log all file transfer requests and perform access checks for each invocation. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;An implementation based on the Decorator pattern would derive a class from FileTransfer and override the virtual methods, inserting the additional operations before and after calling the base methods. Client still continue to call the same method; however additional responsibility is added to the class without affecting other clients using the same functionality. Thus, &lt;em&gt;Decorator Pattern &lt;/em&gt;&lt;/span&gt;&lt;span style="font-family: trebuchet ms;"&gt;&lt;em&gt;allows dynamic and transparent addition and removal of responsibilities without affecting client code&lt;/em&gt;.&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;&lt;strong&gt;&lt;u&gt;FileTransfer Class (used by multiple clients):&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: courier new;"&gt;&lt;span style="color: #000099; font-size: 85%;"&gt;namespace MyProject.DecoratorPattern&lt;br /&gt;
{&lt;br /&gt;
public class FileTransfer&lt;br /&gt;
{&lt;br /&gt;
public virtual bool UploadFile(string url)&lt;br /&gt;
{&lt;br /&gt;
bool result;&lt;br /&gt;
// File Upload Logic&lt;br /&gt;
Console.WriteLine("File Uploaded to url :" + url);&lt;br /&gt;
result = true;&lt;br /&gt;
return result;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public virtual bool DownloadFile(string url, string localpath)&lt;br /&gt;
{&lt;br /&gt;
bool result;&lt;br /&gt;
// File Download Logic&lt;br /&gt;
Console.WriteLine("File downloaded to '{0}' from url '{1}'", url, localpath);&lt;br /&gt;
result = true;&lt;br /&gt;
return result;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-family: trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;&lt;strong&gt;&lt;u&gt;Derive from FileTransfer Class:&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #000099; font-family: courier new; font-size: 85%;"&gt;namespace MyProject.DecoratorPattern&lt;br /&gt;
{&lt;br /&gt;
class Decorator : FileTransfer&lt;br /&gt;
{&lt;br /&gt;
//Additional Responsibility added without affecting client code, demonstrate Decorator Pattern.&lt;br /&gt;
public override bool UploadFile(string url)&lt;br /&gt;
{&lt;br /&gt;
bool result = false;&lt;br /&gt;
if (!AccessAllowed(url)) return result;&lt;br /&gt;
result = base.UploadFile(url);&lt;br /&gt;
LogActivity(url);&lt;br /&gt;
return result;&lt;br /&gt;
}&lt;br /&gt;
//Additional Responsibility added without affecting client code, demonstrate Decorator Pattern.&lt;br /&gt;
public override bool DownloadFile(string url, string localpath)&lt;br /&gt;
{&lt;br /&gt;
bool result = false;&lt;br /&gt;
if (!AccessAllowed(url)) return result;&lt;br /&gt;
result = base.DownloadFile(url, localpath);&lt;br /&gt;
LogActivity(url);&lt;br /&gt;
return result;&lt;br /&gt;
}&lt;br /&gt;
private bool AccessAllowed(string url)&lt;br /&gt;
{&lt;br /&gt;
bool result;&lt;br /&gt;
// URL access Logic&lt;br /&gt;
Console.WriteLine("Access Allowed to url :" + url);&lt;br /&gt;
result = true;&lt;br /&gt;
return result;&lt;br /&gt;
}&lt;br /&gt;
private void LogActivity(string url)&lt;br /&gt;
{&lt;br /&gt;
// Logic to Log Upload/Download Activity&lt;br /&gt;
Console.WriteLine("Activity logged for url: " + url);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: trebuchet ms; font-size: 130%;"&gt;&lt;a href="http://mstechnoblogger.blogspot.com/2009/09/design-patterns.html"&gt;&amp;lt; Back to Design Patterns&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-6077719808304363395?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CDekn2I_P6SzIv0UFYVYd25RJYg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CDekn2I_P6SzIv0UFYVYd25RJYg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CDekn2I_P6SzIv0UFYVYd25RJYg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CDekn2I_P6SzIv0UFYVYd25RJYg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/YxNtf1q-ogA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/6077719808304363395/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2009/10/decorator-pattern-with-c.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/6077719808304363395?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/6077719808304363395?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/YxNtf1q-ogA/decorator-pattern-with-c.html" title="Decorator Pattern with C#" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><thr:total>1</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2009/10/decorator-pattern-with-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQESX86fyp7ImA9WxNWFE8.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-1576588217078873867</id><published>2009-09-09T17:44:00.000-07:00</published><updated>2009-10-13T00:51:48.117-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-13T00:51:48.117-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Design Patterns" /><title>Strategy Pattern with C#</title><content type="html">&lt;span style="font-family: trebuchet ms;"&gt;&lt;strong&gt;Strategy Pattern &lt;/strong&gt;classified under &lt;strong&gt;Behavioural Pattern &lt;span style="color: #009900;"&gt;encapsulates an algorithm inside a class&lt;/span&gt;&lt;/strong&gt;. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;Strategy Pattern is a class that has to perform strategically depending on user input, platform information and so on.. &lt;/span&gt;&lt;span style="font-family: trebuchet ms;"&gt;D&lt;/span&gt;&lt;span style="font-family: trebuchet ms;"&gt;epending on user input, a different algorithm will be used; however, the end result is the same. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;To explain this through example, I have used three diferrent search algorighm, each with its own performance and accuracy trade-off. One of them is very computation-intensive, but does a more thorough job, while another is faster but generates results that may be inaccurate for very data. My application will ask the user for the desired performance and then invoke the appropriate algorithm. &lt;/span&gt;&lt;span style="font-family: trebuchet ms;"&gt;To this end, I will encapsulate my algorithms in classes that demonstrate Strategy Pattern.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;&lt;u&gt;&lt;strong&gt;iSearch.cs&lt;/strong&gt;&lt;br /&gt;
&lt;/u&gt;This interface will be implemented by various classes with different search algorithm&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;&lt;span style="font-family: courier new; font-size: 78%;"&gt;&lt;span style="font-family: courier new;"&gt;&lt;span style="font-size: 85%;"&gt;&lt;span style="color: #3333ff;"&gt;namespace MyProject.StrategyPattern.Search&lt;br /&gt;
{&lt;br /&gt;
public interface iSearch&lt;br /&gt;
{&lt;br /&gt;
string Search(string keyword);&lt;br /&gt;
}&lt;br /&gt;
}&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;Search.cs&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
Having implemented all three algorithms in this manner mentioned below, I can now design the client that decouples it from the implementation details of any specific algorithm. The client holds a reference to the interface, and does not need to know anything about the concrete implementation of the interface. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;&lt;br /&gt;
&lt;span style="color: #3333ff; font-size: 78%;"&gt;&lt;span style="font-family: courier new;"&gt;namespace MyProject.StrategyPattern.Search&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
public class ListSearch : iSearch&lt;br /&gt;
{&lt;br /&gt;
#region iSearch Members&lt;br /&gt;
&lt;br /&gt;
public string Search(string keyword)&lt;br /&gt;
{&lt;br /&gt;
return "Searched " + keyword + "with List Search Algorithm";&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#endregion&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public class TreeSearch : iSearch&lt;br /&gt;
{&lt;br /&gt;
#region iSearch Members&lt;br /&gt;
&lt;br /&gt;
public string Search(string keyword)&lt;br /&gt;
{&lt;br /&gt;
return "Searched " + keyword + " with Tree Search Algorithm";&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#endregion&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public class BinarySearch : iSearch&lt;br /&gt;
{&lt;br /&gt;
#region iSearch Members&lt;br /&gt;
&lt;br /&gt;
public string Search(string keyword)&lt;br /&gt;
{&lt;br /&gt;
return "Searched " + keyword + " Binary Search Algorithm";&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#endregion&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;SearchKeyword.cs&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
Finally, I create an instance of the &lt;em&gt;SearchKeyword&lt;/em&gt; class and, depending on user input, initialize it with the appropriate algorithm. The Test method of the SearchKeyword class invokes the Search method of the iSearch interface that every algorithm implements&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-family: courier new; font-size: 78%;"&gt;&lt;span style="color: #3333ff;"&gt;namespace MyProject.StrategyPattern&lt;br /&gt;
{&lt;br /&gt;
public class SearchKeyword&lt;br /&gt;
{&lt;br /&gt;
private iSearch _search;&lt;br /&gt;
&lt;br /&gt;
public SearchKeyword(iSearch Search)&lt;br /&gt;
{&lt;br /&gt;
_search = Search;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public string SearchString(string Keyword)&lt;br /&gt;
{&lt;br /&gt;
return _search.Search(Keyword);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms; font-size: 130%;"&gt;&lt;a href="http://mstechnoblogger.blogspot.com/2009/09/design-patterns.html"&gt;&amp;lt; Back to Design Patterns&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-1576588217078873867?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rq0H-BDknynboONPUOjCsgRO9IQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rq0H-BDknynboONPUOjCsgRO9IQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rq0H-BDknynboONPUOjCsgRO9IQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rq0H-BDknynboONPUOjCsgRO9IQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/dCk3fhMC-K0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/1576588217078873867/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2009/09/strategy-pattern-with-c.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/1576588217078873867?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/1576588217078873867?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/dCk3fhMC-K0/strategy-pattern-with-c.html" title="Strategy Pattern with C#" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2009/09/strategy-pattern-with-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQBRn4yfSp7ImA9WxNWFE8.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-8160973123852556905</id><published>2009-09-08T22:12:00.000-07:00</published><updated>2009-10-13T00:52:37.095-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-13T00:52:37.095-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Design Patterns" /><title>Singleton Pattern with C#</title><content type="html">&lt;span style="font-family: trebuchet ms;"&gt;&lt;strong&gt;Singleton Pattern&lt;/strong&gt; which is classified under &lt;strong&gt;Creational Pattern&lt;/strong&gt; which focuses on having &lt;strong&gt;&lt;span style="color: #009900;"&gt;only one instance of object at any given time&lt;/span&gt;&lt;/strong&gt;. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;To give an example, windows directory service which has multiple entries but you can only have single instance of it through out the network.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;A singleton is the sole instance of some class.&lt;/li&gt;
&lt;li&gt;It is most often the case that the singleton should also be globally accessible, and this is achieved by making the creation method/property public.&lt;/li&gt;
&lt;li&gt;Note that in the code below, the class constructor is private to avoind creating instance of class. &lt;/li&gt;
&lt;/ul&gt;&lt;strong&gt;Creating Class which will return only one instance:&lt;/strong&gt; &lt;br /&gt;
&lt;span style="color: #3333ff; font-family: courier new; font-size: 78%;"&gt;using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.Linq;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using MyProject.SingletonSample.Evaluation;&lt;br /&gt;
&lt;br /&gt;
namespace MyProject.SingletonSample&lt;br /&gt;
{&lt;br /&gt;
public class Singleton&lt;br /&gt;
{&lt;br /&gt;
// Private Constructor to not allow to creating instance&lt;br /&gt;
private Singleton() { }&lt;br /&gt;
&lt;br /&gt;
private static iEvaluation instance;&lt;br /&gt;
&lt;br /&gt;
// Creates and maintains single instance of Evaluation Class&lt;br /&gt;
public static iEvaluation Instance&lt;br /&gt;
{&lt;br /&gt;
get&lt;br /&gt;
{&lt;br /&gt;
if (instance == null)&lt;br /&gt;
{&lt;br /&gt;
instance = new Evaluation.Evaluation();&lt;br /&gt;
}&lt;br /&gt;
return instance;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;Creating Instance of Singleton class:&lt;/strong&gt;&lt;br /&gt;
&lt;span style="color: #3333ff; font-family: courier new; font-size: 78%;"&gt;using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.Linq;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using MyProject.SingletonSample.Evaluation;&lt;br /&gt;
&lt;br /&gt;
namespace MyProject.SingletonSample&lt;br /&gt;
{&lt;br /&gt;
class Program&lt;br /&gt;
{&lt;br /&gt;
static void Main(string[] args)&lt;br /&gt;
{&lt;br /&gt;
EvalData ed1=new EvalData();&lt;br /&gt;
ed1.Name = "Aaaa";&lt;br /&gt;
ed1.Comment = "Added with ED1";&lt;br /&gt;
ed1.DateSubmitted = DateTime.Now;&lt;br /&gt;
&lt;br /&gt;
EvalData ed2 = new EvalData();&lt;br /&gt;
ed2.Name = "Bbbb";&lt;br /&gt;
ed2.Comment = "Added with ED2";&lt;br /&gt;
ed2.DateSubmitted = DateTime.Now;&lt;br /&gt;
&lt;br /&gt;
Singleton.Instance.AddEval(ed1);&lt;br /&gt;
Singleton.Instance.AddEval(ed2);&lt;br /&gt;
&lt;br /&gt;
Console.ReadKey();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://mstechnoblogger.blogspot.com/2009/09/design-patterns.html"&gt;&lt;strong&gt;&lt;span style="font-family: trebuchet ms; font-size: 130%;"&gt;&amp;lt; Back to Design Patterns&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-8160973123852556905?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9JgGwXo3z0-7eZzUnWDRAWaDNzQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9JgGwXo3z0-7eZzUnWDRAWaDNzQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9JgGwXo3z0-7eZzUnWDRAWaDNzQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9JgGwXo3z0-7eZzUnWDRAWaDNzQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/tE38hvgUhtc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/8160973123852556905/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2009/10/singleton-pattern-with-c.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/8160973123852556905?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/8160973123852556905?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/tE38hvgUhtc/singleton-pattern-with-c.html" title="Singleton Pattern with C#" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2009/10/singleton-pattern-with-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04NQXc-eCp7ImA9WxNWFEw.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-8717394471264232926</id><published>2009-09-08T20:21:00.000-07:00</published><updated>2009-10-13T00:46:30.950-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-13T00:46:30.950-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Design Patterns" /><title>Design Patterns</title><content type="html">&lt;span style="font-family: trebuchet ms;"&gt;&lt;strong&gt;Design Patterns&lt;/strong&gt; are recurring solution to recurring problems in software architecture. A design pattern can solve many problems by providing a framework for building an application. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;Design patterns which make the design process cleaner and more efficient, are especially well-suited for object-oriented languages such as C#. Existing design patterns make good templates for the objects, allowing you to build software faster, re-use the code, and a pattern which is acceptable organisation wide.&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;Design patterns can improve the extensibility of your applications and the reuse of your objects. Software design and architecture without a rudimentary understanding of design patterns is unthinkable. Most software applications and systems incorporate one or more design patterns which we all might have come across, but &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;don't&lt;/span&gt; know them as patterns. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;A design pattern is a description of a set of interacting classes that provide a framework for a solution to a generalized problem in a specific context or environment. In other words, a pattern suggests a solution to a particular problem or issue in object-oriented software development&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: trebuchet ms;"&gt;There are three basic classification of patters:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: black; font-family: Trebuchet MS;"&gt;&lt;strong&gt;~ Creational&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style="color: yellow; font-family: Trebuchet MS;"&gt;&lt;a href="http://mstechnoblogger.blogspot.com/2009/10/singleton-pattern-with-c.html"&gt;Singleton Pattern&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;span style="font-family: trebuchet ms;"&gt;&lt;strong&gt;~ Structural&lt;/strong&gt;, and &lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Trebuchet MS;"&gt;&lt;a href="http://mstechnoblogger.blogspot.com/2009/09/facade-pattern-with-c.html"&gt;Facade Pattern&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Trebuchet MS;"&gt;&lt;a href="http://mstechnoblogger.blogspot.com/2009/10/decorator-pattern-with-c.html"&gt;Decorator Pattern&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;span style="font-family: trebuchet ms;"&gt;&lt;strong&gt;~ Behavioural&lt;/strong&gt; pattern&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Trebuchet MS;"&gt;&lt;a href="http://mstechnoblogger.blogspot.com/2009/09/strategy-pattern-with-c.html"&gt;Strategy Pattern&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;span style="font-family: trebuchet ms;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-8717394471264232926?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ah202StxwDYDv8l0NzqAAJQ-A8E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ah202StxwDYDv8l0NzqAAJQ-A8E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ah202StxwDYDv8l0NzqAAJQ-A8E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ah202StxwDYDv8l0NzqAAJQ-A8E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/zeqOXyyRd8Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/8717394471264232926/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2009/09/design-patterns.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/8717394471264232926?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/8717394471264232926?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/zeqOXyyRd8Q/design-patterns.html" title="Design Patterns" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2009/09/design-patterns.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUAMR3Y7eSp7ImA9WxNWEkw.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-2373279928671836784</id><published>2009-07-02T07:32:00.000-07:00</published><updated>2009-10-10T16:36:26.801-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-10T16:36:26.801-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".NET" /><category scheme="http://www.blogger.com/atom/ns#" term="General" /><title>Simple Way To Output XML to Browser</title><content type="html">I have seen many Blogs and Posts where people do lot of hard work just to display the XML onto the web page. Well its very easy but people dont know which TAG do this&lt;br /&gt;
&lt;br /&gt;
When you paste the XML on a .htm file, browser renders the XML Attributes as HTML attributes and displays the output. It wont display the way you see in a notepad file or in Visual Studio.&lt;br /&gt;
&lt;br /&gt;
Some time during XML programming (I mean reading/writing/parsing/traversing), we get an error saying some issue with XML, but we can't see the extire XML because browser renders like a html file.&lt;br /&gt;
&lt;br /&gt;
Without wasting more time, in order to print or show the XML content on browser, put the entire XML content in &lt;span style="color: #663333; font-weight: bold;"&gt;&amp;lt;XMP&amp;gt;&amp;lt;/XMP&amp;gt;&lt;/span&gt; tag and see the magic.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below is the XML which I had put in a web page with and following 2 images shows the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #663300;"&gt;&lt;span style="color: #3333ff; font-style: italic;"&gt;Ou&lt;/span&gt;&lt;span style="color: #3333ff; font-style: italic;"&gt;tput without &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #663333; font-style: italic;"&gt;&amp;lt;XMP&amp;gt;&amp;lt;/XMP&amp;gt;&lt;/span&gt;&lt;span style="color: #663300;"&gt;&lt;span style="color: #3333ff; font-style: italic;"&gt; Tag:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;a href="http://3.bp.blogspot.com/_b1VvFGxdz8c/SkzKeLOI6pI/AAAAAAAAIds/6pH_CAq3qSg/s1600-h/Before_XMP.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5353876676793658002" src="http://3.bp.blogspot.com/_b1VvFGxdz8c/SkzKeLOI6pI/AAAAAAAAIds/6pH_CAq3qSg/s400/Before_XMP.JPG" style="cursor: pointer; height: 351px; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #663300; font-style: italic;"&gt;&lt;span style="color: #3333ff;"&gt;Output with &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #663333; font-style: italic;"&gt;&amp;lt;XMP&amp;gt;&amp;lt;/XMP&amp;gt; &lt;/span&gt;&lt;span style="color: #663300; font-style: italic;"&gt;&lt;span style="color: #3333ff;"&gt;Tag:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://2.bp.blogspot.com/_b1VvFGxdz8c/SkzKefbSmxI/AAAAAAAAId0/RXx1z70TIas/s1600-h/After_XMP.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5353876682217528082" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SkzKefbSmxI/AAAAAAAAId0/RXx1z70TIas/s400/After_XMP.JPG" style="cursor: pointer; height: 351px; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="color: #663300;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #663300;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #663300;"&gt;&lt;br /&gt;
&lt;b&gt;Similar Tags:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #663300;"&gt;Display XML to Browser,&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #663300;"&gt;Print XML to Browser,&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #663300;"&gt;Output XML to Browser,&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #663300;"&gt;Viewing XML file in Browser. &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/8194366683225716804-2373279928671836784?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/B9EXSwq8ahPcAk4JVi9M39F8F-4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/B9EXSwq8ahPcAk4JVi9M39F8F-4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/B9EXSwq8ahPcAk4JVi9M39F8F-4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/B9EXSwq8ahPcAk4JVi9M39F8F-4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/9InJj1_Bf08" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/2373279928671836784/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2009/07/output-xml-to-browser.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/2373279928671836784?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/2373279928671836784?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/9InJj1_Bf08/output-xml-to-browser.html" title="Simple Way To Output XML to Browser" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_b1VvFGxdz8c/SkzKeLOI6pI/AAAAAAAAIds/6pH_CAq3qSg/s72-c/Before_XMP.JPG" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2009/07/output-xml-to-browser.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08AQ3c4cCp7ImA9WxNWEE4.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-5115422848352025755</id><published>2009-03-21T15:33:00.000-07:00</published><updated>2009-10-08T15:10:42.938-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-08T15:10:42.938-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Security" /><category scheme="http://www.blogger.com/atom/ns#" term="General" /><title>Free Open source Encryption Software- TrueCrypt</title><content type="html">This is an amazing open source on-the-fly disk encryption software for Windows, Mac and Linux. You can encrypt entire disk (internal/external/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;USBs&lt;/span&gt;) as well as encrypt any files/folders into encrypted file which can be mounted later.&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;TrueCrypt&lt;/span&gt; has an fantastic feature of &lt;strong&gt;&lt;span style="color:#009900;"&gt;two levels&lt;/span&gt;&lt;/strong&gt; of encryption which helps to protect the volume in case if you have to reveal the password. In this case he creates a Hidden Volume which will never be known to others and opened with another password. It uses Encryption &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;Algorithm&lt;/span&gt; such as &lt;span style="color:#009900;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;AES&lt;/span&gt;-256&lt;/span&gt;, &lt;span style="color:#009900;"&gt;Serpent&lt;/span&gt;, &lt;span style="color:#009900;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;Twofish&lt;/span&gt;&lt;/span&gt; and mode of operation is &lt;span style="color:#009900;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;XTS&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Advantage is you &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_6"&gt;don't&lt;/span&gt; need to decrypt every files/folders to view it. You just have to mount with correct password and it operates as normal volume.&lt;br /&gt;&lt;br /&gt;Only disadvantage is that &lt;span style="color:#cc0000;"&gt;&lt;strong&gt;IF YOU FORGET THE PASSWORD, YOU WILL LOOSE ALL DATA&lt;/strong&gt;&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;READ THE DOCUMENTATION AND TUTORIAL BEFORE INSTALLING...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_7"&gt;URL&lt;/span&gt; to site: &lt;a href="http://www.truecrypt.org/"&gt;http://www.truecrypt.org/&lt;/a&gt;&lt;br /&gt;Download: &lt;a href="http://www.truecrypt.org/downloads"&gt;http://www.truecrypt.org/downloads&lt;/a&gt;&lt;br /&gt;Docs: &lt;a href="http://www.truecrypt.org/docs/"&gt;http://www.truecrypt.org/docs/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-5115422848352025755?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8Nu3g5FQ8GMQG8tkihfWmp2AhbQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8Nu3g5FQ8GMQG8tkihfWmp2AhbQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8Nu3g5FQ8GMQG8tkihfWmp2AhbQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8Nu3g5FQ8GMQG8tkihfWmp2AhbQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/okPqCb32x3s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/5115422848352025755/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2009/03/free-opensource-encryption-tool.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/5115422848352025755?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/5115422848352025755?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/okPqCb32x3s/free-opensource-encryption-tool.html" title="Free Open source Encryption Software- TrueCrypt" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><thr:total>1</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2009/03/free-opensource-encryption-tool.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMMQHkzfCp7ImA9WxVaF0U.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-6800347200433632202</id><published>2009-02-12T13:57:00.000-08:00</published><updated>2009-04-15T02:08:01.784-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-15T02:08:01.784-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".NET" /><title>Deleting Services Forcefully from Services MMC</title><content type="html">&lt;span style="font-family:trebuchet ms;"&gt;Few days back I modified my Windows Service .NET Application and compiled to &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;MSI&lt;/span&gt; to be re-installed. Somehow during &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;un&lt;/span&gt;-install process, service was not removed from Services Microsoft Management Console (&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;MMC&lt;/span&gt;) and it came to my notice during re-installation of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;MSI&lt;/span&gt;. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;As there is no Delete option available in Services &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;MMC&lt;/span&gt;, it was becoming a nightmare to re-install it. Some how I found SC.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;EXE&lt;/span&gt; which is a command line program to communicate with Service Control Manager and Services.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;There are many available options but what &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_6"&gt;interested&lt;/span&gt; me is you can Create, Start, Stop, Delete a service with a Command Line.&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:trebuchet ms;"&gt;Creating a Service:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;span style="color: rgb(204, 0, 0);font-family:courier new;font-size:100%;"  &gt;&lt;em&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;sc&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;exe&lt;/span&gt; create &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;PayCalcService&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;binPath&lt;/span&gt;= "C:\Program Files\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;PaymentCalculation&lt;/span&gt;\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;paycalc&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;exe&lt;/span&gt;" &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;DisplayName&lt;/span&gt;= "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;PaymentCalculationService&lt;/span&gt;"&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;&lt;span style="font-family:trebuchet ms;"&gt;Starting a Service:&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);font-family:courier new;" &gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;sc&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;exe&lt;/span&gt; start &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;PaymentCalculationService&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;strong&gt;Stopping a Service:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);font-family:courier new;" &gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;sc&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;exe&lt;/span&gt; stop &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;PaymentCalculationService&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;strong&gt;Deleting a Service:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);font-family:courier new;" &gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;sc&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;exe&lt;/span&gt; delete &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;PaymentCalculationService&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);font-family:Courier New;" &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:trebuchet ms;" &gt;Hope this helps for similar problems...&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-6800347200433632202?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/495SB2X1_2pXcUi8clqFzsmhVog/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/495SB2X1_2pXcUi8clqFzsmhVog/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/495SB2X1_2pXcUi8clqFzsmhVog/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/495SB2X1_2pXcUi8clqFzsmhVog/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/loMsALYwhDk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/6800347200433632202/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2009/04/deleting-services-forcefully-from.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/6800347200433632202?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/6800347200433632202?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/loMsALYwhDk/deleting-services-forcefully-from.html" title="Deleting Services Forcefully from Services MMC" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><thr:total>1</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2009/04/deleting-services-forcefully-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4GRHY-fip7ImA9WxVaF0k.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-7494225470564979792</id><published>2008-02-18T09:49:00.000-08:00</published><updated>2009-04-14T13:28:45.856-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-14T13:28:45.856-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".NET" /><title>Shortcut to create Property out of Field - C#</title><content type="html">To create Property out of Field, you need to declare a field as private and create Property for the field. But now you can create Property out of Field with combination of three keys. Yeah..., its &lt;strong&gt;&lt;span style="color:#000099;"&gt;Ctrl+R+E&lt;/span&gt;&lt;/strong&gt;. &lt;div&gt;&lt;/div&gt;&lt;div&gt;Declare the field as private and press "&lt;span style="color:#000099;"&gt;Ctrl+R+E&lt;/span&gt;" on the field name. It will popup a dialog where you can set the name of property (its almost what you want). Click OK to create Property in your C# code. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://bp3.blogger.com/_b1VvFGxdz8c/R7nLpibGnPI/AAAAAAAAD1g/DJwSfosmkPQ/s1600-h/before.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5168385961859914994" style="CURSOR: hand" alt="" src="http://bp3.blogger.com/_b1VvFGxdz8c/R7nLpibGnPI/AAAAAAAAD1g/DJwSfosmkPQ/s320/before.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Property gets created automatically on click of OK&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://bp2.blogger.com/_b1VvFGxdz8c/R7nLvSbGnQI/AAAAAAAAD1o/Yr3HA5YX1kE/s1600-h/after.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5168386060644162818" style="CURSOR: hand" alt="" src="http://bp2.blogger.com/_b1VvFGxdz8c/R7nLvSbGnQI/AAAAAAAAD1o/Yr3HA5YX1kE/s320/after.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-7494225470564979792?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6mriTkROIRHZ99Bop2Mls4ZCZnI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6mriTkROIRHZ99Bop2Mls4ZCZnI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6mriTkROIRHZ99Bop2Mls4ZCZnI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6mriTkROIRHZ99Bop2Mls4ZCZnI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/84hS70d_SI0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/7494225470564979792/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2008/02/shortcut-to-create-property-out-of.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/7494225470564979792?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/7494225470564979792?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/84hS70d_SI0/shortcut-to-create-property-out-of.html" title="Shortcut to create Property out of Field - C#" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp3.blogger.com/_b1VvFGxdz8c/R7nLpibGnPI/AAAAAAAAD1g/DJwSfosmkPQ/s72-c/before.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2008/02/shortcut-to-create-property-out-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4GRHY4cCp7ImA9WxVaF0k.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-7292904160744367304</id><published>2008-02-17T11:22:00.000-08:00</published><updated>2009-04-14T13:28:45.838-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-14T13:28:45.838-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".NET" /><title>Shortcut to implement methods and properties of Interface in inheriting class - C#</title><content type="html">Whenever you create an Interface and implement in a class, you need to remember and override all methods or need to verify whether all methods/properties are impmenented. Using shortcut below you can implement all methods and properties of an Interface in inheriting class with click to three keys... i.e. "Alt+Shift+F10".&lt;br /&gt;&lt;br /&gt;In the example below, I have created Interface with two methods and one property. While inheriting this interface in a class named "Test", you need to press "Alt+Shift+F10" on interface to implement all the methods and properties.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp1.blogger.com/_b1VvFGxdz8c/R7iMMSbGnMI/AAAAAAAAD0k/014N0I_Tvfg/s1600-h/before.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5168034715139480770" style="CURSOR: hand" alt="" src="http://bp1.blogger.com/_b1VvFGxdz8c/R7iMMSbGnMI/AAAAAAAAD0k/014N0I_Tvfg/s320/before.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Press "Alt+Shift+F10" and press enter to implement all methods and properties.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp3.blogger.com/_b1VvFGxdz8c/R7iMQybGnNI/AAAAAAAAD0s/RvKYPxXfC8U/s1600-h/after.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5168034792448892114" style="CURSOR: hand" alt="" src="http://bp3.blogger.com/_b1VvFGxdz8c/R7iMQybGnNI/AAAAAAAAD0s/RvKYPxXfC8U/s320/after.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-7292904160744367304?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5u0jGUbGsa1yLUgmNUr2xbMAofU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5u0jGUbGsa1yLUgmNUr2xbMAofU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5u0jGUbGsa1yLUgmNUr2xbMAofU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5u0jGUbGsa1yLUgmNUr2xbMAofU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/Xr8-VRn4rzY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/7292904160744367304/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2008/02/shortcut-to-implement-methods-and.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/7292904160744367304?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/7292904160744367304?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/Xr8-VRn4rzY/shortcut-to-implement-methods-and.html" title="Shortcut to implement methods and properties of Interface in inheriting class - C#" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp1.blogger.com/_b1VvFGxdz8c/R7iMMSbGnMI/AAAAAAAAD0k/014N0I_Tvfg/s72-c/before.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2008/02/shortcut-to-implement-methods-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4GRHY_fyp7ImA9WxVaF0k.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-5843604260999198605</id><published>2008-02-17T10:51:00.000-08:00</published><updated>2009-04-14T13:28:45.847-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-14T13:28:45.847-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".NET" /><title>Shortcut to add Namespace automatically while coding in class file - C#</title><content type="html">While coding a class file, you might encounter situations where you come to know that namespace is missing and you need move to top of file and add a namespace by "using" keyword.&lt;br /&gt;&lt;br /&gt;e.g. you are writing a DAL (Data Access Layer) and have to create a variable of "SqlDataReader". Suddenly you recognize that "System.Data.SqlClient" is missing (its a pain sometimes..). In this case you need to move top and type there.&lt;br /&gt;&lt;br /&gt;Below is the shortcut for this problem. Taking above example, type SqlDataReader and press "&lt;span style="color:#000099;"&gt;Alt+Shift+F10&lt;/span&gt;" and press enter to create a namespace automatically.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp0.blogger.com/_b1VvFGxdz8c/R7iGrCbGnKI/AAAAAAAAD0U/34Po0EnsLw8/s1600-h/before.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5168028646350691490" style="CURSOR: hand" alt="" src="http://bp0.blogger.com/_b1VvFGxdz8c/R7iGrCbGnKI/AAAAAAAAD0U/34Po0EnsLw8/s320/before.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Press "&lt;span style="color:#000099;"&gt;Alt+Shift+F10&lt;/span&gt;" to show Smart Tag and press enter to select first option.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp3.blogger.com/_b1VvFGxdz8c/R7iGzybGnLI/AAAAAAAAD0c/aHlx1bbSHMY/s1600-h/after.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5168028796674546866" style="CURSOR: hand" alt="" src="http://bp3.blogger.com/_b1VvFGxdz8c/R7iGzybGnLI/AAAAAAAAD0c/aHlx1bbSHMY/s320/after.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You see, "System.Data.Sqlclient" got added without going and typing it...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let me know your comments..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-5843604260999198605?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MrGUXeks2LGtDZVBTUwaRMqUO08/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MrGUXeks2LGtDZVBTUwaRMqUO08/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MrGUXeks2LGtDZVBTUwaRMqUO08/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MrGUXeks2LGtDZVBTUwaRMqUO08/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/fli5Ia21wKE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/5843604260999198605/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2008/02/shortcut-to-add-namespace-automatically.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/5843604260999198605?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/5843604260999198605?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/fli5Ia21wKE/shortcut-to-add-namespace-automatically.html" title="Shortcut to add Namespace automatically while coding in class file - C#" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp0.blogger.com/_b1VvFGxdz8c/R7iGrCbGnKI/AAAAAAAAD0U/34Po0EnsLw8/s72-c/before.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2008/02/shortcut-to-add-namespace-automatically.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4GRHY9fCp7ImA9WxVaF0k.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-5252649898524645768</id><published>2008-02-17T10:38:00.000-08:00</published><updated>2009-04-14T13:28:45.864-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-14T13:28:45.864-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".NET" /><title>Shortcut to load MS Visual Studio faster</title><content type="html">There is a way to load MS Visual Studio 2005 or 2008 IDE faster than ever to save your time. There is always some time involved in loading IDE but using the command below you can load IDE faster.&lt;br /&gt;&lt;br /&gt;Type the command in your Run dialog:&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;devenv /nosplash&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Happy Coding!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-5252649898524645768?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wgL8cemML5vnX61qOYv62e-9cG4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wgL8cemML5vnX61qOYv62e-9cG4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wgL8cemML5vnX61qOYv62e-9cG4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wgL8cemML5vnX61qOYv62e-9cG4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/NrhuJEA36RI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/5252649898524645768/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2008/02/shortcut-to-load-ms-visual-studio.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/5252649898524645768?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/5252649898524645768?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/NrhuJEA36RI/shortcut-to-load-ms-visual-studio.html" title="Shortcut to load MS Visual Studio faster" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2008/02/shortcut-to-load-ms-visual-studio.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4GRHY8eSp7ImA9WxVaF0k.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-4984011359762833538</id><published>2008-02-17T10:13:00.000-08:00</published><updated>2009-04-14T13:28:45.871-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-14T13:28:45.871-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="General" /><title>HEROES happen {here} registration open for Bangalore, Mumbai and Delhi</title><content type="html">Registration for "HEROES happen {here}" event is open for Bangalore, Mumbai and New Delhi. Microsoft is celebrating the launch of Windows Server 2008, Visual Studio 2008 and SQL Server 2008. The event will bring together IT Pro's and Developers in your city to get an in-depth, up-close look at the new products and will give attendees an opportunity to meet with Microsoft employees and Partners who have been working on these new products.&lt;br /&gt;&lt;br /&gt;Hurry and resigter yourself from link below:&lt;br /&gt;&lt;a href="http://heroeshappenhere.co.in/Register.aspx"&gt;http://heroeshappenhere.co.in/Register.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;Bangalore - 4-March-2008&lt;br /&gt;&lt;a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032366983&amp;amp;Culture=en-IN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032366983&amp;amp;Culture=en-IN&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Mumbai - 5-March-2008&lt;br /&gt;&lt;a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032366992&amp;amp;Culture=en-IN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032366992&amp;amp;Culture=en-IN&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Delhi - 6-March-2008&lt;br /&gt;&lt;a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032366996&amp;amp;Culture=en-IN"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032366996&amp;amp;Culture=en-IN&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hurry and reserve fast, as there are limited seats and get your FREE GIFT!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-4984011359762833538?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JhQR8aii4S_V-rNAKyLXGfqQJns/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JhQR8aii4S_V-rNAKyLXGfqQJns/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JhQR8aii4S_V-rNAKyLXGfqQJns/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JhQR8aii4S_V-rNAKyLXGfqQJns/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/IdmE2KiaGCM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/4984011359762833538/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2008/02/heroes-happen-here-registration-open.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/4984011359762833538?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/4984011359762833538?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/IdmE2KiaGCM/heroes-happen-here-registration-open.html" title="HEROES happen {here} registration open for Bangalore, Mumbai and Delhi" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2008/02/heroes-happen-here-registration-open.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4MQnsyfCp7ImA9WxVaF0k.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-857217108168441647</id><published>2008-01-22T08:07:00.000-08:00</published><updated>2009-04-14T13:29:43.594-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-14T13:29:43.594-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".NET" /><title>Dot Net Videos</title><content type="html">Wanna learn Dot Net from scratch to intermediate level... Reading from books would take too much of time and there are many vidoe sites I have seen on net including microsoft (&lt;a href="http://asp.net/learn"&gt;http://asp.net/learn&lt;/a&gt;), but this one I have found a bit useful and sharing the link below:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetvideos.net/"&gt;&lt;span style="font-size:130%;"&gt;http://www.dotnetvideos.net&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Videos range from creating DAL layers, business logic layer, reporting, paging and sorting, acessing database to working with binary files, caching, working with batch data...&lt;br /&gt;&lt;br /&gt;In order to view the videos, you need to register yourself and for timebeing its free, so go ahead and register yourself and start dot net...&lt;br /&gt;&lt;br /&gt;Happy learning and let me know your comments....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-857217108168441647?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8DPN41aT7lFqSO8SWTnK_lmlxfY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8DPN41aT7lFqSO8SWTnK_lmlxfY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8DPN41aT7lFqSO8SWTnK_lmlxfY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8DPN41aT7lFqSO8SWTnK_lmlxfY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/lHlssRfJS7k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/857217108168441647/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2008/01/dot-net-videos.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/857217108168441647?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/857217108168441647?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/lHlssRfJS7k/dot-net-videos.html" title="Dot Net Videos" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><thr:total>1</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2008/01/dot-net-videos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IARnY7eSp7ImA9WxVaF0k.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-6444840021010007394</id><published>2007-04-16T10:01:00.000-07:00</published><updated>2009-04-14T13:39:07.801-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-14T13:39:07.801-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".NET" /><title>Read Excel with C# ADO.NET</title><content type="html">Today I got a customer requirement where they had requirement to display data from Excel to their Web Site. I had done this with other earlier versions (ASP, VB), but never tried with .NET.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;I thought this to be very difficult and might took enough time to fetch and display the data on site. This can be done easily through ADO.NET in very simpler way by manipulating the ConnectionString.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Below is the code snippet:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp3.blogger.com/_b1VvFGxdz8c/SAY6qIC_8AI/AAAAAAAAD4U/wMDnx0aVfjA/s1600-h/CodeSnippet1.jpg"&gt;&lt;/a&gt;&lt;a href="http://bp3.blogger.com/_b1VvFGxdz8c/SAY7tIC_8BI/AAAAAAAAD4c/Nv1fs1owVBM/s1600-h/CodeSnippet1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5189901267031289874" style="CURSOR: hand" alt="" src="http://bp3.blogger.com/_b1VvFGxdz8c/SAY7tIC_8BI/AAAAAAAAD4c/Nv1fs1owVBM/s400/CodeSnippet1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Thanks...&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-6444840021010007394?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/iCWRun3HQ0SMJ2qV0IpIKTfIgIg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iCWRun3HQ0SMJ2qV0IpIKTfIgIg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/iCWRun3HQ0SMJ2qV0IpIKTfIgIg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iCWRun3HQ0SMJ2qV0IpIKTfIgIg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/TLRMAVOO96M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/6444840021010007394/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2007/04/read-excel-with-c-adonet.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/6444840021010007394?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/6444840021010007394?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/TLRMAVOO96M/read-excel-with-c-adonet.html" title="Read Excel with C# ADO.NET" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp3.blogger.com/_b1VvFGxdz8c/SAY7tIC_8BI/AAAAAAAAD4c/Nv1fs1owVBM/s72-c/CodeSnippet1.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2007/04/read-excel-with-c-adonet.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IDSHo5eSp7ImA9WxVaF0k.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-1952137237043240651</id><published>2007-04-08T10:49:00.000-07:00</published><updated>2009-04-14T13:39:39.421-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-14T13:39:39.421-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".NET" /><title>Read XML in Dataset with C#</title><content type="html">Instead of using looong approach to open, read and parse XML, I prefer reading XML with Dataset and process as required. Reading through Dataset will load all data into DataTable and DataRow and can be parsed as reqd.&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Using the standard way to read XML (see other articles in blog for reading XML with recommended method) might be good, but remembering long and many lines of code to read and parse is again tedious.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Below is the code snippet:&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;a href="http://bp1.blogger.com/_b1VvFGxdz8c/SAY-eoC_8CI/AAAAAAAAD4k/QxMMeVIqjW0/s1600-h/CodeSnippet2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5189904316458070050" style="CURSOR: hand" alt="" src="http://bp1.blogger.com/_b1VvFGxdz8c/SAY-eoC_8CI/AAAAAAAAD4k/QxMMeVIqjW0/s400/CodeSnippet2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Thanks...&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-1952137237043240651?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0HeV7AzKvEkur9F6ZA8DcObvz-0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0HeV7AzKvEkur9F6ZA8DcObvz-0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0HeV7AzKvEkur9F6ZA8DcObvz-0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0HeV7AzKvEkur9F6ZA8DcObvz-0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/RITuU09pCgs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/1952137237043240651/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2007/04/read-xml-in-dataset-with-c.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/1952137237043240651?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/1952137237043240651?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/RITuU09pCgs/read-xml-in-dataset-with-c.html" title="Read XML in Dataset with C#" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp1.blogger.com/_b1VvFGxdz8c/SAY-eoC_8CI/AAAAAAAAD4k/QxMMeVIqjW0/s72-c/CodeSnippet2.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2007/04/read-xml-in-dataset-with-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cCQHY-eyp7ImA9WxVaF0k.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-1815659352543593294</id><published>2007-01-08T22:09:00.000-08:00</published><updated>2009-04-14T13:31:01.853-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-14T13:31:01.853-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".NET" /><title>Create Typed Dataset using C#</title><content type="html">In this article, i will provide complete overview of Dataset, difference between "Typed Dataset" and "Untyped Dataset", advantages/disadvantages of both and one example to how to create Typed Dataset with Visual Studio 2005 with literally no code to write...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Introduction:&lt;/strong&gt;&lt;br /&gt;Dataset is one of the new technology in ASP.NET and it maps the entire database in iteself which means it can have all the Tables, Columns, Relationship, Constraints etc. Having all these in Dataset, it makes itself a disconnected database in which you can make changes and later you can update against actual database. In other words we can say that Dataset is a mirror copy tables and being disconnected in nature it makes insert/update/delete operations much faster.&lt;br /&gt;I assume you are aware of other ADO.NET components such as Connection, Command, DataAdapter etc..&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Differences:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Typed Datasets are Tightly coupled datased which provides Type-Safe operation where fields of tables are mapped as property.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Uptyped dataset are one which we create programatically and its loosely coupled.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Typed: TypedDataSet.Categories.Name = "Beverages"&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Untyped: UntypedDataSet.Tables("Categories").Row(0).Item(1)="Beverages"&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Typed dataset reduces overhead and increases performance as they already have table schema with them.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Any type mismatch can be captured at compile time instead of run-time.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;One disadvantage with Typed Dataset is if your table schema changes, you need to everytime change the Dataset's XSD file (which i will discuss later).&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Creating Typed Dataset with Visual Studio 2005&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;To start creating Typed Dataset demo, I will be using Northwind Database. If you dont have this DB, you can download from &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=06616212-0356-46A0-8DA2-EEBC53A68034&amp;amp;displaylang=en"&gt;MS Site&lt;/a&gt;. This will help us to be on same page and later you can try with your own database.&lt;/p&gt;&lt;p&gt;Finally we come here:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. Start Visual Studio 2005 and create "New Project" and select "Web Application" and name the project as "TypedDatasetDemo". Reason for Web App is because you can see the code generated by visual studio. Same steps are applicable for WebSite too.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. In "Solution Explorer", right click and select "Add New Item". Select Dataset from Dialog and name as "DSCategory.xsd".&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://bp2.blogger.com/_b1VvFGxdz8c/R4S9Ls6-TTI/AAAAAAAADno/GJGeS1VsoMQ/s1600-h/TypedDataset-1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5153451882353413426" style="CURSOR: hand" alt="" src="http://bp2.blogger.com/_b1VvFGxdz8c/R4S9Ls6-TTI/AAAAAAAADno/GJGeS1VsoMQ/s320/TypedDataset-1.jpg" border="0" /&gt;&lt;/a&gt; &lt;a href="http://bp1.blogger.com/_b1VvFGxdz8c/R4S-Jc6-TUI/AAAAAAAADnw/0amERnSuEKI/s1600-h/TypedDataset-2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5153452943210335554" style="CURSOR: hand" alt="" src="http://bp1.blogger.com/_b1VvFGxdz8c/R4S-Jc6-TUI/AAAAAAAADnw/0amERnSuEKI/s320/TypedDataset-2.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;3. Right click Dataset Designer and click Add-&gt;Table Adapter... to start with Wizard. You need to create new connection string if you dont have by clicking "New Connection" button. Click Next...&lt;br /&gt;&lt;br /&gt;4. Give the name for connection string to be saved so it can be used next time. Click Next...&lt;br /&gt;&lt;br /&gt;5. Leave with default selection of "Use SQL Statement" and click Next.&lt;br /&gt;&lt;br /&gt;6. Paste the query in SQL Statement text area. "SELECT CategoryID, CategoryName, Description FROM Categories". You can even use "Query Builder..." button to create query by wizard.&lt;br /&gt;&lt;br /&gt;7. In next screen, you need to mention the method name to "Fill a DataTable" and "Return a Data Table". This method will be used to fill DataTable and will be bound to control e.g. Grid View. Change the method name to "FillCategory" and "GetCategory".&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp2.blogger.com/_b1VvFGxdz8c/R4Ttzs6-TVI/AAAAAAAADn4/CyWGoxq9uNg/s1600-h/TypedDataset-3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5153505346106314066" style="CURSOR: hand" alt="" src="http://bp2.blogger.com/_b1VvFGxdz8c/R4Ttzs6-TVI/AAAAAAAADn4/CyWGoxq9uNg/s320/TypedDataset-3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;8. Click "Finish" to complete the wizard.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Thats it... Typed dataset is created which can be used by web pages. &lt;/p&gt;&lt;p&gt;To complete this demo, we will create WebPage and load data into Grid View.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Open Web Page and drop "Grid View" and name as "gvCategory"&lt;/li&gt;&lt;li&gt;Switch to "Code View" of page and copy the code as mentioned below.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;namespace TypedDatasetDemo&lt;br /&gt;{&lt;br /&gt;public partial class _Default : System.Web.UI.Page&lt;br /&gt;{&lt;br /&gt;DSCategoryTableAdapters.CategoriesTableAdapter cAdapter = new TypedDatasetDemo.DSCategoryTableAdapters.CategoriesTableAdapter();&lt;br /&gt;DSCategory.CategoriesDataTable cDataTable;&lt;br /&gt;protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;BindData();&lt;br /&gt;}&lt;br /&gt;private void BindData()&lt;br /&gt;{&lt;br /&gt;cDataTable = cAdapter.GetCategory();&lt;br /&gt;gvCategory.DataSource = cDataTable;&lt;br /&gt;gvCategory.DataBind();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-1815659352543593294?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/irSyyeqfvv8YlnexD55Si-Chymw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/irSyyeqfvv8YlnexD55Si-Chymw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/irSyyeqfvv8YlnexD55Si-Chymw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/irSyyeqfvv8YlnexD55Si-Chymw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/TjuuMJMVvaM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/1815659352543593294/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2007/01/create-typed-dataset-using-c.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/1815659352543593294?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/1815659352543593294?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/TjuuMJMVvaM/create-typed-dataset-using-c.html" title="Create Typed Dataset using C#" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp2.blogger.com/_b1VvFGxdz8c/R4S9Ls6-TTI/AAAAAAAADno/GJGeS1VsoMQ/s72-c/TypedDataset-1.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2007/01/create-typed-dataset-using-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4GRHYyfip7ImA9WxVaF0k.&quot;"><id>tag:blogger.com,1999:blog-8194366683225716804.post-8763932482515894374</id><published>2007-01-08T21:29:00.000-08:00</published><updated>2009-04-14T13:28:45.896-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-14T13:28:45.896-07:00</app:edited><title>My First Blog</title><content type="html">Hi... this is my first blog on this site... I created this blog a/c today and thought to start blogging on technical stuff on .NET 2.0, 3.0 and 3.5.&lt;br /&gt;&lt;br /&gt;I will be posting articles from basic to advanced level and any solution to any critical issues.&lt;br /&gt;&lt;br /&gt;Hope you find this site interactive and helpful :)&lt;br /&gt;&lt;br /&gt;You can also let me know if you would like me to discuss on some topics.&lt;br /&gt;&lt;br /&gt;Happy coding.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8194366683225716804-8763932482515894374?l=mstechnoblogger.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1TkfU6V0Q_9XfcQ-tWKndmkgFNk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1TkfU6V0Q_9XfcQ-tWKndmkgFNk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1TkfU6V0Q_9XfcQ-tWKndmkgFNk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1TkfU6V0Q_9XfcQ-tWKndmkgFNk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/MsTechnoBlogging/~4/gxYGwTo5qW4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://mstechnoblogger.blogspot.com/feeds/8763932482515894374/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://mstechnoblogger.blogspot.com/2007/01/my-first-blog.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/8763932482515894374?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8194366683225716804/posts/default/8763932482515894374?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MsTechnoBlogging/~3/gxYGwTo5qW4/my-first-blog.html" title="My First Blog" /><author><name>Chandreshwar</name><uri>http://www.blogger.com/profile/11463016490300390353</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="23" src="http://2.bp.blogspot.com/_b1VvFGxdz8c/SeTbwZu6s3I/AAAAAAAAHXo/7f9DDocfQT4/S220/Chandreshwar.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://mstechnoblogger.blogspot.com/2007/01/my-first-blog.html</feedburner:origLink></entry></feed>

