Latest Version |Already Graded A+
Types of State management ✔Correct Answer-1) View State
2) Sessions
3) Cookies
4) Caching
5) Application
View State means ✔Correct Answer-"Automatic Persistence of form data (or) content".
Maximum Size of the View State is ✔Correct Answer-25% of the Page Size
The increase in the size of view state ✔Correct Answer-will decrease the performance of the
page.
Using session ✔Correct Answer-we can maintain data across multiple pages
Session-start -> ✔Correct Answer-Will be raised whenever session was created.
Session-End -> ✔Correct Answer-Will be raised when the session was closed.
14) How many types of Session States in ASP.NET? ✔Correct Answer-6
Cookie ✔Correct Answer-is a small amount of memory managed by the webserver on client
system itself.
Types of cookie ✔Correct Answer-1) In memory cookies
2) Persistent cookies
3) Non-Persistent cookies
4) Dictionary Cookies
Caching ✔Correct Answer-is the concept of storing frequently used data in temporary
memory for faster access.
Types of caching ✔Correct Answer-1) Page output Caching
2) Partial page Caching
Application state ✔Correct Answer-is a global storage mechanism that is accessible from all
pages in the Web application
, The ASP.NET profile ✔Correct Answer-allows you to easily manage user information without
requiring you to create and maintain your own database.
client based state management options ✔Correct Answer-View State, Control State, Hidden
Fields, Cookies and Query Strings.
server based state management options ✔Correct Answer-Application State, Session State
and Profiles.
Using Query String ✔Correct Answer-we can pass values from one page to another page.
Using Hidden Fields ✔Correct Answer-we can store information hiddenly.
Boxing ✔Correct Answer-is the process of converting value types to reference types and
stored in heap.
Un-Boxing ✔Correct Answer-is the process of converting reference types to value types and
stored in stack.
Master pages ✔Correct Answer-allow you to create a consistent layout for the pages in your
application.
If cookies are disabled in client browser ✔Correct Answer-session will not work, because
Identities of client gets destroy.
Serialization ✔Correct Answer-is a process of converting objects into stream of bytes so that
they can transfer through the channels.
Response.Output.Write () -> ✔Correct Answer-allows you to write formatted output.
Response.Write () -> ✔Correct Answer-can only display single character line.
Web page belongs to ✔Correct Answer-System.Web.UI.Page namespace.
What data types do the "Range Validator" control support? ✔Correct Answer-Integer, String,
and Date.
Global.asax file ✔Correct Answer-is used to implement application and session level events.
Which method do you invoke on the "Data Adapter" control to load your generated dataset
with data? ✔Correct Answer-Fill() method.
Can you edit data in the Repeater control? ✔Correct Answer-No, it just reads the information
from its data source.