<?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-8762567634670474557</id><updated>2024-09-04T17:25:56.877+05:30</updated><category term="Asp.net"/><category term="Application state"/><category term="State Management"/><category term="client side"/><category term="code section"/><category term="cookies"/><category term="page directives"/><category term="page layout"/><category term="server side state management"/><category term="session state"/><category term="view state"/><title type='text'>.NET Interview Questions</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://computerwizard-tricks.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8762567634670474557/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://computerwizard-tricks.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04197858484029119783</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>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8762567634670474557.post-8863978201251623858</id><published>2012-05-21T15:54:00.001+05:30</published><updated>2012-05-21T16:11:07.094+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Application state"/><category scheme="http://www.blogger.com/atom/ns#" term="Asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="client side"/><category scheme="http://www.blogger.com/atom/ns#" term="cookies"/><category scheme="http://www.blogger.com/atom/ns#" term="server side state management"/><category scheme="http://www.blogger.com/atom/ns#" term="session state"/><category scheme="http://www.blogger.com/atom/ns#" term="State Management"/><category scheme="http://www.blogger.com/atom/ns#" term="view state"/><title type='text'>Introduction to State Management</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;State management is the process by which you maintain state and page information over multiple requests for the same or different pages.&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Types of State management:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-align: justify;&quot;&gt;Client side state Management&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-align: justify;&quot;&gt;Server side state management&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Client side State Management :&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This stores information on the client&#39;s computer by embedding the information into a Web page, a URLor cookie.Following &amp;nbsp;techniques are available to store the state information at client side:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt; 1.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&quot;&gt;&lt;b&gt;Cookies:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&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;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&quot;&gt;Cookies store a value in the user&#39;s browser that the browser sends with every page request to the same server. Cookies are the best way to store state data that must be available for multiple Web pages on a web site.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2. View State:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Asp.Net uses View State to track the values in the Controls. You can add custom values to the view state. It is used by the Asp.net page framework to automatically save the values of the page and of each control just prior to rendering to the page. When the page is posted, one of the first tasks performed by page processing is to restore view state.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;3.Control State:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If you create a custom control that requires view state to work properly, you should use control state to ensure other developers don’t break your control by disabling view state.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Server side State Management:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt; 1.Application State&lt;/b&gt; - Application State information is available to all pages, instead of which user requests a page.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Tahoma; font-size: 13px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2.Session State &lt;/b&gt;– Session State information is available to all pages opened by a user during a single visit.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://computerwizard-tricks.blogspot.com/feeds/8863978201251623858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computerwizard-tricks.blogspot.com/2012/05/introduction-to-state-management.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8762567634670474557/posts/default/8863978201251623858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8762567634670474557/posts/default/8863978201251623858'/><link rel='alternate' type='text/html' href='http://computerwizard-tricks.blogspot.com/2012/05/introduction-to-state-management.html' title='Introduction to State Management'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04197858484029119783</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-8762567634670474557.post-5079612342133498230</id><published>2012-05-21T15:35:00.001+05:30</published><updated>2012-05-21T16:12:01.353+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="code section"/><category scheme="http://www.blogger.com/atom/ns#" term="page directives"/><category scheme="http://www.blogger.com/atom/ns#" term="page layout"/><title type='text'>Introduction to ASP.NET</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;h3 style=&quot;text-align: left;&quot;&gt;



&lt;b&gt;&lt;span style=&quot;font-size: 16pt;&quot;&gt;ASP.NET&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;


&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 14pt; font-weight: normal;&quot;&gt;ASP.NET is a server-side technology for creating
dynamic, standards-based Web sites and services that are accessible across
multiple platforms including mobile devices. It is part of the .NET-based
environment; you can author applications in any .NET compatible language,
including Visual Basic .NET, C#, and J#. Additionally, the entire .NET
Framework class library is available to any ASP.NET application&lt;/span&gt;&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;


&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;&quot;&gt;An ASP.NET page is a
     server-side text file saved with the .aspx extension. The internal
     structure of the page is extremely modular and comprises three distinct
     sections page directives, code, and page layout&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;

&lt;ul style=&quot;margin-top: 0in; text-align: left;&quot; type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;Page directives:&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal; text-align: left;&quot;&gt;Page directives set up the environment in which
     the page will run, specify how the HTTP runtime should process the page,
     and determine which assumptions about the page are safe to make.
     Directives also let you import namespaces to simplify coding, load
     assemblies not currently in the global assembly cache (GAC), and register
     new controls with custom tag names and namespace prefixes.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/h2&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;

&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;

&lt;ul style=&quot;text-align: left;&quot; type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 9.6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;Code section&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;text-align: left;&quot; type=&quot;disc&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;&quot;&gt; The code section contains handlers for page and
     control events, plus optional helper routines. Any source code pertinent
     to the page can be inserted inline or attached to the page through a
     separate file.&amp;nbsp;&lt;/span&gt;&lt;/ul&gt;
&lt;ul type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 9.6pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;Page layout&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul type=&quot;disc&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;&quot;&gt; The page layout represents the &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;&quot;&gt;skeleton of the
     page. It includes server controls, literal text, and HTML tags. The user
     interface of the server controls can be fleshed out a bit using declared
     attributes and control properties.&lt;/span&gt;&lt;/ul&gt;
&lt;/h3&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://computerwizard-tricks.blogspot.com/feeds/5079612342133498230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://computerwizard-tricks.blogspot.com/2012/05/introduction-to-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8762567634670474557/posts/default/5079612342133498230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8762567634670474557/posts/default/5079612342133498230'/><link rel='alternate' type='text/html' href='http://computerwizard-tricks.blogspot.com/2012/05/introduction-to-aspnet.html' title='Introduction to ASP.NET'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04197858484029119783</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>