ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What are the disadvantages of view state / what are the
benefits?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are the disadvantages of view state / what are the benefits?
Answer
# 1
Advantage:

1) Maintains the state for autopostback event.
2) Easy to use.
3) No ServerSide resources required.
4) Passed into HiddenFied.
5) Basic enncryption algorithm is applied when passing the data.

Disadv:

1) When large data is there then perfomance is issue.
2) Good Hacker can get the data very easily.
 
Is This Answer Correct ?    1 Yes 1 No
Suresh
 
  Re: What are the disadvantages of view state / what are the benefits?
Answer
# 2
Advantages:
- No server resources required
- simple implementation
- automatic retention of page and control state
- Enhanced security features. The values in view state are 
hashed, compressed, and encoded for Unicode implementations.

Disadvantages - Because the view state for a given page 
must be kept on the server, it is possible for the current 
state to be out of synchronization with the current page of 
the browser, if the user uses the Back feature on the 
browser to go back in the history.For example, suppose the 
user goes to Page 1, then clicks a button to go to Page 2, 
then presses Back to return to Page 1. The current page on 
the browser is now Page 1, but the current state on the 
server is that of Page 2. Advantages - On ordinary Web 
Forms pages, their view state is sent by the server as a 
hidden variable in a form, as part of every response to the 
client, and is returned to the server by the client as part 
of a postback. However, to reduce bandwidth demand when 
using mobile controls, ASP.NET does not send a page's view 
state to the client. Instead, the view state is saved as 
part of a user's session on the server. Where there is a 
view state, a hidden field that identifies this page's view 
state is sent by the server as part of every response to 
the client, and is returned to the server by the client as 
part of the next request.
 
Is This Answer Correct ?    1 Yes 0 No
SreyasMN
[Astro Vision Future Tech Pvt Ltd]
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Uses of CLR ? TCS2
Differences between session state and Application state?  2
Is it necessary to undertsand these events of an ASPX page execute. Explain its importantance? HCL1
Types of values mode can hold session state in web.config ? Accenture1
What are the page level transaction and class level transaction? Satyam1
How do we make a poperty read only? Microsoft1
What are PDBs? Where must they be located for debugging to work?  2
Difference between asp and asp.net? Accenture3
How to do Caching in ASP?  1
How we can bind textbox,listbox and datagrid to sql server database in asp.net using visualstudio.net language (vb.net)? rocsearch1
Should sn.exe be used before gacutil.exe ? Accenture2
Explain the life cycle of an ASP .NET page HCL2
what is caching? Microsoft2
What?s a bubbled event?  1
write a sample code make use of xmltext writer GCI1
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?  1
Types of optimization and name a few ? Accenture3
In a Code-Behind class generally which type of code is found ?  3
If you want a certain ASP.NET function executed on MouseOver for a certain button. Where do you add an event handler?  1
How do you handle unhandled exceptions in ASP.NET?.  3
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com