Software job search
.net sql interview questions
  The best place for technical interview questions

 
Home.netSql serverAsp.netC#Vb.netAdo.netAjaxMcpd dumpsWord count tool
.net caching interview questions
 
Question 13   Is session_end event supported in all session modes

Session_end event will be fired only if the session state mode is “inproc”



Question 14   What are the precautions you will take in order that stateserver mode work properly

The following precautions should be taken in order that stateserver mode work properly.

1) in stateserver session objects will be stored on a different machine which requires serialization. objects which are serializable can only be stored on a state server

2) stateserver encrypts the objects using the machinekey specified in web.config. it should be same across all the systems

3) iis metabase (\lm\w3svc\2) should be identical across all systems in a web farm




Question 15   What are the precautions you will take in order that sqlserver mode work properly

The following precautions should be taken in order that sqlserver mode work properly.

1) in sqlserver session objects will be stored on a different machine which requires serialization. objects which are serializable can only be stored on a sqlserver state server

2) in sqlserver session mode objects are encrypted using the machinekey specified in web.config. it should be same across all the systems

3) iis metabase (\lm\w3svc\2) should be identical across all systems in a web farm



Question 16   What are different ways to maintain state

Http protocols are by default stateless. but we can maintain state by the following methods

on server side

1) session objects
2) application objects
3) cache
4) context

on client side

1) cookies
2) viewstate
3) hidden fields



Question 17   What are benefits and limitation of using hidden fields

Advantages

1) they are stored at the client side which will doesn’t require any server resource
2) it is supported on all browsers
3) they are very easy to use

disadvantages

1) we should not store sensitive information on hidden fields because they can be tampered
2) since they are stored on client side page size will be increased. this may cause slow page loading
3) we cannot store complex objects on a hidden field



Question 18   What is viewstate

Http protocol is by default stateless. asp.net uses viewstate to display the submitted values after a post back which was a difficult task in classic asp. a viewstate is an encrypted string stored on the client side. large viewstate can affect page performance




 Rate this page
     
 28 votes , average 4 out of 5
1 2 3 4 5 6 

Reader's opinions -

No comments
Loading

 
.net interview questions
Asp.net interview questions
C# interview questions
Vb.net interview questions
Ado.net interview questions
Ajax interview questions
Wcf interview questions
Wpf interview questions
.net threading interview questions
.net remoting and webservices interview questions
.net caching interview questions
.net oops interview questions
Sharepoint interview questions
Jquery interview questions
Silverlight interview questions
Linq interview questions
Wwf interview questions
Java interview questions
Sql server interview questions
Ssis interview questions
Ssrs interview questions
Data warehousing interview questions
Data mining interview questions
Oracle interview questions
Php interview questions
Design patterns interview questions
Uml interview questions
Mcpd dumps
Pmp practice tests

This site is best viewed with Internet Explorer 7.0 or higher, Firefox 2.0 or higher, Chrome at a minimum screen resolution of 1024x768.
A complete solution to interview questions
free matrimonial website      
web hosting plans |  compare vps hosting plans |  Compare dedicated hosting plans |  Compare linux hosting plans |  Compare cloud hosting plans |  Compare windows hosting plans | 
Hosting reviews |  GoDaddy reviews | 
Support Wikipedia