Introduction

>This book is about application architecture, design, and development in .NET, using object-oriented concepts. Specifically, we'll build business-focused objects called business objects , and we'll implement them in various distributed environments that include web- and client-server configurations. To this end, we'll make use of a great many .NET technologies, object-oriented design and programming concepts, and distributed architectures.

In the first half of the book, we'll walk through the process of creating a framework to support object-oriented application development in .NET. This will include a lot of architectural concepts and ideas. It will also involve some in-depth use of advanced .NET techniques as we create our framework.

In the second half of the book, I'll make use of the framework to build a sample application with several different interfaces. If you wish, it's perfectly possible to skip the first half of the book and simply make use of the framework to build object-oriented applications.

One of my primary goals in creating this framework was to simplify .NET development. Developers using the framework in this book don't need to worry about the details of underlying technologies such as remoting, serialization, or no-touch deployment. All of these are embedded in the framework, so that a developer using it can focus almost entirely on business logic and application design, rather than getting caught up in "plumbing" issues.

>From COM to .NET

This book is the C# version of Expert One-on-One Visual Basic .NET Business Objects , which is a follow-up to the popular Professional Visual Basic 6 Business Objects and Visual Basic 6.0 Distributed Objects books that I wrote in the late 1990s, and it looks at how the same powerful techniques can be applied to the .NET world.

Since writing the Expert One-on-One Visual Basic .NET Business Objects book I've had numerous requests to write a C# version of the book. Several readers have ported the code in the book to C#, because the concepts and techniques in this book have far more to do with .NET than any particular programming language. Due to these reader requests , I have "ported" the book and related code to C# so it's available to both VB .NET and C# developers.

The Visual Basic 6 books that inspired this whole process discussed how to use VB6, COM, DCOM, and COM+ to create applications using object-oriented techniques. (Or at least, they were as object-oriented as was possible in VB6 and COM.) They also covered the concept of distributed objects , whereby a given object is "spread" over multiple machines in a physical n- tier environment. In COM, this isn't a trivial thing to implement, and so these books included a fair amount of discussion relating to object state and state serialization techniques.

>The end result was an architecture that I called CSLA , for component-based, scalable, logical architecture. Over the years , I've received hundreds of emails from people who have used CSLA as a basis for their own architecture as they've built applications ranging from small, single- user programs to full-blown enterprise applications that power major parts of their businesses.

I've also received a handful of emails from people for whom CSLA wasn't successful, but this isn't surprising. To use CSLA effectively, you must become versed in object-oriented and component-based design, understand the concept of distributed objects, and develop a host of other skills. The distributed object architecture has many benefits, but it's not the simplest, or the easiest to understand.

Over the last couple of years, I've also received a steady stream of emails inquiring about a .NET version of my business objects books. Am I writing one, and if so, when will it be out? The answer is that I've been researching how to design a distributed, object-oriented architecture in .NET since I first received an early, quasi-working version of the .NET Framework. It was soon apparent to me that the change from COM to .NET was so great that I couldn't, in good conscience, write this book until I had had enough time to make certain that my ideas were solid, and that I had found the right way to implement them in .NET.



Expert C# Business Objects
Expert C# 2008 Business Objects
ISBN: 1430210192
EAN: 2147483647
Year: 2006
Pages: 111

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net