0
Q:

This events sends the web page to the server for processing. Web page sends data back to the

same page on the server.
Which among the following events does the above stated task?

A) Validation events B) Cached events
C) Postback events D) None

Answer:   C) Postback events



Explanation:

Postback events does the bove stated task

Subject: .NET
Job Role: Software Architect
Q:

How can you deploy an ASP.NET Web application?

Answer

You can deploy an ASP.NET Web application using either the Windows Installer deployment or ClickOnce deployment technique.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2257
Q:

List different ways of deployment that are supported by .NET Framework 4.0.

Answer

       => Windows Installer

       => ClickOnce

       => XCOPY

       => Copy Web Site

       => Publish Web Site tool

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2927
Q:

Explain why workflows are based on Extensible Models.

Answer

Workflows serve the purpose of automating business processes. Now, since each type of business has a wide range of problems; therefore, a workflow platform needs to be extensible. WF provides you with a set of base activities, such as IfElse, Code, and Delay, to build a workflow. You can extend these activities or build new activities to meet your requirements. Besides activities, you can also extend services, such as tracking, management, and persistence, provided by the runtime engine.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 1815
Q:

What are the different types of workflow in WF?

Answer

In WF 4.0, the following two types of workflows are used:

 
     Flowchart workflows - Helps you to create workflows using the common flowchart elements. In WF, the Flowchart activity is generally used to implement a non-sequential workflow, and occasionally it implements sequential workflows in case the FlowDecision nodes are not used. The Flowchart activity contains a collection of flow nodes, which inherit from the FlowNode class. The following types of nodes or elements can be a part of a flowchart:
                 => FlowStep - Executes activities of a flowchart in a sequence.
                 => FlowDecision - Shows the execution on the basis of a Boolean condition.   It is similar to the If construct.
                 => FlowSwitch - Shows the execution on the basis of an exclusive switch. It is similar to the Switch construct.


      Procedural workflows - Helps you to create workflows using basic and sequential execution standards. In WF, procedural workflows use flow control constructs, such as While, Switch, ForEach, and If, to execute activities. These flow control constructs are similar to those found in procedural languages. Procedural workflows can also contain other flow control activities, such as Flowchart and Sequence.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 1958
Q:

What is Windows Workflow Foundation (WF)?

Answer

Windows Workflow Foundation (WF) is a technology that was first introduced in .NET Framework 3.0. WF consists of a programming model, a workflow runtime engine, workflow designer, a rules engine, and tools to quickly build workflow-based applications on Windows. WF facilitates the separation between the business process code and the actual implementation code.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 4204
Q:

Explain the concept of states in ASP.NET.

Answer

State is quite an innovative concept in Web development because it eliminates the drawback of losing state data due to reloading of a Web page. By using states in a Web application, you can preserve the state of the application either at the server or client end. The state of a Web application helps you to store the runtime changes that have been made to the Web application. For example, as already described earlier, a change in the data source of the Web application might be initiated by a user when he/she selects and saves some products in the shopping cart.

If you are not using states, these changes are discarded and are not saved. You may think that the whole concept of storing states is optional. However, under certain circumstances, using states with applications is imperative. For example, it is necessary to store states for Web applications, such as an e-commerce shopping site or an Intranet site of a company, to keep track of the requests of the users for the items they have selected on the shopping site or the days requested for vacation on the Intranet site.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 1832
Q:

Explain the validation controls. How many validation controls in ASP.NET 4.0?

Answer

Validation controls are responsible to validate the data of an input control. Whenever you provide any input to an application, it performs the validation and displays an error message to user, in case the validation fails.

ASP.NET 4.0 contains the following six types of validation controls:

   => CompareValidator - Performs a comparison between the values contained in two controls.
   => CustomValidator - Writes your own method to perform extra validation.
   => RangeValidator- Checks value according to the range of value.
   => RegularExpressionValidator - Ensures that input is according to the specified pattern or not.
   =>  RequiredFieldValidator - Checks either a control is empty or not.
   => ValidationSummary - Displays a summary of all validation error in a central location.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 1971
Q:

What is the code-behind feature in ASP.NET?

Answer

The code-behind feature of ASP.NET enables you to divide an ASP.NET page into two files - one consisting of the presentation data, and the second, which is also called the code-behind file, consisting of all the business logic. The presentation data contains the interface elements, such as HTML controls and Web server controls, and the code-behind contains the event-handling process to handle the events that are fired by these controls. The file that contains the presentation data has the .aspx extension. The code behind file has either the .cs extension (if you are using the programming language C#) or the .vb (if you are using the programming language Visual Basic .NET) extension.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 5814