<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns: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'><id>tag:blogger.com,1999:blog-1018780755173490729</id><updated>2024-09-26T06:03:53.768+05:30</updated><category term="Linq"/><category term="SQL Server"/><title type='text'>.Net Info</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>197</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-2061767170453856081</id><published>2016-09-28T12:07:00.002+05:30</published><updated>2016-09-28T12:07:54.044+05:30</updated><title type='text'>How can we maintain sessions in MVC?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: JUSTIFY;&quot; trbidi=&quot;on&quot;&gt;
Sessions can be maintained in MVC by three ways: tempdata, viewdata, and viewbag.
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/2061767170453856081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2016/09/how-can-we-maintain-sessions-in-mvc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/2061767170453856081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/2061767170453856081'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2016/09/how-can-we-maintain-sessions-in-mvc.html' title='How can we maintain sessions in MVC?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-5195344080246562943</id><published>2016-09-28T12:05:00.002+05:30</published><updated>2016-09-28T12:05:51.283+05:30</updated><title type='text'>What is ViewStart Page in ASP.Net MVC?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: justify;&quot; trbidi=&quot;on&quot;&gt;
This page is used to make sure common layout page will be used for multiple views. Code written in this file will be executed first when application is being loaded.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/5195344080246562943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2016/09/what-is-viewstart-page-in-aspnet-mvc_28.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/5195344080246562943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/5195344080246562943'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2016/09/what-is-viewstart-page-in-aspnet-mvc_28.html' title='What is ViewStart Page in ASP.Net MVC?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-5482445178729542238</id><published>2016-09-28T12:04:00.005+05:30</published><updated>2016-09-28T12:04:55.836+05:30</updated><title type='text'>What are AJAX Helpers in ASP.Net MVC?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: justify;&quot; trbidi=&quot;on&quot;&gt;
AJAX Helpers are used to create AJAX enabled elements like as Ajax enabled forms and links which performs the request asynchronously and these are extension methods of AJAXHelper class which exists in namespace - System.Web.ASP.Net MVC.
&lt;/diV&gt;</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/5482445178729542238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2016/09/what-are-ajax-helpers-in-aspnet-mvc_28.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/5482445178729542238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/5482445178729542238'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2016/09/what-are-ajax-helpers-in-aspnet-mvc_28.html' title='What are AJAX Helpers in ASP.Net MVC?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-4708165867980011626</id><published>2016-09-28T12:04:00.003+05:30</published><updated>2016-09-28T12:04:08.398+05:30</updated><title type='text'>What is MVC?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: justify;&quot; trbidi=&quot;on&quot;&gt;
MVC is an architectural pattern which separates the representation and user interaction. It’s divided into three broader sections, Model, View, and Controller. Below is how each one of them handles the task.
&lt;ul &gt;
&lt;li style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px;&quot;&gt;The View is responsible for the look and feel.&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px;&quot;&gt;Model represents the real world object and provides data to the View.&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px;&quot;&gt;The Controller is responsible for taking the end user request and loading the appropriate Model and View.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/4708165867980011626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2016/09/what-is-mvc_28.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/4708165867980011626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/4708165867980011626'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2016/09/what-is-mvc_28.html' title='What is MVC?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-7138539495586286048</id><published>2014-03-11T11:09:00.000+05:30</published><updated>2014-03-11T11:09:04.947+05:30</updated><title type='text'>How do you validate email</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: blue; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;protected&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;span style=&quot;border: 0px; color: blue; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;void&lt;/span&gt;&amp;nbsp;btnValidate_Click(&lt;span style=&quot;border: 0px; color: blue; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;object&lt;/span&gt;&amp;nbsp;sender,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #2b91af; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;EventArgs&lt;/span&gt;&amp;nbsp;e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: blue; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;bool&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;isEmail =&amp;nbsp;&lt;span style=&quot;border: 0px; color: #2b91af; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Regex&lt;/span&gt;.IsMatch(txtEmail.Text.Trim(),&amp;nbsp;&lt;span style=&quot;border: 0px; color: #a31515; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;@&quot;\A(?:[A-Za-z0-9!#$%&amp;amp;&#39;*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&amp;amp;&#39;*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?)\Z&quot;&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: blue; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;(!isEmail)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp;lblerrormsg.Text =&amp;nbsp;&lt;span style=&quot;border: 0px; color: #a31515; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;Enter Valid Email ID..&quot;&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp;lblerrormsg.ForeColor = System.Drawing.&lt;span style=&quot;border: 0px; color: #2b91af; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Color&lt;/span&gt;.Red;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: blue; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp;return&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: blue; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp;lblerrormsg.Text =&amp;nbsp;&lt;span style=&quot;border: 0px; color: #a31515; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;Valid Email&quot;&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp;lblerrormsg.ForeColor = System.Drawing.&lt;span style=&quot;border: 0px; color: #2b91af; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Color&lt;/span&gt;.Green;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px 0px 0.0001pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #f6f4ef; border: 0px; color: #222222; font-family: Georgia, Times, &#39;Times New Roman&#39;; font-size: 14px; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: Verdana, sans-serif; font-size: 10pt; font-style: inherit; font-weight: inherit; line-height: 15.333333015441895px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/7138539495586286048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2014/03/how-do-you-validate-email.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/7138539495586286048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/7138539495586286048'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2014/03/how-do-you-validate-email.html' title='How do you validate email'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-4905353424277738369</id><published>2014-01-22T17:33:00.002+05:30</published><updated>2014-01-22T17:37:36.699+05:30</updated><title type='text'>What is master page?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Master Page is used in web application&lt;br /&gt;
We can say master page as a template for the other pages in our project.&lt;br /&gt;
For creating a constant look and feel for all our pages in web application.&lt;br /&gt;
It acts as a placeholder for the other pages or content.&lt;br /&gt;
If a user makes a request to a webpage it merges with masterpage and will provide the output .&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/4905353424277738369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2014/01/what-is-master-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/4905353424277738369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/4905353424277738369'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2014/01/what-is-master-page.html' title='What is master page?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-6478128716665453800</id><published>2014-01-22T17:32:00.001+05:30</published><updated>2014-01-22T17:39:08.509+05:30</updated><title type='text'>What is publisher subscriber model? Any design pattern can be implemented for it? </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
It is also called as Observer design pattern.&lt;br /&gt;
Windows Communication Foundation (WCF) is the best exampled for this model.&lt;br /&gt;
The user can publish a Service and it can be consumed by many clients at the end point.&lt;br /&gt;
The Publisher gives the data to the clients who have subscribed to their methods.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/6478128716665453800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2014/01/what-is-publisher-subscriber-model-any.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/6478128716665453800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/6478128716665453800'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2014/01/what-is-publisher-subscriber-model-any.html' title='What is publisher subscriber model? Any design pattern can be implemented for it? '/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-6944764029712708014</id><published>2014-01-22T17:30:00.002+05:30</published><updated>2014-01-22T17:39:48.469+05:30</updated><title type='text'>What is Nuget?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
It is Visual Studio extension and a open source project&lt;br /&gt;
By using Nuget we can easily add,update and remove libraries in Visual Studio Projects.&lt;br /&gt;
When you add or remove a library it copies/removes necessary files to your application.&lt;br /&gt;
It is a quick way to add reference to our application.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/6944764029712708014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2014/01/what-is-nuget.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/6944764029712708014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/6944764029712708014'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2014/01/what-is-nuget.html' title='What is Nuget?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-1423479074059828909</id><published>2014-01-22T17:29:00.001+05:30</published><updated>2014-01-22T17:38:36.686+05:30</updated><title type='text'>What is difference between a.equals(b) and a==b?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
“==” --&amp;gt; It compares reference&lt;br /&gt;
&quot;Equals&quot; --&amp;gt; It compares object by VALUE.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/1423479074059828909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2014/01/what-is-difference-between-aequalsb-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/1423479074059828909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/1423479074059828909'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2014/01/what-is-difference-between-aequalsb-and.html' title='What is difference between a.equals(b) and a==b?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-8233396856868068115</id><published>2013-01-28T15:22:00.003+05:30</published><updated>2013-01-28T15:22:59.893+05:30</updated><title type='text'>What is the difference between the Page_Init and Page_Load events?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong&gt;Page_Init&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
The Page_Init event is the first to occur when an ASP.NET page is executed.This is where you perform any initialization steps that you need to set up or create instances of server controls.You can&#39;t access controls in this event because there is no guarantee that they have been created yet.&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The Page_Init event fires only the first time the page is loaded.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
When you postback to any page, the Page_Init event doesn&#39;t fire.&lt;/div&gt;
&lt;br /&gt;
&lt;strong&gt;Page_Load&lt;/strong&gt;&lt;br /&gt;
The Page_Load event fires each time the page loads, postback or not.&lt;br /&gt;
&lt;br /&gt;
This event occurs only when all the objects on the page have been created and are available for use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/8233396856868068115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2013/01/what-is-difference-between-pageinit-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/8233396856868068115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/8233396856868068115'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2013/01/what-is-difference-between-pageinit-and.html' title='What is the difference between the Page_Init and Page_Load events?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-6044931137301090204</id><published>2012-11-01T18:13:00.002+05:30</published><updated>2012-11-01T18:14:49.560+05:30</updated><title type='text'>what is Marshaling?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Marshaling is a process of making an object in one process (the server) available to another process (the client). There are two ways to achieve the marshalling.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;Marshal by value: &lt;/strong&gt;The server creates a copy of the object passes the copy to the client. When a client makes a call to an object marshaled by value (MBV), the server creates an exact copy and sends that copy to the client. The client can then use the object&#39;s data and executable functionality directly within its own process or application domain without making additional calls to the server. Objects that the application accesses frequently are best remoted using MBV.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;Marshal by reference: &lt;/strong&gt;The client creates a proxy for the object and then uses the proxy to access the object. When a client makes a call to an object marshaled by reference (MBR), the .NET framework creates a proxy in the client&#39;s application domain and the client uses that proxy to access the original object on the server. Large objects that the application accesses relatively infrequently are good candidates for MBR.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/6044931137301090204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/11/what-is-marshaling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/6044931137301090204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/6044931137301090204'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/11/what-is-marshaling.html' title='what is Marshaling?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-107003234415872824</id><published>2012-11-01T18:12:00.003+05:30</published><updated>2012-11-01T18:12:41.517+05:30</updated><title type='text'>What are remotable objects in .NET Remoting?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Remotable objects are the objects that can be marshaled across the application domains. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
You can marshal by value, where a deep copy of the object is created and then passed to the receiver. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
You can also marshal by reference, where just a reference to an existing object is passed. &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/107003234415872824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/11/what-are-remotable-objects-in-net_8213.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/107003234415872824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/107003234415872824'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/11/what-are-remotable-objects-in-net_8213.html' title='What are remotable objects in .NET Remoting?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-1762688876902135591</id><published>2012-11-01T18:07:00.006+05:30</published><updated>2012-11-01T18:08:25.007+05:30</updated><title type='text'>When would you use .NET Remoting and when Web services?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong&gt;.Net Remoting&lt;/strong&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Used for more efficient exchange of information when you control both ends of the application. &lt;/div&gt;
&lt;br /&gt;
&lt;strong&gt;Web Services&lt;/strong&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Used for open-protocol-based information exchange when you are just a client or a server with the other end belonging to someone else.&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/1762688876902135591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/11/when-would-you-use-net-remoting-and_1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/1762688876902135591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/1762688876902135591'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/11/when-would-you-use-net-remoting-and_1.html' title='When would you use .NET Remoting and when Web services?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-2751481616959169161</id><published>2012-11-01T18:00:00.002+05:30</published><updated>2012-11-01T18:00:42.581+05:30</updated><title type='text'>If I’m developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
use the security state maintained using a database. (Use Authentication mode as database&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/2751481616959169161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/11/if-im-developing-application-that-must_1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/2751481616959169161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/2751481616959169161'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/11/if-im-developing-application-that-must_1.html' title='If I’m developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-514193937921051911</id><published>2012-11-01T17:59:00.001+05:30</published><updated>2012-11-01T17:59:17.621+05:30</updated><title type='text'>Which are the namespaces that are imported automatically by Visual Studio in ASP.Net?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong&gt;There are 7 namespaces which are imported automatically.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
System&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
System.Collections&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
System.IO&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
System.web&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
System.web.UI&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
System.web.UI.HTMLControls&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
System.web.UI.WebControls&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/514193937921051911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/11/which-are-namespaces-that-are-imported.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/514193937921051911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/514193937921051911'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/11/which-are-namespaces-that-are-imported.html' title='Which are the namespaces that are imported automatically by Visual Studio in ASP.Net?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-5120718678270872250</id><published>2012-11-01T17:53:00.005+05:30</published><updated>2012-11-01T17:54:31.011+05:30</updated><title type='text'>What are the types of Authentication? Describe</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;There are 3 types of Authentication. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;(a)Windows Authentication&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;(b)&amp;nbsp;Forms Authentication&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;(c)&amp;nbsp;Passport Authentication.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Windows authentication &lt;/strong&gt;uses the security features integrated into the Windows NT and Windows XP operating systems to authenticate and authorize Web application users. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Forms authentication&lt;/strong&gt; allows you to create your own list/database of users and validate the identity of those users when they visit your Web site.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Passport authentication&lt;/strong&gt; uses the Microsoft centralized authentication provider to identify users. Passport provides a way to for users to use a single identity across multiple Web applications. To use Passport authentication in your Web application, you must install the Passport SDK.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/5120718678270872250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/11/what-are-types-of-authentication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/5120718678270872250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/5120718678270872250'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/11/what-are-types-of-authentication.html' title='What are the types of Authentication? Describe'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-2275861963725194267</id><published>2012-10-25T12:11:00.004+05:30</published><updated>2013-06-24T15:19:14.857+05:30</updated><title type='text'>Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong&gt;Aspect-Oriented&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Aspect-oriented programming looks at how many components or pieces of a system might need to interact. The intersections of these pieces are what are important in AOP. &quot;Crosscutting&quot; is a slice across several units, all of which interact during some operation. &lt;/div&gt;
&lt;strong&gt;Interface-Oriented&lt;/strong&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Interface-oriented programming is a contract-based approach. Nether side of the interface cares how the other does its work, only that the two sides can communicate via an agreed-upon contract. WSDL-based web services are the prime example of this.&lt;/div&gt;
&lt;br /&gt;
&lt;strong&gt;Object-Oriented&lt;/strong&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Object-Oriented programming is based on abstraction, encapsulation (data hiding), polymorphism and inheritance. Classes implement these concepts to build objects controlling or implementing a system.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;Abstraction&lt;/strong&gt; allows loose coupling between components by providing a layer between objects so that one object isn&#39;t concerned with how the other implements its business rules. (Interfaces, layers) Great stuff when you want to isolate parts of the system so they can be swapped out without killing the rest of the sytsem.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;Encapsulation&lt;/strong&gt; allows abstraction to work by hiding details of a class&#39;s implementation from calling classes. (Public vs. private fields)&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;Inheritance&lt;/strong&gt; enables base (parent) classes to have common functionality defined in it and passed down to child classes. A Shape class might have a field for color which is inherited by child classes of Square or Circle type.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;Polymorphism&lt;/strong&gt; enables implementation of same-named public fields, allowing different classes to perform different actions on the same call - rendering a Square or Circle object differently in a graphic program, even though they might both be subclassed from a base Shape class. (Overriding)&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/2275861963725194267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/describe-difference-between-interface.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/2275861963725194267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/2275861963725194267'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/describe-difference-between-interface.html' title='Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-6850462296345274396</id><published>2012-10-25T12:06:00.004+05:30</published><updated>2012-10-25T12:06:59.552+05:30</updated><title type='text'>What are trace switches?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Trace switches helps us to control and govern the tracing behavior of a project. There are two types of trace switches ‘BooleanSwitch’ and ‘TraceSwitch’. BooleanSwitch, as the name says, is a kind of on/off switch which can be either enabled (true) or disabled (false).&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
‘TraceSwitch’ on the other hand offers more options rather than simple true/false like ‘BooleanSwitch’. Tracing is enabled for a TraceSwitch object using the Level property. When we set the Level property of a switch to a particular level, it includes all levels from the indicated level down. For example, if you set a TraceSwitch’s Level property to TraceLevel.Info, then all the lower levels, from TraceLevel.Error to TraceLevel.Warning, will be taken in to account. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Below are the various levels in ‘TraceSwitch’ object.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;strong&gt;Off a Outputs no messages to Trace Listeners &lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;strong&gt;Error a Outputs only error messages to Trace Listeners&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;strong&gt;Warning a Outputs error and warning messages to Trace Listeners&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;strong&gt;Info a Outputs informational, warning and error messages to Trace Listeners&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;strong&gt;Verbose a Outputs all messages to Trace Listeners&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/6850462296345274396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/what-are-trace-switches.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/6850462296345274396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/6850462296345274396'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/what-are-trace-switches.html' title='What are trace switches?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-4642207203708146082</id><published>2012-10-25T12:02:00.000+05:30</published><updated>2012-10-25T12:02:52.089+05:30</updated><title type='text'>What is the main difference between Gridlayout and FlowLayout ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
GridLayout provides absolute positioning for controls placed on the page. Developers that have their roots in rich-client development environments like Visual Basic will find it easier to develop their pages using absolute positioning, because they can place items exactly where they want them. On the other hand, FlowLayout positions items down the page like traditional HTML. Experienced Web developers favor this approach because it results in pages that are compatible with a wider range of browsers.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If you look in to the HTML code created by absolute positioning you can notice lot of DIV tags. While in Flow layout you can see more of using HTML table to position elements which is compatible with wide range of browsers.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/4642207203708146082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/what-is-main-difference-between.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/4642207203708146082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/4642207203708146082'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/what-is-main-difference-between.html' title='What is the main difference between Gridlayout and FlowLayout ?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-6273929820667538557</id><published>2012-10-25T11:56:00.002+05:30</published><updated>2012-10-25T12:00:14.743+05:30</updated><title type='text'>What is the difference between “Web farms” and “Web garden”?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;strong&gt;Web farm&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Used to have some redundancy to minimize failures. It consists of two or more web server of the same configuration and they stream the same kind of contents. When any request comes there is switching / routing logic which decides which web server from the farm handles the request. For instance we have two servers “Server1″ and “Server2″ which have the same configuration and content. So there is a special switch which stands in between these two servers and the users and routes the request accordingly.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
A router in between which takes a request and sees which one of the server is least loaded and forwards the request to that server. So for request1 it route’s server1, for request2 it routes server2, for request3 it routes to server3 and final request4 is routed to server4. So you can see because we have web farm at place server1 and server2 are loaded with two request each rather than one server loading to full. One more advantage of using this kind of architecture is if one of the servers goes down we can still run with the other server thus having 24×7 uptime.&lt;/div&gt;
&lt;br /&gt;
The routing logic can be a number of different options:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;Round-robin:&lt;/strong&gt; Each node gets a request sent to it “in turn”. So, server1 gets a request, then server2 again, then server1, then server2 again.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;Least Active&lt;/strong&gt; Whichever node show to have the lowest number of current connects gets new connects sent to it. This is good to help keep the load balanced between the server nodes&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;Fastest Reply&lt;/strong&gt; Whichever node replies faster is the one that gets new requests. This is also a good option – especially if there are nodes that might not be “equal” in performance. If one performs better than the other, then send more requests there rather than which is moving slowly?&lt;/div&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Web Garden&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
All requests to IIS are routed to “aspnet_wp.exe” for IIS 5.0 and “w3wp.exe” for IIS 6.0. In normal case i.e. without web garden we have one worker process instance (“aspnet_wp.exe” / “w3wp.exe”) across all requests. This one instance of worker process uses the CPU processor as directed by the operating system.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
But when we enable web garden for a web server it creates different instances of the worker process and each of these worker process runs on different CPU. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In short we can define a model in which multiple processes run on multiple CPUs in a single server machine are known as a Web garden.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/6273929820667538557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/what-is-difference-between-web-farms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/6273929820667538557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/6273929820667538557'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/what-is-difference-between-web-farms.html' title='What is the difference between “Web farms” and “Web garden”?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-1302249060673675099</id><published>2012-10-25T11:53:00.002+05:30</published><updated>2012-10-25T11:53:33.849+05:30</updated><title type='text'> If cookies are not enabled at browser end does form Authentication work?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
No,it does not work&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/1302249060673675099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/if-cookies-are-not-enabled-at-browser.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/1302249060673675099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/1302249060673675099'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/if-cookies-are-not-enabled-at-browser.html' title=' If cookies are not enabled at browser end does form Authentication work?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-3722768986813221764</id><published>2012-10-25T11:51:00.001+05:30</published><updated>2012-10-25T11:51:32.900+05:30</updated><title type='text'>ASP used STA threading model, what is the threading model used for ASP.NET ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;ASP.NET uses MTA threading model&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/3722768986813221764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/asp-used-sta-threading-model-what-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/3722768986813221764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/3722768986813221764'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/asp-used-sta-threading-model-what-is.html' title='ASP used STA threading model, what is the threading model used for ASP.NET ?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-9057127810118157324</id><published>2012-10-23T16:32:00.001+05:30</published><updated>2012-10-23T16:46:46.519+05:30</updated><title type='text'>What are the benefits of service orientation?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;[1] Isolation :&lt;/strong&gt; Changing the internals of one service does not force changes, rebuilding or restarting of other services.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;[2] Behavior is separated from constraints :&lt;/strong&gt; Relocating, outsourcing or restricting a service requires changes only in the policy but not to the service itself.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;[3] Location independent :&lt;/strong&gt; Whether a service is on the same machine or different, it can be accessed in the similar manner.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;[4] Scale invariant :&lt;/strong&gt; Services scale in all the directions. Let&#39;s take an example a service can be scaled out by fronting it with a router service that distributes traffic among a farm of services.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;[5] Transport/protocol/format neutral :&lt;/strong&gt; The communication details between parties are flexible but not fixed.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;[6] Time independent :&lt;/strong&gt; Services can make use of queue-based communication, when they do not have to be online at the same time to interact.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;[7] Platform and implementation independent :&lt;/strong&gt; A service need not know anything about another service&#39;s execution environment to interact with it.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;[8] Address agnostic :&lt;/strong&gt; Services can employ a discovery mechanism to locate each other without any prior notion about where they reside. &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/9057127810118157324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/what-are-benefits-of-service-orientation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/9057127810118157324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/9057127810118157324'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/what-are-benefits-of-service-orientation.html' title='What are the benefits of service orientation?'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-1807180289939969779</id><published>2012-10-23T15:12:00.003+05:30</published><updated>2013-05-17T16:03:29.363+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linq"/><title type='text'>Set Operators in Linq</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There are mainly five types of Set Operators in Linq. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Distinct&lt;br /&gt;
&lt;br /&gt;
2. Concat&lt;br /&gt;
&lt;br /&gt;
3. Union&lt;br /&gt;
&lt;br /&gt;
4. Intersect&lt;br /&gt;
&lt;br /&gt;
5. Except&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;1.Distinct&lt;/strong&gt;&lt;br /&gt;
public void DistinctFunction()&lt;br /&gt;
{ &lt;br /&gt;
int[] seq1 = { 1, 2, 3, 3, 4, 2, 5, 4, 5, 2, 1 }; &lt;br /&gt;
var distinctValues = seq1.Distinct(); &lt;br /&gt;
Console.WriteLine(&quot;Distinct Values in the array : &quot;); &lt;br /&gt;
foreach (var n in distinctValues) &lt;br /&gt;
{ &lt;br /&gt;
Console.WriteLine(n); &lt;br /&gt;
} &lt;br /&gt;
}&lt;br /&gt;
OutputDistinct Values in the array : &lt;br /&gt;
1&lt;br /&gt;
2&lt;br /&gt;
3&lt;br /&gt;
4&lt;br /&gt;
5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;2.Concat&lt;/strong&gt;&lt;br /&gt;public void ConcatFunction()&lt;br /&gt;
{ &lt;br /&gt;
int[] seq1 = { 1, 2, 3 },&amp;nbsp;seq2 = { 3, 4, 5 }; &lt;br /&gt;
var concatValues = seq1.Concat(seq2); &lt;br /&gt;
Console.WriteLine(&quot;Concatenation of two array : &quot;); &lt;br /&gt;
foreach (var n in concatValues) &lt;br /&gt;
{ &lt;br /&gt;
Console.WriteLine(n); }&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
OutputConcatenation of two array : &lt;br /&gt;
1&lt;br /&gt;
2&lt;br /&gt;
3&lt;br /&gt;
3&lt;br /&gt;
4&lt;br /&gt;
5&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;3.Union&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
public void UnionFunction()&lt;br /&gt;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int[] seq1 = { 1, 2, 3 }, seq2 = { 3, 4, 5 };&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var unionValues = seq1.Union(seq2);&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(&quot;Union of two array : &quot;); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var n in unionValues) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(n); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Output&lt;br /&gt;&lt;br /&gt;Union of two array : &lt;br /&gt;1&lt;br /&gt;2&lt;br /&gt;
3&lt;br /&gt;
4&lt;br /&gt;
5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;4.Intersect&lt;/strong&gt;&lt;br /&gt;
public void IntersectFunction() 
{ 
&amp;nbsp;&amp;nbsp; int[] seq1 = { 1, 2, 3 }, seq2 = { 3, 4, 5 }; 
&amp;nbsp;&amp;nbsp; var unionValues = seq1.Intersect(seq2); 
&amp;nbsp;&amp;nbsp; Console.WriteLine(&quot;Intersection of two array : &quot;); 
&amp;nbsp;&amp;nbsp; f oreach (var n in unionValues)&amp;nbsp; 
&amp;nbsp; { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(n);&amp;nbsp; 
&amp;nbsp; } 
} 
OutputIntersection of two array : 
&amp;nbsp;3 
&amp;nbsp; 
&lt;strong&gt;5.Except&lt;/strong&gt; 
public void ExceptFunction() 
{ 
&amp;nbsp;int[] seq1 = { 1, 2, 3 }, seq2 = { 3, 4, 5 }; 
&amp;nbsp;var unionValues = seq1.Except(seq2); 
Console.WriteLine(&quot;Applying Except Function on two arrays : &quot;); 
foreach (var n in unionValues) 
{ 
&amp;nbsp;Console.WriteLine(n); 
&amp;nbsp;} 
} 
OutputApplying Except Function on two arrays : 
&amp;nbsp;1 
&amp;nbsp;2 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/1807180289939969779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/set-operators-in-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/1807180289939969779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/1807180289939969779'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/set-operators-in-linq.html' title='Set Operators in Linq'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1018780755173490729.post-8013846834145941637</id><published>2012-10-23T15:05:00.001+05:30</published><updated>2013-05-17T16:03:29.365+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linq"/><title type='text'>Ordering Operators in Linq</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There are mainly five types of Ordering Operators in Linq. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. OrderBy &lt;br /&gt;
&lt;br /&gt;
2. OrderByDescending&lt;br /&gt;
&lt;br /&gt;
3. ThenBy &lt;br /&gt;
&lt;br /&gt;
4. ThenByDescending&lt;br /&gt;
&lt;br /&gt;
5. Reverse&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;1.OrderBy&lt;/strong&gt; &lt;br /&gt;
public void OrderBy()&lt;br /&gt;
{ &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; string[] names = { &quot;Tom&quot;, &quot;Dick&quot;, &quot;Harry&quot;, &quot;Mary&quot;, &quot;Jay&quot; }; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var sortedNames = names.OrderBy (s =&amp;gt; s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var sortedNamesLengthWise = names.OrderBy (s =&amp;gt; s.Length);&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(&quot;Sorted List: &quot;); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var n in sortedNames) &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(n); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(&quot;Sorted List LengthWise: &quot;); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var nlw in sortedNamesLengthWise) &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(nlw); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
OutPut&lt;br /&gt;
&lt;br /&gt;
Sorted List: &lt;br /&gt;
Dick&lt;br /&gt;
Harry&lt;br /&gt;
Jay&lt;br /&gt;
Mary&lt;br /&gt;
Tom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;2.OrderByDescending&lt;/strong&gt;&lt;br /&gt;
public void OrderByDescending()&lt;br /&gt;
{ &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; string[] names = { &quot;Tom&quot;, &quot;Dick&quot;, &quot;Harry&quot;, &quot;Mary&quot;, &quot;Jay&quot; }; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var sortedNames = names.OrderByDescending(s =&amp;gt; s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var sortedNamesLengthWise = names.OrderByDescending(s =&amp;gt; s.Length);&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(&quot;Sorted Descending : &quot;); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var n in sortedNames) &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(n); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(&quot;Sorted Descending LengthWise: &quot;); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var nlw in sortedNamesLengthWise) &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(nlw); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
OutPut&lt;br /&gt;
&lt;br /&gt;
Sorted List: &lt;br /&gt;
Tom&lt;br /&gt;
Mary&lt;br /&gt;
Jay&lt;br /&gt;
Harry&lt;br /&gt;
Dick&lt;br /&gt;
Sorted List LengthWise: &lt;br /&gt;
Harry&lt;br /&gt;
Dick&lt;br /&gt;
Mary&lt;br /&gt;
Tom&lt;br /&gt;
Jay&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;3.ThenBy&lt;/strong&gt;&lt;br /&gt;
public void ThenBy()&lt;br /&gt;
{ &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; string[] names = { &quot;Tom&quot;, &quot;Dick&quot;, &quot;Harry&quot;, &quot;Mary&quot;, &quot;Jay&quot; }; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var sortedNames = names.OrderBy(s =&amp;gt; s.Length).ThenBy (s =&amp;gt; s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var sortedNamesLengthWise = names.OrderBy (s =&amp;gt; s.Length).ThenBy (s =&amp;gt; s[1]).ThenBy (s =&amp;gt; s[0]);&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(&quot;Sorting By Length then alphabetically : &quot;); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var n in sortedNames) &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(n); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(&quot;By length, then second character, then first character : &quot;); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var nlw in sortedNamesLengthWise) &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(nlw); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
OutPut&lt;br /&gt;
&lt;br /&gt;
Sorting By Length then alphabetically : &lt;br /&gt;
Jay&lt;br /&gt;
Tom&lt;br /&gt;
Dick&lt;br /&gt;
Mary&lt;br /&gt;
Harry&lt;br /&gt;
&lt;br /&gt;
By length, then second character, then first character :&lt;br /&gt;
&lt;br /&gt;
Jay&lt;br /&gt;
Tom&lt;br /&gt;
Mary&lt;br /&gt;
Dick&lt;br /&gt;
Harry&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;4.ThenByDescending&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
public void ThenByDescending()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;string[] names = { &quot;Tom&quot;, &quot;Dick&quot;, &quot;Harry&quot;, &quot;Mary&quot;, &quot;Jay&quot; }; &lt;br /&gt;
var sortedNames = names.OrderBy(s =&amp;gt; s.Length).ThenByDescending(s =&amp;gt; s); &lt;br /&gt;
Console.WriteLine(&quot;Sorting By Length then alphabetically in descending order : &quot;); &lt;br /&gt;
foreach (var n in sortedNames)&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;Console.WriteLine(n);&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
OutPutSorting By Length then alphabetically in descending order : &lt;br /&gt;
Tom&lt;br /&gt;
Jay&lt;br /&gt;
Mary&lt;br /&gt;
Dick&lt;br /&gt;
Harry&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;5.Reverse&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
public void Reverse()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;string[] names = { &quot;Tom&quot;, &quot;Dick&quot;, &quot;Harry&quot;, &quot;Mary&quot;, &quot;Jay&quot; }; &lt;br /&gt;
var reverse = names.Reverse(); &lt;br /&gt;
Console.WriteLine(&quot;Reversing the collection : &quot;); &lt;br /&gt;
foreach (var r in reverse)&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp;Console.WriteLine(r); &lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
OutPutReversing the collection : &lt;br /&gt;
Jay&lt;br /&gt;
Mary&lt;br /&gt;
Harry&lt;br /&gt;
Dick&lt;br /&gt;
Tom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rameshdotnetinfo.blogspot.com/feeds/8013846834145941637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/ordering-operators-in-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/8013846834145941637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1018780755173490729/posts/default/8013846834145941637'/><link rel='alternate' type='text/html' href='http://rameshdotnetinfo.blogspot.com/2012/10/ordering-operators-in-linq.html' title='Ordering Operators in Linq'/><author><name>Ramesh Chinnamurthy</name><uri>http://www.blogger.com/profile/01508069366491861231</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>