Synopses & Reviews
This book provides a step-by-step guide for developing an ASP.NET 3.5 application using the latest features in Visual Studio 2008. The Problem Design Solution series by Wrox is unique because it describes a large case study and builds an entire solution chapter by chapter for each incremental step. This book uses a wide variety of new features in Visual Studio 2008, explains each in detail, and produces a solution that you can use as a starting point for your own applications.
If you are responsible for designing or developing enterprise-wide applications, departmental applications, portals, or any line of business application, then this book is for you. Many applications have a similar set of features, and this book builds an application with some of the most common features of enterprise applications. Let’s face it: Every application has the same general set of features, but implemented in a different way. A database sits in the back end and you, as the developer, are responsible for enabling users to add, update, select, and delete records. If only it were that simple, no?
The real development work starts when you sit with users and try to understand the business process and why they need a new or improved system in the first place. A lot of companies have departments that use Excel and Access wizards to create small systems that eventually become a lifeline for some part of the business. Usually something bad happens because of the nature of the tool they are using. Senior-level management is called in, project managers are hired, programmers are contracted, and the Project Management Office (PMO) is called to save the world. Suddenly this loosely defined process is high priority and people want documented standard operating procedures, audit reports, more productivity, less people, and of course a system that can do it all, which is where you come in. When you think about it, it’s a pretty daunting task. You’re expected to become an expert in someone else’s business process, flaws and all, and create a system that the company will rely on as the backbone for their existence. OK, maybe I’m exaggerating just a little bit, but when you go looking for that raise you might want to phrase it that way.
This book will give you the tools necessary to build a framework that can be extended to create a solution to solve your company’s problems. The design pattern uses the normal three layers, the user interface (UI), the business logic layer (BLL), and the data access layer (DAL), but also builds the classes in each layer that encapsulate common business rules such as role-based security, workflow, reporting, dynamic menus, data entry, dynamic querying, notifications, exception handling, and auditing. As the book guides you through the complete solution, each business requirement is thoroughly examined and some of the latest enhancements in ASP.NET 3.5 and Visual Studio 2008 are used to implement them in a reusable framework.
Enterprise applications are typically complex, and the teams that build enterprise applications come in all shapes and sizes. Some of the roles include a project sponsor, a project manager, business analysts, an architect, UI developers, middle-tier developers, database developers, and, if you’re really lucky, testers. Just a side note: Users are not testers. If you ever have the pleasure of working with professional testers, you’ll realize how important they are in the process, and how they truly are “quality” assurance engineers. Unfortunately, a lot of companies aren’t willing to invest in professional testers, so the users and/or developers end up assuming that role. This book is mainly focused on the architect and developers, but testers may find it valuable as well to help them understand the plumbing that goes into developing and architecting an enterprise application.
This book is for the intermediate to senior level developer or system architect. It would be helpful if you have experience with Visual Studio, the .NET Framework, ASP.NET, and C# because that is what the samples are written in, but the design pattern could be used in any language. The book is focused on enterprise applications, but the pattern could be used for any type of application that has a web front end and connects to a database. The application framework built in this book provides a foundation that can be extended to meet the specific business needs of your organization.
The sample application in this book is built using Visual Studio 2008, ASP.NET 3.5, C#, and SQL Server 2005. Each chapter goes into great detail, with plenty of code samples, and uses some of the new features in Visual Studio 2008 and the language enhancements in the .NET Framework 3.5. The solution includes examples for technologies such as LINQ to SQL, master pages, custom controls,
GridViews, business objects, data objects, and Crystal Reports. Some of the language enhancements discussed include LINQ, extension methods, partial methods, automatic properties, anonymous types, lambda expressions, and object initializers.
Of course, I realize that the code is what most developers are interested in, and each chapter provides numerous examples.
The Problem Design Solution series is just that. Each chapter has three sections with a description of the problem to be addressed, the design considerations for choosing a solution for the problem, and the solution that ultimately addresses the problem. The solution includes the bulk of the code. Each chapter builds upon the previous chapter, and it is recommended that you read them in order. The base classes that are described in the first few chapters are critical to an understanding of the rest of the book. Later chapters build upon the base classes and extend their functionality in all three layers of the application.
This book is for enterprise developers who use Visual Studio 2008, ASP.NET, C#, and SQL Server to deliver departmental or company wide line of business applications. These developers are constantly faced with the challenge of trying to get projects off the ground with little or no real direction or specific requirements. The book builds an application from start to finish using a framework that can be extended and used by programmers. The book is for corporate developers who make up the bulk of application developers using Visual Studio. The text focuses on implementing patterns that they can used for real world solutions and will build a complete solution which demonstrates patterns for data entry, role based security, workflow, event notification, reporting, exception handling, and a query builder that can be used for both reports and views.
With the Problem-Design-Solution promise and approach, the chapters are broken down into their own modules where the intent is to take the reader through the process from beginning to end while building a complete project with each chapter module. Each chapter establishes the problem, what the reader wants to do, and why it is important, and then what factors and restrictions need to be taken into account. Next the chapter covers how the programmer will solve the problem with an adequate solution that will provide only the best results. Finally, the developer produces code and other materials to better realize the design and solution to the problem. This part of the chapter is where the reader gets hands-on practice at creating code that builds applications.
Building a Framework for Corporate Intranet Apps
Designing the Data Access Layer
Designing the Business Logic Layer
Designing the UI Layer
Implementing the Microsoft Exception Handling App Block
Role Based Security
Paid Time Off
Workflow Engine Design
Customizing Views and Reports with Query Builder Control
Home Page with Web Parts
Installing the App
Code Generation Tool
Aimed at enterprise developers who use Visual Studio 2008, ASP.NET, C#, and SQL Server to deliver business applications, this book focuses on implementing patterns that can be used for real-world solutions. Each chapter establishes a problem, examines which solution will provide the best results, and then demonstrates how to go about executing that solution. The experienced author addresses building a framework for corporate intranet apps, designing the data access layer, implementing the Microsoft exception handling app block, customizing view and reports with Query Builder Control, installing the application, and much more.
ASP.NET 3.5 Enterprise Application Development with Visual Studio® 2008
If you are faced with the many challenges that come with delivering business applications, experienced author and ASP.NET expert Vince Varallo is here to help. He arms you with the necessary tools for developing ASP.NET applications with Visual Studio 2008 that are elegant, easy to maintain, and can be extended to create solutions for particular problems.
Putting Wrox's popular Problem Design Solution format into practice, each chapter features an individual scenario and provides a description of the problem to be addressed, the design considerations for choosing a solution, and the solution that ultimately gets to the bottom of the problem. As Varallo walks you through the solutions, each of the business requirements are examined, while the latest enhancements in ASP.NET 3.5 and Visual Studio 2008 are used so that you can implement them in a reusable framework. Packed with code samples, this hands-on guide will provide you with a foundation that you can extend to meet the specific business needs of your organization.
What you will learn from this book
New features in the .NET Framework 3.5 such as lambda expressions, extension methods, partial methods, LINQ, and ASP.NET Ajax controls
Design patterns for using LINQ to SQL in the data access layer
Best practices for using patterns for data entry, auditing, workflow, and event notification
How to develop and customize server side controls
How to create a dashboard using the ASP.NET web part controls
Implement the Microsoft Exception Handling App Block
Who this book is for
This book is for developers and system architects who are responsible for designing or developing enterprise-wide applications, departmental applications, portals, or any form of business application. Experience with Visual Studio, the .NET Framework, ASP.NET, and C# is helpful but not required.
About the Author
Vince Varallo has been developing applications for over twelve years using Microsoft technologies and is currently the Director of Application Development for MTI Information Technologies. He develops marketing applications for the pharmaceutical industry using ASP.NET and SQL Server. Prior to working at MTI, he worked in the clinical and the financial industries on a wide array of projects such as clinical data management systems, internal portals, and treasury workstation software. Vince enjoys exploring new technologies but always finds time for golf, biking, and watching the Phillies. He previously co-authored Professional Visual Basic 6: The 2003 Programmer’s Resource.
Table of Contents
1. A Framework for Enterprise Applications.
2. The Data Access Layer.
3. The Business Logic Layer.
4. The User Interface Layer.
5. Exception Handling.
6. Role Based Security.
7. The Workflow Engine.
10. The Query Builder Control.
11. The Dashboard.
13. Code Generation.