Apress

Developing Application Frameworks in .NET

By Xin Chen

Developing Application Frameworks in .NET Cover Image

Application frameworks offer the benefits of extensibility, modularity, and reusability of both code and design to your applications. This book explains what frameworks are and how they fit into applications, and offers many object-oriented techniques used in application frameworks.

Full Description

  • ISBN13: 978-1-59059-288-5
  • 392 Pages
  • User Level: Beginner to Advanced
  • Publication Date: April 28, 2004
  • Available eBook Formats: PDF
  • Print Book Price: $49.99
  • eBook Price: $34.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Application frameworks, which provide a base of common services on which applications are built, offer the benefits of extensibility, modularity, and reusability of both code and design to your applications. This book explains what frameworks are and how they fit into applications, and offers many object-oriented techniques used in application frameworks.

This book also shows you actually how to develop application frameworks through a concrete framework example called Simplified Application Framework (SAF). The SAF framework was developed by author Xin Chen in C#. It consists of common services needed by many applications, such as a class factory service, configuration service, event notification service, security service, and transaction service. This book goes into detail on each of these services to explain its benefits, as well as its design and implementation in C#. Through a discussion of each service, you will also learn about many advanced .NET techniques employed by the framework, such as .NET remoting, reflection, custom attributes, multithreading, and serviced components.

Many of the services discussed in the book also use design patterns as their blueprints. This book discusses these design patterns in-depth and shows how to implement them in a real-world scenario. Accompanying the book are the complete source code of the sample framework and sample executable projects (downloadable via the Internet), allowing readers to actually test out each framework service/component of SAF and learn about the development of frameworks, .NET technologies, and design patterns in a more interactive fashion.

Special Note This book covers .NET 1.0 and 1.1. and assumes knowledge of the .NET Framework and C#.

Table of Contents

Table of Contents

  1. Introduction to Application Frameworks
  2. Dissection of an Application Framework
  3. An Overview of the Simplified Application Framework
  4. Class Factories
  5. Caching Service
  6. The SAF.Configuration Service
  7. SAF.EventNotification
  8. Windows Services
  9. Message Queue Services
  10. Authorization Service
  11. Authentication Service
  12. Cryptography Service 
  13. Transaction Service 
  14. DocumentLayer Service
  15. The Workflow Service
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

On page 341 - 342:
On P. 341
public class Visitor
{
public void Accept (ComponentChargeAccount cca)

Method name "Accept" should be "Visit". Please refere to P340 code snippet at top of the page.

Also, on P. 342

public void Accept (ComponentA a) {...}
public void Accept (ComponentB b) {...}

The method names should also be "Visit" instead of "Accept".