Book description
This book is for anyone who wants to learn about using .NET for web interface design. Beginner or hobbyist .NET developers can certainly get a good foundation of .NET web interface design by going through this book from cover to cover. However, more seasoned .NET professionals, especially if they tend to steer away from the GUI of their projects, can also pick up a thing or two by focusing on certain chapters that appeal to them. This book is meant to take a reader from the beginning of a project to the completion of the interface design. Along the way, concepts are illustrated to show how the different pieces play together. So, anyone who really wants to understand the concepts presented in this book will be able to do so by reading the entire thing. However, this book should also serve as a good reference after you have read it or, in some cases, in place of reading it.
All of the early chapters provide useful information and examples for any web developer. Many of the concepts presented after Chapter 4 are more specifically targeted at .NET developers. In the later chapters, the target audience is .NET developers or, at least, people who want to become .NET developers. In those chapters, you should probably have at least a basic understanding of the .NET Framework and some experience with Visual Studio 2005 (or possibly Visual Studio 2003). If you are completely new to .NET, you may find it useful to pick up a beginning ASP.NET 2.0 book before delving too deeply into those chapters. If you want to learn about .NET 2.0 web interface design, you are the intended audience.
It should be noted that all of the .NET code samples in this book are in C#. However, this shouldn't limit other developers, such as VB.NET developers, from understanding the concepts or being able to replicate the code in their own projects. The actual managed code examples are pretty limited and, when they are used, they should be fairly easy to port over to VB.NET.
This book covers the concepts serious developers need to begin designing cool and consistent web layouts. The early chapters focus on general web design standards that you need to grasp in order to move into the later chapters. Specifically, these concepts are:
Basic web design considerations (colors, fonts, images, accessibility, and so on) (Chapter 2)
Photoshop basics to get you started making your own graphics and color schemes (Chapter 3)
Cascading Style Sheets (CSS) and their use in web design layout (Chapter 4)
When you finish these chapters, you will have the basic shell for the project that you will continue to develop throughout the book. You will have the header graphic, color scheme, and CSS layout that you will begin to incorporate .NET-specific concepts to in the later chapters. This includes:
How to make .NET controls render accessible CSS code rather than their default: tables (Chapter 5)
Using the built-in controls of .NET to create easily maintainable and consistent site navigation (and how to make them render CSS divs instead of tables) (Chapter 6)
Creating your web site template with Master Pages (Chapter 7)
Creating themes and skins to style your .NET controls (Chapter 8)
Applying themes to your projects through various approaches, including base classing (Chapter 9)
The final "regular" chapter ends with you building an entirely new mobile device theme using all of the concepts learned in the previous chapters. In Chapter 10, you will start with modifying your graphic to better fit the resolution of your mobile devices. You will also learn how to modify your stylesheets and apply them programmatically to be used only for this theme. You will have a new Master Page and an entirely new theme. You will also see one way of switching themes based on your criteria (in this example, your criterion will be whether your client browser is a mobile device).
Beyond these chapters, you will get a "forward look" at some of the new technologies coming down the pipeline that affect these some of the material you learned in the preceding chapters. In Appendix A, you will get a glimpse at the upcoming release for Visual Studio, codenamed "Orcas." This will almost exclusively focus on the new CSS features because they are the most relevant to the other chapters of the book, and there are so many new features regarding CSS management in this release that they warrant their own chapter (nested Master Pages are also included, but CSS takes up most of the appendix).
Finally, with Appendix B, the Visual Studio Codename "Orcas" discussion is extended to include Microsoft Silverlight. You will learn how to create drawing object, incorporate images, animate your objects, and affect the rendered output through your managed code.
If you read this book from cover to cover, you should end up with a really solid understanding of the current technologies for .NET developers to create consistent and accessible web interfaces, as well as a feeling of excitement for the new stuff that should be coming soon to a computer near you.
Table of contents
- Copyright
- About the Author
- Credits
- Acknowledgments
- Introduction
- 1. aesthNETics
- 2. Web Design 101
- 3. Photoshop: Cool Tips and Tricks for Developers
- 4. Cascading Style Sheets (CSS)
-
5. ASP.NET 2.0 CSS Friendly Control Adapters
- 5.1. What Is a CSS Friendly Control Adapter?
- 5.2. Installing the Control Adapters
-
5.3. Integrating the Control Adapters
- 5.3.1. A New Project
- 5.3.2. Adding the Control Adapters to an Existing Project
- 5.3.3. Using the Control Adapters in Your Project
- 5.3.4. Is It Working?
- 5.3.5. Stylin' and Profilin'
- 5.4. For More Information
- 5.5. Summary
- 6. Consistent Navigation
-
7. Master Pages
- 7.1. How Did We Get Here?
- 7.2. What is a Master Page?
- 7.3. Enough Talk; Time to Code
- 7.4. Partial Classes
- 7.5. Passing Data between Master and Child
- 7.6. Setting the Master Page Globally
- 7.7. Programmatically Setting Master Pages
- 7.8. Nested Master Pages
- 7.9. One Last Concept
- 7.10. Bringing It All Together: Updating the surfer5 Project
- 7.11. Summary
-
8. Themes
- 8.1. What Are Themes?
- 8.2. Your First Theme!
- 8.3. CSS in Themes
- 8.4. Skins
- 8.5. Images
- 8.6. Updating the surfer5 Project
- 8.7. Browser Check
- 8.8. Summary
-
9. Applying Themes
- 9.1. Before You Begin: Setting the Theme in the Master Page
- 9.2. The Default Approach: A Refresher
- 9.3. Partial Resolution #1: Setting Themes Programmatically
- 9.4. Partial Resolution #2: Setting It Globally
- 9.5. Partial Resolution #3: The Inherited Base Class
- 9.6. Updating the surfer5 Project
- 9.7. Summary
- 10. Bringing It All Together — A New Theme
-
A. Microsoft Visual Studio Codename "Orcas"
- A.1. Feels Like Home . . . Sort Of
-
A.2. CSS and Orcas
- A.2.1. The CSS Properties Window
- A.2.2. Adding New Style Definitions
- A.2.3. CSS Properties Windows Buttons and Settings
- A.2.4. Conflicts and Resolution
- A.2.5. Manage and Apply Styles
- A.2.6. Themes and the New CSS Tools
- A.2.7. Modifying a CSS Document
- A.2.8. The CSS Outline Window
- A.2.9. A Final Tip
- A.2.10. So What's Coming Next?
- A.2.11. Summary of CSS and Orcas
- A.3. Nested Master Pages
- A.4. Summary
-
B. An Introduction to Microsoft Silverlight
- B.1. Prerequisites
- B.2. About the Project
- B.3. The Tick Tock Clock Project
- B.4. Silverlight Considerations
- B.5. Summary
Product information
- Title: Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages
- Author(s):
- Release date: September 2007
- Publisher(s): Wrox
- ISBN: 9780470124482
You might also like
book
Professional DevExpress™ ASP.NET Controls
Learn to use Devexpress ASP.NET controls, and get $250 worth of controls included with the book …
book
Professional ASP.NET 3.5 AJAX
ASP.NET revolutionized Web application development. The platform handles many of the complexities of creating Web applications. …
book
Cascading Style Sheets: Designing for the Web, Third Edition
In this updated edition to their original best-selling classic, the co-creators of CSS clearly, logically, and …
book
Professional ASP.NET 2.0 Special Edition
ASP.NET allows web sites to display unique pages for each visitor rather than show the same …