• +91 9971497814
  • info@interviewmaterial.com

Computer Interview Questions Answers

Asp.Net Interview Questions Answers

Question - 111 : - What is the transport protocol you use to call a Web service SOAP ?.

Answer - 111 : - HTTP Protocol

Question - 112 : - What is the Global.asax used for?

Answer - 112 : - The Global.asax (including the Global.asax.cs file) is used to implement application and session level events. 

Question - 113 : -  When you’re running a component within ASP.NET?.

Answer - 113 : -   On Windows 2003 (IIS 6.0) running in native mode, the component is running within the w3wp.exe process associated with the application pool which has been configured for the web application containing the component. On Windows 2003 in IIS 5.0 emulation mode, 2000, or XP, it's running within the IIS helper process whose name I do not remember, it being quite a while since I last used IIS 5.0.

Question - 114 : - What methods are fired during the page load?

Answer - 114 : - Init() - when the page is instantiated Load() - when the page is loaded into server memory PreRender() - the brief moment before the page is displayed to the user as HTML Unload() - when page finishes loading.

Question - 115 : -   Which method do you invoke on the DataAdapter control to load your generated dataset with data?

Answer - 115 : - The Fill() method. 

Question - 116 : - Can you explain what inheritance is and an example of when you might use it?

Answer - 116 : - When you want to inherit (use the functionality of) another class.  Example: With a base class named Employee, a Manager class could be derived from the Employee base class.

Question - 117 : - 2. What’s the difference between Response.Write() and Response.Output.Write()?

Answer - 117 : -   Ans : Response.Output.Write() allows you to write formatted output. 

Question - 118 : - Difference between asp and asp.net?.

Answer - 118 : -   "ASP (Active Server Pages) and ASP.NET are both server side technologies for building web sites and web applications, ASP.NET is Managed compiled code - asp is interpreted. and ASP.net is fully Object oriented. ASP.NET has been entirely re-architected to provide a highly productive programming experience based on the .NET Framework, and a robust infrastructure for building reliable and scalable web applications."

Question - 119 : -  Which method do you use to redirect the user to another page without performing a round trip to the client?

Answer - 119 : -   Server.Transfer and Server.Execute

Question - 120 : - Name two properties common in every validation control?

Answer - 120 : - ControlToValidate property and Text property.

Computer Contributors

krishan
Rajeev Katiyar
Yes Baroda

Share your email for latest updates

Name:
Email:

Our partners