Asp.Net Interview Questions and Answers for Freshers - 2

Question: 6

What is the difference between ASP Session State and ASP.Net Session State?

ASP session state relies on cookies, Serialize all requests from a client, does not survive process shutdown, Can not maintained across machines in a Web farm.

Question: 7

What is the composite custom control?

Combination of existing HTML and Server Controls.

Question: 8

Name two properties common in every validation control?

ControlToValidate and Text property.

Question: 9

What is the transport protocol you use to call a Web service?

SOAP (Simple Object Access Protocol) is the preferred protocol.

Question: 10

What are the different types of Session state management options available with ASP.NET?

ASP.NET provides In-Process & Out-of-Process state management,
Also known as "In-Proc" and "Out-Proc". In-Proc stores the session in memory of the web server, that is on the same server the ASP.Net page is.

On the other hand Out-Proc session state management stores the session data on external data source, which can be a SQL Server or Server State Service. Out-of-Process state management requires the objects stored in session, must be serializable.

Related Questions