<?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-5630870614757701990</id><updated>2024-09-12T03:36:59.970-07:00</updated><title type='text'>.Net Bowl</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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>44</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-7471125684797170803</id><published>2012-04-07T02:09:00.005-07:00</published><updated>2012-04-07T02:09:38.271-07:00</updated><title type='text'>Sharepoint 2010 (Tutorial 2 Part 2) :- Create a simple web portal using ...</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;http://www.youtube.com/embed/lbJQQ5t9gCQ?fs=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/7471125684797170803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2012/04/sharepoint-2010-tutorial-2-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/7471125684797170803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/7471125684797170803'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2012/04/sharepoint-2010-tutorial-2-part-2.html' title='Sharepoint 2010 (Tutorial 2 Part 2) :- Create a simple web portal using ...'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/lbJQQ5t9gCQ/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-6868617969268284245</id><published>2012-04-07T02:09:00.003-07:00</published><updated>2012-04-07T02:09:24.640-07:00</updated><title type='text'>Sharepoint 2010 (Tutorial 2) :- Create a simple web portal using sharepo...</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;http://www.youtube.com/embed/VxIicSbBCf4?fs=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/6868617969268284245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2012/04/sharepoint-2010-tutorial-2-create.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/6868617969268284245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/6868617969268284245'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2012/04/sharepoint-2010-tutorial-2-create.html' title='Sharepoint 2010 (Tutorial 2) :- Create a simple web portal using sharepo...'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/VxIicSbBCf4/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-7316228449212507474</id><published>2012-04-07T02:09:00.001-07:00</published><updated>2012-04-07T02:09:07.787-07:00</updated><title type='text'>Tutorial 1 :- What is sharepoint 2010 , sharepoint foundation 2010 and s...</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;http://www.youtube.com/embed/gYOTudcwCAY?fs=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/7316228449212507474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2012/04/tutorial-1-what-is-sharepoint-2010.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/7316228449212507474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/7316228449212507474'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2012/04/tutorial-1-what-is-sharepoint-2010.html' title='Tutorial 1 :- What is sharepoint 2010 , sharepoint foundation 2010 and s...'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/gYOTudcwCAY/default.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-1364160189066605862</id><published>2011-11-14T21:55:00.000-08:00</published><updated>2011-11-14T21:55:58.294-08:00</updated><title type='text'>Telerik Multiple RadGrid</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;b&gt;Here below code is telerik multiple radgrid. You can&#39;t copy paste this code but need to change the code as your requirment.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;lt;telerik:RadGrid ID=&quot;gridRoles&quot; runat=&quot;server&quot; Skin=&quot;WebBlue&quot; AutoGenerateColumns=&quot;False&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PageSize=&quot;5&quot; AllowSorting=&quot;True&quot; AllowPaging=&quot;True&quot; GridLines=&quot;None&quot; AllowAutomaticDeletes=&quot;True&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AllowAutomaticInserts=&quot;True&quot; AllowAutomaticUpdates=&quot;True&quot; OnDetailTableDataBind=&quot;gridRoles_DetailTableDataBind&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OnPageIndexChanged=&quot;gridRoles_PageIndexChanged&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OnItemCommand=&quot;gridRoles_ItemCommand&quot; onitemdatabound=&quot;gridRoles_ItemDataBound&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;HeaderContextMenu EnableImageSprites=&quot;True&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/HeaderContextMenu&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;PagerStyle Mode=&quot;NumericPages&quot;&amp;gt;&amp;lt;/PagerStyle&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;MasterTableView Width=&quot;100%&quot; HierarchyDefaultExpanded=&quot;false&quot; DataKeyNames=&quot;Roleid&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;DetailTables&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;telerik:GridTableView Width=&quot;40%&quot; runat=&quot;server&quot; Name=&quot;Modules&quot; HorizontalAlign=&quot;Center&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ParentTableRelation&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;telerik:GridRelationFields DetailKeyField=&quot;Roleid&quot; MasterKeyField=&quot;Roleid&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/ParentTableRelation&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;CommandItemSettings ExportToPdfText=&quot;Export to Pdf&quot;&amp;gt;&amp;lt;/CommandItemSettings&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Columns&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;telerik:GridBoundColumn DataField=&quot;Roleid&quot; UniqueName=&quot;Roleid&quot; Visible=&quot;false&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/telerik:GridBoundColumn&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;telerik:GridBoundColumn SortExpression=&quot;ModuleName&quot; HeaderText=&quot;Module Names&quot; DataField=&quot;ModuleName&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; UniqueName=&quot;ModuleName&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/telerik:GridBoundColumn&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/Columns&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/telerik:GridTableView&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/DetailTables&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;CommandItemSettings ExportToPdfText=&quot;Export to Pdf&quot;&amp;gt;&amp;lt;/CommandItemSettings&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ExpandCollapseColumn Visible=&quot;True&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/ExpandCollapseColumn&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Columns&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;telerik:GridButtonColumn ButtonType=&quot;ImageButton&quot; CommandName=&quot;Edit&quot; UniqueName=&quot;EditCommandColumn&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ItemStyle HorizontalAlign=&quot;Center&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/telerik:GridButtonColumn&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;telerik:GridBoundColumn DataField=&quot;Roleid&quot; UniqueName=&quot;Roleid&quot; Visible=&quot;false&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/telerik:GridBoundColumn&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;telerik:GridBoundColumn SortExpression=&quot;Rolename&quot; HeaderText=&quot;Role name&quot; DataField=&quot;Rolename&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; UniqueName=&quot;Rolename&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/telerik:GridBoundColumn&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;telerik:GridBoundColumn SortExpression=&quot;Status&quot; HeaderText=&quot;Status&quot; DataField=&quot;Status&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; UniqueName=&quot;Status&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/telerik:GridBoundColumn&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;telerik:GridButtonColumn ConfirmText=&quot;Delete this Role?&quot; ConfirmTitle=&quot;Delete&quot; ButtonType=&quot;ImageButton&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CommandName=&quot;Delete&quot; UniqueName=&quot;DeleteColumn&quot; ConfirmDialogType=&quot;RadWindow&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ConfirmDialogHeight=&quot;100&quot; ConfirmDialogWidth=&quot;300&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ItemStyle HorizontalAlign=&quot;Center&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/telerik:GridButtonColumn&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/Columns&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;SortExpressions&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;telerik:GridSortExpression FieldName=&quot;Rolename&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/SortExpressions&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;EditFormSettings&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;EditColumn UniqueName=&quot;EditCommandColumn1&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/EditColumn&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/EditFormSettings&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/MasterTableView&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/telerik:RadGrid&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/1364160189066605862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/11/telerik-multiple-radgrid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/1364160189066605862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/1364160189066605862'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/11/telerik-multiple-radgrid.html' title='Telerik Multiple RadGrid'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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-5630870614757701990.post-685148912986313235</id><published>2011-11-14T21:51:00.000-08:00</published><updated>2011-11-14T21:51:58.227-08:00</updated><title type='text'>Query for add two nvarchar time columns</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Query this in sql query editor:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;select from,convert(nvarchar(10),(convert(datetime,Colname1)+convert(datetime,Colname2)),108) as to from &amp;nbsp;table&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;b&gt;Result will be:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_PHSVUQgFWw-0R16NNoJy1DyVudc_e2mN6Qu1tuOIe3RPZpI9Aw4glBrh9HBmQNZqp8f_rYcVKAV3CvtqKygclMtnsWoVbp8qUvTeTVBN48T-LLvYaVb8Ut2za34j-d03ZIwHJwGKJoQg/s1600/23.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_PHSVUQgFWw-0R16NNoJy1DyVudc_e2mN6Qu1tuOIe3RPZpI9Aw4glBrh9HBmQNZqp8f_rYcVKAV3CvtqKygclMtnsWoVbp8qUvTeTVBN48T-LLvYaVb8Ut2za34j-d03ZIwHJwGKJoQg/s1600/23.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/685148912986313235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/11/query-for-add-two-nvarchar-time-columns.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/685148912986313235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/685148912986313235'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/11/query-for-add-two-nvarchar-time-columns.html' title='Query for add two nvarchar time columns'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_PHSVUQgFWw-0R16NNoJy1DyVudc_e2mN6Qu1tuOIe3RPZpI9Aw4glBrh9HBmQNZqp8f_rYcVKAV3CvtqKygclMtnsWoVbp8qUvTeTVBN48T-LLvYaVb8Ut2za34j-d03ZIwHJwGKJoQg/s72-c/23.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-7798798908087547455</id><published>2011-11-14T21:46:00.000-08:00</published><updated>2011-11-14T21:47:41.539-08:00</updated><title type='text'>Encrypt Appsettings in web.Config</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;b&gt;Add these below two lines in pageload event:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;ProtectSection(&quot;appSettings&quot;,&quot;DataProtectionConfigurationProvider&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;UnProtectSection(&quot;appSettings&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;b&gt;Add these methods&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;private void ProtectSection(string p, string p_2)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Configuration config = WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ConfigurationSection section = config.GetSection(p);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (section != null &amp;amp;&amp;amp; !section.SectionInformation.IsProtected)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; section.SectionInformation.ProtectSection(p_2);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; config.Save();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; private void UnProtectSection(string sectionName)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Configuration config =&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WebConfigurationManager.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OpenWebConfiguration(Request.ApplicationPath);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ConfigurationSection section =&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; config.GetSection(sectionName);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (section != null &amp;amp;&amp;amp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; section.SectionInformation.IsProtected)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; section.SectionInformation.UnprotectSection();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; config.Save();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;After executing this just go to web.config file and check the app settings tag.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/7798798908087547455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/11/encrypt-appsettings-in-webconfig.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/7798798908087547455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/7798798908087547455'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/11/encrypt-appsettings-in-webconfig.html' title='Encrypt Appsettings in web.Config'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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-5630870614757701990.post-8851143268961613346</id><published>2011-07-04T21:20:00.000-07:00</published><updated>2011-07-04T21:20:45.079-07:00</updated><title type='text'>.NET and C# interview questions:Show how do we view an assembly in .NET?</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;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;When coming to understand the internals, nothing can beat ILDASM. ILDASM  converts the whole ‘exe’ or ‘dll’ in to IL code. To run ILDASM you have  to go to ‘C:\Program Files\Microsoft Visual Studio .NET  2003\SDK\v1.1\Bin’. Note that we had v1.1 you have to probably change it  depending on the type of framework version you have.&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;If you run IDASM.EXE from the path you will be popped with the IDASM exe&lt;br /&gt;
program as shown in figure. Click on file and browse to the respective&lt;br /&gt;
directory for the DLL whose assembly you want to view. After you select the&lt;br /&gt;
DLL you will be popped with a tree view details of the DLL as shown in&lt;br /&gt;
figure ILDASM. On double clicking on manifest, you will be able to view&lt;br /&gt;
details of assembly, internal IL code etc as shown in the figure.&lt;/div&gt;&lt;br style=&quot;font-family: Verdana,sans-serif;&quot; /&gt; &lt;pre style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Note: - The version number are in the manifest itself which is defined with
the DLL or EXE thus making deployment much easier as compared to COM where
the information was stored in registry. Note the version information in Figure
Manifest view.&lt;/pre&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;You can expand the tree for detail information regarding the DLL like methods, properties, functions etc.&lt;/span&gt;&lt;br style=&quot;font-family: Verdana,sans-serif;&quot; /&gt;&lt;br style=&quot;font-family: Verdana,sans-serif;&quot; /&gt; &lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP2bsAglZ2ln3LsvIH7Go0mqI6po1RQlmuzaZbR7DINoH0VahMHC_xAAwCMo9B0cUiF3wIudi5Zz_SCbDBTPp0pAWWyRsUFWsLOkTVf8v-hz7cmaM3Sa_G3ja67AEv58LeP57LAXx3Ow/s1600/1.7.JPG&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5624377365854882882&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP2bsAglZ2ln3LsvIH7Go0mqI6po1RQlmuzaZbR7DINoH0VahMHC_xAAwCMo9B0cUiF3wIudi5Zz_SCbDBTPp0pAWWyRsUFWsLOkTVf8v-hz7cmaM3Sa_G3ja67AEv58LeP57LAXx3Ow/s400/1.7.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 400px; width: 306px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;And once you open the Manifest you will be able to see the inner details as shown in the following picture: -&lt;/span&gt;&lt;br style=&quot;font-family: Verdana,sans-serif;&quot; /&gt;&lt;br style=&quot;font-family: Verdana,sans-serif;&quot; /&gt; &lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHMnmFg0Zy_ted4abu1Dy0nwxlgCyxqoBxmw41Fh2dRHHqb9cv43hq-ABW69b2DUDk3-cqwfM9lNEzLEvfxFIiePAPglFSBtB3Pnll0Hty_76Hk9OdaHf6Tx0EYGEuFXfFz02_Z7MEyA/s1600/2.7.JPG&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5624377468791251698&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHMnmFg0Zy_ted4abu1Dy0nwxlgCyxqoBxmw41Fh2dRHHqb9cv43hq-ABW69b2DUDk3-cqwfM9lNEzLEvfxFIiePAPglFSBtB3Pnll0Hty_76Hk9OdaHf6Tx0EYGEuFXfFz02_Z7MEyA/s400/2.7.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 298px; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br style=&quot;font-family: Verdana,sans-serif;&quot; /&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt; Following is the video which shows that how the questions are asked C#&lt;/span&gt;&lt;br style=&quot;font-family: Verdana,sans-serif;&quot; /&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt; and .NET interviews.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/3PXspVcSSKE?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/8851143268961613346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/07/net-and-c-interview-questionsshow-how.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/8851143268961613346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/8851143268961613346'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/07/net-and-c-interview-questionsshow-how.html' title='.NET and C# interview questions:Show how do we view an assembly in .NET?'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP2bsAglZ2ln3LsvIH7Go0mqI6po1RQlmuzaZbR7DINoH0VahMHC_xAAwCMo9B0cUiF3wIudi5Zz_SCbDBTPp0pAWWyRsUFWsLOkTVf8v-hz7cmaM3Sa_G3ja67AEv58LeP57LAXx3Ow/s72-c/1.7.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-8480025084218995390</id><published>2011-07-04T21:18:00.000-07:00</published><updated>2011-07-04T21:18:22.790-07:00</updated><title type='text'>C# and .NET interview questions: Explain in brief an interface?</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;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Interface is a contract that defines the signature of the functionality.  So if a class is implementing a interface it says to the outer world,  that it provides specific behavior. Example if a class is implementing  ‘Idisposable’ interface that means it has a functionality to release  unmanaged resources. Now external objects using this class know that it  has contract by which it can dispose unused unmanaged objects.&lt;/span&gt; &lt;/div&gt;&lt;ul style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Single Class can implement multiple interfaces. &lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;If a class implements a interface then it has to provide&lt;br /&gt;
implementation to all its methods.&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;&lt;/ul&gt;&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Following code shows that one has the interface definition and other&lt;br /&gt;
class implements the interface. Below is the source code “IInterface” is the&lt;br /&gt;
interface and “ClsDosomething” implements the “IInterface”. This sample just&lt;br /&gt;
displays a simple message box.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt; &lt;/span&gt;&lt;pre style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Public Interface IInterFace
Sub Do Something ()
End Interface

Public Class ClsDoSomething
Implements IInterFace
Public Sub DoSomething () Implements WindowsInterFace.IInterFace.DoSomething
MsgBox (“Interface implemented”)
End Sub
End Class&lt;/span&gt;&lt;/pre&gt;&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;After implementing the above code you will get the following output as shown:&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjm2K5I5O2xf5N4KSvD3I3nOoFx6lKINCA09wv4chtv1Evp1Jb0gSU2fIFOIygts8urvsIBh-P8OJ-D36l9dGdkY4Zev6GvzUdKs_sCyrNUh4J0Uu6EPhQgUofYeECLG6eyRdsnDmdxA/s1600/2.1.JPG&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5624798845063755698&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjm2K5I5O2xf5N4KSvD3I3nOoFx6lKINCA09wv4chtv1Evp1Jb0gSU2fIFOIygts8urvsIBh-P8OJ-D36l9dGdkY4Zev6GvzUdKs_sCyrNUh4J0Uu6EPhQgUofYeECLG6eyRdsnDmdxA/s400/2.1.JPG&quot; style=&quot;cursor: pointer; height: 298px; width: 300px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;
Following you can see a simple video on boxing and unboxing:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/p--6IvrWAW4?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/8480025084218995390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/07/c-and-net-interview-questions-explain.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/8480025084218995390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/8480025084218995390'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/07/c-and-net-interview-questions-explain.html' title='C# and .NET interview questions: Explain in brief an interface?'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjm2K5I5O2xf5N4KSvD3I3nOoFx6lKINCA09wv4chtv1Evp1Jb0gSU2fIFOIygts8urvsIBh-P8OJ-D36l9dGdkY4Zev6GvzUdKs_sCyrNUh4J0Uu6EPhQgUofYeECLG6eyRdsnDmdxA/s72-c/2.1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-1113297936019100481</id><published>2011-07-04T21:17:00.000-07:00</published><updated>2011-07-04T21:25:32.880-07:00</updated><title type='text'>.NET and ASP.NET interview questions: Define MVC, MVP and MVVM pattern?</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;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;MVC, MVP and MVVM are design patterns which come under the presentation  pattern category and they help to remove any kind of cluttered code in  UI like manipulation of user interfaces and maintaining state. Thus  keeping your UI code cleaner and better to maintain.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;MVC(Model view controller) pattern&lt;/b&gt;  divides the architecture into 3 parts model, view and controller. The  first request comes to the controller and the controller then decides  which view to be displayed and ties up the model with the view  accordingly.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: small;&quot;&gt;&lt;b&gt;MVP (Model view presenter)&lt;/b&gt; has the same  goals as MVC i.e. separating the UI from the model. It does the same by  using a presenter class. The UI talks via an interface to the presenter  class and the presenter class talks with the model.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;
&lt;b&gt;MVVM&lt;/b&gt; is  an architectural pattern with the focus of removing UI cluttered code.  It does the same by using an extra class called as view model. MVVM is  mostly suitable for Silverlight and WPF projects because of the rich  bindings provided by the technologies.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/1113297936019100481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/07/net-and-aspnet-interview-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/1113297936019100481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/1113297936019100481'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/07/net-and-aspnet-interview-questions.html' title='.NET and ASP.NET interview questions: Define MVC, MVP and MVVM pattern?'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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-5630870614757701990.post-2248886169982050566</id><published>2011-06-29T07:58:00.000-07:00</published><updated>2011-06-29T07:58:20.184-07:00</updated><title type='text'>Silverlight Data Grid - Binding Data using WCF and LINQ to SQL Classes</title><content type='html'>&lt;iframe src=&quot;http://www.youtube.com/embed/U-UIjQsEiL4?fs=1&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;295&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/2248886169982050566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/silverlight-data-grid-binding-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/2248886169982050566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/2248886169982050566'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/silverlight-data-grid-binding-data.html' title='Silverlight Data Grid - Binding Data using WCF and LINQ to SQL Classes'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/U-UIjQsEiL4/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-7866177629902131518</id><published>2011-06-29T07:55:00.001-07:00</published><updated>2011-06-29T07:57:02.546-07:00</updated><title type='text'>WCF interview questions - What are 3 ways of implementing WCF(Windows Communication Foundation) concurrency?</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;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Three ways by which you can handle concurrency in WCF is Single,  multiple and reentrant. To specify WCF concurrency we need to use the  ‘ServiceBehavior’ tag as shown below with appropriate ‘ConCurrencyMode’  property value.&lt;/span&gt; &lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn2-4hUtIm2HxnPPzSwYN7eUxyXke9PKHLnSGkFpOwzPt6WfwYuly9xPId83ZaV4LGxPfhmBkpqmK8-i8Yi3UpkVuqE_-4xReYx39nceUVYSA8gE5nVfWb2lMGQ2k-cOJauuLKCiGL-w/s1600/123.JPG&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5622909877829383346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn2-4hUtIm2HxnPPzSwYN7eUxyXke9PKHLnSGkFpOwzPt6WfwYuly9xPId83ZaV4LGxPfhmBkpqmK8-i8Yi3UpkVuqE_-4xReYx39nceUVYSA8gE5nVfWb2lMGQ2k-cOJauuLKCiGL-w/s400/123.JPG&quot; style=&quot;cursor: pointer; height: 131px; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Figure:&lt;/span&gt; &lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;&lt;b&gt;Single: -&lt;/b&gt;  A single request has access to the WCF service object at a given moment  of time. So only one request will be processed at any given moment of  time. The other requests have to wait until the request processed by the  WCF service is not completed.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Multiple: -&lt;/b&gt; In this  scenario multiple requests can be handled by the WCF service object at  any given moment of time. In other words request are processed at the  same time by spawning multiple threads on the WCFserver object. So you  have great a throughput here but you need to ensure concurrency issues  related to WCF server objects.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Reentrant: - &lt;/b&gt;A single  request thread has access to the WCF service object, but the thread can  exit the WCF service to call another WCF service or can also call WCF  client through callback and reenter without deadlock.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;
You can also view video on WCF one way contract as follows: -&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/V2Rep9i1oFM?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/7866177629902131518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/wcf-interview-questions-what-are-3-ways.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/7866177629902131518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/7866177629902131518'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/wcf-interview-questions-what-are-3-ways.html' title='WCF interview questions - What are 3 ways of implementing WCF(Windows Communication Foundation) concurrency?'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn2-4hUtIm2HxnPPzSwYN7eUxyXke9PKHLnSGkFpOwzPt6WfwYuly9xPId83ZaV4LGxPfhmBkpqmK8-i8Yi3UpkVuqE_-4xReYx39nceUVYSA8gE5nVfWb2lMGQ2k-cOJauuLKCiGL-w/s72-c/123.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-5102865207534355293</id><published>2011-06-29T07:46:00.000-07:00</published><updated>2011-06-29T07:46:05.375-07:00</updated><title type='text'>Can we see simple animation in SilverLight?</title><content type='html'>&lt;iframe src=&quot;http://www.youtube.com/embed/7IrWud9ww0U?fs=1&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;295&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/5102865207534355293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/can-we-see-simple-animation-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/5102865207534355293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/5102865207534355293'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/can-we-see-simple-animation-in.html' title='Can we see simple animation in SilverLight?'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/7IrWud9ww0U/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-5655975025924717995</id><published>2011-06-29T07:43:00.000-07:00</published><updated>2011-06-29T07:46:42.567-07:00</updated><title type='text'>SilverLight interview questions - Three ways applying layouts in SilverLight?</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;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;There are three ways provided by Silverlight for layout management is  Canvas, Grid and Stack panel. Each of these methodologies fit into  different situations as per layout needs.&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;h3 style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Canvas – Absolute Positioning&lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Canvas  is the simplest methodology for layout management. It supports absolute  positioning using ‘X’ and ‘Y’ coordinates. ‘Canvas.Left’ helps to  specify the X co-ordinate while ‘Canvas.Top’ helps to provide the ‘Y’  coordinates.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Below is a simple code snippet which shows how a rectangle object is positioned using ‘Canvas’ on co-ordinates (50,150).&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB3kCuOHLsRQejQDmoV8npafqOJ1aBa56Rd-Pem1fZkg9ISbrq5gb0IeMrngs49okeJrDW7acShGWZ-h510HlyHYkqZ0wVXzcHX6dReolYwQc8gTDzuFs7tTNpcZQLrJAUBzwnZAbImA/s1600/sil01.png&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Below  is how the display looks like. When you the run the code, the XAML  viewer will position the rectangle object on absolute ‘X” and ‘Y’  coordinates.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIs8njn4BiLRDeOI_TZhVbr3kSAdXw3_64QwuHds5V32o4o4ht3P_O5fMoERAmSIo-BCW2T4DAyjMHsyufGdyHV67ONYRMNVYq9UctU4BG1C481xPBc2yOR8x_8yoy2M9W89kK3yY6vQ/s1600/sil1.jpg&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Grid – Table layout&lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Grid layout helps you position your controls using rows and columns. It’s very similar to table defined in HTML.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF9c4dPa2s-9mPL5plJKlyKaPMas7JcJBSVHjsinUa5PMznPWGg4j-rANBf0JW0rCjwOoRrY2fR5b5lPGP92y2WI5UViyXt7Y6d4uHa1CMAnUYde1Ju9KqlTkVTP84HAUz5UHNzZ8Oow/s1600/sil2.jpg&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Above  is a simple table with two columns and two rows defined using Grid. We  have shown how the table display looks like. Using the  Grid.ColumnDefinition, we have defined two columns and using  Grid.RowDefinition, we have defined two rows. We have then created 4  text blocks which are then specified in each section using Grid.Column  and Grid.Row. For instance, to place in the first column, we need  specify the Grid.Column as 0 and Grid.Row as 0. We have followed the  same pattern for everyone and you can see that all the textblocks are  placed in the&lt;br /&gt;
appropriate sections.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Stack – One Above the Other&lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;As the name says, so the behavior. Stack allows you to arrange your UI elements vertically or horizontally.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_ouELJwj65KbqphcEgewkE2kydHHXGBbZSeyHdd6zwobwjCNNA8t9s0fIJzqID6jV0dnHw67yM-I9kEmlmxwIevwksIKpvrBUhfHb8cZb92dNxqNzv85XorHT-ALkJKM0OTCVjVu-DQ/s1600/sil3.jpg&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;For  instance, above are 4 elements which are arranged in a stack panel  element. You can see how the stack aligns / stacks the elements one  above other. You can also stack the UI elements horizontally or  vertically depending on the nature of your layout.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Following is the video which demonstrates simple animation in SilverLight:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/7IrWud9ww0U?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/5655975025924717995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/there-are-three-ways-provided-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/5655975025924717995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/5655975025924717995'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/there-are-three-ways-provided-by.html' title='SilverLight interview questions - Three ways applying layouts in SilverLight?'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB3kCuOHLsRQejQDmoV8npafqOJ1aBa56Rd-Pem1fZkg9ISbrq5gb0IeMrngs49okeJrDW7acShGWZ-h510HlyHYkqZ0wVXzcHX6dReolYwQc8gTDzuFs7tTNpcZQLrJAUBzwnZAbImA/s72-c/sil01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-8356500111383273369</id><published>2011-06-19T23:07:00.000-07:00</published><updated>2011-06-19T23:07:05.095-07:00</updated><title type='text'>ASP.NET MVC Model view controller ( MVC) Step by Step Part 4</title><content type='html'>&lt;iframe src=&quot;http://www.youtube.com/embed/1dlxtHuRw34?fs=1&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;295&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/8356500111383273369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/aspnet-mvc-model-view-controller-mvc_4193.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/8356500111383273369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/8356500111383273369'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/aspnet-mvc-model-view-controller-mvc_4193.html' title='ASP.NET MVC Model view controller ( MVC) Step by Step Part 4'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/1dlxtHuRw34/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-3068441189237065035</id><published>2011-06-19T23:06:00.001-07:00</published><updated>2011-06-19T23:06:47.208-07:00</updated><title type='text'>ASP.NET MVC Model view controller ( MVC) Step by Step Part 3</title><content type='html'>&lt;iframe src=&quot;http://www.youtube.com/embed/0-UdqWy9lVc?fs=1&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;295&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/3068441189237065035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/aspnet-mvc-model-view-controller-mvc_1451.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/3068441189237065035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/3068441189237065035'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/aspnet-mvc-model-view-controller-mvc_1451.html' title='ASP.NET MVC Model view controller ( MVC) Step by Step Part 3'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/0-UdqWy9lVc/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-1819264842283078424</id><published>2011-06-19T23:06:00.000-07:00</published><updated>2011-06-19T23:06:12.019-07:00</updated><title type='text'>ASP.NET MVC Model view controller ( MVC) Step by Step Part 2</title><content type='html'>&lt;iframe src=&quot;http://www.youtube.com/embed/Fu9v2MIDlTA?fs=1&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;295&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/1819264842283078424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/aspnet-mvc-model-view-controller-mvc_19.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/1819264842283078424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/1819264842283078424'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/aspnet-mvc-model-view-controller-mvc_19.html' title='ASP.NET MVC Model view controller ( MVC) Step by Step Part 2'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/Fu9v2MIDlTA/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-5464295950801445521</id><published>2011-06-19T23:05:00.000-07:00</published><updated>2011-06-19T23:05:56.012-07:00</updated><title type='text'>ASP.NET MVC Model view controller ( MVC) Step by Step  Part 1</title><content type='html'>&lt;iframe src=&quot;http://www.youtube.com/embed/KAKxm4eQP24?fs=1&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;295&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/5464295950801445521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/aspnet-mvc-model-view-controller-mvc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/5464295950801445521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/5464295950801445521'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/aspnet-mvc-model-view-controller-mvc.html' title='ASP.NET MVC Model view controller ( MVC) Step by Step  Part 1'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/KAKxm4eQP24/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-611144226908201167</id><published>2011-06-08T10:03:00.000-07:00</published><updated>2011-06-08T10:03:20.744-07:00</updated><title type='text'>What is WCF One way contract ?</title><content type='html'>&lt;iframe src=&quot;http://www.youtube.com/embed/V2Rep9i1oFM?fs=1&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;295&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/611144226908201167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/what-is-wcf-one-way-contract.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/611144226908201167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/611144226908201167'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/what-is-wcf-one-way-contract.html' title='What is WCF One way contract ?'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/V2Rep9i1oFM/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-6418214629602249879</id><published>2011-06-02T05:00:00.000-07:00</published><updated>2011-06-02T05:00:50.873-07:00</updated><title type='text'>Can you describe Sql Server Views are updatable?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;View is a virtual table, which can contains data (rows with columns) from one or more table and you can retrieve data from a view.&lt;br /&gt;
&lt;br /&gt;
Let’s demonstrate a simple example in which we will see that how to create a view on single table and will also see that if we update the view the respective table on which the view is created is updated or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now let first see how to create view.&lt;br /&gt;
&lt;br /&gt;
Go to View folder in SQL Server &amp;gt; Right click on it &amp;gt; select New View.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQj1JBZf_4EIk8a0juHC0AsHz7YOHHEwT7Eqo2NAcb2e0N_McHBLJurUTwy6FL0MXz52ouwml0FyTWTFbA7MqUKrFpKcsbK0KDaBZWPkkEmHZdr87xIgMeYfBLX734nSt68pihOnmeRA/s1600/1.JPG&quot; style=&quot;color: #249fa3; text-decoration: none;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5612500606279792578&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQj1JBZf_4EIk8a0juHC0AsHz7YOHHEwT7Eqo2NAcb2e0N_McHBLJurUTwy6FL0MXz52ouwml0FyTWTFbA7MqUKrFpKcsbK0KDaBZWPkkEmHZdr87xIgMeYfBLX734nSt68pihOnmeRA/s400/1.JPG&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(238, 238, 238); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(238, 238, 238); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(238, 238, 238); border-top-style: solid; border-top-width: 1px; border-width: initial; box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; cursor: pointer; height: 155px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; position: relative; width: 219px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;As soon as you click on New View, the following window will appear like below.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQhryK0QOLqC3jw6817aUAC41oXGL76h-MqQfXncGq83fWpsdhmDVyUf7vCoKTrk-1WJiQvMeQyWOMlbmTvpH_3LCgbXctlCX4jYbET812DMkc0P-_YUzKM1B6bnBDuBKrByD6wxCzlA/s1600/2.JPG&quot; style=&quot;color: #249fa3; text-decoration: none;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5612500720054994834&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQhryK0QOLqC3jw6817aUAC41oXGL76h-MqQfXncGq83fWpsdhmDVyUf7vCoKTrk-1WJiQvMeQyWOMlbmTvpH_3LCgbXctlCX4jYbET812DMkc0P-_YUzKM1B6bnBDuBKrByD6wxCzlA/s400/2.JPG&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(238, 238, 238); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(238, 238, 238); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(238, 238, 238); border-top-style: solid; border-top-width: 1px; border-width: initial; box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; cursor: pointer; height: 295px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; position: relative; width: 371px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Now, just select the table name from the list on which you wish to create a View and Click on Add then click on close. Once you click on close a new window will appear which allow you to create View on the respective column.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrXWFhfPf9xiGPKP-NS9nTiorHqlCSdOdx6LEU3XaD37z4YW51_xws0Jcdvj19XcCFAzCClzE4UwaVmYBwERQx4Kb3qKYRiELdC_LbJ25Fbc5HdWi2zyd5UPq-0Y4zE8tXg0ONJKM5wQ/s1600/3.JPG&quot; style=&quot;color: #249fa3; text-decoration: none;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5612500800620462802&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrXWFhfPf9xiGPKP-NS9nTiorHqlCSdOdx6LEU3XaD37z4YW51_xws0Jcdvj19XcCFAzCClzE4UwaVmYBwERQx4Kb3qKYRiELdC_LbJ25Fbc5HdWi2zyd5UPq-0Y4zE8tXg0ONJKM5wQ/s400/3.JPG&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(238, 238, 238); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(238, 238, 238); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(238, 238, 238); border-top-style: solid; border-top-width: 1px; border-width: initial; box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; cursor: pointer; height: 116px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; position: relative; width: 178px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
After selecting the column name just save the view and give View a nice name.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDL__2Ma_QJDZXz0vuaEqBhycUzvn-DodrbF9w2KfJiiXCES9ZFvac-pD54CcKkFpVXPYZvZImpB83_uBHzg3M92IXdoVmn_BcS_2DGFAUlVo-NsXcyjzgF6P4UdoF_f81EqzW4SJPtQ/s1600/4.JPG&quot; style=&quot;color: #249fa3; text-decoration: none;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5612500987088575826&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDL__2Ma_QJDZXz0vuaEqBhycUzvn-DodrbF9w2KfJiiXCES9ZFvac-pD54CcKkFpVXPYZvZImpB83_uBHzg3M92IXdoVmn_BcS_2DGFAUlVo-NsXcyjzgF6P4UdoF_f81EqzW4SJPtQ/s400/4.JPG&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(238, 238, 238); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(238, 238, 238); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(238, 238, 238); border-top-style: solid; border-top-width: 1px; border-width: initial; box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; cursor: pointer; height: 135px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; position: relative; width: 327px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Once you have completed the above step you will see that the respective View is added in the View folder.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDhVLY2o_T17ZfjQTgyhtJzTHoD9y1z6sBwZ93GcD66ypsYQNXCVMQ56ZxAvBDFAqWxo8bHQ0E8yZb94b8LrreWDyUSgbTZScX5cePTSz2ylobi6FS-IHSi0GXLDejRB3VE5-HFuoqJg/s1600/5.JPG&quot; style=&quot;color: #249fa3; text-decoration: none;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5612501074788315794&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDhVLY2o_T17ZfjQTgyhtJzTHoD9y1z6sBwZ93GcD66ypsYQNXCVMQ56ZxAvBDFAqWxo8bHQ0E8yZb94b8LrreWDyUSgbTZScX5cePTSz2ylobi6FS-IHSi0GXLDejRB3VE5-HFuoqJg/s400/5.JPG&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(238, 238, 238); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(238, 238, 238); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(238, 238, 238); border-top-style: solid; border-top-width: 1px; border-width: initial; box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; cursor: pointer; height: 51px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; position: relative; width: 165px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Now let’s see that when we update the view the respective table is also updated or not.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Query:-&lt;/b&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Update [Practice].[dbo].[Cust_View] set Customer_Contact = 96641122 where
Customer_Name = &#39;Feroz&#39;
&lt;/span&gt;&lt;/pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Now just go to the table on which the view was created and check whether the table is updated or not, you will see that the table is also updated when you update the View.&lt;br /&gt;
Now let’s create a view based on two tables and try to update a view.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;create view View_Cust as SELECT    dbo.Customer.Customer_Name, dbo.Customer.
Customer_Contact,dbo.[Order].Product_Name,dbo.[Order].Price
FROM dbo.Customer
INNER JOIN dbo.[Order] ON dbo.Customer.Order_ID = dbo.[Order].Order_ID&lt;/pre&gt;&lt;br /&gt;
Let’s try to Update View:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Query:-&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;Update [Practice].[dbo].[View_Cust] set Customer_Contact = 098767554,
Price = 4000 where Customer_Name = &#39;Feroz&#39;&lt;/pre&gt;&lt;br /&gt;
As you can see in the above query, I am trying to update a column from the Product table and another column from the Order table and try to execute the query the compiler will throw the below error.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Error Message:-&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;color: #ff6600;&quot;&gt;View or function &#39;Practice.dbo.View_Cust&#39; is not updatable because the modification affects multiple base tables.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This means that when you try to update both the table’s column from the view then it is not allowed but you can update single table column.&lt;br /&gt;
&lt;br /&gt;
Please click here to see more&amp;nbsp;&lt;a href=&quot;http://www.questpond.com/&quot; style=&quot;color: #249fa3; text-decoration: none;&quot;&gt;.NET and SQL Server interview questions&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/6418214629602249879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/can-you-describe-sql-server-views-are.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/6418214629602249879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/6418214629602249879'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/can-you-describe-sql-server-views-are.html' title='Can you describe Sql Server Views are updatable?'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQj1JBZf_4EIk8a0juHC0AsHz7YOHHEwT7Eqo2NAcb2e0N_McHBLJurUTwy6FL0MXz52ouwml0FyTWTFbA7MqUKrFpKcsbK0KDaBZWPkkEmHZdr87xIgMeYfBLX734nSt68pihOnmeRA/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-5226939235596579174</id><published>2011-06-02T04:58:00.000-07:00</published><updated>2011-06-02T04:58:42.947-07:00</updated><title type='text'>Demo of Button and LinkButton control in ASP.NET</title><content type='html'>&lt;iframe width=&quot;480&quot; height=&quot;295&quot; src=&quot;http://www.youtube.com/embed/i25pw8eWBgc?fs=1&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/5226939235596579174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/demo-of-button-and-linkbutton-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/5226939235596579174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/5226939235596579174'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/06/demo-of-button-and-linkbutton-control.html' title='Demo of Button and LinkButton control in ASP.NET'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/i25pw8eWBgc/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-7570163884644580693</id><published>2011-05-25T04:59:00.002-07:00</published><updated>2011-05-25T04:59:47.440-07:00</updated><title type='text'>WCF Throttling</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;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;WCF throttling provides some properties that you can use to limit how  many instances or sessions are created at the application level.   Performance of the WCF service can be improved by creating proper  instance.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;table border=&quot;1&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;      &lt;th&gt;Attribute&lt;/th&gt;      &lt;th&gt;Description &lt;/th&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;maxConcurrentCalls&lt;/td&gt;      &lt;td&gt;Limits the total number of calls that can currently be in progress across all service instances. The default is 16.&lt;/td&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;maxConcurrentInstances&lt;/td&gt;      &lt;td&gt;The number of InstanceContext objects that execute at one time across a ServiceHost. The default is Int32.MaxValue.&lt;/td&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;maxConcurrentSessions&lt;/td&gt;      &lt;td&gt;A positive integer that limits the number of sessions a ServiceHost object can accept.  The default is 10. &lt;/td&gt;   &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Service Throttling can be configured either Adminstractive or Programatically&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;h3 style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Administrative(configuration file)&lt;/h3&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Using &lt;span class=&quot;Highlight&quot;&gt;&amp;lt;serviceThrottling&amp;gt;&lt;/span&gt; tag of the Service Behavior, you can configure the &lt;span class=&quot;Highlight&quot;&gt;&lt;i&gt;maxConcurrentCalls&lt;/i&gt;, &lt;i&gt;maxConcurrentInstances&lt;/i&gt; , &lt;i&gt;maxConcurrentSessions&lt;/i&gt;&lt;/span&gt; property as shown below.&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;pre class=&quot;Config&quot;&gt;&lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;system.serviceModel&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;services &lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;service behaviorConfiguration=&quot;ServiceBehavior&quot;  name=&quot;MyService&quot;&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;endpoint address=&quot;&quot; binding=&quot;wsHttpBinding&quot; contract=&quot;IMyService&quot;&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
          &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;identity&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;dns value=&quot;localhost&quot;/&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
          &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/identity&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/endpoint&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;endpoint address=&quot;mex&quot; binding=&quot;mexHttpBinding&quot; contract=&quot;IMetadataExchange&quot;/&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/service&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/services&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;behaviors&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;serviceBehaviors&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;behavior name=&quot;ServiceBehavior&quot;&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
          &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;serviceMetadata httpGetEnabled=&quot;true&quot;/&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
          &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;serviceDebug includeExceptionDetailInFaults=&quot;true &quot;/&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
         &lt;span class=&quot;Highlight&quot;&gt; &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;serviceThrottling maxConcurrentCalls=&quot;500&quot;
 maxConcurrentInstances =&quot;100&quot; 
maxConcurrentSessions =&quot;200&quot;/&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
        &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/behavior&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/serviceBehaviors&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/behaviors&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/system.serviceModel&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;Programming Model&lt;/h3&gt;Use ServiceThrottlingBehavior object to set concurrent calls, session and instance property.&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;pre class=&quot;csharp&quot;&gt;ServiceHost host = new ServiceHost(typeof(MyService));
           ServiceThrottlingBehavior throttle
 = host.Description.Behaviors.Find();
            if (throttle == null)
            {
                throttle = new ServiceThrottlingBehavior();
                throttle.MaxConcurrentCalls = 500;
                throttle.MaxConcurrentSessions = 200;
                throttle.MaxConcurrentInstances = 100;
                host.Description.Behaviors.Add(throttle);
            }

            host.Open();
   &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/7570163884644580693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/05/wcf-throttling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/7570163884644580693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/7570163884644580693'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/05/wcf-throttling.html' title='WCF Throttling'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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-5630870614757701990.post-6315611563184443194</id><published>2011-05-25T04:59:00.000-07:00</published><updated>2011-05-25T04:59:04.364-07:00</updated><title type='text'>Metadata Exchange Endpoint</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;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Exposing the metadata using HTTP-GET has a disadvantage, such that  there is no guarantee that other platforms you interact will support it.  There is other way of exposing the using special endpoint is called as  Metadata Exchange Endpoint. You can have as many metadata exchange  endpoints as you want.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h4&gt;Address&lt;/h4&gt;It is basically Uri to identify the metadata.  You can specify as address in the endpoint but append with &quot;mex&quot;  keyword. For example &quot;http://localhost:9090/MyCalulatorService/mex&quot;&lt;br /&gt;
&lt;h4&gt;Binding&lt;/h4&gt;There are four types of bindings supported for  metadata exchange. They are mexHttpBinding, mexHttpsBinding,  mexNamedPipesBinding, mexTcpBinding.&lt;br /&gt;
&lt;h4&gt;Contract&lt;/h4&gt;IMetadataExchange is the contract used for MEX  endpoint. WCF service host automatically provides the implementation for  this IMetadataExcahnge while hosting the service.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;You can create the Metadata Exchange Endpoint either Administrative (configuration file) or programmatically.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;Administrative (Configuration file):&lt;/h3&gt;In the configuration file of the hosting application, you can add metadata exchange endpoint as shown below.&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;pre class=&quot;Config&quot;&gt;&lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;system.serviceModel&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;services&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;service name=&quot;MyService&quot;&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;endpoint address=&quot;http://localhost/IISHostedService/MyService.svc&quot;
 binding=&quot;wsHttpBinding&quot; contract=&quot;IMyService&quot;&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;identity&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;dns value=&quot;localhost&quot;/&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/identity&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/endpoint&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;endpoint address=&quot;mex&quot; binding=&quot;mexHttpBinding&quot; contract=&quot;IMetadataExchange&quot;/&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/service&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/services&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;  
&lt;span class=&quot;BlueCode&quot;&gt;&amp;lt;&lt;/span&gt;/system.serviceModel&lt;span class=&quot;BlueCode&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;Programming Model:&lt;/h3&gt;In the following code I have mention about creating the Metadata  Exchange Endpoint through coding. Steps to create the metadata endpoint  are&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;ul&gt;&lt;li&gt;Create the &lt;i&gt;ServiceMetadataBehavior&lt;/i&gt; object and add to Service host description.&lt;/li&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;pre class=&quot;csharp&quot;&gt;ServiceMetadataBehavior smb = new ServiceMetadataBehavior();
            host.Description.Behaviors.Add(smb);&lt;/pre&gt;&lt;/div&gt;&lt;li&gt;Create the metadata binding object using &lt;i&gt;MetadataExchangeBinding&lt;/i&gt;&lt;/li&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;pre class=&quot;csharp&quot;&gt;Binding mexBinding = MetadataExchangeBindings.CreateMexHttpBinding ();&lt;/pre&gt;&lt;/div&gt;&lt;li&gt;3. Add the endpoint to the service host with address, binding and contract.&lt;/li&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;pre class=&quot;csharp&quot;&gt;host.AddServiceEndpoint(typeof(IMetadataExchange), mexBinding, &quot;mex&quot;);&lt;/pre&gt;&lt;/div&gt;&lt;/ul&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;  &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Complete code for hosting the service with metadata exchange endpoint is shown below.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div class=&quot;codeblock&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;pre class=&quot;csharp&quot;&gt;//Create a URI to serve as the base address
            Uri httpUrl = new Uri(&quot;http://localhost:8090/MyService/SimpleCalculator&quot;);
            //Create ServiceHost
            ServiceHost host = new 
            ServiceHost(typeof(MyCalculatorService.SimpleCalculator), httpUrl);
            //Add a service endpoint
            host.AddServiceEndpoint
            (typeof(MyCalculatorService.ISimpleCalculator), new WSHttpBinding(), &quot;&quot;);
            //Enable metadata exchange
            ServiceMetadataBehavior smb = new ServiceMetadataBehavior();
            host.Description.Behaviors.Add(smb);
            Binding mexBinding = MetadataExchangeBindings.CreateMexHttpBinding ();
            //Adding metadata exchange endpoint
            host.AddServiceEndpoint(typeof(IMetadataExchange), mexBinding, &quot;mex&quot;);
            //Start the Service
            host.Open();

            Console.WriteLine(&quot;Service is host at &quot; + DateTime.Now.ToString());
            Console.WriteLine(&quot;Host is running... Press  key to stop&quot;);
            Console.ReadLine();&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/6315611563184443194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/05/metadata-exchange-endpoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/6315611563184443194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/6315611563184443194'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/05/metadata-exchange-endpoint.html' title='Metadata Exchange Endpoint'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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-5630870614757701990.post-2656120753605848696</id><published>2011-05-25T04:54:00.000-07:00</published><updated>2011-05-25T04:55:02.343-07:00</updated><title type='text'>WCF Architecture</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;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;The following figure illustrates the major components of WCF.&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0ulKix66Y0dEdKBaqhzZIyI-OQpxUQ3xEw2PvJuVpVmVyh5Lp8TFjUvdKJb_AZDwfGiowl-byZowKwFdHnOcKGH6C3iGZwKwMEv8KcoFtYzeSJd_afLMKX6Pgx9n3h8NjyvxyASq-fQaT/s1600/050000_WCF-Architecture.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;316&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0ulKix66Y0dEdKBaqhzZIyI-OQpxUQ3xEw2PvJuVpVmVyh5Lp8TFjUvdKJb_AZDwfGiowl-byZowKwFdHnOcKGH6C3iGZwKwMEv8KcoFtYzeSJd_afLMKX6Pgx9n3h8NjyvxyASq-fQaT/s400/050000_WCF-Architecture.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;Contracts&lt;/h3&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Contracts layer are next to that of  Application layer. Developer will directly use this contract to develop  the service. We are also going to do the same now. Let us see briefly  what these contracts will do for us and we will also know that WCF is  working on message system.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;Service contracts &lt;/h3&gt;- Describe about the operation that  service can provide. Example, Service provided to know the temperature  of the city based on the zip code, this service we call as Service  contract. It will be created using Service and Operational Contract  attribute.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;Data contract&lt;/h3&gt;- It describes the custom data type which  is exposed to the client. This defines the data types, are passed to and  from service. Data types like int, string are identified by the client  because it is already mention in XML schema definition language  document, but custom created class or datatype cannot be identified by  the client e.g. Employee data type. By using DataContract we can make  client aware that we are using Employee data type for returning or  passing parameter to the method.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;Message Contract&lt;/h3&gt;- Default SOAP message format is  provided by the WCF runtime for communication between Client and  service. If it is not meeting your requirements then we can create our  own message format. This can be achieved by using Message Contract  attribute.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;Policies and Binding&lt;/h3&gt;- Specify conditions required to  communicate with a service e.g security requirement to communicate with  service, protocol and encoding used for binding.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;Service Runtime&lt;/h3&gt;- It contains the behaviors that occur during runtime of service.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Throttling Behavior- Controls how many messages are processed.&lt;/li&gt;
&lt;li&gt;Error Behavior - Specifies what occurs, when internal error occurs on the service.&lt;/li&gt;
&lt;li&gt;Metadata Behavior - Tells how and whether metadata is available to outside world.&lt;/li&gt;
&lt;li&gt;Instance Behavior - Specifies how many instance of the service has to be created while running.&lt;/li&gt;
&lt;li&gt;Transaction Behavior - Enables the rollback of transacted operations if a failure occurs.&lt;/li&gt;
&lt;li&gt;Dispatch Behavior - Controls how a message is processed by the WCF Infrastructure.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;Messaging&lt;/h3&gt;- Messaging layer is composed of channels. A  channel is a component that processes a message in some way, for  example, by authenticating a message. A set of channels is also known as  a channel stack. Channels are the core abstraction for sending message  to and receiving message from an Endpoint. Broadly we can categories  channels as &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Transport Channels Handles sending and receiving message from network.  Protocols like HTTP, TCP, name pipes and MSMQ.&lt;/li&gt;
&lt;li&gt;Protocol Channels Implements SOAP based protocol by processing and possibly modifying message. E.g. WS-Security and WS-Reliability.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;Activation and Hosting&lt;/h3&gt;- Services can be hosted or  executed, so that it will be available to everyone accessing from the  client. WCF service can be hosted by following mechanism&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;IIS Internet information Service provides number of  advantages if a Service uses Http as protocol. It does not require Host  code to activate the service, it automatically activates service code.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Windows Activation Service (WAS) is the new process  activation mechanism that ships with IIS 7.0. In addition to HTTP based  communication, WCF can also use WAS to provide message-based activation  over other protocols, such as TCP and named pipes.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Self-Hosting WCF service can be self hosted as console application, Win Forms or WPF application with graphical UI.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Windows Service WCF can also be hosted as a Windows Service, so that it is under control of the Service Control Manager (SCM).&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/2656120753605848696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/05/following-figure-illustrates-major.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/2656120753605848696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/2656120753605848696'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/05/following-figure-illustrates-major.html' title='WCF Architecture'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0ulKix66Y0dEdKBaqhzZIyI-OQpxUQ3xEw2PvJuVpVmVyh5Lp8TFjUvdKJb_AZDwfGiowl-byZowKwFdHnOcKGH6C3iGZwKwMEv8KcoFtYzeSJd_afLMKX6Pgx9n3h8NjyvxyASq-fQaT/s72-c/050000_WCF-Architecture.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5630870614757701990.post-8955445129044507847</id><published>2011-05-25T04:51:00.001-07:00</published><updated>2011-05-25T04:51:27.475-07:00</updated><title type='text'>WCF Hosting</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;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;We are going to see the four  different way of hosting the WCF service. WCF service cannot exist on  its own; it has to be hosted in windows process called as host process.  Single host process can host multiple servers and same service type can  be hosted in multiple host process. As we discussed there are mainly  four different way of hosting the WCF service.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;ol type=&quot;1&quot;&gt;&lt;li&gt;&lt;a href=&quot;http://www.wcftutorial.net/WCF-IIS-Hosting.aspx&quot; title=&quot;IIS hosting&quot;&gt;IIS hosting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.wcftutorial.net/WCF-Self-Hosting.aspx&quot; title=&quot;Self hosting&quot;&gt;Self hosting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.wcftutorial.net/WCF-WAS-Hosting.aspx&quot; title=&quot;Windows Activation Service&quot;&gt;Windows Activation Service&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.wcftutorial.net/WCF-Windows-Service-Hosting.aspx&quot; title=&quot;Windows Service&quot;&gt;Windows Service&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Multiple hosting and protocols supported by WCF.Microsoft has  introduced the WCF concept in order to make distributed application  development and deployment simple.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;table border=&quot;1&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;      &lt;th&gt;Hosting Environment&lt;/th&gt;      &lt;th&gt;Supported protocol&lt;/th&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;Windows console and form application&lt;/td&gt;      &lt;td&gt;HTTP,net.tcp,net.pipe,net.msmq&lt;/td&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;Windows service application (formerly known as NT services)&lt;/td&gt;      &lt;td&gt;HTTP,net.tcp,net.pipe,net.msmq&lt;/td&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;Web server IIS6&lt;/td&gt;      &lt;td&gt;http, wshttp&lt;/td&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;Web server IIS7 - Windows Process Activation Service (WAS)&lt;/td&gt;      &lt;td&gt;HTTP,net.tcp,net.pipe,net.msmq&lt;/td&gt;   &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;A summary of hosting options and supported features. &lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;   &lt;table border=&quot;1&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;      &lt;th&gt;Feature&lt;/th&gt;      &lt;th&gt;Self-Hosting&lt;/th&gt;      &lt;th&gt;IIS Hosting&lt;/th&gt;      &lt;th&gt;WAS Hosting&lt;/th&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;Executable Process/ App Domain&lt;/td&gt;      &lt;td&gt;Yes&lt;/td&gt;      &lt;td&gt;Yes&lt;/td&gt;      &lt;td&gt;Yes&lt;/td&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;Configuration&lt;/td&gt;      &lt;td&gt;App.config&lt;/td&gt;      &lt;td&gt;Web.config&lt;/td&gt;      &lt;td&gt;Web.config&lt;/td&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;Activation&lt;/td&gt;      &lt;td&gt;Manual at startup&lt;/td&gt;      &lt;td&gt;Message-based&lt;/td&gt;      &lt;td&gt;Message-based&lt;/td&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;Idle-Time Management&lt;/td&gt;      &lt;td&gt;No&lt;/td&gt;      &lt;td&gt;Yes&lt;/td&gt;      &lt;td&gt;Yes&lt;/td&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;Health Monitoring&lt;/td&gt;      &lt;td&gt;No&lt;/td&gt;      &lt;td&gt;Yes&lt;/td&gt;      &lt;td&gt;Yes&lt;/td&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;Process Recycling&lt;/td&gt;      &lt;td&gt;No&lt;/td&gt;      &lt;td&gt;Yes&lt;/td&gt;      &lt;td&gt;Yes&lt;/td&gt;   &lt;/tr&gt;
&lt;tr&gt;      &lt;td&gt;Management Tools&lt;/td&gt;      &lt;td&gt;No&lt;/td&gt;      &lt;td&gt;Yes&lt;/td&gt;      &lt;td&gt;Yes&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://dotnetbowl.blogspot.com/feeds/8955445129044507847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/05/wcf-hosting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/8955445129044507847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/8955445129044507847'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/05/wcf-hosting.html' title='WCF Hosting'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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-5630870614757701990.post-771913520843956108</id><published>2011-05-25T04:48:00.001-07:00</published><updated>2011-05-25T04:48:44.073-07:00</updated><title type='text'>Types of Binding in WCF</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;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;BasicHttpBinding&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;It is suitable for communicating with ASP.NET Web services  (ASMX)-based services that comfort with WS-Basic Profile conformant Web  services.&lt;/li&gt;
&lt;li&gt;This binding uses HTTP as the transport and text/XML as the default message encoding.&lt;/li&gt;
&lt;li&gt;Security is disabled by default&lt;/li&gt;
&lt;li&gt;This binding does not support WS-* functionalities like WS- Addressing, WS-Security, WS-ReliableMessaging&lt;/li&gt;
&lt;li&gt;It is fairly weak on interoperability.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;WSHttpBinding&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;Defines a secure, reliable, interoperable binding suitable for non-duplex service contracts.&lt;/li&gt;
&lt;li&gt;It offers lot more functionality in the area of interoperability. &lt;/li&gt;
&lt;li&gt;It supports WS-* functionality and distributed transactions with reliable and secure sessions using SOAP security.&lt;/li&gt;
&lt;li&gt;It uses HTTP and HTTPS transport for communication.&lt;/li&gt;
&lt;li&gt;Reliable sessions are disabled by default.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;  &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;WSDualHttpBinding&lt;/h3&gt;This binding is same as that of WSHttpBinding, except it supports  duplex service. Duplex service is a service which uses duplex message  pattern, which allows service to communicate with client via callback.&lt;br /&gt;
In WSDualHttpBinding reliable sessions are enabled by default. It also supports communication via SOAP intermediaries.&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;WSFederationHttpBinding&lt;/h3&gt;This binding support federated security. It helps implementing  federation which is the ability to flow and share identities across  multiple enterprises or trust domains for authentication and  authorization. It supports WS-Federation protocol.&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;  &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;NetTcpBinding&lt;/h3&gt;This binding provides secure and reliable binding environment for  .Net to .Net cross machine communication. By default it creates  communication stack using WS-ReliableMessaging protocol for reliability,  TCP for message delivery and windows security for message and  authentication at run time. It uses TCP protocol and provides support  for security, transaction and reliability.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;NetNamedPipeBinding&lt;/h3&gt;This binding provides secure and reliable binding environment for  on-machine cross process communication. It uses NamedPipe protocol and  provides full support for SOAP security, transaction and reliability. By  default it creates communication stack with WS-ReliableMessaging for  reliability, transport security for transfer security, named pipes for  message delivery and binary encoding.&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;h3&gt;NetMsmqBinding&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;This binding provides secure and reliable queued communication for cross-machine environment. &lt;/li&gt;
&lt;li&gt;Queuing is provided by using MSMQ as transport.&lt;/li&gt;
&lt;li&gt;It enables for disconnected operations, failure isolation and load leveling &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;h3&gt;NetPeerTcpBinding&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;This binding provides secure binding for peer-to-peer environment and network applications. &lt;/li&gt;
&lt;li&gt;It uses TCP protocol for communication&lt;/li&gt;
&lt;li&gt;It provides full support for SOAP security, transaction and reliability.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnetbowl.blogspot.com/feeds/771913520843956108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dotnetbowl.blogspot.com/2011/05/types-of-binding-in-wcf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/771913520843956108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5630870614757701990/posts/default/771913520843956108'/><link rel='alternate' type='text/html' href='http://dotnetbowl.blogspot.com/2011/05/types-of-binding-in-wcf.html' title='Types of Binding in WCF'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/03316693353211974122</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>