Welcome Guest | Sign in | Register
ASP.NET - DotNet Programming Interview Questions and Answers | LucentBlackBoard | LucentBlackBoard.com
41. What are the events that happen when a client requests an ASP.NET page from IIS server?

The following events happen when a client requests an ASP.NET page from the IIS server:
1. User requests for an application resource.
2. The integrated request-processing pipeline receives the first user request.
3. Response objects are created for each user request.
4. An object of the HttpApplication class is created and allocated to the Request object.
5. The HttpApplication class processes the user request.

42. Explain file-based dependency and key-based dependency.

In file-based dependency, you have to depend on a file that is saved in a disk. In key-based dependency, you have to depend on another cached item.

43. How can you implement the postback property of an ASP.NET control?

You need to set the AutoPostBack property to True to implement the PostBack property of controls.

44. Explain how Cookies work. Give an example of Cookie abuse.

The server tells the browser to put some files in a cookie, and the client then sends all the cookies for the domain in each request. An example of cookie abuse is large cookies affecting the network traffic.

45. Explain login controls.

Login controls are built-in controls in ASP.Net for providing a login solution to ASP.NET application. The login controls use the membership system to authenticate a user credentials for a Web site.

There are many controls in login controls.
• ChangePassword control - Allows users to change their password.
• CreateUserWizard control - Provides an interface to the user to register for that Web site.
• Login control - Provides an interface for user authentication. It consists of a set of controls, such asTextBox, Label, Button, CheckBox, HyperLink.
• LoginView control - Displays appropriate information to different users according to the user's status.
• LoginStatus control - Shows a login link to users, who are not authenticated and logout link, who are authenticated
• LoginName control - Displays a user name, if the user logs in.
• PasswordRecovery control - Allows users to get back the password through an e-mail, if they forget.




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.