<?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: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-3580163358075581580</id><updated>2011-11-27T15:47:10.252-08:00</updated><category term='Asp.Net'/><category term='psersed'/><title type='text'>ASP.Net Interview Questions And Answers</title><subtitle type='html'>Microsoft ASP.Net Active Server Pages Frequently asked questions. ASP and ASP.Net Interview Questions And Answers and FAQ's</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default?start-index=101&amp;max-results=100'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>130</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-4980222764441970287</id><published>2009-09-30T19:50:00.000-07:00</published><updated>2009-09-30T19:50:00.191-07:00</updated><title type='text'>What is the maximum number of cookies that can be allowed to a web site</title><content type='html'>20&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-4980222764441970287?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/4980222764441970287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=4980222764441970287' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4980222764441970287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4980222764441970287'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/what-is-maximum-number-of-cookies-that.html' title='What is the maximum number of cookies that can be allowed to a web site'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-7409483202523826614</id><published>2009-09-29T19:48:00.000-07:00</published><updated>2009-09-29T19:48:00.206-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='psersed'/><title type='text'>Which authentication mechanism allows you to connect to the database using the SYSDBA privilege?</title><content type='html'>You are logged on to a client. You do not have a secure connection from your client to the host where your Oracle database is running. Which authentication mechanism allows you to connect to the database using the SYSDBA privilege?&lt;br /&gt;A. Control file authentication&lt;br /&gt;B. Password file authentication&lt;br /&gt;C. Data dictionary authentication&lt;br /&gt;D. Operating system authentication&lt;br /&gt;&lt;br /&gt;Answer: B&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-7409483202523826614?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/7409483202523826614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=7409483202523826614' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/7409483202523826614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/7409483202523826614'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/which-authentication-mechanism-allows.html' title='Which authentication mechanism allows you to connect to the database using the SYSDBA privilege?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-4331729687582006566</id><published>2009-09-29T19:47:00.000-07:00</published><updated>2009-09-29T19:47:00.123-07:00</updated><title type='text'>Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?</title><content type='html'>DataTextField property.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-4331729687582006566?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/4331729687582006566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=4331729687582006566' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4331729687582006566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4331729687582006566'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/which-property-on-combo-box-do-you-set.html' title='Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-5346919367456552501</id><published>2009-09-28T19:47:00.000-07:00</published><updated>2009-09-28T19:47:00.298-07:00</updated><title type='text'>Which control would you use if you needed to make sure the values in two different controls matched?</title><content type='html'>CompareValidator control.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-5346919367456552501?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/5346919367456552501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=5346919367456552501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5346919367456552501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5346919367456552501'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/which-control-would-you-use-if-you.html' title='Which control would you use if you needed to make sure the values in two different controls matched?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-3423728654282019149</id><published>2009-09-27T19:46:00.000-07:00</published><updated>2009-09-27T19:46:00.192-07:00</updated><title type='text'>To test a Web service you must create a Windows application or Web application to consume this service?</title><content type='html'>False, the web service comes with a test page and it provides HTTP-GET method to test.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-3423728654282019149?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/3423728654282019149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=3423728654282019149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/3423728654282019149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/3423728654282019149'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/to-test-web-service-you-must-create.html' title='To test a Web service you must create a Windows application or Web application to consume this service?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-4559991462635466176</id><published>2009-09-26T19:44:00.000-07:00</published><updated>2009-09-26T19:44:00.461-07:00</updated><title type='text'>What is ViewState?</title><content type='html'>ViewState allows the state of objects (serializable) to be stored in a hidden field on the page.  ViewState is transported to the client and back to the server, and is not stored on the server or any other external source.  ViewState is used the retain the state of server-side objects between postabacks.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-4559991462635466176?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/4559991462635466176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=4559991462635466176' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4559991462635466176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4559991462635466176'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/what-is-viewstate.html' title='What is ViewState?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-1246381646342643831</id><published>2009-09-25T19:43:00.000-07:00</published><updated>2009-09-25T19:43:00.809-07:00</updated><title type='text'>What is the lifespan for items stored in ViewState?</title><content type='html'>Item stored in ViewState exist for the life of the current page.  This includes postbacks (to the same page).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-1246381646342643831?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/1246381646342643831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=1246381646342643831' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1246381646342643831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1246381646342643831'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/what-is-lifespan-for-items-stored-in.html' title='What is the lifespan for items stored in ViewState?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-6003546926068080459</id><published>2009-09-24T19:43:00.000-07:00</published><updated>2009-09-24T19:43:00.596-07:00</updated><title type='text'>What does the "EnableViewState" property do?  Why would I want it on or off?</title><content type='html'>It allows the page to save the users input on a form across postbacks.  It saves the server-side values for a given control into ViewState, which is stored as a hidden value on the page before sending the page to the clients browser.  When the page is posted back to the server the server control is recreated with the state stored in viewstate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-6003546926068080459?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/6003546926068080459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=6003546926068080459' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6003546926068080459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6003546926068080459'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/what-does-enableviewstate-property-do.html' title='What does the &quot;EnableViewState&quot; property do?  Why would I want it on or off?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-6847811608408165891</id><published>2009-09-23T19:43:00.000-07:00</published><updated>2009-09-23T19:43:00.774-07:00</updated><title type='text'>What are the different types of Session state management options available with ASP.NET?</title><content type='html'>ASP.NET provides In-Process and Out-of-Process state management.  In-Process stores the session in memory on the web server.  This requires the a "sticky-server" (or no load-balancing) so that the user is always reconnected to the same web server.  Out-of-Process Session state management stores data in an external data source.  The external data source may be either a SQL Server or a State Server service.  Out-of-Process state management requires that all objects stored in session are serializable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-6847811608408165891?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/6847811608408165891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=6847811608408165891' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6847811608408165891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6847811608408165891'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/what-are-different-types-of-session.html' title='What are the different types of Session state management options available with ASP.NET?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-130955786702801888</id><published>2009-09-22T19:43:00.000-07:00</published><updated>2009-09-22T19:43:00.461-07:00</updated><title type='text'>How to create a package for web application with components that shared with other applications?</title><content type='html'>Create a setup project which produces a .msi file.&lt;br /&gt;A shared component assembly must be given a strong name using the following steps:&lt;br /&gt;1. Create a key pair using sn.exe -k on the command line&lt;br /&gt;2. Add AssemblyKeyFileAttribute to the assembly file and set it to the full name and path of the key file generated in step 1.&lt;br /&gt;3. Build the assembly&lt;br /&gt;The setup program detects a strong named assembly and installs it into GAC on the client machine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-130955786702801888?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/130955786702801888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=130955786702801888' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/130955786702801888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/130955786702801888'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/how-to-create-package-for-web.html' title='How to create a package for web application with components that shared with other applications?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-1008559662994884584</id><published>2009-09-21T19:41:00.000-07:00</published><updated>2009-09-21T19:41:00.641-07:00</updated><title type='text'>what is .net frame work?</title><content type='html'>.Net framework is an environment provided on top of the OS which looks into&lt;br /&gt;1. Memory management&lt;br /&gt;2. Thread management&lt;br /&gt;and provides&lt;br /&gt;1. Language independence&lt;br /&gt;2. Platform independence&lt;br /&gt;It is defined by Microsoft as 'an environment for building, deploying and running web services and other applications. It consists of three main parts -- CLR, framework classes and ASP.Net'&lt;br /&gt;.Net facilitates integration of code written for desktop applications with code written for web applications. It also facilitates creation of assemblies from code files written in different .net languages. It provides a common type system (CTS) for bringing data types of all languages on a common platform.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-1008559662994884584?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/1008559662994884584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=1008559662994884584' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1008559662994884584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1008559662994884584'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/what-is-net-frame-work.html' title='what is .net frame work?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-180343574797764358</id><published>2009-09-20T19:39:00.000-07:00</published><updated>2009-09-20T19:39:00.245-07:00</updated><title type='text'>What is difference between Authentication and Authorization?</title><content type='html'>Authentication--&gt;Checking the validity.Ex:A creditcard validation by Verisign.It is called authenticating the CreditCard&lt;br /&gt;&lt;br /&gt;Authorization--&gt;Giving some rights -Ex:I authorize mr.Rahul to sign some papers realted with my bank accounts&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-180343574797764358?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/180343574797764358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=180343574797764358' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/180343574797764358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/180343574797764358'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/what-is-difference-between.html' title='What is difference between Authentication and Authorization?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-2007444654042981199</id><published>2009-09-19T19:39:00.000-07:00</published><updated>2009-09-19T19:39:00.076-07:00</updated><title type='text'>Explain Assemblies?,Difference between Panel and GroupBox?,Differences between ASP and ASP.NET</title><content type='html'>Assemblies are single deployable unit which consist of classes structures and interface.they consist of metadata which desrcibes assembly version ,name ,type etc. They are known as logical DLL's .&lt;br /&gt;panel are scrollable and in panels captions can not be displayed.&lt;br /&gt;it is vice versa incase of group box&lt;br /&gt;&lt;br /&gt;Asp is not compiled that is interperated where as ASP.net is compiled.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-2007444654042981199?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/2007444654042981199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=2007444654042981199' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/2007444654042981199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/2007444654042981199'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/explain-assembliesdifference-between.html' title='Explain Assemblies?,Difference between Panel and GroupBox?,Differences between ASP and ASP.NET'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-3954775048396812969</id><published>2009-09-18T19:39:00.000-07:00</published><updated>2009-09-18T19:39:00.638-07:00</updated><title type='text'>ASSEMBLIES</title><content type='html'>Assemblies are the building blocks of .NET Framework applications; they form the fundamental unit of deployment, version control, reuse, activation scoping, and security permissions. An assembly is a collection of types and resources that are built to work together and form a logical unit of functionality. An assembly provides the common language runtime with the information it needs to be aware of type implementations. To the runtime, a type does not exist outside the context of an assembly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-3954775048396812969?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/3954775048396812969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=3954775048396812969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/3954775048396812969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/3954775048396812969'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/assemblies.html' title='ASSEMBLIES'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-706939055513233162</id><published>2009-09-17T19:39:00.000-07:00</published><updated>2009-09-17T19:39:00.091-07:00</updated><title type='text'>What is the Subquery ?</title><content type='html'>Sub query is a query whose return values are used in filtering conditions of the main query.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-706939055513233162?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/706939055513233162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=706939055513233162' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/706939055513233162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/706939055513233162'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/what-is-subquery.html' title='What is the Subquery ?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-5556488063945390258</id><published>2009-09-16T19:38:00.000-07:00</published><updated>2009-09-16T19:38:00.411-07:00</updated><title type='text'>What is the difference between excute query and excute nonquery.?</title><content type='html'>Execute Query  is the  method which is used to  return the  result of the command like select Query. That is Update Query. The Execute Non Query&lt;br /&gt;is used  to  return the Query os the statement  like the update Delete Insert which returns No data&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-5556488063945390258?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/5556488063945390258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=5556488063945390258' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5556488063945390258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5556488063945390258'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/what-is-difference-between-excute-query.html' title='What is the difference between excute query and excute nonquery.?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-7681848025383134742</id><published>2009-09-15T19:36:00.000-07:00</published><updated>2009-09-15T19:36:00.213-07:00</updated><title type='text'>Whats the use of @ Register directives ?</title><content type='html'>@ Register Associates aliases with namespaces and class names for concise notation in custom server control syntax.&lt;br /&gt;&lt;%@ Register tagprefix="tagprefix" Namespace="namespace" Assembly="assembly" %&gt;&lt;%@ Register tagprefix="tagprefix" Tagname="tagname" Src="pathname" %&gt;&lt;br /&gt;Attributes tagprefix An alias to associate with a namespace.&lt;br /&gt;tagname An alias to associate with a class.&lt;br /&gt;Namespace The namespace to associate with tagprefix.&lt;br /&gt;Src The location (relative or absolute) of the declarative User Control file to associate with the tagprefix:tagname pair.&lt;br /&gt;Assembly The assembly in which the namespace that you are associating with tagprefix resides.&lt;br /&gt;Note   The assembly name does not include a file name extension.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-7681848025383134742?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/7681848025383134742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=7681848025383134742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/7681848025383134742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/7681848025383134742'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/whats-use-of-register-directives.html' title='Whats the use of @ Register directives ?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-6267956187071697399</id><published>2009-09-14T19:37:00.000-07:00</published><updated>2009-09-14T19:37:00.378-07:00</updated><title type='text'>In DataGrid, is it possible to add rows one by one at runtime. That means after entering data in one row next row will be added.</title><content type='html'>Yes, for this you have to use datatable and after inserting the first row in datatable u have to bind that datatable to the grid and next time , first u have to add the row in datatable and next bind it to datagrid. keep on doing. &lt;br /&gt;u have to maintain the datatable state&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-6267956187071697399?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/6267956187071697399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=6267956187071697399' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6267956187071697399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6267956187071697399'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/in-datagrid-is-it-possible-to-add-rows.html' title='In DataGrid, is it possible to add rows one by one at runtime. That means after entering data in one row next row will be added.'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-3753330712696395017</id><published>2009-09-13T19:35:00.000-07:00</published><updated>2009-09-13T19:35:00.565-07:00</updated><title type='text'>What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?</title><content type='html'>You must set the DataSource property and call the DataBind method.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-3753330712696395017?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/3753330712696395017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=3753330712696395017' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/3753330712696395017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/3753330712696395017'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/what-property-must-you-set-and-what.html' title='What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-2071860492043471464</id><published>2009-09-12T19:33:00.000-07:00</published><updated>2009-09-12T19:33:00.694-07:00</updated><title type='text'>How can you provide an alternating color scheme in a Repeater control?</title><content type='html'>Use the AlternatingItemTemplate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-2071860492043471464?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/2071860492043471464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=2071860492043471464' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/2071860492043471464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/2071860492043471464'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/how-can-you-provide-alternating-color.html' title='How can you provide an alternating color scheme in a Repeater control?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-4306539867864055214</id><published>2009-09-11T19:35:00.000-07:00</published><updated>2009-09-11T19:35:00.378-07:00</updated><title type='text'>Which template must you provide, in order to display data in a Repeater control?</title><content type='html'>ItemTemplate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-4306539867864055214?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/4306539867864055214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=4306539867864055214' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4306539867864055214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4306539867864055214'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/which-template-must-you-provide-in.html' title='Which template must you provide, in order to display data in a Repeater control?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-3344190456288639299</id><published>2009-09-10T19:35:00.000-07:00</published><updated>2009-09-10T19:35:00.457-07:00</updated><title type='text'>Can you edit data in the Repeater control?</title><content type='html'>No, it just reads the information from its data source.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-3344190456288639299?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/3344190456288639299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=3344190456288639299' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/3344190456288639299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/3344190456288639299'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/can-you-edit-data-in-repeater-control.html' title='Can you edit data in the Repeater control?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-188588743070273907</id><published>2009-09-09T19:34:00.000-07:00</published><updated>2009-09-09T19:34:00.519-07:00</updated><title type='text'>Which method do you invoke on the DataAdapter control to load your generated dataset with data?</title><content type='html'>The Fill() method.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-188588743070273907?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/188588743070273907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=188588743070273907' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/188588743070273907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/188588743070273907'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/which-method-do-you-invoke-on.html' title='Which method do you invoke on the DataAdapter control to load your generated dataset with data?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-5782029160863153552</id><published>2009-09-08T19:34:00.000-07:00</published><updated>2009-09-08T19:34:00.431-07:00</updated><title type='text'>Whats MSIL, and why should my developers need an appreciation of it if at all?</title><content type='html'>MSIL is the Microsoft Intermediate Language. All .NET compatible languages will get converted to MSIL.  MSIL also allows the .NET Framework to JIT compile the assembly on the installed computer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-5782029160863153552?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/5782029160863153552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=5782029160863153552' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5782029160863153552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5782029160863153552'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/whats-msil-and-why-should-my-developers.html' title='Whats MSIL, and why should my developers need an appreciation of it if at all?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-6615256518144179755</id><published>2009-09-07T19:33:00.000-07:00</published><updated>2009-09-07T19:33:00.734-07:00</updated><title type='text'>Explain what a diffgram is, and a good use for one?</title><content type='html'>The DiffGram is one of the two XML formats that you can use to render DataSet object contents to XML.  A good use is reading database data to an XML file to be sent to a Web Service.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-6615256518144179755?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/6615256518144179755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=6615256518144179755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6615256518144179755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6615256518144179755'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/explain-what-diffgram-is-and-good-use.html' title='Explain what a diffgram is, and a good use for one?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-8641833478158435213</id><published>2009-09-06T19:33:00.000-07:00</published><updated>2009-09-06T19:33:00.109-07:00</updated><title type='text'>Describe the difference between inline and code behind.</title><content type='html'>Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-8641833478158435213?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/8641833478158435213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=8641833478158435213' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/8641833478158435213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/8641833478158435213'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/describe-difference-between-inline-and.html' title='Describe the difference between inline and code behind.'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-4404135220934039990</id><published>2009-09-05T19:29:00.000-07:00</published><updated>2009-09-05T19:29:00.742-07:00</updated><title type='text'>Whats an assembly?</title><content type='html'>Assemblies are the building blocks of the .NET framework. Overview of assemblies from MSDN&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-4404135220934039990?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/4404135220934039990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=4404135220934039990' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4404135220934039990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4404135220934039990'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/whats-assembly.html' title='Whats an assembly?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-5416974010740215153</id><published>2009-09-04T19:29:00.000-07:00</published><updated>2009-09-04T19:29:00.490-07:00</updated><title type='text'>Can you explain what inheritance is and an example of when you might use it?</title><content type='html'>When you want to inherit (use the functionality of) another class.  Example: With a base class named Employee, a Manager class could be derived from the Employee base class.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-5416974010740215153?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/5416974010740215153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=5416974010740215153' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5416974010740215153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5416974010740215153'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/can-you-explain-what-inheritance-is-and.html' title='Can you explain what inheritance is and an example of when you might use it?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-2530022577221028771</id><published>2009-09-03T19:28:00.000-07:00</published><updated>2009-09-03T19:28:00.235-07:00</updated><title type='text'>What are the Application_Start and Session_Start subroutines used for?</title><content type='html'>This is where you can set the specific variables for the Application and Session objects.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-2530022577221028771?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/2530022577221028771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=2530022577221028771' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/2530022577221028771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/2530022577221028771'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/what-are-applicationstart-and.html' title='What are the Application_Start and Session_Start subroutines used for?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-5742196557811410033</id><published>2009-09-02T19:27:00.000-07:00</published><updated>2009-09-02T19:27:00.331-07:00</updated><title type='text'>What is the Global.asax used for?</title><content type='html'>The Global.asax (including the Global.asax.cs file) is used to implement application and session level events.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-5742196557811410033?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/5742196557811410033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=5742196557811410033' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5742196557811410033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5742196557811410033'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/what-is-globalasax-used-for.html' title='What is the Global.asax used for?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-7771670601095575170</id><published>2009-09-01T19:27:00.000-07:00</published><updated>2009-09-01T19:27:00.355-07:00</updated><title type='text'>Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?</title><content type='html'>Valid answers are:&lt;br /&gt;·  A DataSet can represent an entire relational database in memory, complete with tables, relations, and views.&lt;br /&gt;·  A DataSet is designed to work without any continuing connection to the original data source.&lt;br /&gt;·  Data in a DataSet is bulk-loaded, rather than being loaded on demand.&lt;br /&gt;·  There's no concept of cursor types in a DataSet.&lt;br /&gt;·  DataSets have no current record pointer You can use For Each loops to move through the data.&lt;br /&gt;·  You can store many edits in a DataSet, and write them to the original data source in a single operation.&lt;br /&gt;·  Though the DataSet is universal, other objects in ADO.NET come in different versions for different data sources.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-7771670601095575170?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/7771670601095575170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=7771670601095575170' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/7771670601095575170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/7771670601095575170'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/09/can-you-explain-difference-between.html' title='Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-1867296730132852361</id><published>2009-08-31T19:26:00.000-07:00</published><updated>2009-08-31T19:26:00.792-07:00</updated><title type='text'>What is the difference between Server.Transfer and Response.Redirect?  Why would I choose one over the other?</title><content type='html'>Server.Transfer transfers page processing from one page directly to the next page without making a round-trip back to the client's browser.  This provides a faster response with a little less overhead on the server.  Server.Transfer does not update the clients url history list or current url.  Response.Redirect is used to redirect the user's browser to another page or site.  This performas a trip back to the client where the client's browser is redirected to the new page.  The user's browser history list is updated to reflect the new address.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-1867296730132852361?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/1867296730132852361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=1867296730132852361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1867296730132852361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1867296730132852361'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/what-is-difference-between.html' title='What is the difference between Server.Transfer and Response.Redirect?  Why would I choose one over the other?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-1541855248020598450</id><published>2009-08-30T19:26:00.000-07:00</published><updated>2009-08-30T19:26:00.597-07:00</updated><title type='text'>Should user input data validation occur server-side or client-side?  Why?</title><content type='html'>All user input data validation should occur on the server at a minimum.  Additionally, client-side validation can be performed where deemed appropriate and feasable to provide a richer, more responsive experience for the user.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-1541855248020598450?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/1541855248020598450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=1541855248020598450' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1541855248020598450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1541855248020598450'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/should-user-input-data-validation-occur.html' title='Should user input data validation occur server-side or client-side?  Why?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-3439872561543108188</id><published>2009-08-29T19:26:00.000-07:00</published><updated>2009-08-29T19:26:00.359-07:00</updated><title type='text'>What type of code (server or client) is found in a Code-Behind class?</title><content type='html'>The answer is server-side code since code-behind is executed on the server.  However, during the code-behind's execution on the server, it can render client-side code such as JavaScript to be processed in the clients browser.  But just to be clear, code-behind executes on the server, thus making it server-side code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-3439872561543108188?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/3439872561543108188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=3439872561543108188' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/3439872561543108188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/3439872561543108188'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/what-type-of-code-server-or-client-is.html' title='What type of code (server or client) is found in a Code-Behind class?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-6796043368997090295</id><published>2009-08-28T19:26:00.001-07:00</published><updated>2009-08-28T19:26:00.577-07:00</updated><title type='text'>Explain the differences between Server-side and Client-side code?</title><content type='html'>Server-side code executes on the server.  Client-side code executes in the client's browser.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-6796043368997090295?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/6796043368997090295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=6796043368997090295' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6796043368997090295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6796043368997090295'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/explain-differences-between-server-side_28.html' title='Explain the differences between Server-side and Client-side code?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-3712402528241251495</id><published>2009-08-28T19:26:00.000-07:00</published><updated>2009-08-28T19:26:00.124-07:00</updated><title type='text'>Explain the differences between Server-side and Client-side code?</title><content type='html'>Server-side code executes on the server.  Client-side code executes in the client's browser.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-3712402528241251495?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/3712402528241251495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=3712402528241251495' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/3712402528241251495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/3712402528241251495'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/explain-differences-between-server-side.html' title='Explain the differences between Server-side and Client-side code?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-5252401655754069737</id><published>2009-08-27T19:25:00.000-07:00</published><updated>2009-08-27T19:25:00.262-07:00</updated><title type='text'>What data types do the RangeValidator control support</title><content type='html'>?&lt;br /&gt;Integer, String, and Date.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-5252401655754069737?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/5252401655754069737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=5252401655754069737' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5252401655754069737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5252401655754069737'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/what-data-types-do-rangevalidator.html' title='What data types do the RangeValidator control support'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-4304222997816457458</id><published>2009-08-26T19:25:00.000-07:00</published><updated>2009-08-26T19:25:00.222-07:00</updated><title type='text'>Suppose you want a certain ASP.NET function executed on MouseOver for a certain button.  Where do you add an event handler?</title><content type='html'>Add an OnMouseOver attribute to the button.  Example: btnSubmit.Attributes.Add("onmouseover","someClientCodeHere();");&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-4304222997816457458?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/4304222997816457458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=4304222997816457458' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4304222997816457458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4304222997816457458'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/suppose-you-want-certain-aspnet.html' title='Suppose you want a certain ASP.NET function executed on MouseOver for a certain button.  Where do you add an event handler?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-4854730133154275786</id><published>2009-08-25T19:25:00.000-07:00</published><updated>2009-08-25T19:25:00.251-07:00</updated><title type='text'>What’s a bubbled event?</title><content type='html'>When you have a complex control, like DataGrid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can bubble up their eventhandlers, allowing the main DataGrid event handler to take care of its constituents.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-4854730133154275786?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/4854730133154275786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=4854730133154275786' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4854730133154275786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4854730133154275786'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/whats-bubbled-event.html' title='What’s a bubbled event?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-8656719084868762474</id><published>2009-08-24T19:24:00.000-07:00</published><updated>2009-08-24T19:24:00.673-07:00</updated><title type='text'>What’s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"?</title><content type='html'>CodeBehind is relevant to Visual Studio.NET only.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-8656719084868762474?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/8656719084868762474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=8656719084868762474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/8656719084868762474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/8656719084868762474'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/whats-difference-between.html' title='What’s the difference between Codebehind=&quot;MyCode.aspx.cs&quot; andSrc=&quot;MyCode.aspx.cs&quot;?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-540736758814633559</id><published>2009-08-23T19:46:00.000-07:00</published><updated>2009-08-23T19:46:00.131-07:00</updated><title type='text'>Where on the Internet would you look for Web services?</title><content type='html'>http://www.uddi.org&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-540736758814633559?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/540736758814633559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=540736758814633559' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/540736758814633559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/540736758814633559'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/where-on-internet-would-you-look-for.html' title='Where on the Internet would you look for Web services?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-7312565714069326625</id><published>2009-08-23T19:24:00.000-07:00</published><updated>2009-08-23T19:24:00.353-07:00</updated><title type='text'>Where do you store the information about the user’s locale?</title><content type='html'>System.Web.UI.Page.Culture&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-7312565714069326625?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/7312565714069326625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=7312565714069326625' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/7312565714069326625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/7312565714069326625'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/where-do-you-store-information-about.html' title='Where do you store the information about the user’s locale?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-4922458731234464811</id><published>2009-08-22T19:46:00.000-07:00</published><updated>2009-08-22T19:46:00.568-07:00</updated><title type='text'>A Web service can only be written in .NET?</title><content type='html'>False&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-4922458731234464811?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/4922458731234464811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=4922458731234464811' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4922458731234464811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4922458731234464811'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/web-service-can-only-be-written-in-net.html' title='A Web service can only be written in .NET?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-7311077403201340801</id><published>2009-08-22T19:22:00.000-07:00</published><updated>2009-08-22T19:22:00.600-07:00</updated><title type='text'>What namespace does the Web page belong in the .NET Framework class hierarchy?</title><content type='html'>System.Web.UI.Page&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-7311077403201340801?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/7311077403201340801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=7311077403201340801' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/7311077403201340801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/7311077403201340801'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/what-namespace-does-web-page-belong-in.html' title='What namespace does the Web page belong in the .NET Framework class hierarchy?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-4902105100829431462</id><published>2009-08-21T19:44:00.000-07:00</published><updated>2009-08-21T19:44:00.208-07:00</updated><title type='text'>How many classes can a single .NET DLL contain?</title><content type='html'>It can contain many classes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-4902105100829431462?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/4902105100829431462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=4902105100829431462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4902105100829431462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4902105100829431462'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/how-many-classes-can-single-net-dll.html' title='How many classes can a single .NET DLL contain?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-4200885527995640595</id><published>2009-08-21T19:24:00.000-07:00</published><updated>2009-08-21T19:24:00.049-07:00</updated><title type='text'>When during the page processing cycle is ViewState available?</title><content type='html'>After the Init() and before the Page_Load(), or OnLoad() for a control.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-4200885527995640595?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/4200885527995640595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=4200885527995640595' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4200885527995640595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4200885527995640595'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/when-during-page-processing-cycle-is.html' title='When during the page processing cycle is ViewState available?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-5355605119108734830</id><published>2009-08-20T19:45:00.000-07:00</published><updated>2009-08-20T19:45:00.036-07:00</updated><title type='text'>What is the transport protocol you use to call a Web service?</title><content type='html'>SOAP (Simple Object Access Protocol) is the preferred protocol.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-5355605119108734830?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/5355605119108734830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=5355605119108734830' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5355605119108734830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5355605119108734830'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/what-is-transport-protocol-you-use-to.html' title='What is the transport protocol you use to call a Web service?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-1658058909859470283</id><published>2009-08-20T19:22:00.000-07:00</published><updated>2009-08-20T19:22:00.202-07:00</updated><title type='text'>What methods are fired during the page load?</title><content type='html'>Init() - when the page is instantiated&lt;br /&gt;Load() - when the page is loaded into server memory&lt;br /&gt;PreRender() - the brief moment before the page is displayed to the user as HTML&lt;br /&gt;Unload() - when page finishes loading.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-1658058909859470283?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/1658058909859470283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=1658058909859470283' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1658058909859470283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1658058909859470283'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/what-methods-are-fired-during-page-load.html' title='What methods are fired during the page load?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-8000740647848176734</id><published>2009-08-19T19:44:00.000-07:00</published><updated>2009-08-19T19:44:00.503-07:00</updated><title type='text'>What does WSDL stand for?</title><content type='html'>Web Services Description Language.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-8000740647848176734?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/8000740647848176734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=8000740647848176734' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/8000740647848176734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/8000740647848176734'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/what-does-wsdl-stand-for.html' title='What does WSDL stand for?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-4275828789029559663</id><published>2009-08-19T19:22:00.000-07:00</published><updated>2009-08-19T19:22:00.448-07:00</updated><title type='text'>What’s the difference between Response.Write() andResponse.Output.Write()?</title><content type='html'>Response.Output.Write() allows you to write formatted output.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-4275828789029559663?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/4275828789029559663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=4275828789029559663' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4275828789029559663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4275828789029559663'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/whats-difference-between-responsewrite.html' title='What’s the difference between Response.Write() andResponse.Output.Write()?'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-6999536086048529463</id><published>2009-08-18T19:40:00.000-07:00</published><updated>2009-08-18T19:41:59.391-07:00</updated><title type='text'>What do you mean by authentication and authorization</title><content type='html'>Simple answer to this is as follows Authentication is process of finding whether the user is valid.Example username and password u enter in mail page.That process is authentication Authorization is the process of holding rights for particular task.Example: Usually admin have right to install software in companies and others are not granted this right.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-6999536086048529463?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/6999536086048529463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=6999536086048529463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6999536086048529463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6999536086048529463'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/what-do-you-mean-by-authentication-and.html' title='What do you mean by authentication and authorization'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-1249123165234480524</id><published>2009-08-18T19:21:00.000-07:00</published><updated>2009-08-18T19:22:19.578-07:00</updated><title type='text'>Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.</title><content type='html'>inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When an ASP.NET request is received (usually a file with .aspx extension), the ISAPI filter aspnet_isapi.dll takes care of it by passing the request tothe actual worker process aspnet_wp.exe&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-1249123165234480524?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/1249123165234480524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=1249123165234480524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1249123165234480524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1249123165234480524'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2009/08/describe-role-of-inetinfoexe.html' title='Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-2513692298149749697</id><published>2008-11-12T01:30:00.000-08:00</published><updated>2008-12-22T21:14:25.744-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><title type='text'>Interview Questions ASP.NET</title><content type='html'>Interview Questions&lt;br /&gt;ASP.NET&lt;br /&gt;1. Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the&lt;br /&gt;page loading process. inetinfo.exe is theMicrosoft IIS server running, handling&lt;br /&gt;ASP.NET requests among other things.When an ASP.NET request is received&lt;br /&gt;(usually a file with .aspx extension),the ISAPI filter aspnet_isapi.dll takes care&lt;br /&gt;of it by passing the request tothe actual worker process aspnet_wp.exe.&lt;br /&gt;2. What’s the difference between Response.Write()&lt;br /&gt;andResponse.Output.Write()? The latter one allows you to write&lt;br /&gt;formattedoutput.&lt;br /&gt;3. What methods are fired during the page load? Init() - when the pageis&lt;br /&gt;instantiated, Load() - when the page is loaded into server memory,PreRender() -&lt;br /&gt;the brief moment before the page is displayed to the user asHTML, Unload() -&lt;br /&gt;when page finishes loading.&lt;br /&gt;4. Where does the Web page belong in the .NET Framework class&lt;br /&gt;hierarchy?System.Web.UI.Page&lt;br /&gt;5. Where do you store the information about the user’s locale?&lt;br /&gt;System.Web.UI.Page.Culture&lt;br /&gt;6. What’s the difference between Codebehind="MyCode.aspx.cs"&lt;br /&gt;andSrc="MyCode.aspx.cs"? CodeBehind is relevant to Visual Studio.NET&lt;br /&gt;only.&lt;br /&gt;7. What’s a bubbled event? When you have a complex control, like DataGrid,&lt;br /&gt;writing an event processing routine for each object (cell, button, row, etc.) is&lt;br /&gt;quite tedious. The controls can bubble up their eventhandlers, allowing the main&lt;br /&gt;DataGrid event handler to take care of its constituents.&lt;br /&gt;8. Suppose you want a certain ASP.NET function executed on MouseOver&lt;br /&gt;overa certain button. Where do you add an event handler? It’s the&lt;br /&gt;Attributesproperty, the Add function inside that property. So&lt;br /&gt;btnSubmit.Attributes.Add("onMouseOver","someClientCod&lt;br /&gt;e();")&lt;br /&gt;9. What data type does the RangeValidator control support? Integer,String and&lt;br /&gt;Date.&lt;br /&gt;10. Explain the differences between Server-side and Client-side code? Serverside&lt;br /&gt;code runs on the server. Client-side code runs in the clients’ browser.&lt;br /&gt;11. What type of code (server or client) is found in a Code-Behind class?&lt;br /&gt;Server-side code.&lt;br /&gt;12. Should validation (did the user enter a real date) occur server-side or&lt;br /&gt;client-side? Why? Client-side. This reduces an additional request to the server&lt;br /&gt;to validate the users input.&lt;br /&gt;13. What does the "EnableViewState" property do? Why would I want it on or&lt;br /&gt;off? It enables the viewstate on the page. It allows the page to save the users&lt;br /&gt;input on a form.&lt;br /&gt;14. What is the difference between Server.Transfer and Response.Redirect?&lt;br /&gt;Why would I choose one over the other? Server.Transfer is used to post a&lt;br /&gt;form to another page. Response.Redirect is used to redirect the user to another&lt;br /&gt;page or site.&lt;br /&gt;15. Can you explain the difference between an ADO.NET Dataset and an ADO&lt;br /&gt;Recordset?&lt;br /&gt;· A DataSet can represent an entire relational database in memory,&lt;br /&gt;complete with tables, relations, and views.&lt;br /&gt;· A DataSet is designed to work without any continuing connection to&lt;br /&gt;the original data source.&lt;br /&gt;· Data in a DataSet is bulk-loaded, rather than being loaded on&lt;br /&gt;demand.&lt;br /&gt;· There's no concept of cursor types in a DataSet.&lt;br /&gt;· DataSets have no current record pointer You can use For Each&lt;br /&gt;loops to move through the data.&lt;br /&gt;· You can store many edits in a DataSet, and write them to the&lt;br /&gt;original data source in a single operation.&lt;br /&gt;· Though the DataSet is universal, other objects in ADO.NET come in&lt;br /&gt;different versions for different data sources.&lt;br /&gt;16. Can you give an example of what might be best suited to place in the&lt;br /&gt;Application_Start and Session_Start subroutines? This is where you can set&lt;br /&gt;the specific variables for the Application and Session objects.&lt;br /&gt;17. If I’m developing an application that must accommodate multiple security&lt;br /&gt;levels though secure login and my ASP.NET web application is spanned&lt;br /&gt;across three web-servers (using round-robin load balancing) what would be&lt;br /&gt;the best approach to maintain login-in state for the users? Maintain the login&lt;br /&gt;state security through a database.&lt;br /&gt;18. Can you explain what inheritance is and an example of when you might use&lt;br /&gt;it? When you want to inherit (use the functionality of) another class. Base Class&lt;br /&gt;Employee. A Manager class could be derived from the Employee base class.&lt;br /&gt;19. Whats an assembly? Assemblies are the building blocks of the .NET&lt;br /&gt;framework. Overview of assemblies from MSDN&lt;br /&gt;20. Describe the difference between inline and code behind. Inline code written&lt;br /&gt;along side the html in a page. Code-behind is code written in a separate file and&lt;br /&gt;referenced by the .aspx page.&lt;br /&gt;21. Explain what a diffgram is, and a good use for one? The DiffGram is one of&lt;br /&gt;the two XML formats that you can use to render DataSet object contents to&lt;br /&gt;XML. For reading database data to an XML file to be sent to a Web Service.&lt;br /&gt;22. Whats MSIL, and why should my developers need an appreciation of it if&lt;br /&gt;at all? MSIL is the Microsoft Intermediate Language. All .NET compatible&lt;br /&gt;languages will get converted to MSIL.&lt;br /&gt;23. Which method do you invoke on the DataAdapter control to load your&lt;br /&gt;generated dataset with data? The .Fill() method&lt;br /&gt;24. Can you edit data in the Repeater control? No, it just reads the information&lt;br /&gt;from its data source&lt;br /&gt;25. Which template must you provide, in order to display data in a Repeater&lt;br /&gt;control? ItemTemplate&lt;br /&gt;26. How can you provide an alternating color scheme in a Repeater control?&lt;br /&gt;Use the AlternatingItemTemplate&lt;br /&gt;27. What property must you set, and what method must you call in your code,&lt;br /&gt;in order to bind the data from some data source to the Repeater control?&lt;br /&gt;You must set the DataSource property and call the DataBind method.&lt;br /&gt;28. What base class do all Web Forms inherit from? The Page class.&lt;br /&gt;29. Name two properties common in every validation control?&lt;br /&gt;ControlToValidate property and Text property.&lt;br /&gt;30. What tags do you need to add within the asp:datagrid tags to bind columns&lt;br /&gt;manually? Set AutoGenerateColumns Property to false on the datagrid tag&lt;br /&gt;31. What tag do you use to add a hyperlink column to the DataGrid?&lt;br /&gt;&lt;asp:hyperlinkcolumn&gt;&lt;br /&gt;32. What is the transport protocol you use to call a Web service? SOAP is the&lt;br /&gt;preferred protocol.&lt;br /&gt;33. True or False: A Web service can only be written in .NET? False&lt;br /&gt;34. What does WSDL stand for? (Web Services Description Language)&lt;br /&gt;35. Where on the Internet would you look for Web services?&lt;br /&gt;(http://www.uddi.org)&lt;br /&gt;36. Which property on a Combo Box do you set with a column name, prior to&lt;br /&gt;setting the DataSource, to display data in the combo box? DataTextField&lt;br /&gt;property&lt;br /&gt;37. Which control would you use if you needed to make sure the values in two&lt;br /&gt;different controls matched? CompareValidator Control&lt;br /&gt;38. True or False: To test a Web service you must create a windows application&lt;br /&gt;or Web application to consume this service? False, the webservice comes&lt;br /&gt;with a test page and it provides HTTP-GET method to test.&lt;br /&gt;39. How many classes can a single .NET DLL contain? It can contain many&lt;br /&gt;classes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-2513692298149749697?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/2513692298149749697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=2513692298149749697' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/2513692298149749697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/2513692298149749697'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2008/11/interview-questions-aspnet.html' title='Interview Questions ASP.NET'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-8175151327483811803</id><published>2008-10-20T02:49:00.000-07:00</published><updated>2008-12-22T21:14:25.744-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><title type='text'>ASP.NET</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///D:%5CUSERPR%7E1%5Csshende%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="Edit-Time-Data" href="file:///D:%5CUSERPR%7E1%5Csshende%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_editdata.mso"&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt; &lt;![endif]--&gt;&lt;link rel="themeData" href="file:///D:%5CUSERPR%7E1%5Csshende%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///D:%5CUSERPR%7E1%5Csshende%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="&amp;#45;-"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="0" name="footer"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="0" name="page number"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="0" name="Body Text"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="0" name="Hyperlink"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	mso-hyphenate:none; 	font-size:12.0pt; 	font-family:"Times New Roman","serif"; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-language:AR-SA;} p.MsoFooter, li.MsoFooter, div.MsoFooter 	{mso-style-noshow:yes; 	mso-style-unhide:no; 	mso-style-link:"Footer Char"; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	mso-hyphenate:none; 	tab-stops:center 3.0in right 6.0in; 	font-size:12.0pt; 	font-family:"Times New Roman","serif"; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-language:AR-SA;} p.MsoBodyText, li.MsoBodyText, div.MsoBodyText 	{mso-style-noshow:yes; 	mso-style-unhide:no; 	mso-style-link:"Body Text Char"; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:6.0pt; 	margin-left:0in; 	mso-pagination:widow-orphan; 	mso-hyphenate:none; 	font-size:12.0pt; 	font-family:"Times New Roman","serif"; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-language:AR-SA;} a:link, span.MsoHyperlink 	{mso-style-noshow:yes; 	mso-style-unhide:no; 	color:#FF1C42; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{mso-style-noshow:yes; 	mso-style-priority:99; 	color:purple; 	mso-themecolor:followedhyperlink; 	text-decoration:underline; 	text-underline:single;} span.BodyTextChar 	{mso-style-name:"Body Text Char"; 	mso-style-noshow:yes; 	mso-style-unhide:no; 	mso-style-locked:yes; 	mso-style-link:"Body Text"; 	mso-ansi-font-size:12.0pt; 	mso-bidi-font-size:12.0pt; 	mso-fareast-language:AR-SA;} span.FooterChar 	{mso-style-name:"Footer Char"; 	mso-style-noshow:yes; 	mso-style-unhide:no; 	mso-style-locked:yes; 	mso-style-link:Footer; 	mso-ansi-font-size:12.0pt; 	mso-bidi-font-size:12.0pt; 	mso-fareast-language:AR-SA;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt;} @page Section1 	{size:8.5in 11.0in; 	margin:.5in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1; 	mso-footnote-position:beneath-text;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;ASP.NET is a set of technologies in the Microsoft .NET Framework for building Web applications and XML Web Services. ASP.NET pages execute on the server and generate markup such as HTML, WML or XML that is sent to a desktop or mobile browser. ASP.NET pages use a compiled, event-driven programming model that improves performance and enables the separation of application logic and user interface. ASP.NET pages and ASP.NET XML Web Services files contain server-side logic (as opposed to client side logic) written in Visual Basic .NET, C# .NET, or any .NET compatible language. Web applications and XML Web Services take advantage of the features of the common language runtime, such as type safety, inheritance, language interoperability, versioning, and integrated security.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;What is the .NET Framework? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;The Microsoft .NET Framework is a platform for building, deploying, and running Web Services and applications. It provides a highly productive, standards-based, multi-language environment for integrating existing investments with next-generation applications and services as well as the agility to solve the challenges of deployment and operation of Internet-scale applications. The .NET Framework consists of three main parts: the common language runtime, a hierarchical set of unified class libraries, and a componentized version of Active Server Pages called ASP.NET.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Runtime Technical Questions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Terminology&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;What is the common language runtime (CLR)? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;The common language runtime is the execution engine for .NET Framework applications.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;It provides a number of services, including the following: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Code management (loading and execution) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Application memory isolation &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Verification of type safety &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Conversion of IL to native code &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Access to metadata (enhanced type information) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Managing memory for managed objects &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Enforcement of code access security &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Exception handling, including cross-language exceptions &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Interoperation between managed code, COM objects, and pre-existing DLLs (unmanaged code and data) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Automation of object layout &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Support for developer services (profiling, debugging, and so on) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;What is the common type system (CTS)? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;The common type system is a rich type system, built into the common language runtime, that supports the types and operations found in most programming languages. The common type system supports the complete implementation of a wide range of programming languages. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;What is the Common Language Specification (CLS)? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;The Common Language Specification is a set of constructs and constraints that serves as a guide for library writers and compiler writers. It allows libraries to be fully usable from any language supporting the CLS, and for those languages to integrate with each other. The Common Language Specification is a subset of the common type system. The Common Language Specification is also important to application developers who are writing code that will be used by other developers. When developers design publicly accessible APIs following the rules of the CLS, those APIs are easily used from all other programming languages that target the common language runtime.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;What is the Microsoft Intermediate Language (MSIL)? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;MSIL is the CPU-independent instruction set into which .NET Framework programs are compiled. It contains instructions for loading, storing, initializing, and calling methods on objects. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Combined with metadata and the common type system, MSIL allows for true cross-language integration. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Prior to execution, MSIL is converted to machine code. It is not interpreted. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;What is managed code and managed data?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Managed code is code that is written to target the services of the common language runtime (see What is the Common Language Runtime?). In order to target these services, the code must provide a minimum level of information (metadata) to the runtime. All C#, Visual Basic .NET, and JScript .NET code is managed by default. Visual Studio .NET C++ code is not managed by default, but the compiler can produce managed code by specifying a command-line switch (/CLR). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Closely related to managed code is managed data—data that is allocated and de-allocated by the common language runtime's garbage collector. C#, Visual Basic, and JScript .NET data is managed by default. C# data can, however, be marked as unmanaged through the use of special keywords. Visual Studio .NET C++ data is unmanaged by default (even when using the /CLR switch), but when using Managed Extensions for C++, a class can be marked as managed by using the __gc keyword. As the name suggests, this means that the memory for instances of the class is managed by the garbage collector. In addition, the class becomes a full participating member of the .NET Framework community, with the benefits and restrictions that brings. An example of a benefit is proper interoperability with classes written in other languages (for example, a managed C++ class can inherit from a Visual Basic class). An example of a restriction is that a managed class can only inherit from one base class. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Assemblies&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;What is an assembly? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;An assembly is the primary building block of a .NET Framework application. It is a collection of functionality that is built, versioned, and deployed as a single implementation unit (as one or more files). All managed types and resources are marked either as accessible only within their implementation unit, or as accessible by code outside that unit. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Assemblies are self-describing by means of their manifest, which is an integral part of every assembly. The manifest: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Establishes the assembly identity (in the form of a text name), version, culture, and digital signature (if the assembly is to be shared across applications). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Defines what files (by name and file hash) make up the assembly implementation. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Specifies the types and resources that make up the assembly, including which are exported from the assembly. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Itemizes the compile-time dependencies on other assemblies. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Specifies the set of permissions required for the assembly to run properly. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;This information is used at run time to resolve references, enforce version binding policy, and validate the integrity of loaded assemblies. The runtime can determine and locate the assembly for any running object, since every type is loaded in the context of an assembly. Assemblies are also the unit at which code access security permissions are applied. The identity evidence for each assembly is considered separately when determining what permissions to grant the code it contains. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;The self-describing nature of assemblies also helps makes zero-impact install and XCOPY deployment feasible.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;What are private assemblies and shared assemblies? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;A private assembly is used only by a single application, and is stored in that application's install directory (or a subdirectory therein). A shared assembly is one that can be referenced by more than one application. In order to share an assembly, the assembly must be explicitly built for this purpose by giving it a cryptographically strong name (referred to as a strong name). By contrast, a private assembly name need only be unique within the application that uses it. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;By making a distinction between private and shared assemblies, we introduce the notion of sharing as an explicit decision. Simply by deploying private assemblies to an application directory, you can guarantee that that application will run only with the bits it was built and deployed with. References to private assemblies will only be resolved locally to the private application directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;There are several reasons you may elect to build and use shared assemblies, such as the ability to express version policy. The fact that shared assemblies have a cryptographically strong name means that only the author of the assembly has the key to produce a new version of that assembly. Thus, if you make a policy statement that says you want to accept a new version of an assembly, you can have some confidence that version updates will be controlled and verified by the author. Otherwise, you don't have to accept them. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;For locally installed applications, a shared assembly is typically explicitly installed into the global assembly cache (a local cache of assemblies maintained by the .NET Framework). Key to the version management features of the .NET Framework is that downloaded code does not affect the execution of locally installed applications. Downloaded code is put in a special download cache and is not globally available on the machine even if some of the downloaded components are built as shared assemblies.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;The classes that ship with the .NET Framework are all built as shared assemblies. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;If I want to build a shared assembly, does that require the overhead of signing and managing key pairs? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Building a shared assembly does involve working with cryptographic keys. Only the public key is strictly needed when the assembly is being built. Compilers targeting the .NET Framework provide command line options (or use custom attributes) for supplying the public key when building the assembly. It is common to keep a copy of a common public key in a source database and point build scripts to this key. Before the assembly is shipped, the assembly must be fully signed with the corresponding private key. This is done using an SDK tool called SN.exe (Strong Name).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Strong name signing does not involve certificates like Authenticode does. There are no third party organizations involved, no fees to pay, and no certificate chains. In addition, the overhead for verifying a strong name is much less than it is for Authenticode. However, strong names do not make any statements about trusting a particular publisher. Strong names allow you to ensure that the contents of a given assembly haven't been tampered with, and that the assembly loaded on your behalf at run time comes from the same publisher as the one you developed against. But it makes no statement about whether you can trust the identity of that publisher.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;What is the difference between a namespace and an assembly name?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;A namespace is a logical naming scheme for types in which a simple type name, such as MyType, is preceded with a dot-separated hierarchical name. Such a naming scheme is completely under the control of the developer. For example, types MyCompany.FileAccess.A and MyCompany.FileAccess.B might be logically expected to have functionality related to file access. The .NET Framework uses a hierarchical naming scheme for grouping types into logical categories of related functionality, such as the Microsoft® ASP.NET application framework, or remoting functionality. Design tools can make use of namespaces to make it easier for developers to browse and reference types in their code. The concept of a namespace is not related to that of an assembly. A single assembly may contain types whose hierarchical names have different namespace roots, and a logical namespace root may span multiple assemblies. In the .NET Framework, a namespace is a logical design-time naming convenience, whereas an assembly establishes the name scope for types at run time. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Application Deployment and Isolation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;What options are available to deploy my .NET applications?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;The .NET Framework simplifies deployment by making zero-impact install and XCOPY deployment of applications feasible. Because all requests are resolved first to the private application directory, simply copying an application's directory files to disk is all that is needed to run the application. No registration is required. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;This scenario is particularly compelling for Web applications, Web Services, and self-contained desktop applications. However, there are scenarios where XCOPY is not sufficient as a distribution mechanism. An example is when the application has little private code and relies on the availability of shared assemblies, or when the application is not locally installed (but rather downloaded on demand). For these cases, the .NET Framework provides extensive code download services and integration with the Windows Installer. The code download support provided by the .NET Framework offers several advantages over current platforms, including incremental download, code access security (no more Authenticode dialogs), and application isolation (code downloaded on behalf of one application doesn't affect other applications). The Windows Installer is another powerful deployment mechanism available to .NET applications. All of the features of Windows Installer, including publishing, advertisement, and application repair will be available to .NET applications in Windows Installer 2.0. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;I've written an assembly that I want to use in more than one application. Where do I deploy it?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Assemblies that are to be used by multiple applications (for example, shared assemblies) are deployed to the global assembly cache. In the prerelease and Beta builds, use the /i option to the GACUtil SDK tool to install an assembly into the cache:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;gacutil /i myDll.dll&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Windows Installer 2.0, which ships with Windows XP and Visual Studio .NET will be able to install assemblies into the global assembly cache.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;How can I see what assemblies are installed in the global assembly cache?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;The .NET Framework ships with a Windows shell extension for viewing the assembly cache. Navigating to % windir%\assembly with the Windows Explorer activates the viewer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;What is an application domain?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;An application domain (often AppDomain) is a virtual process that serves to isolate an application. All objects created within the same application scope (in other words, anywhere along the sequence of object activations beginning with the application entry point) are created within the same application domain. Multiple application domains can exist in a single operating system process, making them a lightweight means of application isolation. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;An OS process provides isolation by having a distinct memory address space. While this is effective, it is also expensive, and does not scale to the numbers required for large web servers. The Common Language Runtime, on the other hand, enforces application isolation by managing the memory use of code running within the application domain. This ensures that it does not access memory outside the boundaries of the domain. It is important to note that only type-safe code can be managed in this way (the runtime cannot guarantee isolation when unsafe code is loaded in an application domain). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Garbage Collection&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;What is garbage collection? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Garbage collection is a mechanism that allows the computer to detect when an object can no longer be accessed. It then automatically releases the memory used by that object (as well as calling a clean-up routine, called a "finalizer," which is written by the user). Some garbage collectors, like the one used by .NET, compact memory and therefore decrease your program's working set.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;How does non-deterministic garbage collection affect my code? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;For most programmers, having a garbage collector (and using garbage collected objects) means that you never have to worry about deallocating memory, or reference counting objects, even if you use sophisticated data structures. It does require some changes in coding style, however, if you typically deallocate system resources (file handles, locks, and so forth) in the same block of code that releases the memory for an object. With a garbage collected object you should provide a method that releases the system resources deterministically (that is, under your program control) and let the garbage collector release the memory when it compacts the working set.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Can I avoid using the garbage collected heap?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;All languages that target the runtime allow you to allocate class objects from the garbage-collected heap. This brings benefits in terms of fast allocation, and avoids the need for programmers to work out when they should explicitly 'free' each object.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;The CLR also provides what are called ValueTypes—these are like classes, except that ValueType objects are allocated on the runtime stack (rather than the heap), and therefore reclaimed automatically when your code exits the procedure in which they are defined. This is how "structs" in C# operate.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Managed Extensions to C++ lets you choose where class objects are allocated. If declared as managed Classes, with the __gc keyword, then they are allocated from the garbage-collected heap. If they don't include the __gc keyword, they behave like regular C++ objects, allocated from the C++ heap, and freed explicitly with the "free" method.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;For additional information about Garbage Collection see: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;a href="http://msdn.microsoft.com/library/en-us/dnmag00/html/GCI.asp"&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Garbage Collection: Automatic Memory Management in the Microsoft .NET Framework&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/msdnmag/issues/1200/GCI2/TOC.ASP"&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Garbage Collection, Part 2: Automatic Memory Management in the Microsoft .NET Framework&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;a href="http://msdn.microsoft.com/library/en-us/dndotnet/html/#faq111700_concepts"&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Back to Top&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Remoting &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;How do in-process and cross-process communication work in the Common Language Runtime?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;There are two aspects to in-process communication: between contexts within a single application domain, or across application domains. Between contexts in the same application domain, proxies are used as an interception mechanism. No marshaling/serialization is involved. When crossing application domains, we do marshaling/serialization using the runtime binary protocol. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Cross-process communication uses a pluggable channel and formatter protocol, each suited to a specific purpose. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;If the developer specifies an endpoint using the tool soapsuds.exe to generate a metadata proxy, HTTP channel with SOAP formatter is the default. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;If a developer is doing explicit remoting in the managed world, it is necessary to be explicit about what channel and formatter to use. This may be expressed administratively, through configuration files, or with API calls to load specific channels. Options are: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;HTTP channel w/ SOAP formatter (HTTP works well on the Internet, or anytime traffic must travel through firewalls) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;TCP channel w/ binary formatter (TCP is a higher performance option for local-area networks (LANs)) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;When making transitions between managed and unmanaged code, the COM infrastructure (specifically, DCOM) is used for remoting. In interim releases of the CLR, this applies also to serviced components (components that use COM+ services). Upon final release, it should be possible to configure any remotable component.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Distributed garbage collection of objects is managed by a system called "leased based lifetime." Each object has a lease time, and when that time expires, the object is disconnected from the remoting infrastructure of the CLR. Objects have a default renew time-the lease is renewed when a successful call is made from the client to the object. The client can also explicitly renew the lease. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Interoperability&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Can I use COM objects from a .NET Framework program? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Yes. Any COM component you have deployed today can be used from managed code, and in common cases the adaptation is totally automatic.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Specifically, COM components are accessed from the .NET Framework by use of a runtime callable wrapper (RCW). This wrapper turns the COM interfaces exposed by the COM component into .NET Framework-compatible interfaces. For OLE automation interfaces, the RCW can be generated automatically from a type library. For non-OLE automation interfaces, a developer may write a custom RCW and manually map the types exposed by the COM interface to .NET Framework-compatible types. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Can .NET Framework components be used from a COM program? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Yes. Managed types you build today can be made accessible from COM, and in the common case the configuration is totally automatic. There are certain new features of the managed development environment that are not accessible from COM. For example, static methods and parameterized constructors cannot be used from COM. In general, it is a good idea to decide in advance who the intended user of a given type will be. If the type is to be used from COM, you may be restricted to using those features that are COM accessible.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Depending on the language used to write the managed type, it may or may not be visible by default.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Specifically, .NET Framework components are accessed from COM by using a COM callable wrapper (CCW). This is similar to an RCW (see previous question), but works in the opposite direction. Again, if the .NET Framework development tools cannot automatically generate the wrapper, or if the automatic behavior is not what you want, a custom CCW can be developed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Can I use the Win32 API from a .NET Framework program?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Yes. Using platform invoke, .NET Framework programs can access native code libraries by means of static DLL entry points. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Here is an example of C# calling the Win32 &lt;b&gt;MessageBox&lt;/b&gt; function: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;using System; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;using System.Runtime.InteropServices; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt; class MainApp { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;span style=""&gt;    &lt;/span&gt;[DllImport("user32.dll", EntryPoint="MessageBox")] &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static extern int MessageBox(int hWnd, String strMessage, String strCaption, uint uiType); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt; &lt;span style=""&gt;    &lt;/span&gt;public static void Main() &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;span style=""&gt;    &lt;/span&gt;{ &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;MessageBox( 0, "Hello, this is PInvoke in operation!", ".NET", 0 ); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;span style=""&gt;    &lt;/span&gt;} &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText"&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;}&lt;/span&gt;&lt;span style="letter-spacing: 1.6pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-8175151327483811803?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/8175151327483811803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=8175151327483811803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/8175151327483811803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/8175151327483811803'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2008/10/aspnet.html' title='ASP.NET'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-4432897567198737736</id><published>2008-08-26T21:05:00.000-07:00</published><updated>2008-12-22T21:14:25.744-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><title type='text'>Testing .aspx Script from Console Prompt</title><content type='html'>&lt;p style="margin: 0pt;" align="justify"&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Platform: Windows NT 4.0 or Windows 2000&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0pt;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Version  : VS.NET Beta 2 only&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0pt;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Requirements :  Favorite editor (whether SDI or MDI )&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0pt;"&gt; &lt;/p&gt; &lt;p style="margin: 0pt;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Method : Simply write the following code into a file and save it as MyTest.exe , then  try this out, perform the following steps:&lt;/span&gt;&lt;/p&gt; &lt;ol&gt;&lt;li&gt;     &lt;p style="margin: 0pt;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Copy     The MyTest.cs and Test.aspx files to a local directory. &lt;/span&gt;   &lt;/p&gt;&lt;/li&gt;&lt;li&gt;     &lt;p style="margin: 0pt;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Compile     MyTest.exe by typing csc MyTest.cs /r:System.Web.dll within a command prompt     in the directory.&lt;/span&gt;   &lt;/p&gt;&lt;/li&gt;&lt;li&gt;     &lt;p style="margin: 0pt;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Type     MyTest.exe Test.aspx&lt;/span&gt; &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p style="margin: 0pt;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;One interesting use of this functionality is to pre-process dynamic ASP.NET requests saving the output as static .htm files that you then prop onto a server. You can do this with MyTest.exe by pipeing the output automatically to a static file. For example:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0pt;"&gt; &lt;/p&gt; &lt;pre style="margin: 0pt;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;      MyTest.exe Test.aspx &gt; Test.htm&lt;br /&gt;&lt;br /&gt;----------------------------------------------&lt;br /&gt;MyTest.cs&lt;br /&gt;----------------------------------------------&lt;br /&gt;&lt;br /&gt;using System ;&lt;br /&gt;using System.IO ;&lt;br /&gt;using System.Web ;&lt;br /&gt;using System.Web.Hosting ;&lt;br /&gt;&lt;br /&gt;public class MyExeHost : MarshalByRefObject &lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;{&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 20px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;public void ProcessRequest ( String page ) &lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 20px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;{&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 40px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;HttpRuntime.ProcessRequest ( new SimpleWorkerRequest ( page, null, Console.Out ) ) ;&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 20px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;}&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 20px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;public static void Main ( String[ ] args ) &lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 20px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;{&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 40px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;MyExeHost host = ( MyExeHost )ApplicationHost.CreateApplicationHost ( typeof ( MyExeHost ),&lt;br /&gt;			"/foo", Directory. CurrentDirectory ) ;&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 40px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;foreach ( String page in args ) &lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 40px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;{&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 60px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;host.ProcessRequest ( page ) ;&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 40px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;}&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 20px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;}&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;}&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt;"&gt; &lt;/pre&gt; &lt;pre style="margin: 0pt;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;----------------------------------&lt;br /&gt;Test.aspx&lt;br /&gt;----------------------------------&lt;br /&gt;&lt;html&gt;&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 20px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;body&gt;&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 40px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;h1&gt; Hi checking it out ! &lt;%=Now%&gt; &lt;/h1&gt;&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt 0pt 0pt 20px;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/body&gt;&lt;/span&gt;&lt;/pre&gt; &lt;pre style="margin: 0pt;"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/html&gt;&lt;/span&gt;&lt;/pre&gt; &lt;p align="justify"&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-4432897567198737736?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/4432897567198737736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=4432897567198737736' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4432897567198737736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/4432897567198737736'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2008/08/testing-aspx-script-from-console-prompt.html' title='Testing .aspx Script from Console Prompt'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-5221300821335835871</id><published>2008-07-25T00:43:00.000-07:00</published><updated>2008-12-22T21:14:25.744-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><title type='text'>ASP FAQ's 3</title><content type='html'>&lt;h2 class="postTitle" style="color: rgb(102, 102, 102);"&gt;&lt;br /&gt;&lt;/h2&gt; &lt;b&gt;1. What is the result of using Option Explicit?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;A. This applies only to Visual Basic, not VBScript.&lt;br /&gt;B. All variables must be dimensioned before use.&lt;br /&gt;C. All variables are dimensioned at run-time.&lt;br /&gt;D. Forces all  controls to have a SELECTED&lt;br /&gt;option.&lt;br /&gt;E. Requires all variables be cast as specific datatypes.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;2. What should be used in order to determine if the cookie&lt;br /&gt;"FavoriteFlavors" in the request object contains more than one entry?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;A. Request.Cookies("FavoriteFlavors").HasItems&lt;br /&gt;B. Request.Cookies("FavoriteFlavors").Collection.Count&lt;br /&gt;C. Request.Cookies("FavoriteFlavors").Dictionary&lt;br /&gt;D. Request.Cookies("FavoriteFlavors").HasKeys&lt;br /&gt;E. Request.Cookies("FavoriteFlavors").Count&lt;br /&gt;&lt;b&gt;&lt;br /&gt;3. When is the Session_OnStart event fired?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;A. Upon every request from an application by a client for an&lt;br /&gt;.asp document.&lt;br /&gt;B. Upon the first request from an application by a client for&lt;br /&gt;any file in the application.&lt;br /&gt;C. Upon the first request for an .asp document from an&lt;br /&gt;application by a client.&lt;br /&gt;D. Upon the first request for the global.asp file, in which the&lt;br /&gt;event handler is located.&lt;br /&gt;E. Upon the first request for an .htm or .asp document from an&lt;br /&gt;application by client&lt;br /&gt;&lt;b&gt;&lt;br /&gt;4. What does Internet Information Server (IIS) assume to be the&lt;br /&gt;default language for Active Server Pages? &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A. Jscript&lt;br /&gt;B. JavaScript&lt;br /&gt;C. JAVA&lt;br /&gt;D. VBScript&lt;br /&gt;E. ECMAScript&lt;br /&gt;&lt;b&gt;&lt;br /&gt;5. What should the developer use in order to have an Active&lt;br /&gt;Server Page (ASP) invoke a stored procedure on a SQL Server database?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;A. ADO&lt;br /&gt;B. RDO&lt;br /&gt;C. RDS&lt;br /&gt;D. OLEDB&lt;br /&gt;E. None of the above.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;6. ‘onStart' and 'onEnd' are events of what object(s)?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;A. Application only.&lt;br /&gt;B. Session only.&lt;br /&gt;C. Server only.&lt;br /&gt;D. Application and Session only.&lt;br /&gt;E. Application, Session, and Server.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;7. What must be installed on an IIS4 machine to use the CDONTS&lt;br /&gt;e-mail server object? &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A. FTP service&lt;br /&gt;B. SMTP service&lt;br /&gt;C. IIS administrator&lt;br /&gt;D. Exchange Server&lt;br /&gt;E. IPX/SPX protocol&lt;br /&gt;&lt;b&gt;&lt;br /&gt;8. Which line of code would instantiate the Browser&lt;br /&gt;Capabilities component? &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A. objBrowser = Server.CreateObject("MSWC.BrowserType")&lt;br /&gt;B. Set objBrowser = Server.CreateObject("MSWC.BrowserType")&lt;br /&gt;C. var objBrowser = Server.CreateObject("MSWC.BrowserType")&lt;br /&gt;D. var objBrowser = CreateObject("MSWC.BrowserType")&lt;br /&gt;E. var objBrowser = Server.CreateObject("BrowserType")&lt;br /&gt;&lt;b&gt;&lt;br /&gt;9. What is the Default ScriptTimeOut for Server&lt;br /&gt;Object&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A. 20 Sec&lt;br /&gt;B. 30 Sec&lt;br /&gt;C. 60 Sec&lt;br /&gt;D. 90 Sec&lt;br /&gt;&lt;b&gt;&lt;br /&gt;10. How many Max Cookies can we Create in&lt;br /&gt;Server&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A. 10&lt;br /&gt;B. 20&lt;br /&gt;C. 30&lt;br /&gt;D. 40&lt;br /&gt;&lt;b&gt;&lt;br /&gt;11. How Many Types of Cookies&lt;/b&gt;&lt;br /&gt;A. 3&lt;br /&gt;B. 2&lt;br /&gt;C. 1&lt;br /&gt;D. 4&lt;br /&gt;&lt;b&gt;&lt;br /&gt;12.What is ASP(Active Server Pages)?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;ASP is a server side scripting environment for building dynamic and&lt;br /&gt;interactive web pages. Since the scripts run on the server side,&lt;br /&gt;the web server does all the processing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;13. What are the advantages of using ASP?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;· Minimizes network traffic by limiting the need for the browser and server   &lt;br /&gt;to talk to each other&lt;br /&gt;· Makes for quicker loading time since HTML pages are only downloaded&lt;br /&gt;· Allows to run programs in languages that are not supported by the browser&lt;br /&gt;· Can provide the client with data that does not reside on the client’s &lt;br /&gt;machine&lt;br /&gt;· Provides improved security measures since the script cannot be viewed by &lt;br /&gt;the browser&lt;br /&gt;&lt;br /&gt;&lt;b&gt;14. What is HTML(Hypertext Markup Language)?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;It’s a method by which web pages can be built and generally used for formatting and linking text.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;15. What are the types of HTML?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;· Static HTML – Browser uses HTTP to request&lt;br /&gt;HTML file from the Web Server&lt;br /&gt;· Dynamic HTML – Browser uses HTTP to request an executable&lt;br /&gt;application rather than a Static HTML file&lt;br /&gt;&lt;br /&gt;&lt;b&gt;16. What is the difference between ASP and HTML? Or Why ASP&lt;br /&gt;is better than HTML?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;· ASP executes code on the server side whereas the browser interprets HTML.&lt;br /&gt;· ASP can use any scripting languages&lt;br /&gt;· Gets feedback from the user and return information to the user&lt;br /&gt;· Create pages that will be customized to display only things that will be of&lt;br /&gt;interest to a particular user&lt;br /&gt;· Can edit contents of a web page by updating a text file or a database   &lt;br /&gt;rather than the HTML code itself&lt;br /&gt;&lt;br /&gt;&lt;b&gt;17. What is a Web Server?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;It’s a Computer that provides Web services on the Internet or on a local&lt;br /&gt;Intranet. It is designed to locate, address and send out simple HTML&lt;br /&gt;pages to all other users who access these pages.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;18. What is IIS?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;IIS is a Web Server that provides Web services, not only for web pages&lt;br /&gt;but also for ftp sites and video and audio services. It integrates&lt;br /&gt;with the database facilities of SQL Server.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;19. What do you need to run ASP?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;A browser and a Web server.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;20. What is a Scripting Language?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;It permits to create more interactive Web Pages. Validation, formatting&lt;br /&gt;of web pages can be done. VBScript, JavaScript are some examples.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;21. Which is the default Scripting Language of ASP (server-side)?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;VBScript&lt;br /&gt;&lt;br /&gt;&lt;b&gt;22. Which is the default Scripting Language on the client side?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;JavaScript&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;23. What is Global.asa file?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;It is text file that contains details about an ASP application, such as&lt;br /&gt;when it should begin and end.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;24. Which is the default Data types in VBScript?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Variant is the default data type in VBScript, which can store a value of any&lt;br /&gt;type.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;25. What is the Order of precedence for ARITHMETIC Operators.&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;^, -(negation), *or /, \, mod, + or –&lt;br /&gt;&lt;br /&gt;&lt;b&gt;26. Where will you code OPTION EXPLICIT in an ASP application? WHY?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;It should be the first statement before the  tag because ASP script is&lt;br /&gt;processed before the HTML statements.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;27. What are Constants? How will you declare a constant?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Constants have values that do not change during the execution of the program.&lt;br /&gt;It can be declared using the term CONST. (e.g) Const pi = 3.143&lt;br /&gt;&lt;br /&gt;&lt;b&gt;28. What are ARRAYS?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Arrays are variables that store items of similar information.&lt;br /&gt;DIM ARRAY1(4)  (declares an array with the name array1 with 5 elements)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;29. Arrays can be resized by using the keyword&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;REDIM&lt;br /&gt;&lt;b&gt;&lt;br /&gt;30. What is the maximum size of an array?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;Up to 60 dimensions.&lt;br /&gt;&lt;br /&gt;ASP OBJECTS&lt;br /&gt;&lt;br /&gt;&lt;b&gt;31. Name the ASP Objects?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;· Request Object&lt;br /&gt;· Response Object&lt;br /&gt;· Server Object&lt;br /&gt;· Session Object&lt;br /&gt;· Application Object&lt;br /&gt;&lt;br /&gt;&lt;b&gt;32. What is Request Object?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Gets information from the user. It has five collections by which values can be accessed. They are:&lt;br /&gt;QueryString, Form, Cookies, Server Variables &amp;amp; ClientCertificate&lt;br /&gt;&lt;br /&gt;&lt;b&gt;33. What is Collection?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Collection is a set of name/value pairs where the information supplied by the client is stored.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;34. What is application Object?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;Shares information among users of an application. Gives a notification when an application starts or ends.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;35. What is Application-scope?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;Application-scope means that variables (and objects) can be accessed from&lt;br /&gt;any ASP pages that is part of the application.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;36. How many global.asa files can an Application have?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;Only one global.asa file and it’s placed in the virtual directory’s root.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;37. What are the collections of Application Object?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;* Contents collection – contains all variables added via scripts in global.asa.&lt;br /&gt;* Static collection – contains the names of all objects added via the&lt;br /&gt;tag in global.asa.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-5221300821335835871?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/5221300821335835871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=5221300821335835871' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5221300821335835871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/5221300821335835871'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2008/07/asp-faqs-3_25.html' title='ASP FAQ&apos;s 3'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-8132741401202744346</id><published>2008-07-24T03:09:00.000-07:00</published><updated>2008-12-22T21:14:25.745-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><title type='text'>ASP FAQ's 2</title><content type='html'>&lt;pre align="JUSTIFY"&gt;&lt;b&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;1. &lt;script language="VBScript" runat="Server"&gt;&lt;br /&gt;  a = 1&lt;br /&gt;  &lt;/script&gt;&lt;br /&gt;  &lt;script language="VBScript"&gt;&lt;br /&gt;  a = 2&lt;br /&gt;  &lt;/script&gt;&lt;br /&gt;  &lt;%&lt;br /&gt;  Response.Write a&lt;br /&gt;  %&gt;&lt;br /&gt;In the sample code shown above, what will be written to the&lt;br /&gt;screen? &lt;/span&gt;&lt;br /&gt;A. 1&lt;br /&gt;B. 2&lt;br /&gt;C. 1, 2&lt;br /&gt;D. 1&amp;amp;2&lt;br /&gt;&lt;u&gt;E. &lt;b&gt;Nothing.&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;2. &lt;%&lt;br /&gt;  Set Application("Thing") =&lt;br /&gt;  Server.CreateObject("THINGDOER.thingy")&lt;br /&gt;  %&gt; &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;The above code appears in the global.asa file. What would it&lt;br /&gt;accomplish? &lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;  &lt;br /&gt;A. It would create a "Thing" object and place it in Contents Collection of&lt;br /&gt;  the Application object.&lt;br /&gt;B. It would create a "Thing" object and place it in StaticObjects&lt;br /&gt;  Collection of the Application object.&lt;br /&gt;C. It would create a "Thing" object and place it in the Application.Buffer&lt;br /&gt;  Collection Of the Application object.    &lt;b&gt;&lt;u&gt;&lt;br /&gt;D. It would create an application-level variable named "Thing" with the&lt;br /&gt;  value of the object property "THINGDOER.thingy".  &lt;/u&gt;&lt;/b&gt;&lt;br /&gt;E. It would fail to create a "Thing" object because the code requires the&lt;br /&gt;  Application.Lock and Application.Unlock methods.&lt;br /&gt;    &lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;3. &lt;% iPos = Instr("Hello World","r") %&gt;&lt;br /&gt;  Referring to the above, what is the value of iPos?&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;A. 0&lt;br /&gt;B. 1&lt;br /&gt;C. 2&lt;br /&gt;D. 8&lt;b&gt;&lt;u&gt;&lt;br /&gt;E. 9&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;4. &lt;% varType = rsTest("field1").type %&gt; &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;In the database table, if the datatype for field1 (shown&lt;br /&gt;above) is Number, what is the value of varType?&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;A. The field value.&lt;b&gt;&lt;u&gt;&lt;br /&gt;B. A string description.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;C. The field name.&lt;br /&gt;D. NULL.&lt;br /&gt;E. An enumerator.&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;5. What is the program ID (ProgID) for ActiveX Data Objects&lt;br /&gt;in 2-tier and 3-tier database applications? &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;  &lt;br /&gt;A. ADO&lt;br /&gt;B. RDODB&lt;b&gt;&lt;u&gt;&lt;br /&gt;C. ADODB&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;D. RDS&lt;br /&gt;E. OLEDB&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;&lt;br /&gt;6. Which choice is NOT an ADO collection?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;A. Properties&lt;b&gt;&lt;u&gt;&lt;br /&gt;B. Records&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;C. Fields&lt;br /&gt;D. Errors&lt;br /&gt;E. Parameters&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;7. Which will NOT set the scope of an Active Server Component?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;A. Setting the [component name].scope property.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;B. Using the Server.CreateObject method.&lt;br /&gt;C. Placing it in the Session or Application OnStart event&lt;br /&gt;handler.&lt;br /&gt;D. Instantiating the component in the global.asa file.&lt;br /&gt;E. Using the &lt;object&gt; tag.&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;8. How to handle Error in ASP&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;br /&gt;A. Using On Error Goto &lt;errorpart&gt;&lt;br /&gt;B. Using On Error Resume   &lt;b&gt;&lt;u&gt;&lt;br /&gt;C. Using On Error Resume Next&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;D. Using On Error Goto 0&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;9. &lt;%&lt;br /&gt;  intA = 3&lt;br /&gt;  sStrA = "Hello World"&lt;br /&gt;  sStrB = "Hello World" + intA&lt;br /&gt;  Response.Write sStrB&lt;br /&gt;  %&gt; &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;   &lt;br /&gt;&lt;b&gt;What would be the result of the above code?&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;A. Type mismatch error&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;B. "Hello World, Hello World, Hello World"&lt;br /&gt;C. 0&lt;br /&gt;D. "Hello World 3"&lt;br /&gt;E. "Hello World"&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;10. What happens when a client submits a form which changes the&lt;br /&gt;value of an Application variable? &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;br /&gt;A. Client actions cannot change Application variables.&lt;br /&gt;B. The change is not visible to any client until the application is stopped&lt;br /&gt;and started.&lt;br /&gt;C. The change is only visible to future requests made by that&lt;br /&gt;client during their current session.&lt;br /&gt;D. The change is visible to all clients, but only after they&lt;br /&gt;complete their current sessions and begin a new session.&lt;b&gt;&lt;u&gt;&lt;br /&gt;E. The change is visible to all clients immediately after the&lt;br /&gt;form is processed by the server.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;&lt;b&gt;11. ADO is an object model for accessing which of the&lt;br /&gt;following? &lt;/b&gt;&lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;br /&gt;A. Relational data via Jet.&lt;br /&gt;B. Local or SQL data via Jet.&lt;br /&gt;C. Relational data via ODBC.&lt;br /&gt;D. Non-relational data via DSN-less ODBC.&lt;b&gt;&lt;u&gt;&lt;br /&gt;E. All types of data via OLE DB.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;12. Which of the following are Server Object methods ( Choose Two)&lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;u&gt;A. HTMLEncode,MapPath &lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;B. URLEncode,ScriptTimeout    &lt;b&gt;&lt;u&gt;&lt;br /&gt;C. URLEncode,CreateObject&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;D. ScriptTimeout,Abandon&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;13. Following is the code Server.MapPath(".") consider the path is&lt;br /&gt;C:\Inetpub\WWWRoot\MAT\Default.asp&lt;br /&gt;What will be the output &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;A. C:\InetPUb&lt;br /&gt;B. C:\InetPUb\WWWroot&lt;b&gt;&lt;u&gt;&lt;br /&gt;C. C:\InetPUb\wwwroot\MAT &lt;/u&gt;&lt;/b&gt;&lt;br /&gt;D. Error&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;14. ClientCertificate is a collection of&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A. Server&lt;br /&gt;B. Response &lt;b&gt;&lt;u&gt;&lt;br /&gt;C. Request  &lt;/u&gt;&lt;/b&gt;&lt;br /&gt;D. ObjectContext&lt;br /&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;15. IsClientConnected is a property of &lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Arial;"&gt;&lt;br /&gt;&lt;br /&gt;A. Server  &lt;b&gt;&lt;u&gt;&lt;br /&gt;B. Response&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;C. Request&lt;br /&gt;D. Sesssion&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;16) What happens to a HTML page?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;	&lt;br /&gt;The browser makes a HTTP request; the server gives a HTTP response to the browser and the browser converts into a HTML page.&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;17) What happens to ASP pages?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;The browser makes a HTTP request; the server does the processing and gives a HTML response to the browser.&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-family:Arial;color:#ff0000;"&gt;&lt;br /&gt;18) What are the Web Servers supporting ASP?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;· Internet Information Server (IIS) on Windows NT&lt;br /&gt;· Personal Web Server (PWS) on Windows 95&lt;br /&gt;· Peer Web Services on Windows NT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;19) Explain the POST &amp;amp; GET Method or Explain the difference between them.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;POST METHOD:&lt;br /&gt; The POST method generates a FORM collection, which is sent as a HTTP&lt;br /&gt; request body. All the values typed in the form will be stored in the&lt;br /&gt; FORM collection.&lt;br /&gt;&lt;br /&gt;GET METHOD:&lt;br /&gt; The GET method sends information by appending it to the URL(with&lt;br /&gt; a question mark) and stored as a Querystring collection. The&lt;br /&gt; Querystring collection is passed to the server as name/value pair.&lt;br /&gt; The length of the URL should be less than 255 characters.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;20) What is the command to display characters to the HTML page?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;Response.Write&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;21) What is a variable?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;Variable is a memory location through which the actual values are&lt;br /&gt;stored/retrieved. Its value can be changed.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;22) What are LOCAL and GLOBAL variables?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;Local variables lifetime ends when the Procedure ends.Global variables&lt;br /&gt;lifetime begins at the start of the script and ends at the end of the&lt;br /&gt;script and it can be used by any procedure within the script. Declaring&lt;br /&gt;a variable by using the keyword PRIVATE makes the variable global within&lt;br /&gt;the script, but if declared using PUBLIC, then the  variable can be&lt;br /&gt;referred by all scripts.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;23) Naming constraints for a variable.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;It can be up to 255 characters&lt;br /&gt;Must start with an alphabet&lt;br /&gt;Must not contain an embedded period or full-stop&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;24) VBScript is case- insensitive&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;JavaScript is case sensitive&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;25) What are the special sub-types in VBScript?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;EMPTY: has no value&lt;br /&gt;NULL : Value does not exists (conjunction with database)&lt;br /&gt;OBJECT:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;26) What is the Order of precedence for LOGICAL Operators.&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;NOT, AND, OR, XOR, EQV, IMP&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;27) What is Response Object?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;It controls the information sent to the user. The various methods are:&lt;br /&gt;Response.write – Sends information directly to a browser&lt;br /&gt;Response.Redirect – Directs a user to a URL other than the requested URL&lt;br /&gt;Response.ContentType – Controls the type of content sent&lt;br /&gt;Response.Cookies – Sets cookie values&lt;br /&gt;Response.Buffer – To Buffer information&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;28) How will you set the values for cookies?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;% Response.Cookies("variable name ")="value" %&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;29) What is the function of Buffer in Response Object?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;Buffer controls the HTML output stream manually.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;30) What are the methods by which output stream is controlled?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;· Flush – sends previous buffered output to the client immediately, but&lt;br /&gt; continues processing the script.&lt;br /&gt;· Clear – erases any already-buffered HTML.&lt;br /&gt;· End – causes the server to stop processing the script.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;31) What are the properties used to control the expiration of the page?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;· Expires – specifies the number of minutes before a page cached on a browser&lt;br /&gt; expires.&lt;br /&gt;· ExpiresAbsolute – sets the date and time at which a page cached on a browser expires.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;32) What are the methods in Application Object?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;· Lock – prevents clients from modifying the variables stored in the Application object.&lt;br /&gt;· Unlock – removes the lock from variables stored in the Application object.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;33) What are the event handlers of Application Object?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;· Application_OnStart – This event will be fired when the first visitor hits the page.&lt;br /&gt;· Application_OnEnd – This event runs when the server is stopped.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;34) What is Session Object?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;It stores information about a User’s session. Gives a notification when a user session begins or ends.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;35) What is a session?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;A user accessing an application is known as a session.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;36) What are the collections of Session Object?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;· Contents collection – contains all the variables established for a session without using the &lt;object&gt; tag.&lt;br /&gt;· Static collection – contains all the objects created with the &lt;object&gt; tag within session scope.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;37) What are the properties of Session Object?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;· SessionID – returns the session identification number for each user.&lt;br /&gt;· Timeout – sets the timeout period assigned to the Session object for any application, in minutes.&lt;br /&gt;· CodePage – determines the code page that will be used to display content.&lt;br /&gt;· LCID – a locale identifier, which determines time-zone and language,  rules for the system.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;38) What are the methods in Session Object?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;The Session Object has only one method, which is Abandon. It destroys all the objects stored in a Session Object and releases the server resources they occupied.&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-family:Arial;color:#ff0000;"&gt;&lt;br /&gt;39) Name some of the ASP components?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;· Ad Rotator component – a way to manage advertisements&lt;br /&gt; on the web site.&lt;br /&gt;· Content Linker component – a technique to direct users through a set&lt;br /&gt; of pages on a web site by creating a list of URLs and description of&lt;br /&gt; the next and previous pages.&lt;br /&gt;· Browser Capabilities component – allows to customize the page to the&lt;br /&gt; ability of the browser viewing it.&lt;br /&gt;· Database Access component  –  allows to access data from the database&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;40) What are Scripting Objects?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;Objects that can enhance the application are known as the Scripting Objects.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;41) What are the ASP Scripting Objects?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;The Dictionary object, the FileSystemObject object, TextStream object.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;42) What is a Dictionary object?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;It lets you store and retrieve information in a flexible data &lt;br /&gt;structure. Each value or information stored in a Dictionary is&lt;br /&gt;associated with a key through which the information can be retrieved.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;43) What is a FileSystemObject object?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;It provides access to the physical file system of the web server.&lt;br /&gt;It gets and manipulates information about all drives in a server,&lt;br /&gt;folders and sub-folders on a drive and files inside a folder.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;44) What is Server-Side includes?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;It provides extra information by which it makes the site easier to manage.&lt;br /&gt;It can include text files using  the #include statement, retrieve the size&lt;br /&gt;and last modification date of a file, defines how variables and error&lt;br /&gt;messages are displayed and inserts the values of HTTP variables in the&lt;br /&gt;page sent back to the browser.&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-8132741401202744346?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/8132741401202744346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=8132741401202744346' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/8132741401202744346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/8132741401202744346'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2008/07/asp-faqs-2.html' title='ASP FAQ&apos;s 2'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-2394549697879968519</id><published>2008-07-24T03:08:00.000-07:00</published><updated>2008-12-22T21:14:25.745-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><title type='text'>ASP FAQ's 1</title><content type='html'>&lt;pre align="JUSTIFY"&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt; &lt;br /&gt;1. &lt;%&lt;br /&gt;  strName="John Smith"&lt;br /&gt; %&gt;&lt;br /&gt;Referring to the above, if you want to pass the contents of&lt;br /&gt;the strName variable in a hyperlink, which line of code would you&lt;br /&gt;use?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;br /&gt;A. This cannot be done. The anchor is on the client and the&lt;br /&gt;variable is on the server.&lt;br /&gt;B. href="Encode.asp?name=&lt;%=Server.URLPathEncode(strName)%&gt;"&gt;click here&lt;/a&gt;&lt;br /&gt;C. &lt;a href="" name="&lt;%="strName%"&gt;"&gt;click here&lt;/a&gt;&lt;br /&gt;D. &lt;a href="" name="&lt;%="Server.HTMLEncode(strName)%"&gt;"&gt;click here&lt;/a&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;E. &lt;a href="" name="&lt;%="Server.URLEncode(strName)%"&gt;"&gt;click here&lt;/a&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt; &lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;2. &lt;%@ Language=VBScript %&gt;&lt;br /&gt;   &lt;%If false Then%&gt;&lt;br /&gt;    &lt;!-- #INCLUDE FILE="FunctionOne.inc"--&gt;&lt;br /&gt;   &lt;%Else%&gt;&lt;br /&gt;    &lt;!-- #INCLUDE FILE="FunctionTwo.inc"--&gt;&lt;br /&gt;   &lt;%End If%&gt;&lt;br /&gt;What would the above code load?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;A. Only the FunctionTwo.inc file into the ASP&lt;br /&gt;page.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;B. Both files, since Server Side Includes are processed&lt;br /&gt;before ASP interpreting.&lt;br /&gt;C. Only the FunctionOne.inc file into the ASP page.&lt;br /&gt;D. Neither file, since Server Side Includes are processed&lt;br /&gt;before ASP interpreting.&lt;br /&gt;E. Neither file, since the #INCLUDE statements are commented out.&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;&lt;br /&gt;3. &lt;% Response.Redirect("http://www.sql.com") %&gt;&lt;br /&gt;What does the above code accomplish?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;A. It sends the browser the line of sample code, and the browser executes it.&lt;br /&gt;B. It sends the response to "http://www.matsystems.com" instead of to the&lt;br /&gt;Requesting browser.&lt;b&gt;&lt;u&gt;&lt;br /&gt;C. It sends a redirection header back to the browser, and the browser then&lt;br /&gt;requests the new target document.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;D. The redirection occurs on the server-side, and the first response the&lt;br /&gt;browser gets is the head and body of the new target document.&lt;br /&gt;E. It causes the server to send a request to the target URL and passes the&lt;br /&gt;response to the requesting browser.&lt;br /&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;&lt;br /&gt;4. How are sessions maintained?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;A. The browser sends a cookie to the server with each&lt;br /&gt;request.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;B. The browser sends a QueryString variable to the server with&lt;br /&gt;each request.&lt;br /&gt;C. The browser sends a hidden Form variable to the server with&lt;br /&gt;each request.&lt;br /&gt;D. The browser sends a long variable to the server in the BODY&lt;br /&gt;of each request.&lt;br /&gt;E. None of the above.&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;5. When does the application OnEnd event handler&lt;br /&gt;fire?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;br /&gt;A. After every request for an application document, since web servers are&lt;br /&gt;stateless servers.&lt;br /&gt;B. As soon as there are no open connections to any application&lt;br /&gt;document.&lt;b&gt;&lt;u&gt;&lt;br /&gt;C. When the web server is stopped in an orderly fashion.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;D. Twenty minutes after the last request for a document in the&lt;br /&gt;application.&lt;br /&gt;E. When there are no application requests for the amount of&lt;br /&gt;time defined by the&lt;br /&gt;SessionTimeout variable.&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;6. How long is a sessionID guaranteed to be&lt;br /&gt;unique?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;br /&gt;A. It is unique for the web server, whether it is restarted or&lt;br /&gt;not.&lt;br /&gt;B. Only until the web server is restarted.&lt;br /&gt;C. It is like a GUID in that it is for any web server at any&lt;br /&gt;time.&lt;b&gt;&lt;u&gt;&lt;br /&gt;D. Only until the session expires, then it can be reissued to&lt;br /&gt;another client.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;E. It is unique per client. A client cannot have two sessions&lt;br /&gt;with the same sessionID&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;7.Which code sample will report whether the client's browser&lt;br /&gt;supports cookies?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;A. &lt;% var objFSO = Server.CreateObject("Scripting.FileSystemObject")&lt;br /&gt;  response.write objFSO.cookiesSupported&lt;br /&gt;  %&gt;&lt;br /&gt;B. You can only use JavaScript for this.&lt;br /&gt;C. &lt;% var objFSO = Server.CreateObject("Scripting.FileSystemObject")&lt;br /&gt;  response.write objFSO.cookies&lt;br /&gt;  %&gt;&lt;b&gt;&lt;br /&gt;D. &lt;% var objBrowser = Server.CreateObject("MSWC.BrowserType")&lt;br /&gt;  response.write objBrowser.cookies&lt;br /&gt;  %&gt;&lt;/b&gt;&lt;br /&gt;E. &lt;% var objBrowser = Server.CreateObject("MSWC.BrowserType")&lt;br /&gt;  response.write objBrowser.cookiesSupported&lt;br /&gt;  %&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;8. &lt;input type="radio" name="rbSex" value="M"&gt;Male&lt;br /&gt;  &lt;input type="radio" name="rbSex" value="F"&gt;Female&lt;br /&gt;Referring to the above, which line of code would retrieve the&lt;br /&gt;selected radio button value?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;br /&gt;A. For cnt=0 to rbSex.count - 1&lt;br /&gt;   If rbSex(cnt).value = selected Then&lt;br /&gt;    strSex = rbSex(cnt).value&lt;br /&gt;    exit for&lt;br /&gt;   End If&lt;br /&gt;  Next&lt;br /&gt;B. strSex = Request("rbSex").selected.value&lt;b&gt;&lt;u&gt;&lt;br /&gt;C. strSex = Request("rbSex")&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;D. strSex = Request.rbSex.value&lt;br /&gt;E. For Each value in rbSex&lt;br /&gt;  If rbSex.selected = true&lt;br /&gt;   strSex = value&lt;br /&gt;   exit for&lt;br /&gt;  Next&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;9. The FileSystemObject provides an object interface to drives,&lt;br /&gt;directories, and files for which of the following?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Arial;"&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;A. Any local or mapped drive on either the server or the&lt;br /&gt;client.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;B. Only files and subdirectories in the web site's home&lt;br /&gt;directory.&lt;br /&gt;C. Any local physical drive or mapped drive on the web&lt;br /&gt;server.&lt;br /&gt;D. Any file system physically located on the web server.&lt;br /&gt;E. The client's computer.&lt;br /&gt; &lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;10. What purpose is served by the Application.lock&lt;br /&gt;method?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;A.  It locks the Application object, preventing other clients from altering&lt;br /&gt;any values in the Contents collection.&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;B.  It locks the application, preventing the server from responding to any&lt;br /&gt;requests for application documents.&lt;br /&gt;C. It locks the application, preventing non-SSL requests from&lt;br /&gt;being processed.&lt;br /&gt;D.  It locks the Application object, preventing other clients from reading any&lt;br /&gt;values in the Content collection.&lt;br /&gt;E. It locks other clients from reading the Contents&lt;br /&gt;collection.&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;11. How to Display images using Response&lt;br /&gt;object&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;br /&gt;A. Contenttype=Application/Brush&lt;b&gt;&lt;u&gt;&lt;br /&gt;B. Contenttype=Image/JPG&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;C. Contenttype=Application/paint&lt;br /&gt;D. Contenttype=Image/WMF&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;12.What is the use of following Statement&lt;br /&gt;Response.Expires=120&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;br /&gt;A.The page will be removed form cache after 120 Hours&lt;br /&gt;B.The page will be removed form cache after 120 Sec&lt;br /&gt;C.The page will be removed form cache before 120 Min&lt;b&gt;&lt;u&gt;&lt;br /&gt;D.The page will be removed form cache after 2 Hours&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;13. Which choice is NOT a property of Dictionary&lt;br /&gt;Object?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;br /&gt;A. Key()&lt;br /&gt;B. CompareMode&lt;br /&gt;C. Item ()&lt;b&gt;&lt;u&gt;&lt;br /&gt;D. Exists ()&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;E. Count&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;14. Using VBScript, which of the following Scripting Object(s)&lt;br /&gt;is NOT available from scrrun.dll?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;br /&gt;A. TextStream&lt;br /&gt;B. Dictionary Object&lt;br /&gt;C. Err Object&lt;br /&gt;D. FileSystemObject&lt;b&gt;&lt;br /&gt;E. All are available from scrrun.dll.&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;&lt;br /&gt;15. What is an .ASP file?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;It is a Text File that contains the combination of the following:&lt;br /&gt;· Text&lt;br /&gt;· HTML tags&lt;br /&gt;· Script Commands&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;16.How are scripts executed?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;ASP provides scripting engines that execute the corresponding&lt;br /&gt;scripting languages on the server side. Scripts should be encoded within the&lt;br /&gt;&lt;% ….%&gt; delimiters.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;17. What are the browsers that can access ASP pages?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;· Internet Explorer (supports VBScript, JavaScript)&lt;br /&gt;· Netscape Communicator/ Navigator (supports only JavaScript, Vbscript can be also added too)&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;18. What is a "Virtual Directory"?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;Virtual directories are aliases for directory paths on the server.&lt;br /&gt;It allows to move files on the disk between different folders, drives or even&lt;br /&gt;servers without changing the structure of web pages. It avoids typing an extremely&lt;br /&gt;long URL each time to access an ASP page.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;19. What is the difference between client-side script and server-side script?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;Scripts executed only by the browser without contacting the&lt;br /&gt;server is called client-side script. It is browser dependent. The scripting&lt;br /&gt;code is visible to the user and hence not secure. Scripts executed by the&lt;br /&gt;web server and processed by the server is called server-side script.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;20. Give the comment Tags for the following:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;VBScript		:	REM &amp;amp; ‘(apostrophe)&lt;br /&gt;JavaScript		:	// (single line comment)&lt;br /&gt;/*   */ (Multi-line comments)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;21.How can you disable the browser to view the code?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;Writing codes within the &lt;! --          //-- &gt; Tag.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;22. How does the server identify and execute the server-side scripts within HTML code?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;· Including the RUNAT=SERVER attribute in the &lt;script&gt; tag&lt;br /&gt;· Use &lt;%  … %&gt; server script delimiter&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;23. How can you change the primary scripting language for a page?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;Specify &lt;%@ LANGUAGE = Scripting language %&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;24. What is the order of execution for an ASP application?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;1) Global.asa&lt;br /&gt;2) Server-side Includes&lt;br /&gt;3) Jscript scripts tagged within &lt;script&gt; tags&lt;br /&gt;4) HTML together with scripts tagged within &lt;% … %&gt; delimiters&lt;br /&gt;5) VBScripts tagged within &lt;script&gt; tags&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;25. What are the tasks performed by &lt;form&gt; tags?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;· &lt;form&gt; tags provides space for the user to input values&lt;br /&gt;· the form has a button to submit information back to the server&lt;br /&gt;· It transfers control to another ASP page&lt;br /&gt;· It carries the information in the fields to another ASP page&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;26. What are the attributes of the &lt;form&gt; tags? What are their functions?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;The two attributes are ACTION and METHOD&lt;br /&gt;The ACTION gives the name of the ASP file that should be opened next by which this file can access the information given in the form&lt;br /&gt;The METHOD determines which of the two ways (POST or GET) the browser can send the information to the server&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;27. What are the tags necessary to be present within the &lt;form&gt; tag?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;input&gt; tag: Provides input spaces (text boxes, combo boxes, radio button, etc.)  on a form called fields. It has three attributes TYPE, NAME and VALUE. TYPE provides the characteristics of the field and the NAME specifies a name to the field by which it can be referred.&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;28. What is QueryString collection?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;This collection stores any values that are provided in the URL. This can be generated by three methods:&lt;br /&gt;· By clicking on an anchor tag &lt;a&gt;&lt;br /&gt;· By sending a form to the server by the GET method&lt;br /&gt;· Through user-typed HTTP address&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;29. What is a Form collection?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;The Form collection holds the values of the form elements submitted with   the POST method. This is the only way to generate a Form collection.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;30. What is the difference between QueryString collection and Form collection?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;The main difference is that the QueryString collection gets appended to a URL(with a ?) and can be generated by three ways whereas the Form collection is sent as part of the HTTP request body and there is only way to generate a Form collection.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;31. What is Cookies collection?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;Cookies are text files that store information about the user by which the web server identifies and marks each different visitor to a web site and determines where a user has been before. A cookie can store information only when the user sends it. Individual cookies are limited to 4KB of data. The maximum number of cookies allowed is 300. Cookies are stored on client’s machine.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;32. What is the difference between Cookies collection and Form/QueryString collection?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;Cookie collection does not have the Count property. Cookies can have multiple values for the same cookie name but each value can be referred using a key whereas in a Form/QueryString cookie each value has to be referred using a index value.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;33. What is ServerVariables collection?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;The ServerVariables collection holds all of the HTTP headers and also additional items of information about the server.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;34. What is ClientCertificate collection?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;A ClientCertificate is an encrypted number that is stored in a file on the user’s computer. This stores details of any security  certificates included with the request.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;35. What are the event handlers of Session Object?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;· Session _OnStart – This event will be fired when a new user begins a session with the web site.&lt;br /&gt;· Session_OnEnd – This event is called whenever a session terminates.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;36. What are the advantages of  Cookies over Session Object?&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;· It informs each page what session the request belongs to when a user accesses during a session.&lt;br /&gt;· It retrieves all the session information stored on the server.&lt;br /&gt;· Cookies can persist for a much longer period of time than session that has a timeout value usually of 20 minutes and hence can store information even when a user is of f  the site.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;37. How will you delete a Cookie?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;By setting its Expires property to any date prior to today&lt;br /&gt;Response.Cookies("cookie name").Expires =  Date – 1.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;38. What is Server Object?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;Controls the ASP execution environment. It can set the amount of time script can run  before an error occurs. Converts a virtual path to a physical path on the server. Takes a user supplied string and encode it into proper format for a URL string.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;39. What is a TextStream object?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;It allows you to access(read/write) the contents of text files stored on the web server.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;40. What is an Err Object? Name it’s properties and methods?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;An object used to trap errors in the application. Description, Number, Source, HelpFile and HelpContext are its properties and Raise and Clear are its method.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;41. What is Extranet?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:+0;"&gt;&lt;br /&gt;An area of a web site available only to a set of registered visitors.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-2394549697879968519?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/2394549697879968519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=2394549697879968519' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/2394549697879968519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/2394549697879968519'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2008/07/asp-faqs-1.html' title='ASP FAQ&apos;s 1'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-1132206261107948541</id><published>2008-07-17T23:00:00.000-07:00</published><updated>2008-12-22T21:14:25.745-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><title type='text'>Asp.net questions</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///D:%5CDOCUME%7E1%5Cshesu04%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType"&gt;&lt;/o:smarttagtype&gt;&lt;o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceName"&gt;&lt;/o:smarttagtype&gt;&lt;o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"&gt;&lt;/o:smarttagtype&gt;&lt;o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"&gt;&lt;/o:smarttagtype&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:documentproperties&gt;   &lt;o:author&gt;support&lt;/o:Author&gt;   &lt;o:version&gt;11.9999&lt;/o:Version&gt;  &lt;/o:DocumentProperties&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:usefelayout/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if !mso]&gt;&lt;object classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id="ieooui"&gt;&lt;/object&gt; &lt;style&gt; st1\:*{behavior:url(#ieooui) } &lt;/style&gt; &lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:SimSun; 	panose-1:2 1 6 0 3 1 1 1 1 1; 	mso-font-alt:ËÎÌå; 	mso-font-charset:134; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:3 135135232 16 0 262145 0;} @font-face 	{font-family:Verdana; 	panose-1:2 11 6 4 3 5 4 4 2 4; 	mso-font-alt:Verdana; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:536871559 0 0 0 415 0;} @font-face 	{font-family:"\@SimSun"; 	panose-1:2 1 6 0 3 1 1 1 1 1; 	mso-font-alt:"\@Arial Unicode MS"; 	mso-font-charset:134; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:3 135135232 16 0 262145 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-language:EN-US;} h2 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	mso-outline-level:2; 	font-size:18.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-language:EN-US; 	font-weight:bold;} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-language:EN-US;} pre 	{margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; 	font-size:10.0pt; 	font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-language:EN-US;} span.style131 	{mso-style-name:style131; 	font-family:Verdana; 	mso-ascii-font-family:Verdana; 	mso-hansi-font-family:Verdana;} span.style121 	{mso-style-name:style121; 	mso-ansi-font-size:9.0pt; 	mso-bidi-font-size:9.0pt; 	font-family:Verdana; 	mso-ascii-font-family:Verdana; 	mso-hansi-font-family:Verdana; 	font-weight:bold;} span.style61 	{mso-style-name:style61; 	mso-ansi-font-size:9.0pt; 	mso-bidi-font-size:9.0pt; 	font-family:Verdana; 	mso-ascii-font-family:Verdana; 	mso-hansi-font-family:Verdana;} span.style141 	{mso-style-name:style141; 	mso-ansi-font-size:9.0pt; 	mso-bidi-font-size:9.0pt; 	font-family:Verdana; 	mso-ascii-font-family:Verdana; 	mso-hansi-font-family:Verdana; 	font-weight:bold;} span.style111 	{mso-style-name:style111; 	mso-ansi-font-size:9.0pt; 	mso-bidi-font-size:9.0pt; 	font-family:Verdana; 	mso-ascii-font-family:Verdana; 	mso-hansi-font-family:Verdana; 	font-weight:bold;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:658652170; 	mso-list-template-ids:-186739586;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	font-family:Symbol;} @list l1 	{mso-list-id:1406147734; 	mso-list-template-ids:1669219890;} @list l1:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	font-family:Symbol;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Class ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;A class is an organized store-house in object-oriented programming that gives coherent functional&lt;span style=""&gt;  &lt;/span&gt;abilities to a group of related code. It is the definition of an object, made up of software code. Using classes, we may wrap data and behaviour together (Encapsulation).We may define classes in terms of classes (Inheritance).We can also override the behaviour of a class using an alternate behaviour (Polymorphism).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;ASP.Net Web Matrix? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;This is a free ASP.NET development environment from Microsoft. As well as a GUI development environment, the download includes a simple web server that can be used instead of IIS to host ASP.NET apps. This opens up ASP.NET development to users of Windows XP Home Edition, which cannot run IIS. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Web.config file in ASP.NET?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Web.config file is a configuration file for the Asp.net web application. An Asp.net application has&lt;span style=""&gt;  &lt;/span&gt;one web.config file which keeps the configurations required for the corresponding application. Web.config file is written in XML with specific tags having specific meanings. We have Machine.config file also. As web.config file is used to configure one asp.net web&lt;span style=""&gt;  &lt;/span&gt;application, same way Machine.config file is used to configure the application according to a particular machine. That is, configuration done in machine.config file is affected on any application that runs on a particular machine. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;IIS port number? How We get it?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;IIS default port numbers for http is 80 , for https 81, and for ftp its 21. These are the default port numbers but we can override this port numbers while creating a website (either SSL or normal) and while creating a ftp folder.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Boxing &amp;amp; Unboxing ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Value Types are stored on the stack and Reference types are stored on the heap. The conversion of value type to reference type is known as Boxing. Converting reference type back to value type is known as Unboxing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Value Types - Value types are primitive types that are mapped directly to the FCL. Like Int32 maps to System.Int32, double maps to System.double. All value types are stored on stack and all the value types are derived from&lt;span style=""&gt;  &lt;/span&gt;System.ValueType. All structures and&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;enumerated types that are derived from System.ValueType are created on stack, hence known as ValueType.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Reference Types - Reference Types are different from value types in such way that memory is allocated to them from the heap. All the classes are of reference type. C# new operator returns the memory address of the object.&lt;span style=""&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Diffrence between ServerSide and ClientSideCode? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;server side code is responsible to execute and provide the executed code to the browser&lt;span style=""&gt;  &lt;/span&gt;at the client side. The executed code may be either in XML or Plain HTML. the executed code only have the values or the results that are executed on the server. The clients browser executes the HTML code and displays the result. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;where as the client side code executes at client side and displays the result in its browser. it the client side core consist of certain functions that are to be executed on server then it places request to the server and the server responses as the result in form of HTML.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Something about Session ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Sessions can be managed by two ways in case of webfarms: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;1. Using SQL server or any other database for storing sessions regarding current logged in user. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;2. Using State Server, as one dedicated server for managing sessions. State Server will run as service on web server having dotnet installed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;In ASP.NET there is three ways to manage session objects. one support the in-proc mechanism and other two's&lt;span style=""&gt;  &lt;/span&gt;support&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;the out-proc machanism. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;1) In-Proc (By Default) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;2) SQL-Server (Out-proc) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;3) State-Server (Out-Proc) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Define three test cases you should go through in unit testing? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;1)Positive test cases (correct data, correct output).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;     &lt;/span&gt;2)Negative test cases (broken or missing data,proper handling).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;     &lt;/span&gt;3)Exception test cases (exceptions are thrown and caught properly).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Server.Transfer and Response.Redirect ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Server.Transfer transfers page processing from one page directly to the next page without making a round-trip back to the client's browser. This provides a faster response with a little less overhead on the server. Server.Transfer does not&lt;span style=""&gt;  &lt;/span&gt;update&lt;span style=""&gt;  &lt;/span&gt;the clients url history list or current url. Response.Redirect is used to redirect the user's browser to another&lt;span style=""&gt;  &lt;/span&gt;page&lt;span style=""&gt;  &lt;/span&gt;or&lt;span style=""&gt;  &lt;/span&gt;site. This performas a trip back to the client where the client's browser is redirected to the new page. The user's browser history list is updated to reflect the new address. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Diffrence Between ASP ASp.NET ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;The points of difference are as follows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;ASP.Net web forms have a code behind file which contains all event handling code. ASP does not have such facility to separate programming logic from design. ASP.Net web forms inherit the class written in code behind. ASP does not have the concept of inheritance.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;ASP.Net web forms use full fledged programming language, while ASP pages use scripting language.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;ASP.Net web applications are configurable (web.config) while ASP applications are not. ASP.Net webforms can use custom controls through the @register directive, which is not available with ASP. ASP.Net&lt;span style=""&gt;  &lt;/span&gt;web forms have ADO.Net which supports XML integration and integration of data from two or more data sources, while ASP has &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;ADO&lt;/st1:place&gt;&lt;/st1:city&gt; which is a simple COM object with limited facilities.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is PostBack &amp;amp; Callback? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;One technique that current ASP.NET 1.0/1.1 developers use to overcome this postback problem is to use the Microsoft XMLHTTP&lt;span style=""&gt;  &lt;/span&gt;ActiveX&lt;span style=""&gt;  &lt;/span&gt;object to&lt;span style=""&gt;  &lt;/span&gt;send requests to server-side methods from client-side JavaScript. In ASP.NET 2.0, this process has been simplified and encapsulated within the function known as the Callback Manager. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;The ASP.NET 2.0 Callback Manager uses XMLHTTP behind the scenes to encapsulate the complexities in sending data to and&lt;span style=""&gt;  &lt;/span&gt;from&lt;span style=""&gt;  &lt;/span&gt;the&lt;span style=""&gt;  &lt;/span&gt;servers and clients. And so, in order for the Callback Manager to work, you need a web browser that supports XMLHTTP. Microsoft Internet Explorer is obviously one of them. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Cursor? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Cursor is a database object used by applications to manipulate data in a&lt;span style=""&gt;  &lt;/span&gt;set on&lt;span style=""&gt;  &lt;/span&gt;a row-by-row basis, instead of the typical SQL commands that operate on all the rows in the set at one time. For example, you can use cursor to include a&lt;span style=""&gt;  &lt;/span&gt;list&lt;span style=""&gt;  &lt;/span&gt;of all user databases and make multiple operations against each database by passing each database name as a variable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Types of Directive? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Directives in ASP.NET control the settings and properties of page and&lt;span style=""&gt;  &lt;/span&gt;user&lt;span style=""&gt;  &lt;/span&gt;control compilers. They can be included anywhere on a page, although it is standard to place them at the beginning. Directives are used in both .aspx files (ASP.NET pages) and .ascx files (user control pages). ASP.NET pages actually support eight different directives.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;@ Page &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;@ Control &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;@ Import &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;@ Implements &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;@ Register &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;@ Assembly &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;@ OutputCache &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;@ Reference &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;what is ado.net ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;ADO.NET is the primary relational data access model for Microsoft .NET-based applications. It may be used to access data sources for which there is a specific .NET Provider,or, via &lt;st1:place st="on"&gt;&lt;st1:placename st="on"&gt;a.NET&lt;/st1:placename&gt; &lt;st1:placetype st="on"&gt;Bridge&lt;/st1:placetype&gt;&lt;/st1:place&gt; Provider, for which there is a specific OLE DB Provider, ODBC Driver, or JDBC&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Driver. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Diffrence between Code Directory and&lt;span style=""&gt;  &lt;/span&gt;Bin Directory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;With the introduction of this new Code directory, you might be wondering when to use which directory. If you have an assembly that you want to use in your Web site, create a Bin subdirectory and then copy the dll to that subdirectory. If you are creating reusable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;components that you want to use from your ASP.NET&lt;span style=""&gt;  &lt;/span&gt;pages, all you need to do is to create those components under the Code directory. Whenever a change occurs in the Code directory, ASP.NET will dynamically recompile the components and automatically make them available to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;all the pages in the Web site. Note that you should put&lt;span style=""&gt;  &lt;/span&gt;only components into the Code subdirectory. You should&lt;span style=""&gt;  &lt;/span&gt;not put pages, Web user controls, or other non-code files ontaining non-code elements into this subdirectory. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Diffrence between DataReader and DataAdapter &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;DateReader is an forward only and read only cursor type if you are accessing data through DataRead it&lt;span style=""&gt;  &lt;/span&gt;shows the data on the web form/control but you can not perform the paging feature on that record(because it's forward only type).Reader isbest fit to show the Data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;(where no need to work on data) DataAdapter is not only&lt;span style=""&gt;  &lt;/span&gt;connect with the Databse(through Command object)it provide four types of command (InsertCommand, UpdateCommand, DeleteCommand, SelectCommand), It supports to the disconnected Architecture of .NET show we can populate the records to the DataSet. where as Dataadapter is best fit to work on data.&lt;b style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Diffrence between function and StoreProcedure ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Both functions and stored procedures can be custom defined and part of any application. Functions, on the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;other hand, are designed to send their output to a query or T-SQL statement. For example, User Defined Functions (UDFs) can run an executable file from SQL SELECT or an action query,while Stored Procedures(SPROC)use EXECUTE or EXEC to run. Both are instantiated using CREATE FUNCTION.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;stored procedures are designed to return its output to the application. A UDF returns table variables, while SPROC can't return a table variable although it can create a table. Another significant difference between them is that UDFs can't change server environment or your operating system environment, while a SPROC can. Operationally, when T-SQL encounters an error the function stops, while T-SQL will ignore an error in a SPROC and proceed to the next statement in your code (provided you've included error handling support). You'll also find that although a SPROC can be used in an XML FOR clause, a UDF cannot be.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Type of garbage collector?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;There are two types of Garbage Collectors: managed &lt;span style=""&gt; &lt;/span&gt;and unmanaged. see we will declaring variable ,object in our programes once this kind of variable,object goes out of the scope ,they are put into the heap and they are checked for the further existence. once its beeing no longer used garbage collector wil deallcate&lt;span style=""&gt;  &lt;/span&gt;mem for&lt;span style=""&gt;  &lt;/span&gt;that variable and objects.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Umanaged garbage collector: this was done&lt;span style=""&gt;  &lt;/span&gt;mannually and u will be happen to open a connection with&lt;span style=""&gt;  &lt;/span&gt;database, will be open the file etc. while this kind of the thing goes out of the scope we have to explicitly call the garage colector by calling the closecommand of the datbase once the connection is closed it puts this memmory ino the heep and process follws the same.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;what is the difference between serializable and MarshalByRefObjec&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;In .net Remoting if you want your class to be participated in remoting it has to inherit from MarshalByRefObject.class so that class definition can be passed by reference Where as [seraliazable] attribute is preceded before class that is can be serialized but this is used in conjuction with MarshalByValue class. Because when we pass by value then only we require this attribute.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is side-by-side execution&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;The side-by-side is the ability to run multiple version of an application or component on the same computer. And it is not possible one is private and another is public assembly means. In other words:Side-by-side execution is the ability to install multiple versions of code so that an application can choose&lt;span style=""&gt;  &lt;/span&gt;which version of the common language runtime or of a component it uses. Subsequent installations of other versions of the runtime, an application, or a component will not affect applications already installed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is a join and List different types of joins. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Joins are used in queries to explain how different tables are related. Joins also let you&lt;span style=""&gt;  &lt;/span&gt;select data from a table depending upon data from another table. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Types of joins:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;INNER JOINs,OUTER JOINs,CROSS JOINs. OUTER JOINs are further classified as LEFT OUTER&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;JOINS, RIGHT OUTER JOINS and FULL OUTER JOINS. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is the managed and unmanaged code in .net? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;The .NET Framework provides a run-time environment called the Common Language Runtime, which manages the execution of code and provides services that make the&lt;span style=""&gt;  &lt;/span&gt;development process easier. Compilers and tools expose the runtime's functionality and enable you to write code that benefits from this managed execution environment. Code that you develop with a language compiler that targets the runtime is called managed code; it benefits&lt;span style=""&gt;  &lt;/span&gt;from features such as cross-language integration, cross-language exception handling, enhanced security, versioning and deployment support, a simplified model for component interaction, and debugging and profiling services.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Global Assembly Cache (GAC) and what is the purpose &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt;"&gt;of it? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Each computer where the common language runtime is installed has a machine-wide code cache called the global assembly cache. The global assembly cache stores assemblies specifically designated to be shared&lt;span style=""&gt;  &lt;/span&gt;by several applications on the computer. You should share assemblies by installing them into the global assembly cache only when you need to. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Isolation Level? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;An isolation level determines the degree of isolation of data between concurrent transactions. The default SQL Server isolation level is Read Committed. A lower isolation level increases concurrency, but at the expense of data correctness. Conversely, a higher isolation level ensures that data is correct, but can affect concurrency negatively. The isolation level required by an application determines the locking behavior SQL Server uses. SQL-92 defines the following isolation levels, all of which are supported by SQL Server: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Read uncommitted (the lowest level where transactions are isolated only enough to ensure that physically corrupt data is not read). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Read committed (SQL Server default level). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Repeatable read. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Serializable (the highest level, where transactions are completely isolated from one another). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is sorting and what is the difference between sorting &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt;"&gt;and clustered indexes? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;The ORDER BY clause sorts query results by one or more columns up to 8,060 bytes. This will happen&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;by the time when we retrieve data from database. Clustered indexes physically sorting&lt;span style=""&gt;  &lt;/span&gt;data, while&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;inserting/updating the table. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Reflection in .NET? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;All .NET compilers produce metadata about the types defined in the modules they produce.This metadata is packaged along with the module (modules in turn are&lt;span style=""&gt;  &lt;/span&gt;packaged&lt;span style=""&gt;  &lt;/span&gt;together in assemblies), and can be accessed by a mechanism called reflection. The System.Reflection namespace contains classes that can be used to interrogate the types for a module/assembly. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What are Namespaces? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;The namespace keyword is used to declare a scope. This namespace scope lets you organize code and gives you a way to create globally-unique types. Even if you&lt;span style=""&gt;  &lt;/span&gt;do not explicitly declare one, a default namespace is created. This unnamed namespace, sometimes called the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;global namespace, is present in every file. Any identifier in the global namespace is available for use in a named namespace. Namespaces implicitly have public access and this is not modifiable. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;The ASP.NET page Lifecycle ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(1) PreInit()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;In Page level event, all controls created during design time are initialized with their default values. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;All events except the Init() and Unload() are fired from outermost to the innermost control. So PreInit() in the Page is the first event to fire but User Controls or MasterPage do not have any PreInit event. Only after the Page_PreInit()event the Init() events of other controls fire up.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(2)OnInit()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;In this event, we can read the control properties (which is set at design time). We cannot read control values changed by the user because that changed value will get loaded after LoadPostData()event fires. But we can access control values from the forms POST data as:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;string selectedValue = Request.Form[controlID].ToString();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(3)LoadViewState&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;This will only fire if the Page has posted back.Here the runtime de-serializes the view state data from the hidden form element and loads all controls who have view state enabled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(&lt;b style=""&gt;4)LoadPostBackData&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;In this event the controls which implement IPostBackDataHandler interface gets loaded by the values&lt;span style=""&gt;  &lt;/span&gt;from the HTTP POST data. Note that a textbox control does not gets its value from the view state but from the post data in the form in this event. So even if you disable view state for a particular control, it can get its value from the HTTP POST data if it implements IPostBackDataHandler interface. Also,an important point to note that if we have a DropDownList control and we have dynamically added some items to it, the runtime cannot load those values unless the viewstate is enabled. The reason being that HTTP Post data has only one value per control. The entire value collection is not maintained in the PostData but in view state.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(5)Page_Load&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;If the page has user control, then it's Load method will fire after the Page class's Load method. Except the Init() all are fired from the outermost control to the innermost. So after Page_Load(), load methods of all other controls are fired recursively.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(6)Control Event Handlers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;These are basically event handlers(like Button1_Click()) which are defined for controls.&lt;b style=""&gt;&lt;span style=""&gt; &lt;/span&gt;(7)PreRender&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;This event is again recursively fired for all child controls in the Page. If we want to make any changes to control values, this is the last event we have to peform the same. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(8)SaveViewState&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Here, the ViewState of the controls gets saved in the form's hidden control.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;b style=""&gt;(9)Render&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;In this method all controls are rendered recursively (i.e. Render method of each control is called). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(10)Unload&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;This event has no relevance besides clean up operations because the Page has already rendered. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;ASP.NET Globalization and Localization&lt;span style=""&gt;  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Globalization is the process of designing and developing applications that function for multiple cultures, and localization is the process of customizing your application for a given culture and locale. The topics in this section describe how to create ASP.NET Web applications that can be adapted to different languages and cultures.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Form Authentication in ASP.NET&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;The web.config file &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;configuration&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;system.web&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;customerrors mode="Off"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;authentication mode="Forms"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;forms name=".ASPXFORUM"&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;           &lt;/span&gt;loginUrl="login.aspx" protection="All" &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;           &lt;/span&gt;timeout="30" path="/" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;/authentication&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;authorization&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;deny users="?"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;/authorization&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;/system.web&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;/configuration&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is DLL Hell ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Dll hell problem is actualy registation and versionig probelem which is occure in vb6.0.this problem is solve in .netframework in this every project has its own dll(dynamic link library) file.and this file is not overwrite by dll file of another project when we instaling .netproject on machine where already install a .netframework project. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What’s the diff between a primary key and a unique key? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Both primary key and unique enforce uniqueness of the column on which they are defined. But by default primary key creates a clustered index on the column, where are unique creates a nonclustered index by default. Another major difference is that, primary key&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;doesn’t allow NULLs, but unique key allows one NULL only. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is View and its Detail? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Views are nothing but saved SQL statements, and are sometimes referred as “Virtual Tables”. Views cannot store data(except for Indexed Views); rather they only refer to data present in tables.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Syntax:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;CREATE VIEW&lt;span style=""&gt;   &lt;/span&gt;View_Name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;AS &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;          &lt;/span&gt;SELECT Statement &lt;span style=""&gt;        &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;There are 2 important options that can be used when a view is created. They are SCHEMABINDING and ENCRYPTION. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Creating a view with SCHEMABINDING option locks the tables being referred by the view and prevents any changes that may change the table schema. Encryption option encrypts the definition of the view. Users will not be able to see the definition of the View after it is created. Once encrypted, there is no way to decrypt it again. So be very careful when you are using&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;the ENCRYPTION option.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Limitations of Views:- There are some limitations when using Views. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;1)SELECT INTO cannot be used in the View &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;2)Temporary tables cannot be used within the View &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;3)Parameterized views does not exists i.e., you cannot pass parameters to the Views.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;4)COMPUTE &amp;amp; COMPUTE BY clauses cannot be used within the View.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is RAD ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Rapid application development (RAD), is a software development process developed initially by James Martin in the 1980s. The methodology involves iterative development, the construction of prototypes, and the use of Computer - aided software engineering (CASE) tools.&lt;span style=""&gt;  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Object? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;In simple words Object is just only an instance of Class. Objects are uniquely identifiable by a name. Therefore you should have two different objects with the same set of values. Its contain two main things: State and Behavior.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Sate:-&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt;"&gt; State is represented by the values of its attributes at a particular time.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Behavior:-&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt;"&gt; The behavior of an object is defined by the set of methods which can be applied on it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Describe session handling in a webfarm ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;State Server is used for handling sessions in a web farm. For session state to be maintained across different web servers in the web farm, the Application Path of the website (For example \LM\W3SVC\2) in the IIS Metabase should be identical in all the web servers in the web farm. Also, make sure your objects are serializable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Managed Heap? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;The .NET framework includes a managed heap that all .NET languages use when allocating reference type objects. Lightweight objects known as value types are always allocated on the stack, but all instances of classes and arrays are created from a pool of memory known as the managed heap. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What are client activated objects and server activated objects ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Basically for a SAO, the lifetime of the object is controlled by server, whereas for CAO, the lifetime is controlled by the client. Server Activated Objects includes Single Call &amp;amp; Singleton. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;b style=""&gt;Single Call&lt;/b&gt; objects service one and only one request coming in. Single Call objects are useful in scenarios where the objects are required to do a finite&lt;span style=""&gt;  &lt;/span&gt;amount of work. Single Call objects are usually not required to store state information, and they cannot hold state information between method calls. However, Single Call objects can be configured in a load-balanced fashion. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;b style=""&gt;Singleton&lt;/b&gt; objects are those objects that service multiple clients and hence share data by storing state information between client invocations. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;They are useful in cases in which data needs to be shared explicitly between clients and also in the&lt;span style=""&gt;  &lt;/span&gt;overhead of creatings and maintaining objects are substantial. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Client-activated objects (CAO) are server-side objects that are activatedupon request from the client. This way of activating server objects is very similar to the classic COM coclass activation. When the client&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;submits a request for a server object using "new" operator, an activation request message is sent to the remote application. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;The server then creates an instance of the requested class and returns an ObjRef back to the clientapplication that invoked it. A proxy is then created on the client side using the ObjRef. The client's method calls will be executed on the proxy. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Client - activated objects can store state information between method callsfor its specific client and not across different client objects. Each invocation of "new" returns a proxy to an independent instance of theserver type.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What r the ASP.NET List Control ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;ASP.NET List controls ==&gt; There are 3.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;1. DropDownList, 2. ListBox and 3.HTMLSelect.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;1. System.Web.UI.WebControls. DropDownList this&lt;span style=""&gt;  &lt;/span&gt;control renders a drop-down list in the page at runtime. Only the selected item is&lt;span style=""&gt;  &lt;/span&gt;visible&lt;span style=""&gt;  &lt;/span&gt;when&lt;span style=""&gt;  &lt;/span&gt;the&lt;span style=""&gt;  &lt;/span&gt;user is not interacting with the list, and the other items become visible when the user clicks the control to see items that can be selected. Only one item can be selected in this control. This control must be inserted&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;into a server side form (runat="server") applied.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;2. System.Web.UI.WebControls.ListBoxthis control&lt;span style=""&gt;  &lt;/span&gt;renders a list of items within a scrolling box, multiple items can be selected in this control if required. This control must be inserted into a server side form (runat="server") applied.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;3. System.Web.UI.HTMLControls.HTMLSelectthis&lt;span style=""&gt;  &lt;/span&gt;control can be used to render a drop-down list or a scrolling list of items. This control has less built in functionality when compared with controls above (It lacks many of the properties that can be used to influence the display style such as ForeColor and BackColor to name a couple),but it is still capable of performing most common uses of a list control. This control can be inserted anywhere, and does not require a server side form.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Dll Hell? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;DLL Hell is nothing but overwriting the dll in the registery. If two application are installed on a single server, one installed First and the Second Installed Later and There is a dll with same name with different functionality used in both the applications, So in this case Application one works fine all the days until application two Installed on the machine. Once the Application two is installed containing the DLL with the same name as Application one Contains then In this case the application one Fails as the DLL from Application&lt;span style=""&gt;  &lt;/span&gt;two overwites the DLL of Application one in the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Registery. So Application two works fine where as Application one Fails as the DLL is missing. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Diffrence between Interface and Abstract class ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(1)Multiple inheritance&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-A class may inherit several interfaces.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-A class may inherit only one abstract class.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(2)Default implementation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-An interface cannot provide any code, just the signature.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-An abstract class can provide complete, default code and/or just the details that have to be overridden.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(3)Constants&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-Only Static final constants.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-Both instance and static constants are possible.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(4)Core VS Peripheral&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-Interfaces are used to define the peripheral abilities of a class. In other words both Human and Vehicle can inherit&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;from a IMovable interface.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-An abstract class defines the core identity of a class and there it is used for objects of the same type.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(5)Homogeneity&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-If the various implementations only share method signatures then it is better to use Interface.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-If the various implementations are of the same kind and use common behaviour or status then abstract class is better&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;to use.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(6)Speed&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-Requires more time to find the actual method in the corresponding classes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-Fast&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(7)Adding functionality&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-If we add a new method to an Interface then we have to track down all the implementations of the interface and define&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;implementation for the new method.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;-If we add a new method to an abstract class then we have the option of providing default implementation and therefore&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;all the existing code might work properly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;which dll handles the request of .aspx page ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;When the Internet Information Service process (inetinfo.exe) receives an HTTP request, it uses the filename extension of&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;the&lt;span style=""&gt;  &lt;/span&gt;requested&lt;span style=""&gt;  &lt;/span&gt;resource to&lt;span style=""&gt;  &lt;/span&gt;determine which Internet Server Application Programming Interface (ISAPI) program to run to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;process the request. When&lt;span style=""&gt;  &lt;/span&gt;request is for an ASP.NET page (.aspx file), IIS passes the request to the ISAPI DLL capable of handling the request for ASP.NET pages, which is aspnet_isapi.dll.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What do u mean by XSD,XSLT &amp;amp; XML? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;XSD stands for XML Schema Definition. It define the structure of the XML file and the elements and attributes it contains the datatype of the elements. So that when u populate XML data into dataset, the dataset can treat elements differently based on their type. If XSD is not present dataset treats all elements as string type. XSLT stands XML style sheet lang tranformation. It is lang used for transforming XML data in one format to another format. Example XML data into HTML format. XSLT uses XPath to identify the elements in XML doc and transform those to desired format.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is data modeling and data mining ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Data modeling is the process of designing a data base model. In this data model data will be stored in&lt;span style=""&gt;  &lt;/span&gt;two types of table fact table and dimention table. Fact table contains the transaction data and dimention table contains the master data. Data mining is process of finding the hidden trends is called the data mining.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Sealed class ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;A class can be made sealed in c# using the sealed keyword. When you do that, it implies that the class cannot be inhereted. You can extend this functionality to the individual methods as well. In case you want a class to be inhereted, excluding one of its methods, just make that particular method sealed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Diffrence bteween Shadowing and Hiding ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Shadowing :-This is VB.Net Concept by which you can provide a new implementation for base class member without overriding the member. You can shadow a base class member in the derived class by using the keyword "Shadows". The method&lt;span style=""&gt;  &lt;/span&gt;signature, access level and return type of the shadowed member can be completely different than the base class member.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Hiding:- This is a C# Concept by which you can provide a new implementation for the base class member without overriding the member. You can hide a base class member in the derived class by using the keyword "new". The method signature, access level and return type of the hidden member has to be same as the base class member. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Comparing the three :-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;1) The access level , signature and the return type can only be changed when you are shadowing with VB.NET. Hiding and overriding demands these parameters as same.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;2) The difference lies when you call derived class object with a base class variable. In class of overriding although you assign a derived class object to base class variable it will call derived class function. In case of shadowing or hiding the base class function&lt;span style=""&gt;  &lt;/span&gt;will be called.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Why multiple Inheritance not work in C# ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;When we use the Multiple inheritance, we have to use more than one class. Lets one condition class A and class B are base classes and class c is multiple inherting it. And where class c is inheriting a function, It may be possible that this function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;with same name and same signature can present in both class A and Class B. That time how the compiler will know that which function it should take wherether from class A or class B. So Multiple inheritance show's an error.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Web Application ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Web application consists of document and code pages in various formats. The simplest kind of document is&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;a static HTML page, which contains information that will be formatted and displayed by a Web browser. An&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;HTML page may also contain hyperlinks to other HTML pages. A hyperlink(or just link) contains an address,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;or a Uniform Resource Locator(URL), specifying where the target document is located. The resulting combination&lt;span style=""&gt;  &lt;/span&gt;of content and links is sometimes called hypertext and provides easy navigation to a vast amount of information on the World Wide Web. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;How to Get DateDiffrence ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;DateTime startTime = DateTime.Now;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;DateTime endTime = DateTime.Now.AddSeconds( 75 );&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;TimeSpan span = endTime.Subtract ( startTime );&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Console.WriteLine( "Time Difference (seconds): " + span.Seconds );&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Console.WriteLine( "Time Difference (minutes): " + span.Minutes );&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Console.WriteLine( "Time Difference (hours): " + span.Hours );&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Console.WriteLine( "Time Difference (days): " + span.Days );&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;How to create a cookie in C#? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;HttpCookie cookie;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;String UserID = "dotnetquestion";&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;cookie = new HttpCookie("ID");&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;cookie.Values.Add("ID", ID);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Response.Cookies.Add(cookie); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Diff between DELETE TABLE and TRUNCATE TABLE commands?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;DELETE TABLE is a logged operation, so the deletion of each row gets logged in the transaction log, which&lt;span style=""&gt;  &lt;/span&gt;makes it slow. TRUNCATE TABLE also deletes all the rows in a table, but it won't log the deletion of each row, instead it logs the deallocation of the data pages of the table, which makes it faster. Of course, TRUNCATE TABLE can be rolled back.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Define candidate key, alternate key, composite key?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;candidate key is one that can have row of a table unique. Generally a candidate key is primary key of the table. If the table has more than one candidate key, one of them will become the primary key, and the rest are called alternate keys. A key formed by combining&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;at least two or more columns is called composite key. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;what is Early &amp;amp; Late Binding ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Early binding is to know the type of an object at compile time. The compiler have all the needed element at compile time to build the call into the excutable code. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;late binding, the type of an object is known only at runtime. It will need extra instructions to find out where is the method to be called before calling it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is exception handling ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;When an exception occurs, the system searches for the nearest catch clause that can handle the exception, as determined by the run-time type of the exception. First, the current method is searched for a lexically enclosing try statement, and the associated catch clauses of the try statement are considered in order. If that fails, the method that called the current method is&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;searched for a lexically enclosing try statement that encloses the point of the call to the current method. This search continues until a catch clause is found that can handle the current exception, by naming an exception class that is of the same class, or a base class, of the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;run-time type of the exception being thrown. A catch clause that doesn't name an exception class can handle any exception. Once a matching catch clause is found, the system prepares to transfer control to the first statement of the catch clause. Before execution of the catch clause begins, the system first executes, in order, any finally clauses that were associated&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;with try statements more nested that than&lt;span style=""&gt;  &lt;/span&gt;the one that&lt;span style=""&gt;  &lt;/span&gt;caught the exception. Exceptions that occur during&lt;span style=""&gt;  &lt;/span&gt;destructor execution are worth special mention. If an exception occurs during destructor execution, and that exception is not caught, then the execution of that destructor is terminated and the destructor of the base class (if any) is called. If there is no base class or if there is no base class destructor, then the exception is discarded.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is an extended stored procedure ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Extended stored procedure is a function&lt;span style=""&gt;  &lt;/span&gt;within&lt;span style=""&gt;  &lt;/span&gt;a DLL(written in a language like C, C++ using Open Data Services (ODS) API) that can be called from T-SQL, just the way we call normal stored procedures using the EXEC statement. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;How to get the hostname or IP address of the server ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;HttpContext.Current.Server.MachineName &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;HttpContext.Current.Request.ServerVariables["LOCAL_ADDR"]. The first one should return the name of the machine, the second returns the local ip address. Note that name of the machine could be different than host, since your site could be using host headers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is a parser error ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Its basically a syntax error in your ASPX page. It happens when your page is unreadable for the part of ASP.NET that transforms your code into an executable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Difference between Triggers and Storedprocedures ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Triggers are basically used to implement business rules. Triggers is also similar to stored procedures. The difference is that it can be activated when data is added or edited or deleted from a table in a database. Triggers are special kind of stored procedures that get&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;executed automatically when an INSERT,UPDATE or DELETE operation takes place on a table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;How to register Assemblies in GAC ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;The assemblies are stored in the global assembly cache, which is a versioned repository of assemblies made available to all applications on the machine not like Bin and App_Code. Several assemblies in the Framework are automatically made available to ASP.NET applications. You can register additional assemblies by registration in a Web.config file in your application. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;Can we develop web pages directly on an FTP server ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Yes. Visual Web Developer now has built-in support for editing and updating remote web projects using the standard File Transfer Protocol(FTP). You can quickly&lt;span style=""&gt;  &lt;/span&gt;connect to a remote Web site using FTP within the New Web Site and Open Web Site dialog box. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What is Store Procedure ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;A stored procedure is a set of structured query language statements that you assign a name and store it in to the database in a compiled form so that it can share between no of programs. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Some advantage of Store Procedure:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;1)They allow faster execution&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;2)They can reduce network traffic&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What are Indexes in SQL SERVER?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Microsoft SQL Server index helps in creating the structure of table that helps in speeds retrieval of the rows in the table. An index create a keys from one or more columns in the table. These keys are stored in a structure that allows SQL Server to find the row or rows created with the key values quickly and efficiently. If a table doest not containeated indexes, the data rows are not stored in any specific order. This structure is stored on heap. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;There are&lt;span style=""&gt;  &lt;/span&gt;two types of SQL Server indexes: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(1)Clustered:- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style=""&gt;   &lt;/span&gt;Clustered indexes helps in sorting and storeing the data rows in the table take key values as base. Because the data rows are stored in sorted order on the&lt;span style=""&gt;  &lt;/span&gt;clustered index key, clustered indexes more efficient&lt;span style=""&gt;  &lt;/span&gt;for finding rows. There is only one clustered index per table. The data rows themselves form the lowest level of the clustered index. The only time the data rows in a table are stored in sorted order is when table contains a clustered index. If a table has no clustered index, its data rows are stored in a heap. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(2)Nonclustered:- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;structure of Nonclustered indexes sis diffrent from the data rows. The lowest rows of a nonclustered index have the nonclustered index key values and each key value entry has pointers to the data rows containing the key value. The data rows are not stored in order based on the nonclustered key. The pointer from an index row in a nonclustered index to a data row is called a row locator. The structure of the&lt;span style=""&gt;  &lt;/span&gt;row locator depends on whether the data pages are stored in a heap or clustered. In heap, a row locator is a pointer that points the row. For a table with a clustered index, the row locator is the clustered index key.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b style=""&gt;&lt;span style="font-size: 14pt;"&gt;What are the different types of Joins ? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Joins helps to combine the contents of two or more tables to get a specific result set. It incorporates rows and columns from each table. Tables are typically joined using data that they have in common Join conditions can be specified in either the FROM or WHERE clauses. WHERE and HAVING clauses can also contain search conditions to further filter the rows selected by the join conditions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;Joins are of diffrent types:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Inner joins - An inner join in which the values in the columns being joined are compared using a comparison operator. Inner joins use a comparison operator to match rows from two tables based on values in common columns from each table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Equi Join - It returns full columns in both tables, and returns only the rows for which there is an equal value in the join column.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Self Join - A table can be joined to itself in a self-join.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Cross joins - Cross joins produce all rows from the left table, and each row from the left table is combined with all rows from the right table. Cross joins are also called Cartesian products.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Outer joins - Outer joins can be of three typs left, right, full outer join.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;table class="MsoNormalTable" style="width: 100%;" width="100%" border="0" cellpadding="0" cellspacing="0"&gt;  &lt;tbody&gt;&lt;tr style="height: 14.25pt;"&gt;   &lt;td colspan="3" style="padding: 0in; height: 14.25pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 24pt;"&gt;   &lt;td style="padding: 0in; width: 0.54%; height: 24pt;" width="0%"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td colspan="2" style="padding: 0in; width: 99.46%; height: 24pt;" valign="top" width="99%"&gt;   &lt;table class="MsoNormalTable" style="width: 99%;" width="99%" border="0" cellpadding="0" cellspacing="0"&gt;    &lt;tbody&gt;&lt;tr style=""&gt;     &lt;td style="padding: 0in;"&gt;     &lt;h2 style="text-align: center;" align="center"&gt;&lt;span class="style131"&gt;&lt;span style="font-size: 14pt;"&gt;ADO.NET&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;     &lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="style121"&gt;&lt;span style="font-size: 14pt;"&gt;What   is Concurrency and its types?&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;When two or more   people try to update same type of data then Concurrency helps how to handle   this situation there are two types of concurrency:pessimistic and optiimistic.   &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Pessimistic:-When one user try to change the data with pessimistic   concurrency a lock is placed on the data so that another user cannot change   that one after one another can change.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Optimistic:-In this if two user works on the same data and one change   that data first then second user cannot change that same data becasue the   which he have using is allready changed so he cannot do the change becasue   change apply to another data that is changed by first user.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;span class="style121"&gt;&lt;span style="font-size: 14pt;"&gt;Why is ADO.NET   serialization slower than &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;ADO&lt;/st1:place&gt;&lt;/st1:city&gt;   ?&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;ADO&lt;/span&gt;&lt;/span&gt;&lt;/st1:place&gt;&lt;/st1:city&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt; uses binary serialization while   ADO.NET uses text based serialization. Since the text takes more space, it   takes longer to write it out.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;span class="style121"&gt;&lt;span style="font-size: 14pt;"&gt;How to check if   the Dataset has records ? &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;if   ds.Tables(0).Rows.Count= 0 then &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;           'No   record &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;else&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;         'record found&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;strong&gt;&lt;span style="font-family: Verdana;"&gt;What’s the use of CommandBehavior.CloseConnection?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;To   avoid having to explicitly close the connection associated with the command   used to create either a SqlDataReader or and OleDbDataReader, pass the   CommandBehavior.CloseConnection argument to the ExecuteReader method of the   Connection.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;dr= cmd.ExecuteReader(CommandBehavior.CloseConnection); &lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;The associated connection will be closed automatically when the Close   method of the Datareader is called. This makes it all the more important to always   remember to call Close on your datareaders.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;strong&gt;&lt;span style="font-family: Verdana;"&gt;Which method do you invoke on the   DataAdapter control to load your generated dataset with data?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;The Fill() method.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;strong&gt;&lt;span style="font-family: Verdana;"&gt;What is Dataset and Diffgram?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;When sending and retrieving a DataSet from an XML Web service, the   DiffGram format is implicitly used. Additionally, when loading the contents   of a DataSet from XML using the ReadXml method, or when writing the contents   of a DataSet in XML using the WriteXml method, you can select that the   contents be read or written as a DiffGram. For more information, see Loading   a DataSet from XML and Writing a DataSet as XML Data. While the DiffGram   format is primarily used by the .NET Framework as a serialization format for   the contents of a DataSet, you can also use DiffGrams to modify data in   tables in a Microsoft SQL Server™ 2000 database.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;strong&gt;&lt;span style="font-family: Verdana;"&gt;What is typed dataset ?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;A typed dataset is very much similar to a normal dataset. But the   only difference is that the sehema is already present for the same. Hence any   mismatch in the column will generate compile time errors rather than runtime   error as in the case of normal dataset. Also accessing the column value is   much easier than the normal dataset as the column definition will be   available in the schema.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;strong&gt;&lt;span style="font-family: Verdana;"&gt;How can you provide an alternating   color scheme in a Repeater control?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;AlternatingItemTemplate Like the ItemTemplate element, but rendered   for every other row (alternating items) in the Repeater control. You can   specify a different appearance for the AlternatingItemTemplate element by   setting its style properties.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;strong&gt;&lt;span style="font-family: Verdana;"&gt;What are good ADO.NET object(s) to   replace the &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;ADO&lt;/st1:place&gt;&lt;/st1:city&gt;   Recordset object?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;There are alot...but the base once are SqlConnection,   OleDbConnection, etc...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;strong&gt;&lt;span style="font-family: Verdana;"&gt;Can you explain the difference   between an ADO.NET Dataset and an &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;ADO&lt;/st1:place&gt;&lt;/st1:city&gt;   Recordset?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Valid answers are:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;A DataSet can represent an entire relational        database in memory, complete with tables, relations, and views.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;A DataSet is designed to        work without any continuing connection to the original data source.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Data in a DataSet is        bulk-loaded, rather than being loaded on demand.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;There's no concept of        cursor types in a DataSet.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;DataSets have no current        record pointer You can use For Each loops to move through the data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;You can store many edits in        a DataSet, and write them to the original data source in a single        operation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Though the DataSet is universal, other objects        in ADO.NET come in different versions for different data sources.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;   &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What   are the differences between Datalist DataGrid and datarepeater ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;DataList&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Has table appearence by        default&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Has no autoformat option&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;has no default paging &amp;amp;        sorting options&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;can define separators        between elements using template&lt;br /&gt;       DataGrid&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Has a grid appearence by        default&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;has a autoformat option&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;has default paging and        sorting&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;has no separator between        elements&lt;br /&gt;       DataRepeater&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;simple,read-only output, has no built in        support for selecting or editing items, has no DEFAULT APPEARENCE, has        no default paging.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td colspan="3" style="padding: 0in; width: 100%;" valign="top" width="100%"&gt;   &lt;table class="MsoNormalTable" style="width: 98%;" width="98%" border="0" cellpadding="0" cellspacing="0"&gt;    &lt;tbody&gt;&lt;tr style=""&gt;     &lt;td style="padding: 0in;"&gt;     &lt;h2 style="text-align: center;" align="center"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;ASSEMBLY&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;     &lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="style141"&gt;&lt;span style="font-size: 14pt;"&gt;What   do you know about .NET assemblies?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Assemblies are the smallest units of versioning and   deployment in the .NET application. Assemblies are also the building blocks   for programs such as Web services, Windows services, serviced components, and   .NET remoting applications.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;span class="style141"&gt;&lt;span style="font-size: 14pt;"&gt;What’s the diff   between private and shared assembly? &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;strong&gt;&lt;span style="font-family: Verdana;"&gt;Privateassembly&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt;"&gt; &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;is used inside an application only and does not have to be identified   by a strong name.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Shared   assembly&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 14pt;"&gt; &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;can be used by multiple   applications and has to have a strong name.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What’s a   strong name ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;A strong name   includes the name of the assembly, version number, culture identity, and a   public key token.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Whats an   assembly ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Assemblies   are the building blocks of .NET Framework applications; they form the   fundamental unit of deployment, version control, reuse, activation scoping,   and security permissions. An assembly is a collection of types and resources   that are built to work together and form a logical unit of functionality. An   assembly provides the common language runtime with the information it needs   to be aware of type implementations. To the runtime, a type does not exist   outside the context of an assembly.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;How can you   debug failed assembly binds ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Use the   Assembly Binding Log Viewer (fuslogvw.exe) to find out the paths searched.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Where are   shared assemblies stored ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Global assembly   cache.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;How can you   tell the application to look for assemblies at the locations other than its   own install ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Use the   directive in the XML .config file for a given application.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;probing privatepath=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;should do the trick. Or you can add additional search paths in the   Properties box of the deployed application.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Where’s global   assembly cache located on the system ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Usually   C:\winnt\assembly or C:\windows\assembly.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;How do you   specify a custom attribute for the entire assembly (rather than for a class)   ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Global   attributes must appear after any top-level using clauses and before the first   type or namespace declarations. An example of this is as follows: &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;using System;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;[assembly : MyAttributeClass] class X {}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Note that in an IDE-created project, by convention, these attributes   are placed in AssemblyInfo.cs.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is delay   signing ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Delay signing   allows you to place a shared assembly in the GAC by signing the assembly with   just the public key. This allows the assembly to be signed with the private   key at a later stage, when the development process is complete and the   component or assembly is ready to be deployed. This process enables   developers to work with shared assemblies as if they were strongly named, and   it secures the private key of the signature from being accessed at different   stages of development.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 14.25pt;"&gt;   &lt;td colspan="3" style="padding: 0in; height: 14.25pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td colspan="3" style="padding: 0in;" valign="top"&gt;   &lt;table class="MsoNormalTable" style="width: 100%;" width="100%" border="0" cellpadding="0" cellspacing="0"&gt;    &lt;tbody&gt;&lt;tr style=""&gt;     &lt;td style="padding: 0in;"&gt;     &lt;h2 style="text-align: center;" align="center"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;ASP.NET BASIC &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;     &lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;span class="style111"&gt;&lt;span style="font-size: 14pt;"&gt;The IHttpHandler and IHttpHandlerFactory interfaces&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;   &lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;   &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;The IHttpHandler interface is implemented by all the   handlers. The interface consists of one property called IsReusable. The   IsReusable property gets a value indicating whether another request can use   the IHttpHandler instance. The method ProcessRequest() allows you to process   the current request. This is the core place where all your code goes. This   method receives a parameter of type HttpContext using which you can access   the intrinsic objects such as Request and Response. The IHttpHandlerFactory   interface consists of two methods - GetHandler and ReleaseHandler. The   GetHandler() method instantiates the required HTTP handler based on some   condition and returns it back to ASP.NET. The ReleaseHandler() method allows   the factory to reuse an existing handler.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;span class="style111"&gt;&lt;span style="font-size: 14pt;"&gt;what is Viewstate?   &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;View state 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&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&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;br /&gt;  &lt;span class="style111"&gt;&lt;span style=""&gt;Client-side options are:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;table class="MsoNormalTable" style="width: 100%;" width="100%" border="0" cellpadding="0" cellspacing="0"&gt;    &lt;tbody&gt;&lt;tr style=""&gt;     &lt;td style="padding: 0in; width: 25%;" width="25%"&gt;     &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;* The     ViewState property&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in; width: 22%;" width="22%"&gt;     &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;*     Query strings&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;    &lt;/tr&gt;    &lt;tr style=""&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;*     Hidden fields &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;*     Cookies&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p style="margin-bottom: 12pt;"&gt;&lt;span class="style111"&gt;&lt;span style="font-size: 14pt;"&gt;Server-side options are:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;   &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;table class="MsoNormalTable" style="width: 100%;" width="100%" border="0" cellpadding="0" cellspacing="0"&gt;    &lt;tbody&gt;&lt;tr style=""&gt;     &lt;td style="padding: 0in; width: 39%;" width="39%"&gt;     &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;*     Application state&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in; width: 39%;" width="39%"&gt;     &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;*     Session state&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in; width: 22%;" width="22%"&gt;     &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;*     DataBase&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Use the &lt;st1:place st="on"&gt;&lt;st1:placename st="on"&gt;View&lt;/st1:placename&gt; &lt;st1:placetype st="on"&gt;State&lt;/st1:placetype&gt;&lt;/st1:place&gt;   property to save data in a hidden field on a page. Because ViewState stores   data on the page, it is limited to items that can be serialized. If you want   to store more complex items in View State, you must convert the items to and   from a string.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;ASP.NET provides   the following ways to retain variables between requests:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Context.Handler   object&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 14pt;"&gt; &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Use this object to retrieve   public members of one Web form’s class from a subsequently displayed Web   form. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Query   strings&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 14pt;"&gt; &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Use these strings to pass   information between requests and responses as part of the Web address. Query   strings are visible to the user, so they should not contain secure   information such as passwords. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Cookies &lt;/span&gt;&lt;/strong&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Use cookies to store small   amounts of information on a client. Clients might refuse cookies, so your   code has to anticipate that possibility.&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt;"&gt; &lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style111"&gt;&lt;span style="font-size: 14pt;"&gt;View state&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt;"&gt; &lt;/span&gt;&lt;/strong&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;ASP.NET stores items added to a page’s ViewState   property as hidden fields on the page.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;strong&gt;&lt;span style="font-family: Verdana;"&gt;Session state &lt;/span&gt;&lt;/strong&gt;&lt;span class="style61"&gt;&lt;span style=""&gt;Use   Session state variables to store items that you want keep local to the   current session (single user).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Application   state &lt;/span&gt;&lt;/strong&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Use   Application state variables to store items that you want be available to all   users of the application.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;DOTNET   PAGE LIFECYCLE ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;While excuting   the page, it will go under the fallowing steps(or fires the events) which   collectivly known as Page Life cycle.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Page_Init -- Page Initialization&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;LoadViewState -- &lt;st1:placename st="on"&gt;View&lt;/st1:placename&gt; &lt;st1:placetype st="on"&gt;State&lt;/st1:placetype&gt; Loading&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;LoadPostData -- Postback data processing&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Page_Load -- Page Loading&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;RaisePostDataChangedEvent -- PostBack Change Notification&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;RaisePostBackEvent -- PostBack Event Handling&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Page_PreRender -- Page Pre Rendering Phase&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;SaveViewState -- &lt;st1:place st="on"&gt;&lt;st1:placename st="on"&gt;View&lt;/st1:placename&gt;    &lt;st1:placetype st="on"&gt;State&lt;/st1:placetype&gt;&lt;/st1:place&gt; Saving&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Page_Render -- Page Rendering &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Page_UnLoad -- Page Unloading&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is   Satellite Assemblies ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Satellite   assemblies are often used to deploy language-specific resources for an   application. These language-specific assemblies work in side-by-side   execution because the application has a separate product ID for each language   and installs satellite assemblies in a language-specific subdirectory for   each language. When uninstalling, the application removes only the satellite   assemblies associated with a given language and .NET Framework version. No   core .NET Framework files are removed unless the last language for that .NET   Framework version is being removed. For example, English and Japanese   editions of the .NET Framework version 1.1 share the same core files. The   Japanese .NET Framework version 1.1 adds satellite assemblies with localized   resources in a \ja subdirectory. An application that supports the .NET   Framework version 1.1, regardless of its language, always uses the same core   runtime files.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is CAS   ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;CAS: CAS is the   part of the .NET security model that determines whether or not a piece of   code is allowed to run, and what resources it can use when it is running. For   example, it is CAS that will prevent a .NET web applet from formatting your   hard disk. How does CAS work? The CAS security policy revolves around two key   concepts - code groups and permissions. Each .NET assembly is a member of a   particular code group, and each code group is granted the permissions   specified in a named permission set. For example, using the default security   policy, a control downloaded from a web site belongs to the 'Zone - Internet'   code group, which adheres to the permissions defined by the 'Internet' named   permission set. (Naturally the 'Internet' named permission set represents a   very restrictive range of permissions.) &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p style="margin-bottom: 12pt;"&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Automatic Memory Management ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Automatic   Memory Management: From a programmer's perspective, this is probably the   single biggest benefit of the .NET Framework. No, I'm not kidding. Every   project I've worked on in my long career of DOS and Windows development has   suffered at some point from memory management issues. Proper memory   management is hard. Even very good programmers have difficulty with it. It's   entirely too easy for a small mistake to cause a program to chew up memory   and crash, sometimes bringing the operating system to a screeching halt in   the process.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Programmers understand that they're responsible for releasing any   memory that they allocate, but they're not very good at actually doing it. In   addition, functions that allocate memory as a side effect abound in the   Windows API and in the C runtime library. It's nearly impossible for a   programmer to know all of the rules. Even when the programmer follows the   rules, a small memory leak in a support library can cause big problems if   called enough.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;The .NET Framework solves the memory management problems by   implementing a garbage collector that can keep track of allocated memory   references and release the memory when it is no longer referenced. A large   part of what makes this possible is the blazing speed of today's processors.   When you're running a 2 GHz machine, it's easy to spare a few cycles for   memory management. Not that the garbage collector takes a huge number of   cycles--it's incredibly efficient.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;The garbage collector isn't perfect and it doesn't solve the problem   of mis-managing other scarce resources (file handles, for example), but it   relieves programmers from having to worry about a huge source of bugs that   trips almost everybody up in other programming environments.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;On balance, automatic memory management is a huge win in almost every   situation.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What   Language familar to CLR?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Any language   that can be compiled into Microsoft Intermediate Language (MSIL) is   considered a .NET-compliant language.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Following   are a few of the popular .NET-compliant languages supported by CLR:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;table class="MsoNormalTable" style="width: 100%;" width="100%" border="0" cellpadding="0" cellspacing="0"&gt;    &lt;tbody&gt;&lt;tr style=""&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;APL&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;COBOL&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Component     Pascal&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Eiffel&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;    &lt;/tr&gt;    &lt;tr style=""&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Fortran&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Haskell&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;JScript&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Mercury&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;    &lt;/tr&gt;    &lt;tr style=""&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Oberon&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Pascal&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Perl&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Python&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;    &lt;/tr&gt;    &lt;tr style=""&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Smalltalk&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Visual     Basic&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Visual     C#&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td style="padding: 0in;"&gt;     &lt;p class="MsoNormal"&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Visual     C++&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 15pt;"&gt;   &lt;td colspan="3" style="padding: 0in; height: 15pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td colspan="2" style="padding: 0in; width: 98.36%;" valign="top" width="98%"&gt;   &lt;table class="MsoNormalTable" style="width: 98%;" width="98%" border="0" cellpadding="0" cellspacing="0"&gt;    &lt;tbody&gt;&lt;tr style=""&gt;     &lt;td style="padding: 0in;"&gt;     &lt;h2 style="text-align: center;" align="center"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;OOPS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;     &lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p class="MsoNormal"&gt;&lt;span class="style141"&gt;&lt;span style="font-size: 14pt;"&gt;What   Is OOPS ?&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;OOPs is an   Object Oriented Programming language,which is the extension of Procedure   Oriented Programming language.OOPS reduce the code of the program because of   the extensive feature of Polymorphism. OOPS have many properties such as   Data-Hiding,Inheritence,Data Absraction,Data Encapsulation and many   moreEverything in the world is an object. The type of the object may vary. In   OOPS, we get the power to create objects of our own, as &amp;amp; when required.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;span class="style141"&gt;&lt;span style="font-size: 14pt;"&gt;what is Class ? &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;A group of   objects that share a common definition and that therefore share common   properties, operations, and behavior. A user-defined type that is defined   with the class-key 'class,' 'struct,' or 'union.' Objects of a class type   consist of zero or more members and base class objects.Classes can be defined   hierarchically, allowing one class to be an expansion of another, and classes   can restrict access to their members. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is   Constructor?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;When we create   instance of class a special method of that class, called that is constructor.   Similarly, when the class is destroyed, the destructor method is called.   These are general terms and usually not the actual member names in most   object-oriented languages. It is initialized using the keyword New, and is   destroyed using the keyword Finalize.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is   Abstract Class ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Classes that   cannot be instantiated. We cannot create an object from such a class for use   in our program. We can use an abstract class as a base class, creating new   classes that will inherit from it. Creating an abstract class with a certain   minimum required level of functionality gives us a defined starting point   from which we can derive non-abstract classes. An abstract class may contain   abstract methods &amp;amp; non-abstract methods. When a class is derived from an   abstract class, the derived class must implement all the abstract methods   declared in the base class. We may use accessibility modifiers in an abstract   class.An abstract class can inherit from a non-abstract class. In C++, this   concept is known as pure virtual method.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is   ValueType?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Value Types -   Value types are primitive types. Like Int32 maps to System.Int32, double maps   to System.double.All value types are stored on stack and all the value types   are derived from System.ValueType. All structures and enumerated types that   are derived from System.ValueType are created on stack, hence known as   ValueType.In value type we create a copy of object and uses there value its   not the original one.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is diff.   between abstract class and an interface?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;An abstract   class and Interface both have method only but not have body of method.The   difference between Abstract class and An Interface is that if u call   Ablstract class then u have to call all method of that particular Abstract   class but if u call an Interface then it is not necessary that u call all   method of that particular interface.Method OverLoading:-Return type,   Parameter type, parameter and body of method number may be different.Method   Overriding:- Return type, Parameter type, Parameter Number all must be same .   Only body of method can change.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border: medium none ; padding: 0in;" width="1%"&gt;&lt;p class="MsoNormal"&gt; &lt;/p&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 14.25pt;"&gt;   &lt;td colspan="3" style="padding: 0in; height: 14.25pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;!--[if !supportMisalignedColumns]--&gt;  &lt;tr height="0"&gt;   &lt;td style="border: medium none ;" width="5"&gt;&lt;/td&gt;   &lt;td style="border: medium none ;" width="731"&gt;&lt;/td&gt;   &lt;td style="border: medium none ;" width="12"&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;!--[endif]--&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;table class="MsoNormalTable" style="width: 98%;" width="98%" border="0" cellpadding="0" cellspacing="0"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="padding: 0in;"&gt;   &lt;h2 style="text-align: center;" align="center"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;COM - DCOM &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="style141"&gt;&lt;span style="font-size: 14pt;"&gt;Which namespace do the classes, allowing you to support COM functionality, are located?&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;System.EnterpriseServices &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="style141"&gt;&lt;span style="font-size: 14pt;"&gt;How do you make a NET component talk to a COM component? &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;To enable the communication between COM and .NET components, the .NET Framework generates a COM Callable Wrapper (CCW). The CCW enables communication between the calling COM code and the managed code. It also handles conversion between the data types, as well as other messages between the COM types and the .NET types.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;can a COM object talk to a .NET object?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Yes, through Runtime Callable Wrapper (RCW) or PInvoke. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family: Verdana;"&gt;How do you generate an RCW from a COM object?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;br /&gt;&lt;span style=""&gt;       &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style=""&gt;Use the Type Library Import utility shipped with SDK. tlbimp COMobject.dll /out:.NETobject.dll or reference the COM library from Visual Studio in your project.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;I can’t import the COM object that I have on my machine. Did you write that object?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;You can only import your own objects. If you need to use a COM component from another developer, you should obtain a Primary Interop Assembly (PIA) from whoever authored the original object.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;How do you call unmanaged methods from your .NET code through PInvoke?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Supply a DllImport attribute. Declare the methods in your .NET code as static extern. Do not implement the methods as they are implemented in your unmanaged code, you’re just providing declarations for method signatures.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Can you retrieve complex data types like structs from the PInvoke calls? &lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Yes, just make sure you re-declare that struct, so that managed code knows what to do with it.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;I want to expose my .NET objects to COM objects. Is that possible?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Yes, but few things should be considered first. Classes should implement interfaces explicitly. Managed types must be public. Methods, properties, fields, and events that are exposed to COM must be public. Types must have a public default constructor with no arguments to be activated from COM. Types cannot be abstract.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Can you inherit a COM class in a .NET application?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;The .NET Framework extends the COM model for reusability by adding implementation inheritance. Managed types can derive directly or indirectly from a COM coclass; more specifically, they can derive from the runtime callable wrapper generated by the runtime. The derived type can expose all the method and properties of the COM object as well as methods and properties implemented in managed code. The resulting object is partly implemented in managed code and partly implemented in unmanaged code.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Suppose I call a COM object from a .NET applicaiton, but COM object throws an error. What happens on the .NET end?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;&lt;span style=""&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;COM methods report errors by returning HRESULTs; .NET methods report them by throwing exceptions. The runtime handles the transition between the two. Each exception class in the .NET Framework maps to an HRESULT.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" style="width: 101.64%;" width="100%" border="0" cellpadding="0" cellspacing="0"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td colspan="2" style="padding: 0in; width: 100%;" valign="top" width="100%"&gt;   &lt;table class="MsoNormalTable" style="width: 7.25in;" width="696" border="0" cellpadding="0" cellspacing="0"&gt;    &lt;tbody&gt;&lt;tr style=""&gt;     &lt;td style="padding: 0in; width: 100%;" width="100%"&gt;     &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;CSS&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;     &lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What   do u mean to CSS ?&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Style sheets   are a very powerful tool for the Web site developer. They give you the chance   to be completely consistent with the look and feel of your pages, while   giving you much more control over the layout and design than straight HTML   ever did.&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is CSS?&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;CSS stands for   cascading stylesheets Styles define how to display HTML elements Styles are   normally stored in Style Sheets Styles were added to HTML 4.0 to solve a   problem External Style Sheets can save you a lot of work External Style   Sheets are stored in CSS files Multiple style definitions will cascade into   one. &lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Style Sheets Can   Save a &lt;st1:place st="on"&gt;Lot&lt;/st1:place&gt; of Work&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Enforcing   data integrity ensures the quality of the data in the database. For example,   if an employee is entered with an employee_id value of 123, the database   should not allow another employee to have an ID with the same value. If you   have an employee_rating column intended to have values ranging from 1 to 5,   the database should not accept a value of 6. If the table has a dept_id   column that stores the department number for the employee, the database   should allow only values that are valid for the department numbers in the   company. Two important steps in planning tables are to identify valid values   for a column and to decide how to enforce the integrity of the data in the   column. Data integrity falls into these categories.&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;How   to add Add External Style Sheet?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;An external style sheet is ideal when the style is   applied to many pages. With an external style sheet, you can change the look   of an entire Web site by changing one file. Each page must link to the style   sheet using the &lt;link&gt; tag. The &lt;link&gt; tag goes inside the head   section:&lt;br /&gt;  &lt;head&gt;&lt;br /&gt;  &lt;link rel="stylesheet" type="text/css" href="mystyle.css"&gt;&lt;br /&gt;  &lt;/head&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is Internal Style Sheet?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;An internal style sheet should   be used when a single document has a unique style.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What are Inline Styles?&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;An inline style   mixes content with presentation, hence it loses many of the advantages of   style sheets by mixing content with presentation. We can use this method when   a style is to be applied to a single occurrence of an element. To use inline   styles you have to use the style attribute in the relevant tag. The style   attribute can contain any CSS property. The example shows how to change the   color and the left margin of a paragraph:&lt;br /&gt;  &lt;p style="color: sienna; margin-left: 20px"&gt;&lt;br /&gt;  This is a paragraph&lt;br /&gt;  &lt;/p&gt;&lt;br /&gt; &lt;br /&gt;  &lt;b&gt;When do you use CSS dimension?&lt;br /&gt;  &lt;/b&gt;The CSS dimension properties allow you to control the height and width of   an element. It also allows you to increase the space between two lines.&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;CSS purpose and Used for?&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;CSS is a   language, separate from HTML or XHTML CSSused to specify the layout or   formatting properties of HTML elements From a single CSS file you can control   an entire sites:&lt;br /&gt;  font type ,font and element colour ,padding ,margins ,and element positioning   CSS allows developers to separate style (look, appearance,colours, fonts,   layout) from the pages structure.&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What are the CSS Web Template?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;"CSS Web Template" is   a website design created using Cascading Style Sheets (CSS) technology.   Cascading stylesheets provide web developers an easy way to format and to   style web pages. CSS will be used even more because it is seen the same way   by all browsers, making it the best option during the browser wars.&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 14.25pt;"&gt;   &lt;td style="padding: 0in; height: 14.25pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border: medium none ; padding: 0in;" width="1%"&gt;&lt;p class="MsoNormal"&gt; &lt;/p&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="padding: 0in;"&gt;   &lt;h2 style="text-align: center;" align="center"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;REMOTING&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;   &lt;/td&gt;   &lt;td style="border: medium none ; padding: 0in;" width="4%"&gt;&lt;p class="MsoNormal"&gt; &lt;/p&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;pre&gt;&lt;span class="style121"&gt;&lt;span style="font-size: 14pt;"&gt;What is .NET Remoting ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;         &lt;/span&gt;.NET Remoting is an enabler for application communication. It is a generic system for different applications to use to communicate with one another. .NET objects are exposed to remote processes, thus allowing interprocess communication. The applications can be located on the same computer, different computers on the same network, or even computers across separate networks.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="style121"&gt;&lt;span style="font-size: 14pt;"&gt;.NET Remoting versus Distributed COM ? &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;In the past interprocess communication between applications was handled through Distributed COM, or DCOM. DCOM works well and the performance is adequate when applications exist on computers of similar type on the same network. However, DCOM has its drawbacks in the Internet connected world. DCOM relies on a proprietary binary protocol that not all object models support, which hinders interoperability across platforms. In addition, have you tried to get DCOM to work through a firewall? DCOM wants to communicate over a range of ports that are typically blocked by firewalls. There are a ways to get it to work, but they either decrease the effectiveness of the firewall (why bother to even have the firewall if you open up a ton of ports on it), or require you to get a firewall that allows support for binary traffic over port 80. .NET Remoting eliminates the difficulties of DCOM by supporting different transport protocol formats and communication protocols. This allows .NET Remoting to be adaptable to the network environment in which it is being used.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is Channels ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Remote objects are accessed through Channels. Channels physically transport the messages to and from remote objects. There are two existing channels TcpChannel and HttpChannel. Their names give away the protocols that they use. In addition, the TcpChannel or HttpChannel can be extended, or a new channel created if you determine the existing channels do not meet your needs.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Security in Remoting ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Security is of paramount importance to any distributed application. Although the .NET Remoting infrastructure does not define any security features itself, because distributed applications are managed code they have full access to all of the .NET security features. In addition, the HTTP channel, when used with IIS, allows you to take full advantage of the authentication and authorization features that are available to Web based protocols. If you choose to use a protocol other than HTTP with IIS, then you have the opportunity to create your own security infrastructure.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Advantage of Remoting over Web Services ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;         &lt;/span&gt;.NET Remoting is a distributed objects infrastructure. It allows processes to share objects—to call methods on and access properties of objects that are hosted in different application domains within the same process, different processes executing on the same computer, on computers on an intranet, or on computers distributed over wide areas. .NET Remoting supports many different communications protocols, including the SOAP/HTTP protocol used by ASP.NET Web services. Support for other protocols makes it possible to provide much faster communications in .NET Remoting than would be possible with ASP.NET Web services. The ASP.NET programming model is tied specifically to IIS, and is limited to creating Web services that use the producer/consumer model. .NET Remoting, on the other hand, can share objects from any type of application.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style=""&gt;The .NET Remoting system, as an integral part of the .NET Framework, supports full .NET type system fidelity. You can pass any object across the wire to a client. This is in contrast to ASP.NET, which is limited to data types that can be expressed with WSDL and XSD.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="style121"&gt;&lt;span style="font-size: 14pt;"&gt;Scope of publication ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;         &lt;/span&gt;.NET Remoting exposes objects to other application domains as if they are local, with a few exceptions. The two exceptions most likely to trip you up are:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style=""&gt;•&lt;span style=""&gt;     &lt;/span&gt;Static members are never remoted. Remoting always deals with some form of object instance member. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style=""&gt;• &lt;span style=""&gt;    &lt;/span&gt;Private methods are never remoted. You cannot wrap and pass a delegate to a private method. This includes remote event handlers. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style=""&gt;The other exceptions are less likely to cause you trouble. The online documentation provides a complete list and explanation of the exceptions.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="style121"&gt;&lt;span style="font-size: 14pt;"&gt;What are the Proxies ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style=""&gt;         &lt;/span&gt;In the general sense, a proxy is any object that stands in for another, either servicing requests directly or passing the requests on to the object for which it is standing in. In .NET Remoting, the proxy manages the marshaling process and the other tasks required to make cross-boundary calls. The .NET Remoting infrastructure automatically handles creation and management of proxies, although it is possible to create your own proxy classes to plug in to and customize proxy creation, marshaling, and other proxy-related tasks.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="style121"&gt;&lt;span style="font-size: 14pt;"&gt;What is Abstract ? &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;.NET Remoting provides a powerful and high performance way of working with remote objects. Architecturally, .NET Remote objects are a perfect fit for accessing resources across the network without the overhead posed by SOAP based WebServices. .NET Remoting is easier to use than Java's RMI, but definately more difficult than creating a WebService.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="style121"&gt;&lt;span style="font-size: 14pt;"&gt;Some Important Notes &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;The dependence on assembly metadata implies that client applications must understand .NET concepts. As a result, applications that make use of .NET Remoting are not interoperable with other systems. Although it's possible to write an XML Web service using .NET Remoting, it's not practical when you consider that ASP.NET is designed specifically for that task. In most cases, in order to use .NET Remoting, both the client and the server must be .NET applications. This makes .NET Remoting a poor choice if you want non-.NET clients to access your service.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style=""&gt;Before we get into the nuts and bolts of how Remoting works and how to write programs that take advantage of it, you need to understand some basic Remoting concepts.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="style121"&gt;&lt;span style="font-size: 14pt;"&gt;.NET Remoting Overview ? &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;.NET Remoting is very flexible. You have a wide range of communications options and activation methods, as well as full control over a distributed object's lifecycle. You can choose TCP or HTTP communications protocols on any port, using text or binary formatting. The .NET Remoting infrastructure supports server activated (single call and singleton) and client activated objects. .NET Remoting gives you many opportunities to "plug in" to the system to customize lifecycle management, marshaling, serialization, messaging, and other services.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;table class="MsoNormalTable" style="width: 101.64%;" width="100%" border="0" cellpadding="0" cellspacing="0"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td colspan="2" style="padding: 0in; width: 100%;" valign="top" width="100%"&gt;   &lt;table class="MsoNormalTable" style="width: 98%;" width="98%" border="0" cellpadding="0" cellspacing="0"&gt;    &lt;tbody&gt;&lt;tr style=""&gt;     &lt;td style="padding: 0in;"&gt;     &lt;h2 style="text-align: center;" align="center"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;SQL SERVER &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;     &lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;span class="style111"&gt;&lt;span style="font-size: 14pt;"&gt;What are the different types of Locks ?&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;There are three   main types of locks that SQL Server &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;(1)Shared locks are used for operations that does not allow to change   or update data, such as a SELECT statement.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;(2)Update locks are used when SQL Server intends to modify a page,   and later promotes the update page lock to an exclusive page lock before   actually making the changes.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;(3)Exclusive locks are used for the data modification operations,   such as UPDATE, INSERT, or DELETE.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;span class="style111"&gt;&lt;span style="font-size: 14pt;"&gt;What Is Database ?&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;A database is   similar to a data file in that it is a storage place for data. Like a data   file, a database does not present information directly to a user; the user   runs an application that accesses data from the database and presents it to   the user in an understandable format.Database systems are more powerful than   data files in that data is more highly organized. In a well-designed   database, there are no duplicate pieces of data that the user or application   must update at the same time. Related pieces of data are grouped together in   a single structure or record, and relationships can be defined between these   structures and records.When working with data files, an application must be   coded to work with the specific structure of each data file. In contrast, a   database contains a catalog that applications use to determine how data is   organized. Generic database applications can use the catalog to present users   with data from different databases dynamically, without being tied to a   specific data format. A database typically has two main parts: first, the   files holding the physical database and second, the database management   system (DBMS) software that applications use to access data. The DBMS is   responsible for enforcing the database structure, including: · Maintaining   relationships between data in the database. Ensuring that data is stored   correctly, and that the rules defining data relationships are not violated. ·   Recovering all data to a point of known consistency in case of system   failures.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;span class="style111"&gt;&lt;span style=""&gt;what is Relational Database ?&lt;/span&gt;&lt;/span&gt;&lt;span class="style61"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Although there are different ways to organize data in a database,   relational databases are one of the most effective. Relational database   systems are an application of mathematical set theory to the problem of   effectively organizing data. In a relational database, data is collected into   tables (called relations in relational theory). A table represents some class   of objects that are important to an organization. For example, a company may   have a database with a table for employees, another table for customers, and   another for stores. Each table is built of columns and rows (called   attributes and tuples in relational theory). Each column represents some   attribute of the object represented by the table. For example, an Employee   table would typically have columns for attributes such as first name, last   name, employee ID, department, pay grade, and job title. Each row represents   an instance of the object represented by the table. For example, one row in   the Employee table represents the employee who has employee ID 12345. When   organizing data into tables, you can usually find many different ways to   define tables. Relational database theory defines a process called   normalization, which ensures that the set of tables you define will organize   your data effectively.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is Data   Integrity and it's categories ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Enforcing data   integrity ensures the quality of the data in the database. For example, if an   employee is entered with an employee_id value of 123, the database should not   allow another employee to have an ID with the same value. If you have an   employee_rating column intended to have values ranging from 1 to 5, the   database should not accept a value of 6. If the table has a dept_id column   that stores the department number for the employee, the database should allow   only values that are valid for the department numbers in the company. Two   important steps in planning tables are to identify valid values for a column   and to decide how to enforce the integrity of the data in the column. Data   integrity falls into these categories:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;1) Entity integrity&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;2) Domain integrity&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;3) Referential integrity&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;4) User-defined integrity&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;u&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Entity   Integrity:&lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;&lt;span style="font-size: 14pt;"&gt; &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Entity integrity defines a row   as a unique entity for a particular table. Entity integrity enforces the   integrity of the identifier column(s) or the primary key of a table (through   indexes, UNIQUE constraints, PRIMARY KEY constraints, or IDENTITY   properties).&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;u&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Domain   Integrity: &lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Domain integrity is the validity of entries for a given column. You   can enforce domain integrity by restricting the type (through data types),   the format (through CHECK constraints and rules), or the range of possible   values (through FOREIGN KEY constraints, CHECK constraints, DEFAULT   efinitions, NOT NULL definitions, and rules). &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;strong&gt;&lt;u&gt;&lt;span style="font-family: Verdana;"&gt;Referential Integrity:&lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;&lt;span class="style61"&gt;&lt;span style=""&gt;   Referential integrity preserves the defined relationships between tables when   records are entered or deleted. In Microsoft® SQL Server™ 2000, referential   integrity is based on relationships between foreign keys and primary keys or   between foreign keys and unique keys (through FOREIGN KEY and CHECK   constraints). Referential integrity ensures that key values are consistent   across tables. Such consistency requires that there be no references to   nonexistent values and that if a key value changes, all references to it   change consistently throughout the database. When you enforce referential   integrity, SQL Server prevents users from: &lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;· Adding records to a related table if there is no associated record   in the primary table. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;· Changing values in a primary table that result in orphaned records   in a related table. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;· Deleting records from a primary table if there are matching related   records. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;For example, with the sales and titles tables in the pubs database,   referential integrity is based on the relationship between the foreign key   (title_id) in the sales table and the primary key (title_id) in the titles   table. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;strong&gt;&lt;u&gt;&lt;span style="font-family: Verdana;"&gt;User-Defined:&lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;&lt;span class="style61"&gt;&lt;span style=""&gt;   Integrity User-defined integrity allows you to define specific business rules   that do not fall into one of the other integrity categories. All of the   integrity categories support user-defined integrity (all column- and   table-level constraints in CREATE TABLE, stored procedures, and triggers).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;SQL Server   runs on which TCP/IP port and From where can you change the default port?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;SQL Server runs   on port 1433 but we can also change it for better security and From the   network Utility TCP/IP properties --&gt;Port number.both on client and the   server.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is the use   of DBCC commands?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;   &lt;p&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;DBCC stands for   database consistency checker. We use these commands to check the consistency   of the databases, i.e., maintenance, validation task and status checks.DBCC   CHECKDB - Ensures that tables in the db and the indexes are correctly   linked.and DBCC CHECKALLOC To check that all pages in a db are correctly   allocated. DBCC SQLPERF - It gives report on current usage of transaction log   in percentage. DBCC CHECKFILEGROUP - Checks all tables file group for any   damage.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is the   difference between a HAVING CLAUSE and a WHERE CLAUSE?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;   &lt;p&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Having Clause is   basically used only with the GROUP BY function in a query. WHERE Clause is   applied to each row before they are part of the GROUP BY function in a query.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;When do you use   SQL Profiler?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;   &lt;p&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;SQL Profiler utility   allows us to basically track Connections to the SQL Server and also determine   activities such as which SQL Scripts are running, failed jobs etc.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Can you explain   the role of each service?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;SQL SERVER - is   for running the databases SQL AGENT - is for automation such as Jobs, DB   Maintenance, Backups DTC - Is for linking and connecting to other SQL   Servers.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is   Normalization ?&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;The logical   design of the database, including the tables and the relationships between   them, is the core of an optimized relational database. A good logical   database design can lay the foundation for optimal database and application   performance. A poor logical database design can impair the performance of the   entire system.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Normalizing a logical database design involves using formal methods   to separate the data into multiple, related tables. A greater number of   narrow tables (with fewer columns) is characteristic of a normalized   database. A few wide tables (with more columns) is characteristic of an   nonnomalized database. Reasonable normalization often improves performance.   When useful indexes are available, the Microsoft® SQL Server™ 2000 query   optimizer is efficient at selecting rapid, efficient joins between tables.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Some of the   benefits of normalization include: &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;·Faster sorting and index creation.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;·A larger number of clustered indexes. For more information, Narrower   and more compact indexes.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;·Fewer indexes per table, which improves the performance of INSERT,   UPDATE, and DELETE statements.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;·Fewer null values and less opportunity for inconsistency, which   increase database compactness. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;As normalization increases, so do the number and complexity of joins   required to retrieve data. Too many complex relational joins between too many   tables can hinder performance. Reasonable normalization often includes few   regularly executed queries that use joins involving more than four tables.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Sometimes the logical database design is already fixed and total   redesign is not feasible. Even then, however, it might be possible to   normalize a large table selectively into several smaller tables. If the   database is accessed through stored procedures, this schema change could take   place without affecting applications. If not, it might be possible to create   a view that hides the schema change from the applications.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt; &lt;br /&gt;  &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Can you   tell me the difference between DELETE &amp;amp;TRUNCATE commands?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;   &lt;p&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Delete command removes   the rows from a table based on the condition that we provide with a WHERE   clause. Truncate will actually remove all the rows from a table and there   will be no data in the table after we run the truncate command.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 14.25pt;"&gt;   &lt;td style="padding: 0in; height: 14.25pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border: medium none ; padding: 0in;" width="1%"&gt;&lt;p class="MsoNormal"&gt; &lt;/p&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td colspan="2" style="padding: 0in; width: 100%;" valign="top" width="100%"&gt;   &lt;table class="MsoNormalTable" style="width: 98%;" width="98%" border="0" cellpadding="0" cellspacing="0"&gt;    &lt;tbody&gt;&lt;tr style=""&gt;     &lt;td style="padding: 0in;"&gt;     &lt;h2 style="text-align: center;" align="center"&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;VB.NET QUESTIONS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;     &lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;span class="style141"&gt;&lt;span style="font-size: 14pt;"&gt;What is DataType conversion in VB.NET ?&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Convert one   variable type to another one is called datatype conversion we can also caleed   this casting in VB.NET some automatically conversion is also there.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Cbool CByte CChar Cdate CDec CDbl CInt CLng CObj CShort CSng CStr   CType Asc.&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;br /&gt; &lt;br /&gt;  &lt;span class="style141"&gt;&lt;span style=""&gt;What do u mean by Redim in VB.NET ?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;/b&gt;&lt;span class="style61"&gt;&lt;span style=""&gt;In vb.net we use Redim and erase to manipulate Array. Once we declare   an array the size set to array its makes limited to that range but with the   help of redim we used to change the array size.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Redim arr(6)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;we can also used preserve to save these values.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Redim Preserve arr(6)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;span class="style141"&gt;&lt;span style="font-size: 14pt;"&gt;What is branching   logic control in vb.net ?&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;Function and   subroutines are the answer.The diffrence in two of them is function send   information back from where it is called means function can return a value   but subroutines can not do this.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p&gt;&lt;span class="style141"&gt;&lt;span style="font-size: 14pt;"&gt;Write the role of New   keyword ?&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class="style61"&gt;&lt;span style="font-size: 14pt;"&gt;New is used to   initialize a new object. We sets a variable to any dattype with help of New   keyword .The New keyword gives a value to the variable.We can also uses new   keyword to initialize an object variable.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;br /&gt;  &lt;span class="style61"&gt;&lt;span style=""&gt;Example:- dim obj as new SqlDataAdapter.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 14.25pt;"&gt;   &lt;td style="padding: 0in; height: 14.25pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 14pt;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border: medium none ; padding: 0in;" width="1%"&gt;&lt;p class="MsoNormal"&gt; &lt;/p&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="padding: 0in;"&gt;   &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;WEB SERVICES&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-size: 14pt;"&gt;   &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border: medium none ; padding: 0in;" width="1%"&gt;&lt;p class="MsoNormal"&gt; &lt;/p&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;pre&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Define Protocols that helps Web Services ?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;From my point of view Web Services used three protocols for interacting with the clients.Http-Post,Http-Get,SOAP.&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Explain functioning of Web Services Protocols ?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Http-Get:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;- This is standard protocol that helps client to communicate with server with HTTP.When client send a request to server via HTTP request and reuired parameter are attached with the querystring.Example:-&lt;br /&gt;http://www.dotnetquestion.info/dotnet/interview.aspx?id=pervej&amp;amp;cast=munjal and we get the value from querystring.&lt;br /&gt;Request.querystring("id")&lt;br /&gt;Request.querystring("cast").&lt;br /&gt;&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;b&gt;Http-Post&lt;/b&gt;:-This is same as Http-Get but the diffrence is that in place of sending parameters onto the URL information is send with HTTP request message with some extra information which contains Parameters and their values.This Protocols is limited to sending name/value pairs.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SOAP&lt;/b&gt;:-The only diffrence is that its relies on the XML as compares to Http-Get,Http-Post.SOAP can send not only the name/value pairs but also some complex object also as for example datatypes,class,objects.SOAP can also uses request/reponse model as Http-Get,Http-post but it is not limited to Request/Response it can also send types of message.Because its uses XML that is pure text so firewalls not created so much problem because its easily converted in to HTML. .&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Why do some web service classes derive from System.Web.WebServices while others do not ?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Those Web Service classes which employ objects like Application, Session, Context, Server, and User have to derive from System.Web.WebServices. If it does not use these objects, it is not necessary to be derived from it.&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is WSDL ?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;WSDL is an XML format for describing network services as a set of endpoints operating on messages containing either document-oriented or procedure-oriented information. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint. Related concrete endpoints are combined into abstract endpoints (services). (Source: www.w3.org).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is the standard you use to wrap up a call to a Web service ?&lt;span style=""&gt;    &lt;/span&gt;A: &lt;/b&gt;HTTP with SOAP.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Explain Web Services ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;span style=""&gt;         &lt;/span&gt;Web services are programmable business logic components that provide access to functionality through the Internet. Standard protocols like HTTP can be used to access them. Web services are based on the Simple Object Access Protocol (SOAP), which is an application of XML. Web services are given the .asmx extension..&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What are VSDISCO files ?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/b&gt;VSDISCO files are DISCO files that enable dynamic discovery of Web Services. ASP.NET links the VSDISCO to a HTTP handler that scans the host directory and subdirectories for ASMX and DISCO files and returns a dynamically generated DISCO document. A client who requests a VSDISCO file gets back what appears to be a static DISCO document.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is UDDI ?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/b&gt;UDDI stands for Universal Description, Discovery, and Integration. It is like an "Yellow Pages" for Web Services. It is maintained by Microsoft, IBM, and Ariba, and is designed to provide detailed information regarding registered Web Services for all vendors. The UDDI can be queried for specific Web Services.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Is it possible to generate the source code for an ASP.NET Web service from a WSDL ?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/b&gt;The Wsdl.exe tool (.NET Framework SDK) can be used to generate source code for an ASP.NET web service with its WSDL link.&lt;br /&gt;&lt;b&gt;Example:&lt;/b&gt; wsdl /server http://api.google.com/GoogleSearch.wsdl.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component ?&lt;br /&gt;&lt;/b&gt;When to Use Web Services:&lt;br /&gt;&lt;b&gt;(i)&lt;/b&gt;Communicating through a Firewall When building a distributed application with 100s/1000s of users spread over multiple locations, there is always the problem of communicating between client and server because of firewalls and proxy servers. Exposing your middle tier components as Web Services and invoking the directly from a Windows UI is a very valid option.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;(ii)&lt;/b&gt;Application Integration When integrating applications written in various languages and running on disparate systems. Or even applications running on the same platform that have been written by separate vendors.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;(iii)&lt;/b&gt;Business-to-Business Integration This is an enabler for B2B intergtation which allows one to expose vital business processes to authorized supplier and customers. An example would be exposing electronic ordering and invoicing, allowing customers to send you purchase orders and suppliers to send you invoices electronically.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;(iv)&lt;/b&gt;Software Reuse This takes place at multiple levels. Code Reuse at the Source code level or binary componet-based resuse. The limiting factor here is that you can reuse the code but not the data behind it. Webservice overcome this limitation. A scenario could be when you are building an app that aggregates the functionality of serveral other Applicatons. Each of these functions could be performed by individual apps, but there is value in perhaps combining the the multiple apps to present a unifiend view in a Portal or Intranet.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What are Service Oriented Architectures (SOA) ?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/b&gt;SOA describes an information technology architecture that enables distributed computing environments with many different types of computing platforms and applications. Web services are one of the technologies that help make SOAs possible. As a concept, SOA has been around since the 1980s, but many early IT technologies failed to achieve the goal of linking different types of applications and systems. By making early investments with .NET, Microsoft has helped provide the building blocks that today are putting many enterprise customers on the path to successfully implementing SOAs. With SOAs, companies can benefit from the unimpeded flow of information that is the hallmark of connected systems.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is .NET Passport ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;&lt;span style=""&gt;         &lt;/span&gt;.NET Passport is a Web-based service that is designed to make signing in to Web sites fast and easy. Passport enables participating sites to authenticate a user with a single set of sign-in credentials, alleviating the need for users to remember numerous passwords and user names.&lt;/span&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: 14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;table class="MsoNormalTable" style="width: 98%;" width="98%" border="0" cellpadding="0" cellspacing="0"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="padding: 0in;"&gt;   &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;XML - XHTML&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-size: 14pt;"&gt;   &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;pre&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is XML ?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;XML is the Extensible Markup Language. It improves the functionality of the Web by letting you identify your information in a more accurate, flexible, and adaptable way.&lt;br /&gt;It is extensible because it is not a fixed format like HTML (which is a single, predefined markup language). Instead, XML is actually a metalanguage—a language for describing other languages—which lets you design your own markup languages for limitless different types of documents. XML can do this because it's written in SGML, the international standard metalanguage for text document markup (ISO 8879).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is DOM?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/b&gt;Document Object Model (DOM) is a W3C specification that defines a standard (abstract) programming API to build, navigate and update XML documents. It is a "tree-structure-based" interface. As per the DOM specification, the XML parsers (such as MSXML or Xerces), load the entire XML document into memory, before it can be processed. XPath is used to navigate randomly in the document, and various DOM methods are used to create and update (add elements, delete elements, add/remove attributes, etc.) the XML documents.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is XPath?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/b&gt;XML Path Language (XPath) is a W3C specification that defines syntax for addressing parts of XML document. XML document is considered as a logical tree structure, and syntax based on this consideration is used to address elements and attributes at any level in the XML document. For example, considering the XML document described above in answer to question 2, /abc:Employees/abc:Emp/@EmpID XPath expression can be used to access the EmpID attribute under the (first) Emp element under the Employees document element. XPath is used in various other specifications such as XSLT.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is XHTML?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/b&gt;Is simple words, XHTML, or Extensible HTML, is HTML 4 with XML rules applied to it (each begin tag must have an end tag, attribute values in single/double quotes, etc.). However, the overall vision of XHTML is much more than that. In addition to using XML syntax for HTML, XHTML also encloses specifications such as XHTML Basic (minimal set of modules for devices such as PDAs), XForms (represents the next generation of forms for the Web, and separates presentation, logic, and data), XML Events (provides XML languages with the ability to uniformly integrate event listeners and associated event handlers), etc.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is XML Parser ?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/b&gt;Microsoft's XML parser is a COM component that comes with Internet Explorer 5 and higher. Once you have installed Internet Explorer, the parser is available to scripts.&lt;br /&gt;Microsoft's XML parser supports all the necessary functions to traverse the node tree, access the nodes and their attribute values, insert and delete nodes, and convert the node tree back to XML.&lt;br /&gt;&lt;br /&gt;To create an instance of Microsoft's XML parser with JavaScript, use the following code:&lt;br /&gt;var xmlDoc=new ActiveXObject("Microsoft.XMLDOM")&lt;br /&gt;&lt;br /&gt;To create an instance of Microsoft's XML parser with VBScript, use the following code:&lt;br /&gt;set xmlDoc=CreateObject("Microsoft.XMLDOM")&lt;br /&gt;&lt;br /&gt;To create an instance of Microsoft's XML parser in an ASP page (using VBScript), use the following code:&lt;br /&gt;set xmlDoc=Server.CreateObject("Microsoft.XMLDOM")&lt;br /&gt;&lt;br /&gt;The following code loads an existing XML document ("note.xml") into Microsoft's XML parser:&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;br /&gt;var xmlDoc=new ActiveXObject("Microsoft.XMLDOM")&lt;br /&gt;xmlDoc.async="false"&lt;br /&gt;xmlDoc.load("note.xml")&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Some Limitation or Disadvantage of XML?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/b&gt;XML markup has a few disadvantages:&lt;br /&gt;It can be verbose unless element and attribute names are chosen with care. In large documents the markup overhead need not be large, but in short messages it can be significantly more than the actual data, especially when the element or attribute names are concocted by machine.&lt;br /&gt;&lt;br /&gt;Overlapping markup is not permitted (an element cannot start inside one element and end inside another): element markup must nest hierarchically.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to add in XML document through XSL ?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/b&gt;XSL (the eXtensible Stylesheet Language) is far more sophisticated than CSS. One way to use XSL is to transform XML into HTML before it is displayed by the browser as demonstrated in these examples:&lt;br /&gt;Below is a fraction of the XML file. The second line,&lt;br /&gt;&lt;?xml-stylesheet type="text/xsl" href="simple.xsl"?&gt;, links the XML file to the XSL file:&lt;br /&gt;&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;&lt;br /&gt;&lt;?xml-stylesheet type="text/xsl" href="simple.xsl"?&gt;&lt;br /&gt;&lt;breakfast_menu&gt;&lt;br /&gt;&lt;food&gt;&lt;br /&gt;&lt;name&gt;Belgian Waffles&lt;/name&gt;&lt;br /&gt;&lt;price&gt;$5.95&lt;/price&gt;&lt;br /&gt;&lt;description&gt;&lt;br /&gt;two of our famous Belgian Waffles&lt;br /&gt;&lt;/description&gt;&lt;br /&gt;&lt;calories&gt;650&lt;/calories&gt;&lt;br /&gt;&lt;/food&gt;&lt;br /&gt;&lt;/breakfast_menu&gt;&lt;/span&gt;&lt;span style="font-size: 14pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;How do I convert my existing HTML documents into XML?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;Tidy is a command-line utility which runs on a wide variety of operating systems; it uses various command-line switches (parameters) to control its processing. At a minimum, it simply cleans up your HTML by ensuring that elements are properly nested and so on; it also warns you if your HTML uses non-standard code that's likely to cause cross-browser compatibility problems. One of the most useful command-line options is -asxml ("as XML," see?), which does what you seem to be asking. It will properly balance elements, per usual, but it also adds some extra information to the document. For instance, it tacks on an XML declaration, , and a statement, which unambiguously mark this as an XML document. To the root html element it also adds a namespace-declaring attribute that identifies all elements in the document as conforming to the specific XML vocabulary known as XHTML. It even forces all element names to lowercase, since the XHTML standard requires it.&lt;br /&gt;&lt;br /&gt;If you're asking about converting HTML to a less generic form of XML than XHTML, your task may turn out to be quite complex. For example, if you've been using HTML to mark up customer invoices, not only the customer's name but also their number, item(s) ordered, quantity, and price are probably all wrapped up inside &lt;p&gt; and &lt;/p&gt; tags. How do you know which "kind of paragraph" contains a given kind of information, so you can turn one instance of the p element into a custname element, another into custnumber, another into price, and so on? If you've been using CSS for styling your HTML, you may have supplied the different p elements with class="custname" (etc.) attributes and so on; if that's the case, you may be able to generate meaningful XML using an XSLT stylesheet. There may also be customized software to do the sort of conversion you want. Otherwise you're probably looking down the barrel of an ugly gun. &lt;/span&gt;&lt;span style="font-size: 14pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;What is a schema? What are the limitations of a DTD?&lt;br /&gt;&lt;span style=""&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 14pt; font-family: Verdana;"&gt;SCHEMA is nothing but METADATA. The schema holds all the information of the xml file that is to be deployed in the project. Metatdata is nothing about data about data since we know that xml is used for data representation language we will be able to understand what metadata is. Metadata includes the tags that is going to be exchanged to and fro from another xml file. DTD (DATA TYPE DEFINITION ) which supervises two conditions namely well formedness and closeness of the xml file. So the user should be aware of what tags he was put into use of this xml file 'A' should be intimated to another application's XML file 'B', by then our xml file will interact with the another xml file, this is the major limitat&lt;span style=""&gt;        &lt;/span&gt;ion and mandatory issue that the developers should follow.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-1132206261107948541?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/1132206261107948541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=1132206261107948541' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1132206261107948541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/1132206261107948541'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2008/07/aspnet-questions.html' title='Asp.net questions'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-6030120840327964074</id><published>2008-07-17T22:57:00.000-07:00</published><updated>2008-12-22T21:14:25.745-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><title type='text'>The difference between asp.net 2003 and asp.net 2005. </title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///D:%5CDOCUME%7E1%5Cshesu04%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:documentproperties&gt;   &lt;o:author&gt;support&lt;/o:Author&gt;   &lt;o:version&gt;11.9999&lt;/o:Version&gt;  &lt;/o:DocumentProperties&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:usefelayout/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:SimSun; 	panose-1:2 1 6 0 3 1 1 1 1 1; 	mso-font-alt:ËÎÌå; 	mso-font-charset:134; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:3 135135232 16 0 262145 0;} @font-face 	{font-family:Verdana; 	panose-1:2 11 6 4 3 5 4 4 2 4; 	mso-font-alt:Verdana; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:536871559 0 0 0 415 0;} @font-face 	{font-family:"\@SimSun"; 	panose-1:2 1 6 0 3 1 1 1 1 1; 	mso-font-alt:"\@Arial Unicode MS"; 	mso-font-charset:134; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:3 135135232 16 0 262145 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-language:EN-US;} h3 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	mso-outline-level:3; 	font-size:13.5pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-language:EN-US; 	font-weight:bold;} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:9.0pt; 	font-family:Verdana; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:Verdana; 	mso-fareast-language:EN-US;} tt 	{font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:654339344; 	mso-list-template-ids:-1732592398;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Symbol; 	mso-bidi-font-family:Symbol;} @list l0:level2 	{mso-level-number-format:bullet; 	mso-level-text:o; 	mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:"Courier New";} @list l0:level3 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:1.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l0:level4 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:2.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l0:level5 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:2.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l0:level6 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:3.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l0:level7 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:3.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l0:level8 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:4.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l0:level9 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:4.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l1 	{mso-list-id:1429765832; 	mso-list-template-ids:147725694;} @list l1:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Symbol; 	mso-bidi-font-family:Symbol;} @list l1:level2 	{mso-level-number-format:bullet; 	mso-level-text:o; 	mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:"Courier New";} @list l1:level3 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:1.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l1:level4 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:2.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l1:level5 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:2.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l1:level6 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:3.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l1:level7 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:3.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l1:level8 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:4.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l1:level9 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:4.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l2 	{mso-list-id:1505899971; 	mso-list-template-ids:-319112110;} @list l2:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Symbol; 	mso-bidi-font-family:Symbol;} @list l2:level2 	{mso-level-number-format:bullet; 	mso-level-text:o; 	mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:"Courier New";} @list l2:level3 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:1.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l2:level4 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:2.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l2:level5 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:2.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l2:level6 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:3.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l2:level7 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:3.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l2:level8 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:4.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l2:level9 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:4.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l3 	{mso-list-id:1932006864; 	mso-list-template-ids:-208238110;} @list l3:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Symbol; 	mso-bidi-font-family:Symbol;} @list l3:level2 	{mso-level-number-format:bullet; 	mso-level-text:o; 	mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:"Courier New";} @list l3:level3 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:1.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l3:level4 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:2.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l3:level5 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:2.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l3:level6 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:3.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l3:level7 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:3.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l3:level8 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:4.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} @list l3:level9 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:4.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Wingdings; 	mso-bidi-font-family:Wingdings;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;The difference between asp.net 2003 and asp.net 2005. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;1. Improving Development productivity by reducing the lines of &lt;span style=""&gt; &lt;/span&gt;code to be written by 70%. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;2. Increasing performance and scalability for developing fast web &lt;span style=""&gt;        &lt;/span&gt;applications platforms by providing facilities such as caching. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;3. Simplifying the administration and management of web &lt;span style=""&gt;        &lt;/span&gt;applications &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;4. Providing enhanced hosting opportunities for Internet Service &lt;span style=""&gt;          &lt;/span&gt;providers &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;New Controls:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;The final release of ASP.NET includes 40 new controls.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;The Grid View control has features for sorting, paging, selection and editing of contents out of the box. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;The DetailsView control displays single records in a vertical listing of data. The TreeView control supports the Data Source Provider concept and a number of data sources can be bound to it, including XML data. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;The Bulleted list control designed for data binding displays highly configurable HTML lists and provides support for hyperlinks and link buttons. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;Apart from the above controls, some other controls have been introduced&lt;span style=""&gt;  &lt;/span&gt;for the use of image maps, upload of files and rapid implementation of Wizards. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Master Pages:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt; text-indent: -31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;           &lt;/span&gt;&lt;span style=""&gt;              &lt;/span&gt;Master pages have been designed to help web developers design &lt;span style=""&gt;     &lt;/span&gt;templates with place holders for content. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Site Navigation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;Implementation of navigation has been made simple with the &lt;span style=""&gt;   &lt;/span&gt;integrated navigation structure based on XML data. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;User Management&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Arial;"&gt;:&lt;b&gt;:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;User management system is provided by providing special controls &lt;span style=""&gt;    &lt;/span&gt;for registration, login and so on with data providers to handle the data &lt;span style=""&gt;          &lt;/span&gt;storage without any code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Themes and Skins: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;This allows developers define themes and skins for their &lt;span style=""&gt;           &lt;/span&gt;applications. The Implementation of themes provides for design &lt;span style=""&gt;      &lt;/span&gt;properties, CSS support and integration of individual graphics. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Site Counters: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt; text-indent: -31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;This feature helps in counting page requests and also clicks of &lt;span style=""&gt;            &lt;/span&gt;controls. The .NET framework provides an extensive API to analyze, &lt;span style=""&gt; &lt;/span&gt;visualize and process the data. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Deployment:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Arial;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 31.5pt; text-indent: -31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;           &lt;/span&gt;&lt;span style=""&gt;              &lt;/span&gt;ASP.NET 2.0 opens up several new possibilities for the deployment &lt;span style=""&gt;   &lt;/span&gt;of the applications. Developers can now create or open projects using the &lt;span style=""&gt;    &lt;/span&gt;file system or the local IIS, FrontPage Extensions (FTP). The new &lt;span style=""&gt;  &lt;/span&gt;functionality for compiling complete web applications includes copying of &lt;span style=""&gt;  &lt;/span&gt;Dynamic link Libraries(DLLs) to the Web server. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in -1.25in 0.0001pt 31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;The new features of ASP.NET, simplify the overall programming model. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in -1.25in 0.0001pt 31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;The compiler is designed to generate most of the code and the developer is freed &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in -1.25in 0.0001pt 31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;from repetitive programming tasks. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in -1.25in 0.0001pt 31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in -1.25in 0.0001pt 31.5pt;"&gt;&lt;span style="font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3 style="margin-left: 0.5in;"&gt;&lt;span style="font-size: 12pt; font-family: Verdana;" lang="EN"&gt;Difference between VB6 and VB.NET:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family: Verdana;" lang="EN"&gt;VB6 uses the VB-Runtime while VB.NET uses the .Net CLR. The CLR uses      better code translation through Just in Time compiler while VB-Runtime      interprets the code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family: Verdana;" lang="EN"&gt;VB6 was interpreter based language while VB.NET is a compiled      language.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family: Verdana;" lang="EN"&gt;VB6 was not a type-safe language while VB.NET is a type safe language.      &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family: Verdana;" lang="EN"&gt;VB6 used ‘On Error Goto’ syntax to handle exceptions at runtime.      VB.NET uses the Try…Catch…Finally syntax to handle exceptions at runtime. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family: Verdana;" lang="EN"&gt;VB.NET has much enhanced object oriented support than VB6.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family: Verdana;" lang="EN"&gt;VB6 does not allow developing the multithreaded applications. In      VB.NET you can create multithreaded applications. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family: Verdana;" lang="EN"&gt;VB6 was only considered for desktop windows application. In VB.NET you      can also develop web applications, distributed applications. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family: Verdana;" lang="EN"&gt;VB.NET is platform independent because of .Net framework. Programs      written in VB.NET can run on any platform where .Net framework is present.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family: Verdana;" lang="EN"&gt;VB.NET also supports language interoperability. VB6 provides this      functionality through COM but it was limited and difficult to use and      manage. VB.Net makes it easier because of the presence of Intermediate      Language (IL) and Common Language Specification (CLS) of the .NET      architecture. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family: Verdana;" lang="EN"&gt;VB6 uses COM (Component Object Model) as component architecture.      VB.NET uses assemblies as its component architecture. The Assemblies      architecture has removed a lot of problems with COM including DLL-Hell and      versioning problem. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family: Verdana;" lang="EN"&gt;Components created in VB6 (COM) need to make and update registry      entries. VB.NET does not require any registry entry making the deployment      easier.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-family: Verdana;" lang="EN"&gt;VB6 used ADODB and record-sets to implement data access applications.      VB.NET uses ADO.NET and datasets to build data access applications. The      ADO.NET also supports the disconnected data access. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;p style="background: white none repeat scroll 0% 0%; margin-left: 0.5in; text-indent: -0.25in; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="font-size: 12pt; font-family: Arial;"&gt;&lt;/span&gt;&lt;span style="font-size: 12pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-6030120840327964074?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/6030120840327964074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=6030120840327964074' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6030120840327964074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/6030120840327964074'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2008/07/difference-between-aspnet-2003-and.html' title='The difference between asp.net 2003 and asp.net 2005. '/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-2393144552839634991</id><published>2008-07-12T08:00:00.001-07:00</published><updated>2008-12-22T21:14:25.745-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><title type='text'>STATE MANAGEMENT</title><content type='html'>What is ViewState?&lt;br /&gt;&lt;br /&gt;ViewState allows the state of objects (serializable) to be stored in a hidden field on the page.  ViewState is transported to the client and back to the server, and is not stored on the server or any other external source. ViewState is used the retain the state of server-side objects between postabacks.&lt;br /&gt; &lt;br /&gt;Why should we have to move from inproc session to outproc session&lt;br /&gt;&lt;br /&gt;I was using Inprocess session objects, but incase of aspnet process crashes the session objects were lost as a result I decided to shift to out of porocess session objects. For this i had to serialize the objects. While doing that I made the classes serializable whose objects I store in sessions. However, when I run the application I get the following error.&lt;br /&gt;&lt;br /&gt;Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state mode is 'StateServer' or 'SQLServer'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&lt;br /&gt;&lt;br /&gt;Exception Details: System.Web.HttpException: Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state mode is 'StateServer' or&lt;br /&gt;'SQLServer'.&lt;br /&gt;&lt;br /&gt;What is the lifespan for items stored in ViewState?&lt;br /&gt;&lt;br /&gt;Item stored in ViewState exist for the life of the current page.  This includes postbacks (to the same page).&lt;br /&gt; &lt;br /&gt;What does the "EnableViewState" property do?  Why would I want it on or off?&lt;br /&gt;&lt;br /&gt;It allows the page to save the users input on a form across postbacks.  It saves the server-side values for a given control into ViewState, which is stored as a hidden value on the page before sending the page to the clients browser.  When the page is posted back to the server the server control is recreated with the state stored in viewstate.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;What are the different types of Session state management options available with ASP.NET?&lt;br /&gt;&lt;br /&gt;ASP.NET provides In-Process and Out-of-Process state management.  In-Process stores the session in memory on the web server.  This requires the a "sticky-server" (or no load-balancing) so that the user is always reconnected to the same web server.  Out-of-Process Session state management stores data in an external data source.  The external data source may be either a SQL Server or a State Server service.  Out-of-Process state management requires that all objects stored in session are serializable.&lt;br /&gt;&lt;br /&gt;Application and Session Events&lt;br /&gt;&lt;br /&gt;The ASP.NET page framework provides ways for you to work with events that can be raised when your application starts or stops or when an individual user's session starts or stops:&lt;br /&gt;&lt;br /&gt;•    Application events are raised for all requests to an application. For example, Application_BeginRequest is raised when any Web Forms page or XML Web service in your application is requested. This event allows you to initialize resources that will be used for each request to the application. A corresponding event, Application_EndRequest, provides you with an opportunity to close or otherwise dispose of resources used for the request.&lt;br /&gt;&lt;br /&gt;•    Session events are similar to application events (there is a Session_OnStart and a Session_OnEnd event), but are raised with each unique session within the application. A session begins when a user requests a page for the first time from your application and ends either when your application explicitly closes the session or when the session times out.&lt;br /&gt;You can create handlers for these types of events in the Global.asax file.&lt;br /&gt;&lt;br /&gt;Difference between ASP Session and ASP.NET Session?&lt;br /&gt;&lt;br /&gt;asp.net session supports cookie less session &amp;amp; it can span across multiple servers.&lt;br /&gt;&lt;br /&gt;What is cookie less session? How it works?&lt;br /&gt;&lt;br /&gt;By default, ASP.NET will store the session state in the same process that processes the request, just as ASP does. If cookies are not available, a session can be tracked by adding a session identifier to the URL. This can be enabled by setting the following:&lt;br /&gt;&lt;sessionstate cookieless="true"&gt;&lt;br /&gt;http://samples.gotdotnet.com/quickstart/aspplus/doc/stateoverview.aspx&lt;br /&gt;&lt;br /&gt;How you will handle session when deploying application in more than a server? Describe session handling in a webfarm, how does it work and what are the limits?&lt;br /&gt;&lt;br /&gt;By default, ASP.NET will store the session state in the same process that processes the request, just as ASP does. Additionally, ASP.NET can store session data in an external process, which can even reside on another machine. To enable this feature:&lt;br /&gt;&lt;br /&gt;•    Start the ASP.NET state service, either using the Services snap-in or by executing "net start aspnet_state" on the command line. The state service will by default listen on port 42424. To change the port, modify the registry key for the service: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\Port&lt;br /&gt;•    Set the mode attribute of the &lt;sessionstate&gt; section to "StateServer".&lt;br /&gt;•    Configure the stateConnectionString attribute with the values of the machine on which you started aspnet_state.&lt;br /&gt;The following sample assumes that the state service is running on the same machine as the Web server ("localhost") and uses the default port (42424):&lt;br /&gt;&lt;sessionstate mode="StateServer" stateconnectionstring="tcpip=localhost:42424"&gt;&lt;br /&gt;Note that if you try the sample above with this setting, you can reset the Web server (enter iisreset on the command line) and the session state value will persist.&lt;br /&gt;**&lt;br /&gt;What method do you use to explicitly kill a users session?&lt;br /&gt;&lt;br /&gt;Abandon()&lt;br /&gt;&lt;br /&gt;What are the different ways you would consider sending data across pages in ASP (i.e between 1.asp to 2.asp)?&lt;br /&gt;&lt;br /&gt;Session&lt;br /&gt;public properties&lt;br /&gt;&lt;br /&gt;ASP.NET supports three modes of session state:&lt;br /&gt;&lt;br /&gt;• InProc: In-Proc mode stores values in the memory of the ASP.NET worker process. Thus, this mode offers the fastest access to these values. However, when the ASP.NET worker process recycles, the state data is lost.&lt;br /&gt;&lt;br /&gt;• StateServer: Alternately, StateServer mode uses a stand-alone Microsoft Windows service to store session variables. Because this service is independent of Microsoft Internet Information Server (IIS), it can run on a separate server. You can use this mode for a load-balancing solution because multiple Web servers can share session variables. Although session variables are not lost if you restart IIS, performance is impacted when you cross process boundaries.&lt;br /&gt;&lt;br /&gt;• SqlServer: If you are greatly concerned about the persistence of session information, you can use SqlServer mode to leverage Microsoft SQL Server to ensure the highest level of reliability. SqlServer mode is similar to out-of-process mode, except that the session data is maintained in a SQL Server. SqlServer mode also enables you to utilize a state store that is located out of the IIS process and that can be located on the local computer or a remote server.&lt;br /&gt;&lt;br /&gt;What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?&lt;br /&gt;&lt;br /&gt;Web pages are recreated each time the page is posted to the server. In traditional Web programming, this would ordinarily mean that all information associated with the page and the controls on the page would be lost with each round trip.&lt;br /&gt;To overcome this inherent limitation of traditional Web programming, the ASP.NET page framework includes various options to help you preserve changes — that is, for managing state. The page framework includes a facility called view state that automatically preserves property values of the page and all the controls on it between round trips.&lt;br /&gt;However, you will probably also have application-specific values that you want to preserve. To do so, you can use one of the state management options.&lt;br /&gt;Client-Based State Management Options:&lt;br /&gt;View State&lt;br /&gt;Hidden Form Fields&lt;br /&gt;Cookies&lt;br /&gt;Query Strings&lt;br /&gt;Server-Based State Management Options&lt;br /&gt;Application State&lt;br /&gt;Session State&lt;br /&gt;Database Support&lt;br /&gt;&lt;br /&gt;What are the disadvantages of view state / what are the benefits?&lt;br /&gt;&lt;br /&gt;Automatic view-state management is a feature of server controls that enables them to repopulate their property values on a round trip (without you having to write any code). This feature does impact performance, however, since a server control's view state is passed to and from the server in a hidden form field. You should be aware of when view state helps you and when it hinders your page's performance.&lt;br /&gt;&lt;br /&gt;When maintaining session through Sql server, what is the impact of Read and Write operation on Session objects? will performance degrade?&lt;br /&gt;&lt;br /&gt;Maintaining state using database technology is a common practice when storing user-specific information where the information store is large. Database storage is particularly useful for maintaining long-term state or state that must be preserved even if the server must be restarted.&lt;br /&gt;**&lt;br /&gt;&lt;br /&gt;What are the contents of cookie?&lt;br /&gt;**&lt;br /&gt;&lt;br /&gt;How do you create a permanent cookie?&lt;br /&gt;**&lt;br /&gt;&lt;br /&gt;What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?&lt;br /&gt;**&lt;br /&gt;&lt;br /&gt;Explain the differences between Server-side and Client-side code?&lt;br /&gt;&lt;br /&gt;Server side code will process at server side &amp;amp; it will send the result to client. Client side code (javascript) will execute only at client side.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?&lt;br /&gt;**&lt;br /&gt;&lt;br /&gt;Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?&lt;br /&gt;&lt;br /&gt;A:  Many of the ASP.NET configuration options are not configurable at the site, application or subdirectory level on the shared hosting platform.  Certain options can affect the security, performance and stability of the server and, therefore cannot be changed.  The following settings are the only ones that can be changed in your site’s web.config file (s):&lt;br /&gt;browserCaps&lt;br /&gt;clientTarget&lt;br /&gt;pages&lt;br /&gt;customErrors&lt;br /&gt;globalization&lt;br /&gt;authorization&lt;br /&gt;authentication&lt;br /&gt;webControls&lt;br /&gt;webServices&lt;br /&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspnetconfiguration.asp&lt;br /&gt;&lt;br /&gt;Briefly describe the role of global.asax?&lt;br /&gt;&lt;br /&gt;How can u debug your .net application?&lt;br /&gt;&lt;br /&gt;How do u deploy your asp.net application?&lt;br /&gt;&lt;br /&gt;Where do we store our connection string in asp.net application?&lt;br /&gt;&lt;br /&gt;Various steps taken to optimize a web based application (caching, stored procedure etc.)&lt;br /&gt;&lt;br /&gt;How does ASP.NET framework maps client side events to Server side events.&lt;br /&gt;&lt;br /&gt;Caching Options in ASP.NET&lt;br /&gt;&lt;br /&gt;ASP.NET supports three types of caching for Web-based applications:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Page Level Caching (called Output Caching)&lt;br /&gt;Page Fragment Caching (often called Partial-Page Output Caching)&lt;br /&gt;Programmatic or Data Caching&lt;br /&gt;&lt;br /&gt;We'll look at each of these options, including how, and when, to use each option to increase your site's performance!&lt;br /&gt;&lt;br /&gt;Output Caching&lt;br /&gt;&lt;br /&gt;Page level, or output caching, caches the HTML output of dynamic requests to ASP.NET Web pages. The way ASP.NET implements this (roughly) is through an Output Cache engine. Each time an incoming ASP.NET page request comes in, this engine checks to see if the page being requested has a cached output entry. If it does, this cached HTML is sent as a response; otherwise, the page is dynamically rendered, it's output is stored in the Output Cache engine.&lt;br /&gt;&lt;br /&gt;Output Caching is particularly useful when you have very static pages. For example, the articles here on 4GuysFromRolla.com are very static. The only dynamic content is the banners, the dynamic selection being performed on a separate ad server. Hence, the articles on 4Guys would be prime candidates for Output Caching.&lt;br /&gt;&lt;br /&gt;Output caching is easy to implement. By simply using the @OuputCache page directive, ASP.NET Web pages can take advantage of this powerful technique. The syntax looks like this:&lt;br /&gt;&lt;br /&gt;&lt;%@OutputCache Duration="60" VaryByParam="none" %&gt; &lt;br /&gt;[See a live demo!]&lt;br /&gt;&lt;br /&gt;The Duration parameter specifies how long, in seconds, the HTML output of the Web page should be held in the cache. When the duration expires, the cache becomes invalid and, with the next visit, the cached content is flushed, the ASP.NET Web page's HTML dynamically generated, and the cache repopulated with this HTML. The VaryByParam parameter is used to indicate whether any GET (QueryString) or POST (via a form submit with method="POST") parameters should be used in varying what gets cached. In other words, multiple versions of a page can be cached if the output used to generate the page is different for different values passed in via either a GET or POST.&lt;br /&gt;&lt;br /&gt;The VaryByParam is a useful setting that can be used to cache different "views" of a dynamic page whose content is generated by GET or POST values. For example, you may have an ASP.NET Web page that reads in a Part number from the QueryString and displays information about a particular widget whose part number matches the QueryString Part number. Imagine for a moment that Output Caching ignored the QueryString parameters altogether (which you can do by setting VaryByParam="none"). If the first user visited the page with QueryString /ProductInfo.aspx?PartNo=4, she would see information out widget #4. The HTML for this page would be cached. The next user now visits and wished to see information on widget #8, a la /ProductInfo.aspx?PartNo=8. If VaryByParam is set to VaryByParam="none", the Output Caching engine will assume that the requests to the two pages are synonymous, and return the cached HTML for widget #4 to the person wishing to see widget #8! To solve for this problem, you can specify that the Output Caching engine should vary its caches based on the PartNo parameter by either specifying it explicitly, like VaryByParam="PartNo", or by saying to vary on all GET/POST parameters, like: VaryByParam="*".&lt;br /&gt;&lt;br /&gt;Partial-Page Output Caching&lt;br /&gt;&lt;br /&gt;More often than not, it is impractical to cache entire pages. For example, you may have some content on your page that is fairly static, such as a listing of current inventory, but you may have other information, such as the user's shopping cart, or the current stock price of the company, that you wish to not be cached at all. Since Output Caching caches the HTML of the entire ASP.NET Web page, clearly Output Caching cannot be used for these scenarios: enter Partial-Page Output Caching.&lt;br /&gt;&lt;br /&gt;Partial-Page Output Caching, or page fragment caching, allows specific regions of pages to be cached. ASP.NET provides a way to take advantage of this powerful technique, requiring that the part(s) of the page you wish to have cached appear in a User Control. One way to specify that the contents of a User Control should be cached is to supply an OutputCache directive at the top of the User Control. That's it! The content inside the User Control will now be cached for the specified period, while the ASP.NET Web page that contains the User Control will continue to serve dynamic content. (Note that for this you should not place an OutputCache directive in the ASP.NET Web page that contains the User Control - just inside of the User Control.)&lt;br /&gt;&lt;br /&gt;Now that we've tackled Output Caching and Fragment Caching, there is still one more caching technique worth discussing: Data Caching. In Part 2 we'll examine what, exactly, Data Caching is and how you can use it to improve the performance of your ASP.NET Web pages. We'll also examine a really cool, real-world caching demo!&lt;br /&gt;In Part 1 we looked at how to use Output Caching and Fragement Caching of an ASP.NET Web page. These two techniques cached either the full HTML output of an ASP.NET Web page, or a portion of the HTML output of an ASP.NET Web page (by caching the HTML output of a User Control). In this part, we'll examine Data Caching, which is an in-memory cache used for caching objects.&lt;br /&gt;&lt;br /&gt;Data Caching&lt;br /&gt;&lt;br /&gt;Sometimes, more control over what gets cached is desired. ASP.NET provides this power and flexibility by providing a cache engine. Programmatic or data caching takes advantage of the .NET Runtime cache engine to store any data or object between responses. That is, you can store objects into a cache, similar to the storing of objects in Application scope in classic ASP. (As with classic ASP, do not store open database connections in the cache!)&lt;br /&gt;&lt;br /&gt;Realize that this data cache is kept in memory and "lives" as long as the host application does. In other words, when the ASP.NET application using data caching is restarted, the cache is destroyed and recreated. Data Caching is almost as easy to use as Output Caching or Fragment caching: you simply interact with it as you would any simple dictionary object. To store a value in the cache, use syntax like this:&lt;br /&gt;&lt;br /&gt;Cache["foo"] = bar; // C#&lt;br /&gt;Cache("foo") = bar ' VB.NET &lt;br /&gt;&lt;br /&gt;To retrieve a value, simply reverse the syntax like this:&lt;br /&gt;&lt;br /&gt;bar = Cache["foo"]; // C#&lt;br /&gt;bar = Cache("foo") ' VB.NET &lt;br /&gt;&lt;br /&gt;Note that after you retrieve a cache value in the above manner you should first verify that the cache value is not null prior to doing something with the data. Since Data Caching uses an in-memory cache, there are times when cache elements may need to be evicted. That is, if there is not enough memory and you attempt to insert something new into the cache, something else has gotta go! The Data Cache engine does all of this scavenging for your behind the scenes, of course. However, don't forget that you should always check to ensure that the cache value is there before using it. This is fairly simply to do - just check to ensure that the value isn't null/Nothing. If it is, then you need to dynamically retrieve the object and restore it into the cache.&lt;br /&gt;&lt;br /&gt;For example, if we were storing a string myString in the cache whose value was set from some method named SetStringToSomething(), and we wanted to read the value of myString from the cache, we'd want to:&lt;br /&gt;&lt;br /&gt;Read the myString from the cache: str = Cache("myString")&lt;br /&gt;Ensure that str wasn't null/Nothing. If it was, we'd want to get the value of str from SetStringToSomething(), and then put it in the cache, like so:&lt;br /&gt;'Try to read the cache entry MyString into str&lt;br /&gt;str = Cache("myString")&lt;br /&gt;&lt;br /&gt;'Check if str is Nothing&lt;br /&gt;If str is Nothing then&lt;br /&gt;  'If it is, populate str from SetStringToSomething()&lt;br /&gt;  str = SetStringToSomething()&lt;br /&gt; &lt;br /&gt;  'Now insert str into the cache entry myString&lt;br /&gt;  Cache("myString") = str&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;Besides using the dictionary-like key/value assignment, as shown in the example above, you can also use the Insert or Add method to add items to the cache. Both of these methods are overloaded to accommodate a variety of situations. The Add and the Insert methods operate exactly the same except the Add method returns a reference to the object being inserted to the cache. Because of the similarity of the two methods, I will concentrate on the Insert method. Note that the Insert method allows you to simply add items to the cache using a key and value notation as well. For example to simply add an instance of the object bar to the cache named foo, use syntax like this:&lt;br /&gt;&lt;br /&gt;Cache.Insert("foo", bar); // C#&lt;br /&gt;Cache.Insert("foo", bar) ' VB.NET &lt;br /&gt;&lt;br /&gt;(Note that this is synonymous to using the Cache("foo") = bar syntax we looked at earlier.)&lt;br /&gt;&lt;br /&gt;Note that with inserting items into the Data Cache using the Cache(key) = value method or the Cache.Insert(key, value) we have no control over when (if ever) the items are evicted from the cache. However, there are times when we'd like to have control over when items leave the cache. For example, perhaps we want to have an inserted item in the cache to only live for n seconds, as with Output Caching. Or perhaps we'd like to have it exit the cache n seconds after it's last accessed. With Data Caching, you can optionally specify when the cache should have a member evicted.&lt;br /&gt;&lt;br /&gt;Additionally, you can have an item evicted from the cache when a file changes. Such an eviction dependency is called a file dependency, and has many real-world applications, especially when working with XML files. For example, if you want to pull data out of an XML file, but you don't want to constantly go to disk to read the data, you can tell the ASP.NET caching engine to expire the cached XML file whenever the XML file on disk is changed. To do this, use the following syntax:&lt;br /&gt;&lt;br /&gt;Cache.Insert("foo", bar, new CacheDependancy(Server.MapPath("BarData.xml"))) &lt;br /&gt;&lt;br /&gt;By using this syntax, the cache engine takes care of removing the object bar from the cache when BarData.xml file is changed. Very cool! There are also means to have the inserted cache value expire based on an interval, or at an absolute time, as discussed before. For more information on these methods, consult the documentation for the Cache.Insert method.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3580163358075581580-2393144552839634991?l=aspfaqs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfaqs.blogspot.com/feeds/2393144552839634991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3580163358075581580&amp;postID=2393144552839634991' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/2393144552839634991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3580163358075581580/posts/default/2393144552839634991'/><link rel='alternate' type='text/html' href='http://aspfaqs.blogspot.com/2008/07/state-management.html' title='STATE MANAGEMENT'/><author><name>Siebel Expert</name><uri>http://www.blogger.com/profile/11533458660230230361</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3580163358075581580.post-253187679755071391</id><published>2008-07-12T07:59:00.000-07:00</published><updated>2008-12-22T21:14:25.745-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><title type='text'>VALIDATION CONTROLS</title><content type='html'>With ASP.NET, there are six(6) controls included. They are:&lt;br /&gt;&lt;br /&gt;The RequiredFieldValidation Control&lt;br /&gt;The CompareValidator Control&lt;br /&gt;The RangeValidator Control&lt;br /&gt;The RegularExpressionValidator Control&lt;br /&gt;The CustomValidator Control&lt;br /&gt;&lt;br /&gt;Validator Control Basics&lt;br /&gt;&lt;br /&gt;All of the validation controls inherit from the base class BaseValidator so they all have a series of properties and methods that are common to all validation controls. They are:&lt;br /&gt;&lt;br /&gt;ControlToValidate - This value is which control the validator is applied to.&lt;br /&gt;ErrorMessage - This is the error message that will be displayed in the validation summary.&lt;br /&gt;IsValid - Boolean value for whether or not the control is valid.&lt;br /&gt;Validate - Method to validate the input control and update the IsValid property.&lt;br /&gt;Display - This controls how the error message is shown. Here are the possible options:&lt;br /&gt;None (The validation message is never displayed.)&lt;br /&gt;Static (Space for the validation message is allocated in the page layout.)&lt;br /&gt;Dynamic (Space for the validation message is dynamically added to the page if validation fails.)&lt;br /&gt;&lt;br /&gt;The RequiredFieldValidation Control&lt;br /&gt;&lt;br /&gt;The first control we have is the RequiredFieldValidation Control. As it's obvious, it make sure that a user inputs a value. Here is how it's used:&lt;br /&gt;&lt;br /&gt;Required field: &lt;asp:textbox id="textbox1" runat="server"&gt;&lt;br /&gt;&lt;asp:RequiredFieldValidator id="valRequired" runat="server" ControlToValidate="textbox1"&lt;br /&gt;    ErrorMessage="* You must enter a value into textbox1" Display="dynamic"&gt;*&lt;br /&gt;&lt;/asp:RequiredFieldValidator&gt;&lt;br /&gt;&lt;br /&gt;In this example, we have a textbox which will not be valid until the user types something in. Inside the validator tag, we have a single *. The text in the innerhtml will be shown in the controltovalidate if the control is not valid. It should be noted that the ErrorMessage attribute is not what is shown. The ErrorMessage tag is shown in the Validation Summary (see below).&lt;br /&gt;&lt;br /&gt;The CompareValidator Control&lt;br /&gt;&lt;br /&gt;Next we look at the CompareValidator Control. Usage of this CompareValidator is for confirming new passwords, checking if a departure date is before the arrival date, etc. We'll start of with a sample:&lt;br /&gt;&lt;br /&gt;Textbox 1: &lt;asp:textbox id="textbox1" runat="server"&gt;&lt;br /&gt;&lt;br /&gt;Textbox 2: &lt;asp:textbox id="textbox2" runat="server"&gt;&lt;br /&gt;&lt;br /&gt;&lt;asp:CompareValidator id="valCompare" runat="server"&lt;br /&gt;    ControlToValidate="textbox1" ControlToCompare="textbox2"&lt;br /&gt;    Operator="Equals"&lt;br /&gt;    ErrorMessage="* You must enter the same values into textbox 1 and textbox 2"&lt;br /&gt;    Display="dynamic"&gt;*&lt;br /&gt;&lt;/asp:CompareValidator&gt;&lt;br /&gt;&lt;br /&gt;Here we have a sample where the two textboxes must be equal. The tags that are unique to this control is the ControlToCompare attribute which is the control that will be compared. The two controls are compared with the type of comparison specified in the Operator attribute. The Operator attribute can contain Equal, GreterThan, LessThanOrEqual, etc.&lt;br /&gt;Another usage of the ComapareValidator is to have a control compare to a value. For example:&lt;br /&gt;&lt;br /&gt;Field: &lt;asp:textbox id="textbox1" runat="server"&gt;&lt;br /&gt;&lt;asp:CompareValidator id="valRequired" runat="server" ControlToValidate="textbox1"&lt;br /&gt;    ValueToCompare="50"&lt;br /&gt;    Type="Integer"&lt;br /&gt;    Operator="GreaterThan"&lt;br /&gt;    ErrorMessage="* You must enter the a number greater than 50" Display="dynamic"&gt;*&lt;br /&gt;&lt;/asp:CompareValidator&gt;&lt;br /&gt;&lt;br /&gt;The data type can be one of: Currency, Double, Date, Integer or String. String being the default data type.&lt;br /&gt;&lt;br /&gt;The RangeValidator Control&lt;br /&gt;&lt;br /&gt;Range validator control is another validator control which checks to see if a control value is within a valid range. The attributes that are necessary to this control are: MaximumValue, MinimumValue, and Type.&lt;br /&gt;Sample:&lt;br /&gt;&lt;br /&gt;Enter a date from 1998:&lt;br /&gt;&lt;asp:textbox id="textbox1" runat="server"&gt;&lt;br /&gt;&lt;asp:RangeValidator id="valRange" runat="server"&lt;br /&gt;    ControlToValidate="textbox1"&lt;br /&gt;    MaximumValue="12/31/1998"&lt;br /&gt;    MinimumValue="1/1/1998"&lt;br /&gt;    Type="Date"&lt;br /&gt;    ErrorMessage="* The date must be between 1/1/1998 and 12/13/1998" Display="static"&gt;*&lt;/asp:RangeValidator&gt;&lt;br /&gt;&lt;br /&gt;The RegularExpressionValidator Control&lt;br /&gt;&lt;br /&gt;The regular expression validator is one of the more powerful features of ASP.NET. Everyone loves regular expressions. Especially when you write those really big nasty ones... and then a few days later, look at it and say to yourself. What does this do?&lt;br /&gt;Again, the simple usage is:&lt;br /&gt;&lt;br /&gt;E-mail: &lt;asp:textbox id="textbox1" runat="server"&gt;&lt;br /&gt;&lt;asp:RegularExpressionValidator id="valRegEx" runat="server"&lt;br /&gt;    ControlToValidate="textbox1"&lt;br /&gt;    ValidationExpression=".*@.*\..*"&lt;br /&gt;    ErrorMessage="* Your entry is not a valid e-mail address."&lt;br /&gt;    display="dynamic"&gt;*&lt;br /&gt;&lt;/asp:RegularExpressionValidator&gt;&lt;br /&gt;&lt;br /&gt;Here is a webpage I like to use to check my regular expressions.&lt;br /&gt;&lt;br /&gt;The CustomValidator Control&lt;br /&gt;&lt;br /&gt;The final control we have included in ASP.NET is one that adds great flexibility to our validation abilities. We have a custom validator where we get to write out own functions and pass the control value to this function.&lt;br /&gt;&lt;br /&gt;Field: &lt;asp:textbox id="textbox1" runat="server"&gt;&lt;br /&gt;&lt;asp:CustomValidator id="valCustom" runat="server"&lt;br /&gt;    ControlToValidate="textbox1"&lt;br /&gt;    ClientValidationFunction="ClientValidate"&lt;br /&gt;    OnServerValidate="ServerValidate"&lt;br /&gt;    ErrorMessage="*This box is not valid" dispaly="dynamic"&gt;*&lt;br /&gt;&lt;/asp:CustomValidator&gt;&lt;br /&gt;&lt;br /&gt;We notice that there are two new attributes ClientValidationFunction and OnServerValidate. These are the tell the validation control which functions to pass the controltovalidate value to. ClientValidationFunction is usually a javascript funtion included in the html to the user. OnServerValidate is the function that is server-side to check for validation if client does not support client-side validation.&lt;br /&gt;Client Validation function:&lt;br /&gt;&lt;br /&gt;&lt;script language="Javascript"&gt;&lt;br /&gt;&lt;!--&lt;br /&gt;    /* ... Code goes here ... */&lt;br /&gt;--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&gt;&lt;br /&gt;&lt;br /&gt;Server Validation function:&lt;br /&gt;&lt;br /&gt;Sub ServerValidate (objSource As Object, objArgs As ServerValidateEventsArgs)&lt;br /&gt;    ' Code goes here&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;b&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Validation Summary&lt;br /&gt;ASP.NET has provided an additional control that complements the validator controls. This is the validation summary control which is used like:&lt;br /&gt;&lt;br /&gt;&lt;asp:ValidationSummary id="valSummary" runat="server"&lt;br /&gt;    HeaderText="Errors:"&lt;br /&gt;    ShowSummary="true" DisplayMode="List" /&gt;&lt;br /&gt;&lt;br /&gt;&gt;&lt;br /&gt;&lt;br /&gt;The validation summary control will collect all the error messages of all the non-valid controls and put them in a tidy list. The list can be either shown on the web page (as shown in the example above) or with a popup box (by specifying ShowMessageBox="True")&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;What data types do the RangeValidator control support?&lt;br /&gt;&lt;br /&gt;Integer, String, and Date.&lt;br /&gt; &lt;br /&gt;Explain the differences between Server-side and Client-side code?&lt;br /&gt;&lt;br /&gt;Server-side code executes on the server.  Client-side code executes in the client's browser.&lt;br /&gt; &lt;br /&gt;What type of code (server or client) is found in a Code-Behind class?&lt;br /&gt;&lt;br /&gt;The answer is server-side code since code-behind is executed on the server.  However, during the code-behind's execution on the server, it can render client-side code such as JavaScript to be processed in the clients browser.  But just to be clear, code-behind executes on the server, thus making it server-side code.&lt;br /&gt; &lt;br /&gt;Should user input data validation occur server-side or client-side?  Why?&lt;br /&gt;&lt;br /&gt;All user input data validation should occur on the server at a minimum.  Additionally, client-side validation can be performed where deemed appropriate and feasable to provide a richer, more responsive experience for the user.&lt;br /&gt; &lt;br /&gt;What is the difference between Server.Transfer and Response.Redirect?  Why would I choose one over the other?&lt;br /&gt;&lt;br /&gt;Server.Transfer transfers page processing from one page directly to the next page without making a round-trip back to the client's browser.  This provides a faster response with a little less overhead on the server.  Server.Transfer does not update the clients url history list or current url.  Response.Redirect is used to redirect the user's browser to another page or site.  This performas a trip back to the client where the client's browser is redirected to the new page.  The user's browser history list is updated to reflect the new address.&lt;br /&gt;&lt;br /&gt;What is the Global.asax used for?&lt;br /&gt;&lt;br /&gt;The Global.asax (including the Global.asax.cs file) is used to implement application and session level events.&lt;br /&gt;The Global.asx file is an optional file that contains code for responding to application level events raised by ASP.NET. This file is also called as ASP.NET application file. This file resides in the root directory of an application. If we are not defining this file in application, the ASP.NET page framework assumes that you have not defined any applicationa/Session events in the application.&lt;br /&gt;&lt;br /&gt;Followign are the list of events handled in the global.asax file.&lt;br /&gt;&lt;br /&gt;Event: Application_Start&lt;br /&gt;&lt;br /&gt;When an application starts. This event occurs only one time in an application’s life cycle. It occurs again when you restart the application. It’s the best place to count number of visitors.&lt;br /&gt;&lt;br /&gt;Event: Application_End&lt;br /&gt;&lt;br /&gt;This event occurs when application ends.&lt;br /&gt;&lt;br /&gt;Event: Session_Start&lt;br /&gt;&lt;br /&gt;This event occurs whenever a new session starts. This is the best place to count user sessions for an application&lt;br /&gt;&lt;br /&gt;Practical Usage: Setting user specific values, caching items based upon user context.&lt;br /&gt;&lt;br /&gt;Event: Session_End&lt;br /&gt;&lt;br /&gt;This event Opposite of the previous event.&lt;br /&gt;&lt;br /&gt;Event: Application_Error&lt;br /&gt;&lt;br /&gt;This event occurs when an unhandled error or exception occurs in an application.&lt;br /&gt;&lt;br /&gt;Event: Application_BeginRequest&lt;br /&gt;&lt;br /&gt;This event occurs every time when server makes a request. This event may occur multiple times in an applications life cycle.&lt;br /&gt;&lt;br /&gt;Event: Application_End&lt;br /&gt;&lt;br /&gt;This event occurs when an application closes &lt;br /&gt;&lt;br /&gt;What are the Application_Start and Session_Start subroutines used for?&lt;br /&gt;&lt;br /&gt;This is where you can set the specific variables for the Application and Session objects.&lt;br /&gt; &lt;br /&gt;Can you explain what inheritance is and an example of when you might use it?&lt;br /&gt;&lt;br /&gt;When you want to inherit (use the functionality of) another class.  Example: With a base class named Employee, a Manager class could be derived from the Employee base class.&lt;br /&gt; &lt;br /&gt;Describe the difference between inline and code behind?&lt;br /&gt;&lt;br /&gt;Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page.&lt;br /&gt; &lt;br /&gt;Explain what a diffgram is, and a good use for one?&lt;br /&gt;&lt;br /&gt;The DiffGram is one of the two XML formats that you can use to render DataSet object contents to XML.  A good use is reading database data to an XML file to be sent to a Web Service.&lt;br /&gt; &lt;br /&gt;Whats MSIL, and why should my developers need an appreciation of it if at all?&lt;br /&gt;&lt;br /&gt;MSIL is the Microsoft Intermediate Language. All .NET compatible languages will get converted to MSIL.  MSIL also allows the .NET Framework to JIT compile the assembly on the installed computer.&lt;br /&gt;&lt;br /&gt;Can you edit data in the Repeater control?&lt;br /&gt;&lt;br /&gt;No, it just reads the information from its data source.&lt;br /&gt; &lt;br /&gt;Which template must you provide, in order to display data in a Repeater control?&lt;br /&gt;&lt;br /&gt;ItemTemplate.&lt;br /&gt; &lt;br /&gt;How can you provide an alternating color scheme in a Repeater control?&lt;br /&gt;&lt;br /&gt;Use the AlternatingItemTemplate.&lt;br /&gt; &lt;br /&gt;What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?&lt;br /&gt;&lt;br /&gt;You must set the DataSource property and call the DataBind method.&lt;br /&gt; &lt;br /&gt;What base class do all Web Forms inherit from?&lt;br /&gt;&lt;br /&gt;The Page class.&lt;br /&gt; &lt;br /&gt;Name two properties common in every validation control?&lt;br /&gt;&lt;br /&gt;ControlToValidate property and Text property.&lt;br /&gt; &lt;br /&gt;Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?&lt;br /&gt;&lt;br /&gt;DataTextField property.&lt;br /&gt; &lt;br /&gt;Which control would you use if you needed to make sure the values in two different controls matched?&lt;br /&gt;&lt;br /&gt;CompareValidator control.&lt;br /&gt; &lt;br /&gt;How many classes can a single .NET DLL contain?&lt;br /&gt;&lt;br /&gt;It can contain many classes.&lt;br /&gt;&lt;br /&gt;How can we create Tree control in asp.net?&lt;br /&gt;&lt;br /&gt;Programming&lt;br /&gt;&lt;br /&gt;How do I upload a file from my ASP.NET page?&lt;br /&gt;&lt;br /&gt;A: In order to perform file upload in your ASP.NET page, you will need to use two classes: the System.Web.UI.HtmlControls.HtmlInputFile class and the System.Web.HttpPostedFile class. The HtmlInputFile class represents and HTML input control that the user will use on the client side to select a file to upload. The HttpPostedFile class represents the uploaded file and is obtained from the PostedFile property of the HtmlInputFile class. In order to use the HtmlInputFile control, you need to add the enctype attribute to your form tag as follows:&lt;br /&gt;&lt;form id="upload" method="post" runat="server" enctype="multipart/form-data"&gt;&lt;br /&gt;Also, remember that the /data directory is the only directory with Write permissions enabled for the anonymous user. Therefore, you will need to make sure that the your code uploads the file to the /data directory or one of its subdirectories.&lt;br /&gt;Below is a simple example of how to upload a file via an ASP.NET page in C# and VB.NET.&lt;br /&gt;C#&lt;br /&gt;&lt;%@ Import Namespace="System" %&gt;&lt;br /&gt;&lt;%@ Import Namespace="System.Web" %&gt;&lt;br /&gt;&lt;%@ Import Namespace="System.Web.UI.HtmlControls" %&gt;&lt;br /&gt;&lt;%@ Import Namespace="System.IO" %&gt;&lt;br /&gt;&lt;%@ Import Namespace="System.Drawing" %&gt;&lt;br /&gt;&lt;html&gt;&lt;br /&gt;&lt;head&gt;&lt;br /&gt;&lt;title&gt;upload_cs&lt;/title&gt;&lt;br /&gt;&lt;/head&gt;&lt;br /&gt;&lt;script language="C#" runat="server"&gt;&lt;br /&gt;public void UploadFile(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;if (loFile.PostedFile != null)&lt;br /&gt;{&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;string strFileName, strFileNamePath, strFileFolder;&lt;br /&gt;strFileFolder = Context.Server.MapPath(@"data\");&lt;br /&gt;strFileName = loFile.PostedFile.FileName;&lt;br /&gt;strFileName = Path.GetFileName(strFileName);&lt;br /&gt;strFileNamePath = strFileFolder + strFileName;&lt;br /&gt;loFile.PostedFile.SaveAs(strFileNamePath);&lt;br /&gt;lblFileName.Text = strFileName;&lt;br /&gt;lblFileLength.Text = loFile.PostedFile.ContentLength.ToString();&lt;br /&gt;lblFileType.Text = loFile.PostedFile.ContentType;&lt;br /&gt;pnStatus.Visible = true;&lt;br /&gt;}&lt;br /&gt;catch (Exception x)&lt;br /&gt;{&lt;br /&gt;Label lblError = new Label();&lt;br /&gt;lblError.ForeColor = Color.Red;&lt;br /&gt;lblError.Text = "Exception occurred: " + x.Message;&lt;br /&gt;lblError.Visible = true;&lt;br /&gt;this.Controls.Add(lblError);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;body&gt;&lt;br /&gt;&lt;form id="upload_cs" method="post" runat="server" enctype="multipart/form-data"&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;input type="file" id="loFile" runat="server"&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;asp:button id="btnUpload" runat="server" text=" Upload " onclick="UploadFile"&gt;&lt;/asp:Button&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;asp:panel id="pnStatus" runat="server" visible="False"&gt;&lt;br /&gt;&lt;asp:label id="lblFileName" bold="True" runat="server"&gt;&lt;/asp:Label&gt; uploaded&lt;br /&gt;&lt;br /&gt;&lt;asp:label id="lblFileLength" runat="server"&gt;&lt;/asp:Label&gt; bytes&lt;br /&gt;&lt;br /&gt;&lt;asp:label id="lblFileType" runat="server"&gt;&lt;/asp:Label&gt;&lt;br /&gt;&lt;/asp:Panel&gt;&lt;/p&gt;&lt;br /&gt;&lt;/form&gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;&lt;/html&gt;&lt;br /&gt;479.    How do I send an email message from my ASP.NET page?&lt;br /&gt;A: You can use the System.Web.Mail.MailMessage and the System.Web.Mail.SmtpMail class to send email in your ASPX pages. Below is a simple example of using this class to send mail in C# and VB.NET. In order to send mail through our mail server, you would want to make sure to set the static SmtpServer property of the SmtpMail class to mail-fwd.&lt;br /&gt;C#&lt;br /&gt;&lt;%@ Import Namespace="System" %&gt;&lt;br /&gt;&lt;%@ Import Namespace="System.Web" %&gt;&lt;br /&gt;&lt;%@ Import Namespace="System.Web.Mail" %&gt;&lt;br /&gt;&lt;html&gt;&lt;br /&gt;&lt;head&gt;&lt;br /&gt;&lt;title&gt;Mail Test&lt;/title&gt;&lt;br /&gt;&lt;/head&gt;&lt;br /&gt;&lt;script language="C#" runat="server"&gt;&lt;br /&gt;private void Page_Load(Object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;MailMessage mailObj = new MailMessage();&lt;br /&gt;mailObj.From = "sales@joeswidgets.com";&lt;br /&gt;mailObj.To = "ringleader@forexample-domain.com";&lt;br /&gt;mailObj.Subject = "Your Widget Order";&lt;br /&gt;mailObj.
