Bank exam questions and answers

Group exam questions and answers

Technical questions and answers

1. What is ASP?
Active Server Pages (ASP), is a Microsoft's server-side technology, which helps in creating dynamic and user-friendly Web pages.
2. What is ASP.Net?
It is a framework developed by Microsoft on which we can develop new generation web sites using web forms(aspx), MVC, HTML, Javascript, CSS etc. Its successor of Microsoft Active Server Pages(ASP). Currently there is ASP.NET 4.0, which is used to develop web sites. There are various page extensions provided by Microsoft that are being used for web site development. Eg: aspx, asmx, ascx, ashx, cs, vb, html, XML etc.
3. What are different methods of session maintenance in ASP.NET?

In-process storage.

Session State Service.

Microsoft SQL Server.

In-Process Storage The default location for session state storage is in the ASP.NET process itself.

Session State Service As an alternative to using in-process storage for session state, ASP.NET provides the ASP.NET State Service. The State Service gives you an out-of-process alternative for storing session state that is not tied quite so closely to ASP. Net's own process.

Microsoft SQL Server The final choice for storing state information is to save it in a Microsoft SQL Server database.

4. What is a master page?
A master page is a template for one or more Web Forms. The master page defines how the page will be laid out when presented to the user, with placeholders for content. The MasterPageFile Page Directive in a content page's header is one way to assign a master page. The content pages rely solely on content and leave layout to the master page. ASP.NET merges the content with the master page layout when the content page is requested by a user.
5. List the events in page life cycle.

1. Page_PreInit

2. Page_Init

3. Page_InitComplete

4. Page_PreLoad

5. Page_Load

6. Page_LoadComplete

7. Page_PreRender

8. Render

6. How does PostBack work?
PostBack is basically the ASP.NET submitting a form to it -- it posts back to the current URL. The JavaScript __doPostBack function is placed on the page (look at the source within the browser) to facilitate. PostBack uses ViewState to remember controls and data. The IsPostBack property of the ASP.NET page allows you to determine if the loading of the page is the result of a postback event; this is done in the Page_Load event.
7. What’s the use of Response.Output.Write()?
We can write formatted output  using Response.Output.Write().
8. What is View State?

Basically, View State is how ASP.NET Web pages persists data across requests. It handles data that must be preserved between postbacks, and you can use it to store page-specific data. By default, View State is enabled on a page and its controls. This can be a problem as the amount of data and controls on a page increases resulting in more data for ASP.NET to maintain.

This is accomplished via the hidden __VIEWSTATE field on a form (look at the page source in a browser), so more data in this field means a slower load time and slower overall processing, as it has to be posted to the server each time. You can limit the size of the data in View State by disabling controls that do not need to be persisted via the EnableViewState property. View State can be encrypted to address security concerns.

9. What is a web.config file? Machine.config?
The web.config is the basic configuration file for ASP.NET applications. It utilizes an XML format. It is used to define application settings, connection strings, and much more. These files can appear in multiple directories, and they are applied in a top-down approach; that is, configuration files apply to their container directory as well as all directories below it, but the configuration files in lower directories can override those in parent directories. This provides a way to granularly apply settings. The machine.config file contains ASP.NET settings for all of the applications on the server -- it is at the top of the configuration file hierarchy, thus web.configs can override it.
10. What are the different validators in ASP.NET?

1. Required field Validator

2. Range Validator

3. Compare Validator

4. Custom Validator

5. Regular expression Validator

6. Summary Validator

div itemprop="description"> is enhanced solution for learning and training all categories of Group&bank Questions and Answers.
Date published: 01/01/2015
5 / 5 stars