Interview FAQs

The System.ComponentModel namespace provides classes that are used to implement the run-time and design-time behavior of components and controls. This namespace includes the base classes and interfaces for implementing attributes and type converters, binding to data sources, and licensing components.
The System.Configuration namespace provides classes and interfaces that allow applications to programmatically access .NET Framework configuration settings and handle errors in configuration files (.config files).

Configuration files allow administrators to change values in applications without having to recompile those applications.

ConfigurationManager class provides access to configuration files for client applications.
By setting the EnableViewStateMac to true in the @Page directive. This attribute checks the encoded and encrypted viewstate for tampering
Yes. Each page can be written with a different programming language in the same application. You can create a few pages in C# and a few in VB.Net.
ASP.Net configures IIS to deny access to any user that requests access to the machine.config or web.config files.
By default, ASP.Net submits a form to the same page. In cross-page posting, the form is submitted to a different page. This is done by setting the PostBackUrl property of the button(that causes postback) to the desired page. In the code-behind of the page to which the form has been posted, use the FindControl method of the PreviousPage property to reference the data of the control in the first page.
To change a master page, set the MasterPageFile property of the @Page directive to point to the .master page during the PreInit page event.
The AutoEventWireUp is a boolean attribute that allows automatic wireup of page events when this attribute is set to true on the page. It is set to True by default for a C# web form whereas it is set as False for VB.Net forms. Pages developed with Visual Studio .NET have this attribute set to false, and page events are individually tied to handlers
ASP.Net invalidates the existing cache and assembles a new cache. Then ASP.Net automatically restarts the application to apply the changes.
Yes. You can use ADSI, WMI, or COM interfaces to configure IIS programmatically.
PreviousDisplaying 24 of 46Next
Need Help? Contact Us.

Log in


Forgot password?


New User