The Data Access Application Block encapsulates performance best practices and resource management best practices for how to gain access to Microsoft SQL Server databases. You can use the Data Access Application Block as a building block in your own .NET
Framework-based application. The Data Access Application Block reduces the quantity of custom code that you must create, test, and maintain. The Data Access Application Block helps you to do the following:
Call stored procedures or SQL text commands.
Specify parameter details.
Return the SqlDataReader object, the DataSet object, and the
XmlReader object.
Use strongly typed datasets.
What Does the Data Access Application Block Include? The Data Access Application Block component includes the Microsoft Visual Basic .NET source code or the Microsoft Visual Basic 2005 source code and the Microsoft Visual C# .NET source code or the
Microsoft Visual C# 2005 source code for the Data Access Application Block. It also includes a Quick Start Samples client application in each language that you can use to test common scenarios. The sample can help you to better understand how the Data Access
Application Block works. You can also customize the source code to fit your requirements.
Downloading and Installing the Data Access Application Block This section discusses how to download and to install the Data Access Application Block. A Microsoft Windows Installer file that contains the signed Data Access Application Block assembly
and the comprehensive documentation is available. The install process creates a
Microsoft Application Block for .NET menu on your
Programs menu. The Data Access menu that appears on the
Microsoft Application Block for .NET menu includes options to start the documentation and to start the Data Access Application Block Visual Studio .NET or Visual Studio 2005 solution.
Using the Data Access Application Block This section discusses how to use the Data Access Application Block to run database commands and to manage parameters.
Internal Design This section discusses the internal design of the Data Access Application Block. The Data Access Application Block includes the full source code and a comprehensive guide to its design. This section describes the main implementation
details.
Compared with this, I think Microsoft Application Block looks more like a "Template" runnable application nested for Vs, but the latter looks like some frame classes that you can use at most flexibly.
shree_ars
Participant
1395 Points
776 Posts
Applicatoin Block Vs EnterpriseLibray Data Block
Dec 13, 2012 06:39 AM|LINK
Hi All,
Is Microsoft Application Block and Enterprise Library Data Block are they different?
Bez when i searching for Application Block, it says the seperate installation and also it contains some sqlhelper class for data access.
Now in my machine i have installed Enterprise Library, and also i cant find Microsoft.Application.Data.dll, its missing,
Clear me whether they are different or both are on same installation.
If both would did the same job, why microsoft has given two different blocks?
clarify plz.
thaicarrot
Contributor
5120 Points
1459 Posts
Re: Applicatoin Block Vs EnterpriseLibray Data Block
Dec 13, 2012 06:24 PM|LINK
They're different but the same goal. Application Block use with science field and Enterprise Library Data Block is Pattern & Practice.
I beleive, Other technologies has ability to arcieve the same thing. E.G WPF, Prism(May be better) etc.
Weera
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Applicatoin Block Vs EnterpriseLibray Data Block
Dec 14, 2012 12:56 AM|LINK
Hi,
First let's see the Microsoft Application Block:
The Data Access Application Block encapsulates performance best practices and resource management best practices for how to gain access to Microsoft SQL Server databases. You can use the Data Access Application Block as a building block in your own .NET Framework-based application. The Data Access Application Block reduces the quantity of custom code that you must create, test, and maintain. The Data Access Application Block helps you to do the following:
Compared with this, I think Microsoft Application Block looks more like a "Template" runnable application nested for Vs, but the latter looks like some frame classes that you can use at most flexibly.