<?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:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DkABQX46fSp7ImA9WhBbGUU.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706</id><updated>2013-05-19T10:32:30.015-07:00</updated><category term="Object Initializers in C#" /><category term="Denali" /><category term="asp.net Processing" /><category term="SQL" /><category term="Integer" /><category term="Relationships" /><category term="DataTable" /><category term="General Programming" /><category term="4.0" /><category term="Coding Guidelines" /><category term="Asp.net 3.5" /><category term="JQuery" /><category term="Top With Variable" /><category term="Code snippets" /><category term="Initializing Object" /><category term="Export To Excel" /><category term="Naming Conventions" /><category term="Top Records From Each Group" /><category term="Interview Thoghts" /><category term="FActory Pattern" /><category term="Insert Into" /><category term="Nullable Types" /><category term="Asp.net Directives" /><category term="Difference between" /><category term="GridView" /><category term="Sql Interview Questions Part 1" /><category term="CLS" /><category term="Visual Studio tweaks" /><category term="Notice" /><category term="behavioral" /><category term="Cascade" /><category term="Json in jquery" /><category term="Jquery and Json" /><category term="Validation Controls" /><category term="Asp.net and Json" /><category term="Page Methods" /><category term="Interview Tips" /><category term="Visual studio 2008" /><category term=".net C# 4.0" /><category term="Json in asp.net" /><category term="Hungarian" /><category term="Strategy Design Pattern" /><category term="Android installation" /><category term="Tweaks" /><category term="Sql Praceice 3" /><category term="CLR" /><category term="Guid.Parse" /><category term="Cop Data From One Table to Next" /><category term="MVC" /><category term="Dynamic Top" /><category term="asp.net life cycle" /><category term="GUID" /><category term="Sql Row_number()" /><category term="Sql Server 2011" /><category term="int.TryParse" /><category term="Praceice Sql" /><category term="Interview" /><category term="Learn .net" /><category term="Directives" /><category term="Convert.Int32" /><category term=".net 4.0" /><category term="Asynchrnous programming" /><category term="Sql Praceice 4" /><category term="Client Side vs Server side validation" /><category term="OOPS" /><category term="Installation and Maintenence" /><category term="Between operator in Sql" /><category term=".net C# 3.0" /><category term="Value Types" /><category term="Asp.net" /><category term="Camel" /><category term="Android" /><category term="Design Patterns" /><category term="Group By" /><category term="SqlDataReader" /><category term="Visual studio 2012" /><category term="Identity Column" /><category term="Select Into" /><category term="Optmization" /><category term="int.parse" /><category term=".net Framework" /><category term="Sql CodeNames" /><category term="Dotnet" /><category term="New Features in asp.net 3.5" /><category term="C#" /><category term="Page Methods in asp.net" /><category term="Sql Variables" /><category term="Reflection" /><category term="Practice Interview" /><category term="IL" /><category term="Attributes" /><category term="WCF" /><category term="Real Time" /><category term="Asp.net Update Panel" /><category term="CTS" /><category term="Sql Praceice 2" /><category term="Foreign Key" /><category term="Design Pattern" /><category term="Random Row" /><category term="Enum" /><category term="c# 4.0" /><category term="Training" /><category term="Pascal" /><title>Sukesh Marla</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.sukesh-marla.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>91</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/SukeshMarla" /><feedburner:info uri="sukeshmarla" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>SukeshMarla</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;AkUASXc7fyp7ImA9WhNbFkw.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-585110466537169412</id><published>2013-12-22T23:56:00.000-08:00</published><updated>2013-01-19T09:57:28.907-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-19T09:57:28.907-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Design Pattern" /><category scheme="http://www.blogger.com/atom/ns#" term="MVC" /><category scheme="http://www.blogger.com/atom/ns#" term="Training" /><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="Asp.net" /><category scheme="http://www.blogger.com/atom/ns#" term="WCF" /><title>Technical Training at reasonable price</title><content type="html">&lt;h3&gt;
For technical training on various topics including asp.net,WCF,MVC and Design Patterns contact SukeshMarla@Gmail.com
&lt;/h3&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-EJHQpzqXIFs/UNa4BGdVFPI/AAAAAAAAAW4/YNIyQRmgpHI/s1600/Training%2BBanner.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="352" src="http://2.bp.blogspot.com/-EJHQpzqXIFs/UNa4BGdVFPI/AAAAAAAAAW4/YNIyQRmgpHI/s1600/Training%2BBanner.png" width="676" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/585110466537169412/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2012/12/technical-training-at-reasonable-price.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/585110466537169412?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/585110466537169412?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/bbHd2WOKeLE/technical-training-at-reasonable-price.html" title="Technical Training at reasonable price" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-EJHQpzqXIFs/UNa4BGdVFPI/AAAAAAAAAW4/YNIyQRmgpHI/s72-c/Training%2BBanner.png" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2012/12/technical-training-at-reasonable-price.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEDQnk5fCp7ImA9WhNbGUw.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-3296893281593404773</id><published>2013-01-22T19:39:00.000-08:00</published><updated>2013-01-22T19:44:33.724-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-22T19:44:33.724-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tweaks" /><category scheme="http://www.blogger.com/atom/ns#" term="Design Patterns" /><category scheme="http://www.blogger.com/atom/ns#" term="Visual studio 2012" /><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio tweaks" /><category scheme="http://www.blogger.com/atom/ns#" term="c# 4.0" /><category scheme="http://www.blogger.com/atom/ns#" term="4.0" /><title>Visual studio 2012 tweaks</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;h2&gt;
Introduction
&lt;/h2&gt;
In this article I will point out some not very great but somewhat useful tweaks comes up with Visual Studio 2012
&lt;br /&gt;
&lt;h2&gt;
Single Click Preview
&lt;/h2&gt;
One of the most annoying features I found after migrating from VS 2010 to VS 2012 is, Single Click Preview.
&lt;br /&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;a href="http://4.bp.blogspot.com/--udVxk6Kf9A/UP9ZT_M3H8I/AAAAAAAAAXc/Msa7peLZnEg/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="323" src="http://4.bp.blogspot.com/--udVxk6Kf9A/UP9ZT_M3H8I/AAAAAAAAAXc/Msa7peLZnEg/s640/1.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
For me it’s quite frustrating, each time I accidently click and file in solution explorer, preview get shown. &lt;br /&gt;
Reason might be I was very used to VS 2010 environment, most people may like it. But I wanted to remove it and found the tweak for the same.&lt;br /&gt;
Go to Tools &amp;gt; options &amp;gt; Tabs and Windows

&lt;br /&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;a href="http://3.bp.blogspot.com/-jsFZrHUu_L4/UP9Zh9ASH4I/AAAAAAAAAXo/Je7wx7H0QbI/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="372" src="http://3.bp.blogspot.com/-jsFZrHUu_L4/UP9Zh9ASH4I/AAAAAAAAAXo/Je7wx7H0QbI/s640/2.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2&gt;
Where is design view in ASP.NET
&lt;/h2&gt;
I am an ASP.NET developer from quite long time and I pretty much enjoy writing aspx markup than using design view. But couple of days before I noticed, there is no design view anymore (which was there in visual studio 2005 and 2008, not sure about 2010). I am not interested in design view even now, but curiosity forced me to find the way to get it back. And I find the tweak 
Go to Tools &amp;gt; options &amp;gt; HTML Designer

&lt;br /&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;a href="http://2.bp.blogspot.com/-ohAIoXxv7MQ/UP9ZvugKW7I/AAAAAAAAAX0/ipe9IW-VtN0/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="372" src="http://2.bp.blogspot.com/-ohAIoXxv7MQ/UP9ZvugKW7I/AAAAAAAAAX0/ipe9IW-VtN0/s640/3.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2&gt;
Multiple themes in Visual studio
&lt;/h2&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;a href="http://1.bp.blogspot.com/-RfTE-QlnWSc/UP9Z_yhU9mI/AAAAAAAAAYA/UBf53P_xD68/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="371" src="http://1.bp.blogspot.com/-RfTE-QlnWSc/UP9Z_yhU9mI/AAAAAAAAAYA/UBf53P_xD68/s640/4.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
(Frankly I like the default light theme, dark theme is indeed very dark)&lt;br /&gt;
&lt;h2&gt;

Upper Case Menus
&lt;/h2&gt;
Do anybody notice all Menus in visual studio shown in capital letter.&lt;br /&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;a href="http://4.bp.blogspot.com/-mv0Wy5URaZ0/UP9aP_d_LLI/AAAAAAAAAYM/dmWt7H_B9bU/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="97" src="http://4.bp.blogspot.com/-mv0Wy5URaZ0/UP9aP_d_LLI/AAAAAAAAAYM/dmWt7H_B9bU/s400/5.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
Funny isn’t it, Add following registry key if you don’t like it.&lt;br /&gt;
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General
DWORD: SuppressUppercaseConversion
Value: 1

&lt;br /&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;a href="http://4.bp.blogspot.com/-fEKNoOwJlJs/UP9aYm_s7sI/AAAAAAAAAYY/8P6rjVKDsRk/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="97" src="http://4.bp.blogspot.com/-fEKNoOwJlJs/UP9aYm_s7sI/AAAAAAAAAYY/8P6rjVKDsRk/s400/6.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
Hope all of you enjoyed reading this article. Thank you for the patience.&lt;br /&gt;
For technical training related to various topics including ASP.NET, Design Patterns, WCF and MVC contact SukeshMarla@Gmail.com &lt;br /&gt;
For more stuff like this click here. Subscribe to &lt;a href="https://www.facebook.com/pages/Blogs-By-Sukesh-Marla/168078149903213?bookmark_t=page"&gt;article updates&lt;/a&gt;.&lt;br /&gt;

&lt;/div&gt;
</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/3296893281593404773/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2013/01/visual-studio-2012-tweaks.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/3296893281593404773?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/3296893281593404773?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/7e87ZFcs-Rk/visual-studio-2012-tweaks.html" title="Visual studio 2012 tweaks" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/--udVxk6Kf9A/UP9ZT_M3H8I/AAAAAAAAAXc/Msa7peLZnEg/s72-c/1.png" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2013/01/visual-studio-2012-tweaks.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4NR3o4fSp7ImA9WhNWEEU.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-5710724128695640351</id><published>2012-12-09T10:52:00.000-08:00</published><updated>2012-12-09T11:23:16.435-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-12-09T11:23:16.435-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".net 4.0" /><category scheme="http://www.blogger.com/atom/ns#" term="Naming Conventions" /><category scheme="http://www.blogger.com/atom/ns#" term="Coding Guidelines" /><category scheme="http://www.blogger.com/atom/ns#" term="Camel" /><category scheme="http://www.blogger.com/atom/ns#" term="Pascal" /><category scheme="http://www.blogger.com/atom/ns#" term="Hungarian" /><category scheme="http://www.blogger.com/atom/ns#" term=".net C# 4.0" /><title>Naming Conventions</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
    &lt;h2&gt;Introduction&lt;/h2&gt;
    &lt;p&gt;
        This is one of the series of articles “Coding guidelines and Best practices.”, and today we will cover Naming conventions.
    &lt;/p&gt;
    &lt;h2&gt;Contents&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;&lt;a href="#WhatIsNaming"&gt;What is Naming Convention?&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#WhyNaming"&gt;Why Naming Convention is required?&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#WhichNaming"&gt;What are different types of Naming conventions?&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#HowNaming"&gt;How to decide Conventions?&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#Conclusion"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;

    &lt;h2 id="WhatIsNaming"&gt;What is Naming Convention?&lt;/h2&gt;
    &lt;p&gt;
        Naming convention is something which answers a question “How to name an element.”
        &lt;br /&gt;
        In programming, it can be defined as set of rules which tells how a identifier will be named, like 
    &lt;/p&gt;
    &lt;ul&gt;
        &lt;li&gt;What all characters are permissible?&lt;/li&gt;
        &lt;li&gt;How it should be formatted or organized?&lt;br /&gt;
            And so on...&lt;/li&gt;
    &lt;/ul&gt;
    &lt;p&gt;When it comes to naming, it’s a quite contentious topic.&lt;/p&gt;

    &lt;h2 id="WhyNaming"&gt;Why Naming Convention is required?&lt;/h2&gt;
    &lt;p&gt;
        Try to read the following word.&lt;br /&gt;
        &lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;gradeofamericancustomer.&lt;/b&gt;&lt;br /&gt;
        It’s challenging to read it in a single glance.&lt;br /&gt;
Now try to read this one&lt;br /&gt;
        &lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;GradeOfAmericanCustomer&lt;/b&gt;
    &lt;/p&gt;
    &lt;p&gt;
        &lt;u&gt;The answer is &lt;/u&gt;
    &lt;/p&gt;
    &lt;ul&gt;
        &lt;li&gt;Respectable programming is that where code is healthy written, which can be easily read and apprehend.
            &lt;br /&gt;
            And for &lt;b&gt;&lt;u&gt;readability&lt;/u&gt;&lt;/b&gt; naming convention is must. No one can read my name if I write like “sukeshmarla”, but can if it’s like “Sukesh Marla”.
        &lt;/li&gt;
        &lt;li&gt;When we talk about a project, we have a team. And it will be a very difficult when every programmer in a team use his own way or standard for defining variables. Difficulties in both management and understanding. It becomes even more difficult when a team member resigns and new guys take handover
            &lt;br /&gt;
            So why every company defines centralized Naming Conventions and brings &lt;b&gt;&lt;u&gt;consistency&lt;/u&gt;&lt;/b&gt;.
        &lt;/li&gt;
        &lt;li&gt;Readability and consistency &lt;b&gt;&lt;u&gt;reduced effort&lt;/u&gt;&lt;/b&gt; needed to read and understand the code (especially written by other developers).
        &lt;/li&gt;
        &lt;li&gt;A proper naming convention with modern enhanced Intellisense feature drastically &lt;b&gt;&lt;u&gt;improves the development speed.&lt;/u&gt;&lt;/b&gt;&lt;/li&gt;
    &lt;/ul&gt;


    &lt;h2 id="WhichNaming"&gt;What are different types of Naming conventions?&lt;/h2&gt;
    &lt;p&gt;
        The first golden rule everyone should follow is “Variable name should be meaning full.”
    &lt;/p&gt;
    &lt;p&gt;
        There are lots of common conventions are there for naming Identifiers. Some of them are
    &lt;/p&gt;
    &lt;ul&gt;
        &lt;li&gt;Pascal (aka Upper Camel) - First letter of every single word will be capital.
Example: GradeOfCustomer
        &lt;/li&gt;
        &lt;li&gt;Camel - Begins with lower case and then capitalizes first letter of every ensuing word.
Example: gradeOfCustomer
        &lt;/li&gt;
        &lt;li&gt;Hungarian - Variables are prefixed with some kind of information like Data Types, Modifiers etc.
Example: strCustomerName, intCustomerAge
        &lt;/li&gt;
    &lt;/ul&gt;

    &lt;h2 id="HowNaming"&gt;How to decide Conventions?&lt;/h2&gt;
    &lt;p&gt;
        We already spoke about importance about naming conventions. Choosing convention completely depends how we think, it’s actually a though process thing. Let me share my thought about the same.
    &lt;/p&gt;

    &lt;ul&gt;
        &lt;li&gt;Nowadays all IDE’s (like visual studio) provides a great Intellisense, so using Hungarian notation will not be a good idea. It’s just makes variable more complicated to read.&lt;/li&gt;
        &lt;li&gt;Pascal or Camel - we must choose at least one of them. But which one?  Well it’s up to in which you are comfortable. For instance in Java, Camel case is used extensively where as in .net Microsoft preferred Pascal (upper camel case).&lt;br /&gt;
            I am a d.net developer, so I prefer Pascal casing for class members and Camel for local members 
            (members defined inside a function or function parameters).
        &lt;/li&gt;
        &lt;li&gt;Other than Pascal and Camel some people often use one more notation where name start with underscore followed by camel casing. 
            For example _age, _dateOfBirth.
            &lt;br&gt;
            Normally this notation is used for naming private data members,
            &lt;br&gt;
            &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I personally feel great about this.
            &lt;br&gt;
            &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;It comes to handy when we have a class with say hundreds of data members (combination of private and other). And when it’s comes accessing any private member inside member function, developer just presses ‘_’ and Intellisense will show all private members at top.
            &lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/-8T1f7LHSDBE/UMTWf2K3hvI/AAAAAAAAAWc/4iKXgB6IFPU/s320/_Image.png" width="300" height="300" alt="_Image" /&gt;
        &lt;/li&gt;
    &lt;/ul&gt;

    &lt;h2 id="Conclusion"&gt;Conclusion&lt;/h2&gt;
    &lt;p&gt;
        This article cannot be treated as a final documented Naming convention document. Here I tried to explain the importance of naming convention and how to choose them.
        &lt;br /&gt;
        As I said, choosing a naming convention is completely a thought process. We should remember them by their significance not just by mugging documents. Pascal, Camel, Hungarian each of them have their own significance, when comes to readability of code.
        &lt;br /&gt;
        &lt;br /&gt;
        Hope all of you enjoyed reading this article.
For technical training related to .net, design patterns, jQuery , WCF and more contact 
        &lt;a href="mailto:SukeshMarla@Gmail.com"&gt;SukeshMarla@Gmail.com&lt;/a&gt;
        &lt;br /&gt;
        &lt;br /&gt;

        Keep updated about articles - &lt;a href="https://www.facebook.com/pages/Blogs-By-Sukesh-Marla/168078149903213"&gt;Facebook&lt;/a&gt;, &lt;a href="https://twitter.com/SukeshMarla"&gt;twitter@SukeshMarla&lt;/a&gt;.
    &lt;/p&gt;

&lt;/div&gt;
</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/5710724128695640351/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2012/12/naming-conventions.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/5710724128695640351?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/5710724128695640351?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/fqeonJTN8nk/naming-conventions.html" title="Naming Conventions" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-8T1f7LHSDBE/UMTWf2K3hvI/AAAAAAAAAWc/4iKXgB6IFPU/s72-c/_Image.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2012/12/naming-conventions.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QHRn8_eSp7ImA9WhNWEEk.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-1307113444433111426</id><published>2012-12-09T01:23:00.002-08:00</published><updated>2012-12-09T01:28:57.141-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-12-09T01:28:57.141-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Design Pattern" /><category scheme="http://www.blogger.com/atom/ns#" term=".net 4.0" /><category scheme="http://www.blogger.com/atom/ns#" term="Strategy Design Pattern" /><category scheme="http://www.blogger.com/atom/ns#" term="behavioral" /><title>Strategy Design Pattern</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/OAAR_hmrQY0/0.jpg" height="390px" width="100%"&gt;&lt;param name="movie" value="http://www.youtube.com/v/OAAR_hmrQY0?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;param name="allowFullScreen" value="true" /&gt;&lt;embed width="100%" height="390px"   src="http://www.youtube.com/v/OAAR_hmrQY0?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" type="application/x-shockwave-flash" allowfullscreen="true"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
&lt;br /&gt;
Feedback and suggestions are always welcome.&lt;br /&gt;
Hop to see you next time,&lt;br /&gt;
You can tweet me @SukeshMarla&lt;br /&gt;
&lt;a href="https://www.facebook.com/pages/Blogs-By-Sukesh-Marla/168078149903213?bookmark_t=page"&gt;https://www.facebook.com/pages/Blogs-By-Sukesh-Marla/168078149903213?bookmark_t=page&lt;/a&gt;&lt;/div&gt;
</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/1307113444433111426/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2012/12/strategy-design-pattern.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/1307113444433111426?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/1307113444433111426?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/jkGYgbO-duU/strategy-design-pattern.html" title="Strategy Design Pattern" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2012/12/strategy-design-pattern.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcCSHk8eyp7ImA9WhNWEEo.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-8373271165821601211</id><published>2012-11-21T09:22:00.000-08:00</published><updated>2012-12-09T10:01:09.773-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-12-09T10:01:09.773-08:00</app:edited><title>From No Factory to Factory Method</title><content type="html">&lt;style&gt;
body {  
 color: #111111;
    font-family: Cambria;
    font-size: 16px;
}
* { margin: 0; padding: 0;}
div, p, ul, li, table, tr, td, span, input, img, a { margin: 0; padding: 0;}
a { color: purple; text-decoration: none;}
a:hover { text-decoration: underline;}
.post-title {
    border-bottom: 1px solid #666666;
    color: #1B4398;
    font-family: Cambria !important;
 font-size: 30px;
}
.post-body h2, .post-body .h2-title {
    background-color: white;
    border-bottom: 1px dashed #4E98DF;
    color: #FF9900;
    display: block;
    font-family: Cambria;
    font-size: 24px;
    margin: 0 0 15px;
    padding-bottom: 5px;
}
.post-body p {
 line-height: 20px;
 margin-bottom: 10px;
}
.post-body ul {
  margin: 10px 0px; 
  padding: 0px 0px 0px 40px;
}
.post-body ul li {
 margin-bottom: 8px;
}
&lt;/style&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on" class="post-body"&gt;
&lt;h2&gt;Introduction&lt;/h2&gt;
&lt;p&gt;
When we hear the word Design Pattern, the first question that comes to our mind is, “What are Design Patterns?”&lt;br /&gt;
&lt;strong&gt;Design Patterns&lt;/strong&gt;&amp;nbsp;are reusable and documented solutions for recurring problems in software development.&lt;br /&gt;
Gang of four (GOF) have categorized Design Patterns into 3 categories&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Creational&lt;/li&gt;
&lt;li&gt;Structural&lt;/li&gt;
&lt;li&gt;Behavioral&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
When I started to learn Design Pattern I found Factory method as a very intriguing pattern. It is one of the most controversial and confused Creational Pattern. There is a alot of confusion in People to understanding this pattern .&lt;br /&gt;
First of all let me make all of you clear there is nothing like Factory Pattern (as per GOF design pattern list), GOF has something called Factory Method Pattern. (We will come across with both the terminology later in this stage)&lt;/p&gt;
&lt;p&gt;
In this article for discussion and explanation purpose I am introducing to you, two fictional characters Alexander (a .NET developer) and Thomas (CEO of an IT institute called Programmer24X7).&lt;/p&gt;
&lt;p&gt;
Story begins on the day when Thomas contacts Alexander and asks him to take up role of architect in his in-house project called “Course Management System”. We will see how Alexander progresses his knowledge about Factory Method Pattern day by day and how finally he come up with a great solution.&lt;/p&gt;
&lt;p&gt;
Before you starts reading this article, a small advice from my side, keep some snacks ready besides you, because it’s going to be a weary 6 day story. Basically I am trying to play with your patience.&amp;nbsp;&lt;img align="top" alt="Smile | &amp;lt;img src=" src="http://www.codeproject.com/script/Forums/Images/smiley_smile.gif" style="border: 0px; height: auto; margin: 0px; max-width: 100%; overflow: auto; padding: 0px;" /&gt;&amp;nbsp;don’t worry just kidding. It’s gonna be fun, you will enjoy reading this article and towards the end of this article you can proudly say “I know Factory Method Pattern”.&lt;/p&gt;
&lt;p&gt;
&lt;img height="260" src="http://www.codeproject.com/KB/architecture/492900/Food.jpg" style="border: 0px; height: auto; margin: 0px; max-width: 100%; overflow: auto; padding: 0px;" width="204" /&gt;&lt;/p&gt;
&lt;h2&gt;
So relax and let’s start our journey to learn Factory Method Pattern&lt;/h2&gt;
&lt;p&gt;
&lt;img height="220" src="http://www.codeproject.com/KB/architecture/492900/Running_Boy.jpg" style="border: 0px; height: auto; margin: 0px; max-width: 100%; overflow: auto; padding: 0px;" width="244" /&gt;&lt;/p&gt;
&lt;h2&gt;
Index&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/Articles/492900/From-No-Factory-to-Factory-Method#Day_1"&gt;Day 1 - How Alexander started? - Approach 1 - Without Factory Approach&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/Articles/492900/From-No-Factory-to-Factory-Method#Day_2"&gt;Day 2 - How Alexander Proceed? - Approach 2 - Simple Factory Approach&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/Articles/492900/From-No-Factory-to-Factory-Method#Day_3"&gt;Day 3 - Approach 3 - Multiple Simple Factory Approach&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/Articles/492900/From-No-Factory-to-Factory-Method#Day_4"&gt;Day 4 - Discussion on Multiple Simple Factory Approach&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/Articles/492900/From-No-Factory-to-Factory-Method#Day_4N"&gt;Day 4 - Night – Object Nightmare&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/Articles/492900/From-No-Factory-to-Factory-Method#Day_5"&gt;Day 5 - Approach 4 - Factory Method Approach&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/Articles/492900/From-No-Factory-to-Factory-Method#Day_6"&gt;Day 6 - Final Demo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/Articles/492900/From-No-Factory-to-Factory-Method#Approach"&gt;Additional Approaches and Thoughts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeproject.com/Articles/492900/From-No-Factory-to-Factory-Method#Source"&gt;Source Code Downloads&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span&gt;&lt;span style="font-size: 14px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span&gt;&lt;span style="font-size: 14px;"&gt;&lt;a href="http://www.codeproject.com/Articles/492900/From-No-Factory-to-Factory-Method"&gt;Read More &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/8373271165821601211/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2012/11/from-no-factory-to-factory-method.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/8373271165821601211?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/8373271165821601211?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/G4oPpvCjlGU/from-no-factory-to-factory-method.html" title="From No Factory to Factory Method" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2012/11/from-no-factory-to-factory-method.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YEQXo7eCp7ImA9WhNbFkQ.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-2313325784875951129</id><published>2012-10-20T01:06:00.000-07:00</published><updated>2013-01-20T07:18:20.400-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-20T07:18:20.400-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Design Pattern" /><category scheme="http://www.blogger.com/atom/ns#" term="Real Time" /><category scheme="http://www.blogger.com/atom/ns#" term="OOPS" /><category scheme="http://www.blogger.com/atom/ns#" term="c# 4.0" /><category scheme="http://www.blogger.com/atom/ns#" term="FActory Pattern" /><title>Design Pattern Series</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Design Patterns are widely accepted, recurring or reusable solutions to the problems occurring again and again in software development.&amp;nbsp;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/design-patterns-introduction/"&gt;&lt;span style="color: #0066cc; font-family: Verdana, sans-serif;"&gt;Design Patterns - Introduction&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Categories&lt;br /&gt;
&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;Creational :&amp;nbsp;&lt;ol start="1" style="margin-top: 0in;" type="1"&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/design-patterns-introduction/"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Design Patterns - Introduction&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/learn-design-pattern-singleton-pattern/"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern - Singleton Pattern&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;L&lt;a href="http://www.codeproject.com/Articles/492900/From-No-Factory-to-Factory-Method"&gt;earn Design Pattern - Factory Method Pattern&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/learn-design-pattern-abstract-factory-pattern/"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern - Abstract Factory Pattern&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/learn-design-pattern-builder-pattern"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern - Builder Pattern&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/learn-design-pattern-prototype-pattern/"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern - Prototype Pattern&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;ul&gt;
&lt;/ul&gt;
&lt;li&gt;Structural:&amp;nbsp;&lt;ol start="1" style="margin-top: 0in;" type="1"&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/learn-design-pattern-%E2%80%93-adapter-pattern/"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern - Adapter Pattern&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/learn-design-pattern-composite-pattern/"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern - Composite Pattern&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/learn-design-pattern-decorator-pattern/"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern - Decorator Pattern&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;a href="http://www.c-sharpcorner.com/uploadfile/sukeshmarla/learn-design-pattern-facade-pattern/"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern – Facade Pattern&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/learn-design-pattern-flyweight-pattern/"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern - Flyweight Pattern&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/learn-design-pattern-%E2%80%93-bridge-pattern/"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern - Bridge Pattern&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: windowtext;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/this-article-is-all-about-proxy-pattern-%E2%80%93-last-pattern-from/"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern – Proxy Pattern&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;ul&gt;
&lt;/ul&gt;
&lt;li&gt;Behavioural : &amp;nbsp;&lt;ol start="1" style="margin-top: 0in;" type="1"&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/learn-design-pattern-mediator-pattern/" style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern – Mediator Pattern&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;a href="http://www.sukesh-marla.com/2012/12/strategy-design-pattern.html" style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"&gt;&lt;span style="color: #0066cc; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Learn Design Pattern – Strategy Pattern &lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ol start="1" style="margin-top: 0in;" type="1"&gt;
&lt;/ol&gt;
&lt;ol start="1" style="margin-top: 0in;" type="1"&gt;
&lt;/ol&gt;
&lt;ol start="1" style="margin-top: 0in;" type="1"&gt;
&lt;/ol&gt;
&lt;ol start="1" style="margin-top: 0in;" type="1"&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/2313325784875951129/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2012/10/design-pattern-series.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/2313325784875951129?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/2313325784875951129?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/ucKp7yWBPE4/design-pattern-series.html" title="Design Pattern Series" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2012/10/design-pattern-series.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYBQ3k8eip7ImA9WhJaF00.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-6631104080928814697</id><published>2012-10-06T03:11:00.000-07:00</published><updated>2012-10-08T07:39:12.772-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-08T07:39:12.772-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".net Framework" /><category scheme="http://www.blogger.com/atom/ns#" term="CLS" /><category scheme="http://www.blogger.com/atom/ns#" term="IL" /><category scheme="http://www.blogger.com/atom/ns#" term=".net 4.0" /><category scheme="http://www.blogger.com/atom/ns#" term=".net C# 3.0" /><category scheme="http://www.blogger.com/atom/ns#" term="CTS" /><category scheme="http://www.blogger.com/atom/ns#" term="CLR" /><title>Become a .net Developer - Chapter 1 - .Net Framework</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  width="100%" height="390px" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/dLBai65ekRs/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/dLBai65ekRs?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;param name="allowFullScreen" value="true" /&gt;&lt;embed width="100%" height="390px"  src="http://www.youtube.com/v/dLBai65ekRs?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" type="application/x-shockwave-flash" allowfullscreen="true"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Feedback and suggestions are always welcome.&lt;br /&gt;
Hop to see you next time,&lt;br /&gt;
You can tweet me @SukeshMarla&lt;br /&gt;
&lt;a href="https://www.facebook.com/pages/Blogs-By-Sukesh-Marla/168078149903213?bookmark_t=page"&gt;https://www.facebook.com/pages/Blogs-By-Sukesh-Marla/168078149903213?bookmark_t=page&lt;/a&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/6631104080928814697/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2012/10/become-net-developer-chapter-1-net.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/6631104080928814697?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/6631104080928814697?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/wmZEVNbRG5E/become-net-developer-chapter-1-net.html" title="Become a .net Developer - Chapter 1 - .Net Framework" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>4</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2012/10/become-net-developer-chapter-1-net.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak4HQHsyfSp7ImA9WhJbGUU.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-3457730965499255771</id><published>2012-09-30T00:08:00.000-07:00</published><updated>2012-09-30T00:08:51.595-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-30T00:08:51.595-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".net 4.0" /><category scheme="http://www.blogger.com/atom/ns#" term="Asp.net 3.5" /><category scheme="http://www.blogger.com/atom/ns#" term="Learn .net" /><category scheme="http://www.blogger.com/atom/ns#" term="Asp.net" /><category scheme="http://www.blogger.com/atom/ns#" term=".net C# 3.0" /><title>Become a .net developer</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;b id="internal-source-marker_0.9015086840372533" style="font-weight: normal;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Hi Readers,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Soon I am about to start a new series called &lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;Become a .net developer&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;This series especially targets fresher.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Let me share agenda&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;.Net Basics&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;ul style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;b id="internal-source-marker_0.9015086840372533" style="font-weight: normal;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;How .net compiles the code&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;b id="internal-source-marker_0.9015086840372533" style="font-weight: normal;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;What is .net Framework?(CLR,CTS,JIT,IL Code)&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;b id="internal-source-marker_0.9015086840372533" style="font-weight: normal;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Difference between Value Types and Reference Types?&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;b id="internal-source-marker_0.9015086840372533" style="font-weight: normal;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;What is Boxing and Un Boxing?&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;b id="internal-source-marker_0.9015086840372533" style="font-weight: normal;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;What is Managed and Un Managed Code?&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;b id="internal-source-marker_0.9015086840372533" style="font-weight: normal;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;What is Garbage Collection?&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;b id="internal-source-marker_0.9015086840372533" style="font-weight: normal;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;OOPS&lt;/span&gt;&lt;br /&gt;&lt;ul style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;What is class?&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;What is object?&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Difference between structure and a class?&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Abstraction and Encapsulation.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Aggregation and Composition&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Inheritance&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Polymorphism&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Interfaces&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Abstract Classes&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Partial Classes&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Delegates and Events&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;ASP.NET&lt;/span&gt;&lt;br /&gt;&lt;ul style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Simple ASP.NET hello world.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Demonstrate state less protocol. HTTP state protocol&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;How to make ASP.NEt stateful session&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;View state&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Cache object&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Application object&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Asp.net Page life cycle &lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Response.redirect and server transfer&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Ajax , Ajax with Webservices&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Authentication and Authorization&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Tracing and debugging Instrumentation (5 Tips of Debugging)&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Master pages&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Web.config file settings&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Deployment &lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Validation (Compare,Custom,Range,Regular,Expression,RequiredField) in ASP.NET &lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;CSS and ASP.NET&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;ASP.NET with ADO.NET&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;JQUERY&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;.NET Collections and Other Generic Collections&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Two, Three Tier Architecture&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;LINQ&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Extension Methods&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;SQL&lt;/span&gt;&lt;br /&gt;&lt;ul style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Stored Procedures&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Joins&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Sub Queries&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;SYNONYM&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Cursors&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Co-related Queries&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Triggers&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Normalization Denomalization.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Primary Key , Unique Key ,Foreign Key&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Count , Max and other mathematical functions&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Best Tips for SQL Optimization.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;(Index may change in future)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;I am already started a series of articles on design pattern at&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.c-sharpcorner.com/authors/SukeshMarla/sukesh-marla.aspx"&gt;&lt;span style="color: blue; font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;http://www.c-sharpcorner.com/authors/SukeshMarla/sukesh-marla.aspx&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.c-sharpcorner.com/authors/SukeshMarla/sukesh-marla.aspx"&gt;&lt;span style="color: blue; font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;For C# interview questions and answer series click &lt;/span&gt;&lt;a href="http://www.questpond.com/"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;http://www.questpond.com&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Comments, Suggestions and feedbacks are always welcome&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/3457730965499255771/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2012/09/become-net-developer.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/3457730965499255771?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/3457730965499255771?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/iy2LiSH_dPo/become-net-developer.html" title="Become a .net developer" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2012/09/become-net-developer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYGQ30zeSp7ImA9WhJVEE0.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-2997493437204659793</id><published>2012-08-26T10:28:00.000-07:00</published><updated>2012-08-26T10:28:42.381-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-08-26T10:28:42.381-07:00</app:edited><title>14 steps to create MVP application</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;b id="internal-source-marker_0.9688929410185665" style="font-weight: normal;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;In this article we will see what the basic steps we should follow for creating any MVP application.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;b style="font-weight: normal;"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style="font-size: 15px; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ol style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;b style="font-weight: normal;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Create a project structure with 4 folders&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt;"&gt;
&lt;b style="font-weight: normal;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Model,View,Presenter and ViewInterfaces.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b style="font-weight: normal;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="2" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Create Entities in Model to represent data.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="3" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Create DataAccessLayer for interacting with database.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="4" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Create BusinessAccessLayer.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="5" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Identify the Display, Focus and Binding functionalities to be done in the UI,&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="6" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Create interfaces (View Interface) and put those methods inside it.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="7" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Create Presenter class with a private global variable of type ViewInterface.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="8" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Create a constructor for Presenter class accepting a parameter of type of ViewInterface and inside constructor, assign parameter value to global parameter created in the step 7.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="9" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Identify actions to be performed in the UI like [Binding the Grid], [Save the record if validation passes].&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="10" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Put all those methods inside Presenter (As these methods are action methods, all will be with return type void.)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="11" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Create View and implement View interface and override all the methods.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="12" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Create a global private Presenter object inside a View.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="13" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Create default constructor for view and inside it initialize presenter object created in step 12, passing current Page instance as parameter.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol start="14" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-size: 13px; list-style-type: decimal; margin-left: 24px; vertical-align: baseline;"&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Handle events in the view and pass control to Presenter&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;In 3-Tier application in UI, we handle the events and call the actions (methods in short) defined in the page itself and In MVP in UI, we handle the events and call the actions defined in the presenter.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Hope you enjoyed,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Refer following links to learn more about MVP and 3-Tier architecture.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/3-tier-architecture-using-Asp-Net/"&gt;&lt;span style="color: blue; font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;http://www.c-sharpcorner.com/UploadFile/SukeshMarla/3-tier-architecture-using-Asp-Net/&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/building-Asp-Net-applications-using-mvp-architectu-part-1/"&gt;&lt;span style="color: blue; font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;http://www.c-sharpcorner.com/UploadFile/SukeshMarla/building-Asp-Net-applications-using-mvp-architectu-part-1/&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li style="font-family: Verdana; font-size: 13px; list-style-type: disc; margin-left: 24px; vertical-align: baseline;"&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/building-Asp-Net-applications-using-mvp-architectu-part-2/"&gt;&lt;span style="color: blue; font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;http://www.c-sharpcorner.com/UploadFile/SukeshMarla/building-Asp-Net-applications-using-mvp-architectu-part-2/&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/building-Asp-Net-applications-using-mvp-architectu-part-2/"&gt;&lt;span style="color: blue; font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/building-Asp-Net-applications-using-mvp-architectu-part-2/"&gt;&lt;span style="color: blue; font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Hope to see some good comments.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;
</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/2997493437204659793/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2012/08/14-steps-to-create-mvp-application.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/2997493437204659793?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/2997493437204659793?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/8yze_J3Ly44/14-steps-to-create-mvp-application.html" title="14 steps to create MVP application" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2012/08/14-steps-to-create-mvp-application.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQMR30yeSp7ImA9WhJXEUQ.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-6375440993954062436</id><published>2012-08-05T11:20:00.001-07:00</published><updated>2012-08-05T12:19:46.391-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-08-05T12:19:46.391-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="asp.net life cycle" /><category scheme="http://www.blogger.com/atom/ns#" term="Asp.net 3.5" /><category scheme="http://www.blogger.com/atom/ns#" term="asp.net Processing" /><category scheme="http://www.blogger.com/atom/ns#" term="Asp.net" /><title>Asp.net page Life Cycle</title><content type="html">&lt;style type="text/css"&gt;
  .DivAspnetLifeCycle
  {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 10pt;
  }
  .DivAspnetLifeCycle H2, .DivAspnetLifeCycle H3, .DivAspnetLifeCycle H4, .DivAspnetLifeCycle H5
  {
   color: #004CD5;
   font-weight: lighter;
   text-decoration: underline;
  }
  .DivAspnetLifeCycle H2
  {
   font-size: 13pt;
  }
  .DivAspnetLifeCycle H3
  {
   font-size: 12pt;
  }
  .DivAspnetLifeCycle H4
  {
   font-size: 10pt;
   color: black;
  }
  .DivAspnetLifeCycle PRE
  {
   border: 1px solid black;
   background-color: white;
   font-family: "Courier New" , Courier, mono;
   white-space: pre;
  }
  .DivAspnetLifeCycle CODE
  {
   color: #990000;
   font-family: "Courier New" , Courier, mono;
  }
 .style1
 {
  text-decoration: underline;
 }
 &lt;/style&gt;
&lt;div class="DivAspnetLifeCycle"&gt;
  &lt;p&gt;
   In this article we will explore different events which take place right from the
   time user sends a request ,till he get the final rendered result.
  &lt;/p&gt;
  &lt;h2&gt;
   Introduction&lt;/h2&gt;
  &lt;p&gt;
   Just like normal living being, every asp.net control including Page has a life.
   &lt;br /&gt;
   In our life we go  through various events like Birth, Education, Marriage, Job and
   at the end death. And every event does some important task.&lt;br /&gt;
   Similarly whenever a asp.net Page/Control is requested it goes through a sequence
   of events.
   &lt;br /&gt;
   &lt;br /&gt;
   Before moving further i would like to put light towards some important concepts.
  &lt;/p&gt;
  &lt;h2&gt;
   How the Request is handled by IIS.&lt;/h2&gt;
  We put URL to a aspx page in browser address bar and press enter, what happen..we
  get the response in terms of rendered HTML but how?
  &lt;ol&gt;
   &lt;li&gt;We are requesting something from browser means indirectly we are requesting something
    from Web Server, that means IIS. IIS based on the file extension decides which ISAPI
    extension can serve the request.&lt;br /&gt;
    And in case of asp.net(.aspx) it will be aspnet_isapi_dll so passed to same for
    processing. &lt;/li&gt;
   &lt;li&gt;When the first request comes to the website,
    &lt;ol&gt;
     &lt;li&gt;Application domain gets  created by ApplicationManager class where exactly the website
      runs, and which creates an isolation between 2 web applications. &lt;/li&gt;
     &lt;li&gt;Within the application domain an instance of the HostingEnvironment class is created
      which provide access information about the application such as name of the folder
      where the application is stored. &lt;/li&gt;
    &lt;/ol&gt;
   &lt;/li&gt;
   &lt;li&gt;Next asp.net creates core objects like HttpContext, HttpRequest,HttpResponse.&lt;/li&gt;
   &lt;li&gt;Finally Application Starts by creating an instance of HttpApplication Class (which
    can be reused for multiple requests to maximize performance). &lt;/li&gt;
  &lt;/ol&gt;
  &lt;h2&gt;
   Request processing by HttpApplication
  &lt;/h2&gt;
  &lt;ul&gt;
   &lt;li&gt;While processing request, HttpApplication invokes various events which includes
    Module Events, handlers and Page Events. &lt;/li&gt;
   &lt;li&gt;Sequence is
    &lt;ol&gt;
     &lt;li&gt;Module events - Important events are BeginRequest, AuthenticateRequest, AuthorizeRequest,
      ResolveRequestCache, AcquireRequestState and PreRequestHandlerExecute.
      &lt;br /&gt;
      We can use these events when we want to inject custom Pre-Processing logic, i.e,
      before Page Object is created.
      &lt;br /&gt;
      (you can read more about these events &lt;a href='http://msdn.microsoft.com/en-us/library/9ysfzy8h(v=vs.71)'&gt;
       here&lt;/a&gt; &lt;/li&gt;
     &lt;li&gt;Handler Events - Once the above 6 events are fired, ASP.NET engine will invoke ProcessRequest
      event if you have implemented HttpHandler in your project. (We normally use HttpHandlers
      when we want to put some logic based on the File extension, Like for ImageFiles,
      Aspx files,...) &lt;/li&gt;
     &lt;li&gt;Page Events - After the HttpHandler logic executes Asp.net Page object is created
      during which various events will be fired and important ones are
      &lt;br /&gt;
      PreInit,Init,LoadViewState,LoadPostData ,Load,ControlEvents,PreRender,SaveViewState,Render.&lt;br /&gt;
      We go through every event as we move further. &lt;/li&gt;
     &lt;li&gt;Module events - Important events are PostRequestHandlerExecute, ReleaserequestState,
      UpdateRequestCache and EndRequest.
      &lt;br /&gt;
      We use this when we want to custom Post-Processing logic. &lt;/li&gt;
    &lt;/ol&gt;
   &lt;/li&gt;
   &lt;li&gt;Developer can extend any of the events as per there Convenience and logic. &lt;/li&gt;
  &lt;/ul&gt;
  &lt;h2&gt;
   A small Secret about Master Pages and Life Cycle Events&lt;/h2&gt;
  &lt;ul&gt;
   &lt;li&gt;All though Master Pages seems like parent they are actually child or in short
    we can say they behave like user control for pages.
    &lt;pre&gt;
&amp;lt;%@ Page Title="My Child Page" Language="C#" MasterPageFile="~/MyMaster.master" AutoEventWireup="true" CodeFile="ChildPage.aspx.cs" Inherits=" ChildPage "  %&amp;gt;
&lt;/pre&gt;
   &lt;/li&gt;
   &lt;li&gt;All events except Init and Unload fires from outside to inside manner.&lt;br /&gt;
    Means PageEvent will be fired first and then masterpages then user controls and
    so on. &lt;/li&gt;
   &lt;li&gt;PreInit is a kind of event which exists only for Page. &lt;/li&gt;
   &lt;li&gt;Some events get executed only if it&amp;#39;s a postback(Full/Asynchronous). &lt;/li&gt;
  &lt;/ul&gt;
  &lt;h2&gt;
   Life Cycle Events
  &lt;/h2&gt;
  &lt;ol&gt;
   &lt;li&gt;&lt;span class="style1"&gt;PreInit&lt;/span&gt; - The properties like IsPostBack have been set at this time.
    &lt;br /&gt;
    This event will be used when we want to
    &lt;ol&gt;
     &lt;li&gt;set master page dynamically.&lt;/li&gt;
     &lt;li&gt;set theme dynamically.&lt;/li&gt;
     &lt;li&gt;read or set profile property values.&lt;/li&gt;
     &lt;li&gt;this event is also preferred if want to create any dynamic controls.&lt;/li&gt;
    &lt;/ol&gt;
   &lt;/li&gt;
   &lt;li&gt;&lt;span class="style1"&gt;Init&lt;/span&gt;
    &lt;ol&gt;
     &lt;li&gt;Raised after all the controls have been initialized with their default values and
      any skin settings have been applied. &lt;/li&gt;
     &lt;li&gt;Fired for individual controls first and then for page. &lt;/li&gt;
    &lt;/ol&gt;
   &lt;/li&gt;
   &lt;li&gt;&lt;span class="style1"&gt;LoadViewState
    &lt;/span&gt;
    &lt;ol&gt;
     &lt;li&gt;Fires only if IsPostBack is true. &lt;/li&gt;
     &lt;li&gt;Values stored in HiddenField with id as __ViewState decoded and stored into corresponding
      controls. &lt;/li&gt;
    &lt;/ol&gt;
   &lt;/li&gt;
   &lt;li&gt;&lt;span class="style1"&gt;LoadPostData&lt;/span&gt; - Some controls like
    &lt;ol&gt;
     &lt;li&gt;Fires only if IsPostBack is true. &lt;/li&gt;
     &lt;li&gt;Some controls like Textbox are implemented from IPostBackDataHandler and this fires
      only for such controls.&lt;/li&gt;
     &lt;li&gt;In this event page processes postback data included in the request object pass it
      to the respective controls. &lt;/li&gt;
    &lt;/ol&gt;
   &lt;/li&gt;
   &lt;li&gt;&lt;span class="style1"&gt;PreLoad&lt;/span&gt; - Used only if want to inject logic before actual page load starts.
   &lt;/li&gt;
   &lt;li&gt;&lt;span class="style1"&gt;Load&lt;/span&gt; - Used normally to perform tasks which are common to all requests, such as
    setting up a database query &lt;/li&gt;
   &lt;li&gt;&lt;span class="style1"&gt;Control events&lt;/span&gt;
    &lt;ul&gt;
     &lt;li&gt;This event fired means IsPostBack is true.&lt;/li&gt;
     &lt;li&gt;Use these events to handle specific control events, such as a Button control's Click
      event or a TextBox control's TextChanged event. &lt;/li&gt;
    &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt;&lt;span class="style1"&gt;PreRender&lt;/span&gt; - Raised after the page object has created all the controls that required
    for rendering which includes child controls and composite controls.
    &lt;ol&gt;
     &lt;li&gt;Use the event to make final changes to the contents of the page or its controls
      before the values are stored into viewstate and rendering stage begins.&lt;/li&gt;
     &lt;li&gt;Mainly used when want to inject custom Javascript logic.&lt;/li&gt;
    &lt;/ol&gt;
   &lt;/li&gt;
   &lt;li&gt;&lt;span class="style1"&gt;SaveViewState&lt;/span&gt; - All the control values that support viewstate are encoded and stored
    into the viewstate. &lt;/li&gt;
   &lt;li&gt;&lt;span class="style1"&gt;Render&lt;/span&gt;-Generates output(html) to be rendered  at client side.
    &lt;br /&gt;
    We can add custom html to the output if we want here. &lt;/li&gt;
   &lt;li&gt;&lt;span class="style1"&gt;Unload&lt;/span&gt;
    &lt;ol&gt;
     &lt;li&gt;Fired for individual controls first and then for page.&lt;/li&gt;
     &lt;li&gt;Used to perform cleanup work like closing open files and database connections.
     &lt;/li&gt;
    &lt;/ol&gt;
   &lt;/li&gt;
  &lt;/ol&gt;
  &lt;h2&gt;
   Reference links
  &lt;/h2&gt;
  &lt;a href='http://msdn.microsoft.com/en-us/library/bb470252.aspx'&gt;http://msdn.microsoft.com/en-us/library/bb470252.aspx
  &lt;/a&gt;
  &lt;br /&gt;
  &lt;a href='http://msdn.microsoft.com/en-us/library/ms178472.aspx'&gt;http://msdn.microsoft.com/en-us/library/ms178472.aspx
  &lt;/a&gt;
  &lt;br /&gt;
  &lt;a href='http://msdn.microsoft.com/en-us/library/9ysfzy8h(v=vs.71)'&gt;http://msdn.microsoft.com/en-us/library/9ysfzy8h(v=vs.71)
  &lt;/a&gt;
 &lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/6375440993954062436/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2012/08/aspnet-page-life-cycle.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/6375440993954062436?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/6375440993954062436?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/pavg2q7rshI/aspnet-page-life-cycle.html" title="Asp.net page Life Cycle" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2012/08/aspnet-page-life-cycle.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMERX8-cCp7ImA9WhRVFkg.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-5890687873917234992</id><published>2012-01-15T09:37:00.000-08:00</published><updated>2012-01-15T10:00:04.158-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-15T10:00:04.158-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Initializing Object" /><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="Object Initializers in C#" /><category scheme="http://www.blogger.com/atom/ns#" term=".net C# 3.0" /><title>Object Initializers in C#</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
Hi all, finally i am back after long time.&lt;br /&gt;
&lt;br /&gt;
Today we are going talk about &lt;span style="color: #0b5394;"&gt;Object Initializers&lt;/span&gt; ,&lt;br /&gt;
&lt;br /&gt;
Now what exactly Object Initializer is ,&lt;br /&gt;
It's a&lt;span style="color: #0b5394;"&gt; C# 3.0&lt;/span&gt; feature,&lt;br /&gt;
using which we can create object of a class and assign values to any accessible fields or properties of it &amp;nbsp;at the same time, its not required explicitly invoke a constructor.&lt;br /&gt;
&lt;br /&gt;
Lots of times, we create object of a class and start immediately setting values to its properties,&lt;br /&gt;
&lt;br /&gt;
Lets take an example.&lt;br /&gt;
&lt;pre class="brush:csharp"&gt;public class Car
{
 public string Name{get;set;}
 public Color Color{get;set;}
}
&lt;/pre&gt;
In C# 2.0 we write following code to create instance of Car and for setting it's properties.&lt;br /&gt;
&lt;pre class="brush:csharp"&gt;Car myCar=new  Car ();
myCar.Name ="Chevrolet Corvette";
myCar.Color =Color.Red;
//OR Even with lots of controls it happens
TextBoxt t=new TextBox();
t.Id="txtCustomerName";
t.CssClass="textbox";
&lt;/pre&gt;
C# 3.0 make it easy with the help of Object Initializers&lt;br /&gt;
&lt;pre class="brush:csharp"&gt;Car myCar=new Car(){Name="Chevrolet Corvette",Color=Color.Red};&lt;/pre&gt;
Its simple,compact and easy to use, normally if u have worked with JSON you could have seen such syntax,&lt;br /&gt;
&lt;br /&gt;
Basically this kind of feature saves some typing and code will become more&amp;nbsp;concise.&lt;br /&gt;
&lt;br /&gt;
Hope you enjoyed, Stay tuned for more, till then Enjoy Programming.&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/5890687873917234992/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2012/01/object-initializers-in-c.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/5890687873917234992?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/5890687873917234992?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/5xrf5XOolcA/object-initializers-in-c.html" title="Object Initializers in C#" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>4</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2012/01/object-initializers-in-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQMQ3c6eip7ImA9WhRVFkg.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-1814161793405461635</id><published>2011-12-29T10:36:00.000-08:00</published><updated>2012-01-15T09:59:42.912-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-15T09:59:42.912-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Page Methods" /><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="Asp.net" /><category scheme="http://www.blogger.com/atom/ns#" term="Code snippets" /><category scheme="http://www.blogger.com/atom/ns#" term="Asynchrnous programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Page Methods in asp.net" /><title>Page Methods in asp.net</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;br /&gt;
Now a days, People are looking for richer user experience, In short what they need is more speed or we can say in simple terms, Now a days people dont like waiting.&lt;br /&gt;
&lt;br /&gt;
Ajax is the one by which we can create such&amp;nbsp;applications&lt;br /&gt;
In asp.net several methods are there for calling Server Side function from&amp;nbsp;JavaScript&amp;nbsp;and Page methods introduced in 2.0 is one of them.&lt;br /&gt;
&lt;br /&gt;
Requirements for creating Page Methods&lt;br /&gt;
1.It has to be static&lt;br /&gt;
2.It must have attached attribute WebMethod.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Example.&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
Lets Create a small Web application say "CallServerFunction" which contain a web page say "MyDateTimeClass"&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;CodeBehind&lt;/u&gt;
&lt;br /&gt;
&lt;pre class="brush:csharp"&gt;using System;
using System.Web.Services;
namespace MarlaLibraries.PageMethods
{
 public partial class PageMethodTest : System.Web.UI.Page
 {
  [WebMethod]
  public static string GetUniqueId()
  {
   return Guid.NewId.ToString();
  }
 }
}
&lt;/pre&gt;
&lt;u&gt;Aspx&lt;/u&gt;
&lt;br /&gt;
&lt;pre class="brush:html"&gt;&amp;lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PageMethodTest .aspx.cs" Inherits="MarlaLibraries.PageMethods.Test" %&amp;gt;

  . 
  .
  . 
  .
  &lt;form id="form1" runat="server"&gt;
&lt;div&gt;
&lt;asp:scriptmanager enablepagemethods="true" enablepartialrendering="true" runat="server"&gt;
       &lt;/asp:scriptmanager&gt;
 
       &lt;asp:button id="btnGetUniqeId" onclientclick="return javascript:GetUniqueIdFromServer();" runat="server" text="Get UniqueId from server"&gt;
   &lt;/asp:button&gt;&lt;/div&gt;
&lt;/form&gt;
.  
  .
  .
&lt;/pre&gt;
&lt;u&gt;Javascript&lt;/u&gt;
&lt;br /&gt;
&lt;pre class="brush:javascript"&gt; &lt;script type="text/javascript"&gt;
   function GetUniqueIdFromServer() {
       PageMethods.GetUniqueId(OnSuccess, OnError);
       return false;
   }
   function OnSuccess(response) {
       alert(response);
   }
   function OnError(error) {
       alert(error);
   }
&lt;/script&gt;
&lt;/pre&gt;
That’s it as you see it’s very easy.Hope you like it. Stay tuned for more.Till then Enjoy Programming..
&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/1814161793405461635/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/12/page-methods-in-aspnet.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/1814161793405461635?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/1814161793405461635?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/-rGv4PRcr0s/page-methods-in-aspnet.html" title="Page Methods in asp.net" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/12/page-methods-in-aspnet.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4CRH06fip7ImA9WhRTGUk.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-6868942162701507910</id><published>2011-11-10T02:43:00.000-08:00</published><updated>2011-11-10T09:42:45.316-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-10T09:42:45.316-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Random Row" /><category scheme="http://www.blogger.com/atom/ns#" term="Praceice Sql" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Retrieving row randomly</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
ABC organization decides, they will randomly choose one of there customer each day and send some special gift&amp;nbsp;to there  address.&lt;br /&gt;
Considering there is a table TblCustomer which contain columns CusomerId,CustomerName,Address.&lt;br /&gt;
what will &amp;nbsp;be the query to&amp;nbsp;retrieve &amp;nbsp;customer randomly from a list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/6868942162701507910/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/11/retrieving-row-randomly.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/6868942162701507910?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/6868942162701507910?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/7H25NC1VQbA/retrieving-row-randomly.html" title="Retrieving row randomly" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/11/retrieving-row-randomly.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8CRng_cSp7ImA9WhdaGEo.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-3821531297330398458</id><published>2011-10-29T01:53:00.000-07:00</published><updated>2011-10-29T02:01:07.649-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-29T02:01:07.649-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Android installation" /><category scheme="http://www.blogger.com/atom/ns#" term="Installation and Maintenence" /><category scheme="http://www.blogger.com/atom/ns#" term="General Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><title>Getting started with android development - installation in windows platform</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hi,&lt;br /&gt;
For getting started with android development,&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;First you need is &lt;a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html"&gt;JDK&lt;/a&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Next is &lt;a href="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR1/eclipse-java-indigo-SR1-win32-x86_64.zip&amp;amp;url=http://eclipse.stu.edu.tw/technology/epp/downloads/release/indigo/SR1/eclipse-java-indigo-SR1-win32-x86_64.zip&amp;amp;mirror_id=75" style="text-align: -webkit-auto;"&gt;Eclipse&lt;/a&gt;&lt;span class="Apple-style-span" style="text-align: -webkit-auto;"&gt;.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;To Make programming and debugging easy, android provides and Eclipse plugin called ADT or Android development tools.&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;u&gt;Install ADT&amp;nbsp;&lt;/u&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Start Eclipse, then select Help &amp;gt; Install New Software....&lt;/li&gt;
&lt;li&gt;Click Add, in the top-right corner.&lt;/li&gt;
&lt;li&gt;In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location: &amp;nbsp;&lt;br /&gt;&lt;u&gt;https://dl-ssl.google.com/android/eclipse/&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;Click OK&lt;/li&gt;
&lt;li&gt;In the Available Software dialog, select the checkbox next to Developer Tools and click Next.&lt;/li&gt;
&lt;li&gt;In the next window, you'll see a list of the tools to be downloaded. Click Next.&lt;/li&gt;
&lt;li&gt;Read and accept the license agreements, then click Finish.&lt;/li&gt;
&lt;li&gt;When the installation completes, restart Eclipse.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;u&gt;Configure ADT&lt;/u&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Download &lt;a href="http://code.google.com/android/download.html"&gt;Android SDK &lt;/a&gt; and extract it.&lt;/li&gt;
&lt;li&gt;Start Eclipse.&lt;/li&gt;
&lt;li&gt;Select Window &amp;gt; Preferences&lt;/li&gt;
&lt;li&gt;Select Android from the left panel.&lt;/li&gt;
&lt;li&gt;For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.&lt;/li&gt;
&lt;li&gt;Click Apply, then OK.&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Add Platforms and other components&lt;/u&gt;&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;select Window &amp;gt; Android SDK and AVD Manager&lt;br /&gt;OR &lt;br /&gt;Double-click the SDK Manager.exe file at the root of the Android SDK directory.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-I3sqemUFPd4/Tqu8rfPizrI/AAAAAAAAARk/ld2-8z9pHRA/s1600/Android+SDK+manager.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-I3sqemUFPd4/Tqu8rfPizrI/AAAAAAAAARk/ld2-8z9pHRA/s1600/Android+SDK+manager.png" style="margin: 0 0 0 -155px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;ul&gt;&lt;ul&gt;
&lt;li&gt;Select the components you required and say Install.&lt;br /&gt;( SDK Tool, SDK Platform tools and SDK&amp;nbsp;Platform are the basic ones.)&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div style="text-align: left;"&gt;
Here we done with it, now you can start with the development,&lt;br /&gt;
Hope you enjoyed, Click on &lt;u&gt;+1&lt;/u&gt; and don't forget to put some comments.&lt;/div&gt;
&lt;ul style="text-align: left;"&gt;
&lt;/ul&gt;
&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/3821531297330398458/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/10/getting-started-with-android.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/3821531297330398458?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/3821531297330398458?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/lV1-GWSm2RQ/getting-started-with-android.html" title="Getting started with android development - installation in windows platform" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-I3sqemUFPd4/Tqu8rfPizrI/AAAAAAAAARk/ld2-8z9pHRA/s72-c/Android+SDK+manager.png" height="72" width="72" /><thr:total>3</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/10/getting-started-with-android.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04GQngzcSp7ImA9WhdaFUs.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-7010519349410508846</id><published>2011-10-26T12:49:00.000-07:00</published><updated>2011-10-25T12:12:03.689-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-25T12:12:03.689-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Dotnet" /><category scheme="http://www.blogger.com/atom/ns#" term="Value Types" /><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="Nullable Types" /><title>Nullable value types</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Some times, we came to a situation where we need to put null value into a Integer variable, or into any other value types( We can take an example of database operations, it may possible that even Bool(bit) column in table contains null value.)&lt;br /&gt;
&lt;br /&gt;
In such situation Nullable types comes into picture.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;What exactly Nullable types are:&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;Its an instance of System.Nullable struct&lt;/li&gt;
&lt;li&gt;It just represents a value type which even can be assigned to a null value.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;t&gt;&lt;u&gt;Example:&lt;/u&gt;&lt;/t&gt;&lt;br /&gt;
&lt;pre class="brush:csharp"&gt;public class NullableTypesTest
{
    static void Main()
    {
        Nullable&amp;lt;int&amp;gt; IntPriNumber=null;
        if (IntPriNumber.HasValue == true)
        {
            System.Console.WriteLine("Varibale has value and its "+IntPriNumber.Value);
        }
        else
        {
            System.Console.WriteLine("Varibale dont have a value");
        }
}&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Some points about Nullable types:&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;We cannot create Nullable types based on reference types.&lt;/li&gt;
&lt;li&gt;Nullable types have some important&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;properties like&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;HasValue - returns true/false indicating variable contains value or not.&lt;/li&gt;
&lt;li&gt;Value - return the value it contains.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;methods like&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;GetValueOrDefault() - return default value in case of variable contains null value, &lt;br /&gt;Example&lt;br /&gt;&lt;pre class="brush:csharp"&gt; 

     Nullable&amp;lt;int&amp;gt; x=55;
     
     //Print 55
     System.Console.WriteLine(x.GetValueOrDefault());
     
     Nullable&amp;lt;int&amp;gt; y=null;
     
     //Print 0
     System.Console.WriteLine(y.GetValueOrDefault());
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;li&gt;Alternative way of defining nullable types is&lt;br /&gt;T? variable=some value&lt;br /&gt;where T is a value type.&lt;br /&gt;Example &lt;br /&gt;int? temp=55&lt;/li&gt;

&lt;/ul&gt;
&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/7010519349410508846/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/04/nullable-value-types.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/7010519349410508846?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/7010519349410508846?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/puioKa2FazU/nullable-value-types.html" title="Nullable value types" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/04/nullable-value-types.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0MCQ345eyp7ImA9WhJWE0Q.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-3551920546745257986</id><published>2011-10-02T04:17:00.000-07:00</published><updated>2012-08-19T11:04:22.023-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-08-19T11:04:22.023-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Validation Controls" /><category scheme="http://www.blogger.com/atom/ns#" term="Client Side vs Server side validation" /><category scheme="http://www.blogger.com/atom/ns#" term="Asp.net" /><title>Validation Controls</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Validation is the key feture in any application dvelopement.
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;And when it comes to asp.net validation, there are 2 types of validations&lt;/span&gt;&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp; &lt;u&gt;Client Side&lt;/u&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;In this type of validation, validation is been performed in client side with the help of some client side scripts like Javascript.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;The Bad thing about the Client side validation is you were never quite sure if the requesting browser would understand the scripting code(usually in java script or vb script) that you used for the validation. So, it was usually better, especially for critical Web applications, to bring the validation to the server.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Server Side&lt;/span&gt;&lt;/u&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;

Here server side scripts are been used.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;The bad thing about server-side validation is that it requires trips back and forth to the server. This takes a lot of resources and makes for a slower-paced form for the user.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;hr /&gt;
&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Asp.net Validation Server Controls&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;These are the controls provided by Microsoft which provides both client and server side validation and thus used for validating user input.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;If we are using such controls for validation, then its not we who decide whether to perform client side or server side validation, its Asp.net engine(depending on the browser which made the request),which indicates your page's functionality varies depending on the requesting browser.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp;Here is a list of the validation controls&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;u&gt;RequiredFieldValidator&amp;nbsp;&lt;/u&gt;&lt;br /&gt;The RequiredFieldValidator control is used to ensures that a input field is not skipped in the entry. The control fails validation if the value it contains does not change from its initial value when validation is performed. If all the fields in the page are valid, the page is valid.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;u&gt;RegularExpressionValidator&lt;/u&gt;&lt;br /&gt;The RegularExpressionValidator control confirms that the entry matches a pattern(let say&amp;nbsp;\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* which is for email address) defined by a regular expression.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;u&gt;RangeValidator&lt;/u&gt;&lt;br /&gt;The RangeValidator control tests whether an input value falls within a given range.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;u&gt;CompareValidator&lt;/u&gt;&lt;br /&gt;The CompareValidator control compares the value of one control to another, or to an explicit value in the control's ValueToCompare property,Even we can use this for Datatype Validation(like we have to enusre that user can eneter only integer values).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;u&gt;CustomValidator&lt;/u&gt;&lt;br /&gt;The customvalidator control allows writing custom validation for a control. So, if the others validators are not useful for a specific validation, it is possible to write server side validation function or a client side validation function.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;u&gt;ValidationSummary&lt;/u&gt;&lt;br /&gt;A ValidationSummary control is displayed when Page validation fails. It "polls" each of the validation controls on the page and aggregates the text messages exposed by each.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;Reference links&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href="http://www.c-sharpcorner.com/UploadFile/SukeshMarla/Asp-Net-validation-control/"&gt;http://www.c-sharpcorner.com/UploadFile/SukeshMarla/Asp-Net-validation-control&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Hope it helped,will post in detail,how to use this controls in future posts.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Thanks,Happy programming, awaiting for comments&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/3551920546745257986/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/10/validation-controls.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/3551920546745257986?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/3551920546745257986?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/VRHpBmMXNIE/validation-controls.html" title="Validation Controls" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/10/validation-controls.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMGRH4_fip7ImA9WhdUFEQ.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-8116836522127255068</id><published>2011-10-01T04:24:00.000-07:00</published><updated>2011-10-01T11:07:05.046-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-01T11:07:05.046-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Practice Interview" /><category scheme="http://www.blogger.com/atom/ns#" term="Between operator in Sql" /><category scheme="http://www.blogger.com/atom/ns#" term="Praceice Sql" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="Sql Praceice 4" /><title>Between operator in Sql</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;Scenario: Consider you have a Table Say Student with Column say Age.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;Student--&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;Age&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;-----&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;1&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;2&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;3&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;3&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;4&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;5&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;6&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;5&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;Question: What will be the result of the following query? With reason&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;(Use of query analyzer is not permitted,just think and answer)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="brush:sql"&gt;Declare @Number1 int=4
Declare @Number2 int=2
SELECT * FROM Student
      WHERE Age BETWEEN  @Number1 and @Number2&lt;/pre&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #660000; font-family: Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/8116836522127255068/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/10/between-operator-in-sql.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/8116836522127255068?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/8116836522127255068?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/nr9h2V-E3L4/between-operator-in-sql.html" title="Between operator in Sql" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>4</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/10/between-operator-in-sql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IDRXY_eip7ImA9WhdQEE0.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-5640344200166023290</id><published>2011-08-10T11:39:00.001-07:00</published><updated>2011-08-10T11:39:34.842-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-10T11:39:34.842-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Practice Interview" /><category scheme="http://www.blogger.com/atom/ns#" term="Sql Praceice 3" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Eliminate Duplicate Records</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;Hi guys,&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;This time our task is to remove or eliminate duplicate entries from a sql Table.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;Consider we have a Table Say Employee which contain some duplicate entries,and we have to eliminate the duplicate ones.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;So lets start thinking..&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/5640344200166023290/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/08/eliminate-duplicate-records.html#comment-form" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/5640344200166023290?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/5640344200166023290?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/1ABZkT1GmL4/eliminate-duplicate-records.html" title="Eliminate Duplicate Records" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>5</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/08/eliminate-duplicate-records.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcMQHw5fip7ImA9WhdQEE0.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-1346366379618186316</id><published>2011-08-09T08:27:00.000-07:00</published><updated>2011-08-10T11:14:41.226-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-10T11:14:41.226-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Practice Interview" /><category scheme="http://www.blogger.com/atom/ns#" term="Sql Praceice 2" /><category scheme="http://www.blogger.com/atom/ns#" term="Code snippets" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Get Max Value Without using Max And Order by</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;Hello Guys, I was busy with some stuffs from last few days,actually was looking for a job change.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;but now i am back.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;In one of my interview with some good reputed company,interviewer asked me a very interesting question,&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; He wanted me to write a query to get&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;maximum amount without using order By and max keyword from a table T1 w&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;hich contain 2 Columns Say Id and amount&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; As soon as he Kept this question,i bethink,some time before i encountered a situation where i have to find the maximum number in array using .net,&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;And i thought same approach can be applied even here..&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;i.e,&lt;/span&gt;&lt;br /&gt;
&lt;pre class="brush:sql"&gt;Declare @MaxValue int
Select @MaxValue=(case when @MaxValue&amp;gt;Amount then @MaxValue else Amount end) From T1
Select @Maxvalue
&lt;/pre&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;Interviewer impressed by this, but he still wanted the output, i.e, the max value using a single query.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;After pondering for sometime,I got a respond from interviewer that "I already found,what is looking on u,so leave it,will move forward,I know u will do it."&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;When i came out of intreview panel,i again statred to think the solution for that,and ultimatly i found that even.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;on the next day i asked my friends the same question,and one of my friend accidently found one more query&lt;/span&gt;&lt;br /&gt;
&lt;pre class="brush:sql"&gt;Declare @MaxValue int
Select @MaxValue=Amount From T1 Group by Amount
Select @MaxValue
&lt;/pre&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;I was ok with the query,because the desired result was there...and then i put the same condition whcih was put&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;by &amp;nbsp;interviewer in my case,i.e i need the result in single query..&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;and the query was ultimatly..&lt;/span&gt;&lt;br /&gt;
&lt;pre class="brush:sql"&gt;
SELECT 
T11.Id,
T11.Amount as MaxAmount
FROM T1 AS T11 left outER JOIN
T1 AS T12 ON T11.Amount &lt; T12.Amount 
GROUP BY T11.Amount, T11.Id
having COUNT(T12.Amount)=0
&lt;/pre&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;(Try to put more solutions if you have any..&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;also if in case any body have any such or related to any&amp;nbsp;technology&amp;nbsp;any scenario, put it them along with your solution as a comment.I will help you to share with the world)&lt;/span&gt;&lt;/div&gt;
</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/1346366379618186316/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/06/get-max-value-without-using-max-and.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/1346366379618186316?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/1346366379618186316?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/rqPwHb2m3PM/get-max-value-without-using-max-and.html" title="Get Max Value Without using Max And Order by" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>3</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/06/get-max-value-without-using-max-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04FRnk-eip7ImA9WhdRGU0.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-2778188711936591289</id><published>2011-08-08T09:40:00.000-07:00</published><updated>2011-08-09T09:05:17.752-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-09T09:05:17.752-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Practice Interview" /><category scheme="http://www.blogger.com/atom/ns#" term="Sql Interview Questions Part 1" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Sql Practice - 1</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
Hi all,&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
One of my friend have been asked in of the interview following question,&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
Consider you have at table Say TblEmployee with a column say EmployeeName&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
which contain Records as A,B,A,A,B,C,B,C,A&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
your task is to write a query which will change the&amp;nbsp;EmployeeName A to B and B to A.&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
Means after the query been executed Records will be as B,A,B,B,A,C,A,C,B&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
.&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
.&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
.&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
.&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
.&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
Think what will be the query..and try to post some answers..after two day i will post the answer&lt;/div&gt;
&lt;/div&gt;
</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/2778188711936591289/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/08/sql-practice-1.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/2778188711936591289?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/2778188711936591289?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/OJi1R9EjC7k/sql-practice-1.html" title="Sql Practice - 1" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>4</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/08/sql-practice-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EHRns6eSp7ImA9WhZaGUo.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-881714483316119121</id><published>2011-07-06T10:00:00.000-07:00</published><updated>2011-07-06T10:00:37.511-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-06T10:00:37.511-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Visual studio 2008" /><category scheme="http://www.blogger.com/atom/ns#" term="Dotnet" /><category scheme="http://www.blogger.com/atom/ns#" term="Reflection" /><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="Code snippets" /><category scheme="http://www.blogger.com/atom/ns#" term="Attributes" /><title>Custom attributes and reflection</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;In this post, will see &lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;1.Create custom Attributes in c#&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;2.Attach them to types,&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;3.Retrieving them at run time&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;Before starting,What are &lt;u&gt;attributes&lt;/u&gt;?&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;An Attribute is a declarative tag which can be used to provide information to the compiler about the behaviour of the C# elements such as classes and assemblies.
&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;
1.&lt;br /&gt;
&lt;pre class="brush:csharp"&gt;public CustomValue:Attribute
{
   public string Value{get;set;}
   public CustomValue(string Value)
   {
     this.Value=Value;
   }
}
&lt;/pre&gt;
2.&lt;br /&gt;
&lt;pre class="brush:csharp"&gt;[CustomValue("Welcome To Programming world")]
public Class MyClass
{
   Public string MyProperty{get;set;}
}
&lt;/pre&gt;
3.&lt;br /&gt;
&lt;pre class="brush:csharp"&gt;//Say myObject is an instance of MyClass
Type ObjPriType=myObject.GetType();
CustomValueAttribute[] CustomAttributes=ObjPriType.GetCustomAttributes(
                typeof(CustomValueAttribute), false) as CustomValueAttribute[];
//CustomAttributes[0].Value is your Value

//In case if attribute is attached to a field in Type Code will be
Type ObjPriType=myObject.GetType();
FieldInfo ObjPriInfo=ObjPriType.GetField("MyProperty");
CustomValueAttribute[] attribs = fieldInfo.GetCustomAttributes(
                typeof(CustomValueAttribute), false) as CustomValueAttribute[];
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/881714483316119121/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/07/custom-attributes-and-reflection.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/881714483316119121?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/881714483316119121?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/-pMw2m_CMNI/custom-attributes-and-reflection.html" title="Custom attributes and reflection" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/07/custom-attributes-and-reflection.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cGRXwzfip7ImA9WhZUFEw.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-5279524347527554144</id><published>2011-06-06T19:50:00.000-07:00</published><updated>2011-06-06T19:50:24.286-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-06T19:50:24.286-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Sql Variables" /><category scheme="http://www.blogger.com/atom/ns#" term="Dynamic Top" /><category scheme="http://www.blogger.com/atom/ns#" term="Top With Variable" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Dynamic Top Clause in sql</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;All of us know about the TOP clause in sql, it returns the top 'n' records from a result set.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;But you ever thought about dynamic&amp;nbsp;TOP&amp;nbsp;.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;What i mean is,we want to fetch Top 'n' records from a result set where n will be provided as &amp;nbsp;a stored procedure parameter or some other manner.&lt;/span&gt;&lt;br /&gt;
&lt;u&gt;&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;Query:-&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;
&lt;pre class="brush:sql"&gt;Select top @NumberOfRecords From TblFriends
--@NumberOfRecords  is a sql variable
&lt;/pre&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;This query will throw an error ' Incorrect syntax near top'.&lt;/span&gt;&lt;br /&gt;
&lt;u&gt;&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;Solution:-&lt;/span&gt;&lt;/u&gt;
&lt;br /&gt;
&lt;pre class="brush:sql"&gt;Select top (@NumberOfRecords) From TblFriends
--here, we can set @NumberOfRecords to any integer value,even to some aggregate function
--like, select @NumberOfRecords=min(age) from TblEmployee
&lt;/pre&gt;
&lt;br /&gt;
Hope you enjoyed it, will back with some more interesting stuffs.&lt;br /&gt;
(please put comments if you like it.)&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/5279524347527554144/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/06/dynamic-top-clause-in-sql.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/5279524347527554144?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/5279524347527554144?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/K8LIWyE8XjQ/dynamic-top-clause-in-sql.html" title="Dynamic Top Clause in sql" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/06/dynamic-top-clause-in-sql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQGQnw5eCp7ImA9WhZUEE4.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-2645178639098512639</id><published>2011-06-02T09:47:00.000-07:00</published><updated>2011-06-02T09:48:43.220-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-02T09:48:43.220-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Notice" /><title>Sukesh Marla: Interview Questions</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Click&amp;nbsp;&lt;a href="http://sukeshmarla.blogspot.com/p/learn-programming-with-fun.html?spref=bl"&gt;Interview Questions&lt;/a&gt;&amp;nbsp;to view all.&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/2645178639098512639/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/06/sukesh-marla-interview-questions.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/2645178639098512639?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/2645178639098512639?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/K_CxNu_r65k/sukesh-marla-interview-questions.html" title="Sukesh Marla: Interview Questions" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/06/sukesh-marla-interview-questions.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQDQHc4eSp7ImA9WhZVGEw.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-3726515884152258168</id><published>2011-05-30T20:54:00.000-07:00</published><updated>2011-05-30T20:59:31.931-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-30T20:59:31.931-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Top Records From Each Group" /><category scheme="http://www.blogger.com/atom/ns#" term="Group By" /><category scheme="http://www.blogger.com/atom/ns#" term="Sql Row_number()" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Get Top N Rows For Each Group</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;Consider a table which store the Total Marks of each student in each standard
&lt;/span&gt;&lt;br /&gt;
&lt;pre class="brush:sql"&gt;Create Table TblMarksheet
(
  StudentId varchar(40),
  Standard varchar(max),
  TotalMarks int
)
&lt;/pre&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;
Insert Some Values into it
&lt;/span&gt;&lt;br /&gt;
&lt;pre class="brush:sql"&gt;Insert into TblMarksheet
Select 1,1,10 union all
Select 2,1,50 union all
Select 3,1,5 union all
Select 4,1,30 union all
Select 5,2,0 union all
Select 6,2,9 union all
Select 7,2,8 union all
Select 8,2,10 union all
Select 9,3,1 union all
Select 10,3,3 union all
Select 11,3,6 union all
Select 12,3,2 union all
Select 13,4,10 union all
Select 15,4,9 union all
Select 15,4,8 union all
&lt;/pre&gt;
&lt;hr /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;
Now what we want is we want to find the Top 3 Students from Each Standard.&lt;br /&gt;
&lt;u&gt;Query:-&lt;/u&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;pre class="brush:sql"&gt;With MyTempView
(
  StudentId varchar(40),
  Standard varchar(max),
  TotalMarks int,
  RowIndex int
)
as
(
  Select *,row_number () over (partition by Standard order by TotalMarks desc)
)

Select StudentId,Standard,TotalMarks From MyTEmpView where RowIndex&amp;lt;=3
&lt;/pre&gt;
&lt;/div&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=SukeshMarla&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=0735626014&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;&lt;/td&gt;&lt;td&gt;&lt;iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=SukeshMarla&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=0735626049&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;&lt;/td&gt;&lt;td&gt;&lt;iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=SukeshMarla&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=0735626057&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/3726515884152258168/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/05/get-top-n-rows-for-each-group.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/3726515884152258168?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/3726515884152258168?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/MHZrJ1MU0Wo/get-top-n-rows-for-each-group.html" title="Get Top N Rows For Each Group" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/05/get-top-n-rows-for-each-group.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0ANSXc5fSp7ImA9WhZVFEs.&quot;"><id>tag:blogger.com,1999:blog-7767918376204344706.post-232140875943281732</id><published>2011-05-24T10:21:00.000-07:00</published><updated>2011-05-26T20:09:58.925-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-26T20:09:58.925-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Identity Column" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Insert value into Identity Column</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;Create Table
&lt;/span&gt;
&lt;pre class="brush:sql"&gt;CREATE TABLE [dbo].[TblMyFriends]
(
            [FriendId] [int] IDENTITY(1,1) NOT NULL,
            [FriendName] [varchar](50) NOT NULL
)
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;
Insert Values&lt;/span&gt;
&lt;pre class="brush:sql"&gt;Insert into [TblMyFriends](FriendName) values('Dipal')
Insert into [TblMyFriends](FriendName) values('Sai')
Insert into [TblMyFriends](FriendName) values('Harshad')
Insert into [TblMyFriends](FriendName) values('Pankaj')&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;
Insert Values with Explicity Identity Value&lt;/span&gt;
&lt;pre class="brush:sql"&gt;Insert into [TblMyFriends](FriendId,FriendName) values(44,'New Friend')
--Throw Error
--   Cannot insert explicit value for identity column in table 'Employee' when IDENTITY_INSERT --is set to OFF.

SET IDENTITY_INSERT [TblMyFriends] ON
INSERT INTO dbo.[TblMyFriends](FriendId,FriendName) VALUES(44, 'New Friend')
SET IDENTITY_INSERT dbo.[TblMyFriends] OFF
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #990000; font-family: Verdana, sans-serif;"&gt;
Hope This will help you,Expecting Comments....&lt;/span&gt;
&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.sukesh-marla.com/feeds/232140875943281732/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.sukesh-marla.com/2011/05/insert-value-into-identity-column.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/232140875943281732?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7767918376204344706/posts/default/232140875943281732?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SukeshMarla/~3/83h2PutCJV8/insert-value-into-identity-column.html" title="Insert value into Identity Column" /><author><name>Sukesh Marla</name><uri>https://plus.google.com/105387678008279527366</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-ZfgzAhuyOUY/AAAAAAAAAAI/AAAAAAAAAAA/zflPkgbX_ks/s512-c/photo.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://www.sukesh-marla.com/2011/05/insert-value-into-identity-column.html</feedburner:origLink></entry></feed>
