ASP.NET
  Home arrow ASP.NET arrow Page 2 - Developing ASP.NET 2.0 Applications with t...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

Developing ASP.NET 2.0 Applications with the Microsoft Data Access Application Block
By: Jagadish Chaterjee
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 18
    2006-10-02

    Table of Contents:
  • Developing ASP.NET 2.0 Applications with the Microsoft Data Access Application Block
  • What are Microsoft Enterprise Application Blocks?
  • Developing an ASP.NET application using the Data Access Application Block: adding references
  • Configuring a connection string
  • Developing the code

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Developing ASP.NET 2.0 Applications with the Microsoft Data Access Application Block - What are Microsoft Enterprise Application Blocks?


    (Page 2 of 5 )

    Extending the definition from the previous section, we can define an Enterprise Library (or Enterprise Application Blocks) as "a collection of application blocks and guidance documents that together provide functionality common to enterprise applications."  The library consists of several applications blocks which are very commonly used while developing enterprise scale applications. The entire library is free to download, develop and deploy.

    At the time of this writing, Microsoft released the “Enterprise Library for .NET Framework 2.0” (January 2006 version). It has been updated to take advantage of the features available in .NET Framework 2.0 and to work with Visual Studio 2005. If you are working with Visual Studio.NET 2003, you need to work with the "Enterprise Library for .NET Framework 1.1" (July 2005 version).

    At the time of this writing, the Enterprise Library for .NET Framework 2.0 contains the following application blocks:

    • Caching Application Block.
    • Cryptography Application Block.
    • Data Access Application Block.
    • Exception Handling Application Block.
    • Logging Application Block.
    • Security Application Block.

    We need not use every application block in every application. It all depends on what we need our application to do. Microsoft recommends following its "Practices & Patterns" to develop enterprise scale applications, and gives this enterprise library (along with its source code) as an example. 

    In this contribution, I mainly focus on working with the Data Access Application Block available in the Enterprise Library For .NET Framework 2.0 together with a simple ASP.NET application.

    Before you proceed to the next section, you need to download and install the Enterprise Library For .NET Framework 2.0 available at http://www.microsoft.com/downloads/details.aspx?FamilyId=5A14E870-406B-
    4F2A-B723-97BA84AE80B5&displaylang=en
    .

    Please note that you should select the "compile library" option when you install the library. This will lessen future complications in working with the samples given in this contribution.

    More ASP.NET Articles
    More By Jagadish Chaterjee


       · Hello guys. This is my new series on working with Microsoft Enterprise Library 2.0...
       · hi,Thanks for the article, it helped me a lot.I am using Enterprise Library...
       · Hai,You should never have any problem to get connected to SQL Server 2000 using...
     

    ASP.NET ARTICLES

    - Disadvantages of the ASP.NET MVC Framework
    - Advantages of the ASP.NET MVC Approach
    - ASP.NET Web Forms Weaknesses
    - ASP.NET Web Forms Meets ASP.NET MVC
    - Source Code for Saving and Retrieving Data w...
    - Using GridView to Save and Retrieve Data wit...
    - Handling Dynamic Images in ASP.NET 3.5 AJAX ...
    - Retrieving Data with AJAX and the GridView C...
    - Playing with Images in ASP.NET 3.5 AJAX Appl...
    - Saving and Retrieving Data with AJAX
    - Enhancing PHP Via the ASP.NET AJAX Framework...
    - Enhancing PHP Programming with the ASP.NET A...
    - Classes and ASP.NET AJAX
    - Using ASP.NET AJAX
    - Building a Simple Storefront with LINQ





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT