.NET Questions

Q:

What is the need of Response.Output.Write() in Asp.net ?

Answer

Response.Write() and Response.Output.Write() both does the same work for printing output on the screen. But their is a small difference between them. As we can write formatted output using Response.Output.Write() but Response.Write() can't allows the formatted output.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Analyst , IT Trainer

4 4366
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 4207
Q:

What are the benefits of using of ADO.NET in .NET 4.0.

Answer

The following are the benefits of using ADO.NET in .NET 4.0 are as follows:

 =>   Language-Integrated Query (LINQ) - Adds native data-querying capabilities to .NET languages by using a syntax similar to that of SQL. This means that LINQ simplifies querying by eliminating the need to use a separate query language. LINQ is an innovative technology that was introduced in .NET Framework 3.5.
 =>   LINQ to DataSet - Allows you to implement LINQ queries for disconnected data stored in a dataset. LINQ to DataSet enables you to query data that is cached in a DataSet object. DataSet objects allow you to use a copy of the data stored in the tables of a database, without actually getting connected to the database.
=>   LINQ to SQL - Allows you to create queries for data stored in SQL server database in your .NET application. You can use the LINQ to SQL technology to translate a query into a SQL query and then use it to retrieve or manipulate data contained in tables of an SQL Server database. LINQ to SQL supports all the key functions that you like to perform while working with SQL, that is, you can insert, update, and delete information from a table.
=>   SqlClient Support for SQL Server 2008 - Specifies that with the starting of .NET Framework version 3.5 Service Pack (SP) 1, .NET Framework Data Provider for SQL Server (System.Data.SqlClient namespace) includes all the new features that make it fully compatible with SQL Server 2008 Database Engine.
=>   ADO.NET Data Platform - Specifies that with the release of .NET Framework 3.5 Service Pack (SP) 1, an Entity Framework 3.5 was introduced that provides a set of Entity Data Model (EDM) functions. These functions are supported by all the data providers; thereby, reducing the amount of coding and maintenance in your application. In .NET Framework 4.0, many new functions, such as string, aggregate, mathematical, and date/time functions have been added.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 4150
Q:

How can you implement a condition in a workflow?

Answer

You can implement a condition by using either of the following ways:




     =>   By creating a rule condition - Specifies that you can implement conditions either directly in code or by using a tool, called the Rule Condition Editor. Rule conditions are stored in a separate Extensible Markup Language (XML) file. When a rule condition occurs in a workflow, the expression in a condition is evaluated and a Boolean value is returned.

     =>   By creating a code condition - Refers to defining a condition directly in code. A code condition can be created by writing a method in the code. The method contains code for the condition and returns a Boolean value.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 3915
Q:

Application_End: This event occurs when there are no more users of the application.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

When there are no more users of the application Application_End event occurs

Report Error

View Answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 3910
Q:

What is C-Sharp (C#) and its advantages ?

Answer

C# is a type-safe, managed and object oriented language, which is compiled by .Net framework for generating intermediate language (IL).


Below are some of the features supported in C# -
* Constructors and Destructors
* Properties
* Passing Parameters
* Arrays
* Main
* XML Documentation and
* Indexers


Below are the advantages of C# -


* Easy to learn
* Object oriented
* Component oriented
* Part of .NET framework

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: IT Trainer , Analyst

1 3805
Q:

Which class is used to indicate Black Navigation Bar ?

A) .navbar-inverse B) .navbar-black
C) .navbar-dark D) .navbar-default
 
Answer & Explanation Answer: A) .navbar-inverse

Explanation:

.navbar-inverse is used to display in black color.

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Exam Prep: Bank Exams
Job Role: Analyst , IT Trainer

2 3746
Q:

Session_Start: This event occurs every time when any new user visits.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

True .That event occurs whenever a new user visits

Report Error

View Answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 3695