.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> C# >> Post New Question Subscribe to Interview Questions

What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?

Posted By :Ghanashyam Nayak     Posted Date :September 22, 2010    Points :10   Category :C# 
SQLServer.NET data provider is high-speed and robust, but requires SQL Server license purchased from Microsoft. OLE-DB.NET is universal for accessing other sources, like Oracle, DB2, Microsoft Access and Informix, but it's a .NET layer on top of OLE layer, so not the fastest thing in the world. ODBC.NET is a deprecated layer provided for backward compatibility to ODBC engines.

You can also find related Interview Question to What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?  below: 

What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?

  
SQLServer.NET data provider is high-speed and robust, but requires SQL Server license purchased from Microsoft. OLE-DB.NET is universal for accessing other sources, like Oracle, DB2, Microsoft Access and Informix, but it's a .NET layer on top of OLE layer, so not the fastest thing in the world. ODBC.NET is a deprecated layer provided for backward compatibility to ODBC engines. (More...)

Explain about data provider?

  
ADO.NET has two primary parts in its architecture out of which one is data provider. It has its own set of objects and it consists of its own classes. Some of them are connection, parameter, data reader, command and data adapter. This provides access to data sources such as Oracle, SQL server, etc. (More...)

Name the classes that are contained in System.Data NameSpace?

  
DataSet
DataTable
DataColumn
DataRow
DataRealation
Constraint (More...)

What are the advantages and disadvantages of viewstate?

  
The primary advantages of the ViewState feature in ASP.NET are:
1. Simplicity. There is no need to write possibly complex code to store form data between page submissions.
2. Flexibility. It is possible to enable, configure, and disable ViewState on a control-by-control basis, choosing to persist the values of some fields but not others.
There are, however a few disadvantages that are worth pointing out:
1. Does not track across pages. ViewState information does not automatically transfer from page to page. With the session
approach, values can be stored in the session and accessed from other pages. This is not possible with ViewState, so storing
data into the session must be done explicitly.
2. ViewState is not suitable for transferring data for back-end systems. That is, data still has to be transferred to the back
end using some form of data object
(More...)

What are Advantages and Disadvantages of using Connection Pooling

  
Advantage of using Connection Pooling is an improvement of performance and scalability

Disadvantage is that one or more database connections, even if they are currently not used, are kept open
(More...)

What are different .Net framework data provider.

  
The Four main types of .net framework data provider are
a) .Net framework data provider for SQL server.
b) .Net framework data provider for OLEDB
c) .Net framework data provider for ODBC
d) .Net framework data provider for Oracle. (More...)

Named out assemblies and corresponding namespace of all .Net framework data provider.

  
a) .Net Framework Data Provider for SQL Server
Assembly Name :- System.Data.dll
NameSpace :- System.Data.SqlClient

b) .Net Framework Data Provider for OLE DB Server
Assembly Name :- System.Data.dll
NameSpace :- System.Data.OleDb


C) .Net Framework Data Provider for ODBC
Assembly Name :- System.Data.ODBC


C) .Net Framework Data Provider for Oracle
Assembly Name :- System.Data.OracleClient.dll
NameSpace :- System.Data.OracleClient
(More...)

What are the advantages and disadvantages of LINQ to Sharepoint ?

  
Advantages:

Intellisense
Strongly typed access to the entities of the list
Faster development
Simplify complex queries

Disadvantages:

If the new columns are added or its datatype changed, the datacontext class used by LINQ is no longer valid and may break the code
Extra layer to the actual CAML query
(More...)

What are the Advantages and Disadvantages of WCF?

  
Advantages

1. WCF provides better reliability and security compared to ASMX Web services.

2. In WCF, there is no need to make much of a change to code to use the security model and alter the binding.

3. Small changes in the configuration file will match your requirements.

4. WCF provides interoperability between services.

Disadvantages

1. WCF does not support method overloading functions. (More...)

What is Active Directory? What is the namespace used to access the Microsoft Active Directories? What are ADSI Directories?

  
Active Directory Service Interfaces (ADSI) is a programmatic interface for Microsoft Windows Active Directory. It enables your applications to interact with diverse directories on a network, using a single interface. Visual Studio .NET and the .NET Framework make it easy to add ADSI functionality with the DirectoryEntry and DirectorySearcher components.

Using ADSI, you can create applications that perform common administrative tasks, such as backing up databases, accessing printers, and administering user accounts. (More...)

Difference between OLEDB Provider and SqlClient ?

  
SQLClient .NET classes are highly optimized for the .net / sqlserver combination and achieve optimal results. The SqlClient data provider is fast. It's faster than the Oracle provider, and faster than accessing database via the OleDb layer. It's faster because it accesses the native library (which automatically gives you better performance), and it was written with lots of help from the SQL Server team. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend