Book description
Do you want to create .NET applications that provide high performance and scalability? Do you want to employ object-oriented programming techniques in a distributed environment? Do you want to maximize the reuse and maintainability of your code? Then this book is for you.
In Rockford Lhotka's Expert C# 2008 Business Objects, you'll learn how to use advanced .NET Framework capabilities alongside object-oriented design and programming to create scalable, maintainable object-oriented applications. Better still, this book includes Component-based Scalable Logical Architecture (CSLA) .NET 3.6, a widely-used framework on which you can base your application development. By using the concepts and framework in the book, you can focus more on your business issues and less on technology.
Using VS 2008 and C# 3.0, Rockford Lhotka shows you how CSLA .NET 3.6 allows great flexibility in object persistence, so business objects can use virtually any data sources available. The CSLA framework supports 1-, 2- and n-tier models through the concept of mobile objects. This provides the flexibility to optimize performance, scalability, security, and fault tolerance with no changes to code in the UI or business objects.
Business objects based on CSLA.NET 3.6 automatically gain many advanced features that simplify the creation of Windows forms, web forms, WPF, WCF, WF, and web services interfaces, and LINQ.
Table of contents
- Copyright
- About the Author
- About the Technical Reviewers
- Acknowledgments
- Introduction
- 1. Distributed Architecture
-
2. Framework Design
-
2.1. Basic Design Goals
- 2.1.1. Validation and Business Rules
- 2.1.2. Tracking Whether the Object Has Changed
- 2.1.3. Integrated Authorization
- 2.1.4. Strongly Typed Collections of Child Objects
- 2.1.5. N-Level Undo Capability
- 2.1.6. Simple and Abstract Model for the UI Developer
- 2.1.7. Supporting Data Binding
- 2.1.8. Object Persistence and Object-Relational Mapping
- 2.1.9. Custom Authentication
- 2.2. Designing the Framework
- 2.3. Namespace Organization
- 2.4. Conclusion
-
2.1. Basic Design Goals
- 3. Object-Oriented Application Design
- 4. CSLA .NET Object Stereotypes
-
5. CSLA .NET Object Templates
-
5.1. Business Class Structure
- 5.1.1. Editable Root Business Objects
- 5.1.2. Editable Child Business Objects
- 5.1.3. Switchable Objects
- 5.1.4. Editable Root Collection
- 5.1.5. Editable Child Collection
- 5.1.6. Read-Only Business Objects
- 5.1.7. Read-Only Child Objects
- 5.1.8. Read-Only Collection
- 5.1.9. Read-Only Child Collection
- 5.1.10. Command Objects
- 5.1.11. Name/Value List Objects
- 5.1.12. Dynamic Editable Collection
- 5.1.13. Dynamic Editable Root Objects
- 5.1.14. Criteria Objects
- 5.2. Conclusion
-
5.1. Business Class Structure
-
6. Business Framework Implementation
- 6.1. CSLA .NET Project Structure
-
6.2. Csla Namespace
- 6.2.1. ApplicationContext
- 6.2.2. BusinessBase
- 6.2.3. BusinessListBase
- 6.2.4. CommandBase
- 6.2.5. CriteriaBase
- 6.2.6. DataPortal
- 6.2.7. EditableRootListBase
- 6.2.8. NameValueListBase
- 6.2.9. PropertyInfo
- 6.2.10. ReadOnlyBase
- 6.2.11. ReadOnlyListBase
- 6.2.12. SingleCriteria
- 6.2.13. SmartDate
- 6.2.14. Utilities
-
6.3. Csla.Core Namespace
- 6.3.1. BusinessBase
- 6.3.2. ExtendedBindingList
- 6.3.3. IBusinessObject Interface
- 6.3.4. ICommandObject Interface
- 6.3.5. IEditableBusinessObject Interface
- 6.3.6. IEditableCollection Interface
- 6.3.7. IReadOnlyObject Interface
- 6.3.8. IReadOnlyCollection Interface
- 6.3.9. ISavable Interface
- 6.3.10. ISmartField Interface
- 6.3.11. ISupportUndo Interface
- 6.3.12. ITrackStatus Interface
- 6.3.13. IUndoableObject Interface
- 6.3.14. ObjectCloner Class
- 6.3.15. ReadOnlyBindingList
- 6.4. Conclusion
- 7. Property Declarations
- 8. Object Status Management
- 9. Parent-Child Relationships
- 10. Data Binding
- 11. Business and Validation Rules
- 12. Authentication and Authorization
- 13. N-Level Undo
- 14. LINQ to CSLA
-
15. Persistence and the Data Portal
-
15.1. Data Portal Design
- 15.1.1. Separation of Business Logic and Data Access
- 15.1.2. Consistent Coding Model for Root and Child Objects
- 15.1.3. Channel Adapter and Message Router Patterns
- 15.1.4. Distributed Transaction Support
- 15.1.5. Context and Location Transparency
- 15.1.6. Authorizing Server Calls
- 15.1.7. Asynchronous Behaviors
- 15.1.8. Object Factories
- 15.2. Base Class Support
- 15.3. Reflection and Dynamic Method Invocation
- 15.4. Channel Adapter
- 15.5. Distributed Transaction Support
- 15.6. Message Router
- 15.7. Context and Location Transparency
- 15.8. Conclusion
-
15.1. Data Portal Design
- 16. Other Framework Features
- 17. Business Object Implementation
- 18. Example Data Access
- 19. Windows Presentation Foundation UI
- 20. Web Forms UI
- 21. WCF Service Interface
Product information
- Title: Expert C# 2008 Business Objects
- Author(s):
- Release date: December 2008
- Publisher(s): Apress
- ISBN: 9781430210191
You might also like
book
Microsoft® Offic Excel® 2007 Visual Basic® for Applications Step by Step
Quickly teach yourself how to automate tasks and create custom spreadsheet solutions with Excel 2007 Visual …
book
Microsoft® Visual C#® 2012 Step by Step
Teach yourself how to build applications with Microsoft Visual C# 2012 and Visual Studio 2012—one step …
book
Professional C# 5.0 and .NET 4.5.1
Comprehensive, advanced coverage of C# 5.0 and .NET 4.5.1 Whether you're a C# guru or transitioning …
book
ASP.NET 2.0 Illustrated
“This book is a phenomenal start for someone new to ASP.NET, as well as a complete …