ASP.NET Interview Questions and Answers (1544) - Page 71

Which event in Asp.Net is fired every time when we click on any event associated with the controls?

NOTE: This is objective type question, Please click question title for correct answer.
Which Validation control is used for Pattern Maching?

NOTE: This is objective type question, Please click question title for correct answer.
Explain the significance of Server.Map Path?

NOTE: This is objective type question, Please click question title for correct answer.
In which events,the controls are fully loaded?

NOTE: This is objective type question, Please click question title for correct answer.
What is role based security in ASP.NET ?

Role based security is used to implement security based on the different roles (admin,user).
By using Role based security we can allow or deny particular user based on his role.
Choose the form in which Post-back occurs?

NOTE: This is objective type question, Please click question title for correct answer.
Where do we include the users list for form authentication?

NOTE: This is objective type question, Please click question title for correct answer.
Where do we include the users list for windows authentication?

NOTE: This is objective type question, Please click question title for correct answer.
What are the different ways to manage client states?

NOTE: This is objective type question, Please click question title for correct answer.
Which directive is used to register User Controls on the Page?

NOTE: This is objective type question, Please click question title for correct answer.
What are the ways to manage States on the Page at server side?

NOTE: This is objective type question, Please click question title for correct answer.
What are the ways to use Sessions on the page.

NOTE: This is objective type question, Please click question title for correct answer.
What is the use of System.Web.Mail?

System.Web.Mail is .Net name space.it is used to send mail from .Net components.
It contains 3 Classes.
1.MailMessage :It is used to create a mail
2.MailAttachments:It is used to add mail attachments
3.SmtpMail :it is used to sending an email
Which of the following object is not the way to maintain state?

NOTE: This is objective type question, Please click question title for correct answer.
How can we disable session at Page Level?

We can disable session state at page level by using EnableSessionState attributes with in Page directive as:-
<%@ page Langauge = "C#/VB" EnableSessionState = "False"/>

Default Session data is stored in Asp.Net?

NOTE: This is objective type question, Please click question title for correct answer.
Which elements in the web.config file is used to run code using a permissions of a specific user?

NOTE: This is objective type question, Please click question title for correct answer.
Which object can help us to maintain data across Users?

NOTE: This is objective type question, Please click question title for correct answer.
Mode of storing Asp.Net Sessions are?

NOTE: This is objective type question, Please click question title for correct answer.
Difference between Server.Transfer and Response.Redirect method?

Following are the major differences between them:-

Server.Transfer
1). The browser is directly redirected to another page.
2). There is no round trip.
3). A Server transfer is possible within a website.
4). Information can be preserved in Server transfer through a parameter called preserveForm.

Response.Redirect

1). The browser is requested to redirect to some other page through a message.
2). There is a round trip.
3). Response redirect is possible within two websites too.
4). A state can be maintained in Response redirect but has a lot of drawbacks
Found this useful, bookmark this page to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape

 Interview Questions and Answers Categories