Monday, December 31, 2007 2:45 PM rrobbins

Book Review: Professional ASP.NET 2.0 Design

I have finally finished reading Jacob J. Sanford's book Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages. This is one of several books I've bought on ASP.NET 2.0 to deepen my expertise. Now we've moved on to ASP.NET 3.5 before I've mastered ASP.NET 2.0. I expected this book to be full of design ideas for web controls, themes, and skins but instead it leaves much of the creativity up to you and only covers the aspects of ASP.NET 2.0 that apply to design. However I did learn a lot by reading this book.

The first few chapters cover the CSS vs tables for layout debate, basic Photoshop techniques, and accessibility concerns which is familiar material for me. I still picked up a few tidbits of info like the Check Accessibility tool in Visual Studio 2005. There was also an extensive overview of the CSS for expandable columns which is a layout problem that I had not come across before.

The book has a chapter on the CSS Friendly Control Adapters. I found this useful because I wanted to use a control adapter in my current project and needed some guidance on how to import them. I actually only needed to use one of the control adapters and I don't remember if the book tells you how to import just one. Anyway, you should delete tags from the CSSFriendlyAdapters.browser file if there are just some particular web control styles you need more control over. In my case it was the label tag in the Login control that I could not reference through an id or a class name to apply the text color.

The chapter on navigation was helpful because there is one aspect of the navigation controls that other books I've read did not cover, the security trimming. I am currently converting an ASP web application to ASP.NET 2.0 and I do need to show different navigation links to administrators and users based on roles. Chapter 6 tells you how to apply security to your navigation controls based on the Membership API.

Even the chapter on themes for mobile browsers was interesting because I've recently bought a Pocket PC as a mobile video device and didn't even think about using it to check out my site layouts on that platform. I kept notes while reading the book and some other noteworthy material included conditional comments in Internet Explorer (I finally did some research on that), and setting the ASPX page content type to "text/css" (an interesting hack to dynamically generate CSS).

However, there are many purely aesthetic aspects of design that this book did not get into. For example, rounded corners is a popular design element. There are many ways to create rounded corners but I've never tried to apply them to web controls like a DataGrid or the GridView. I did find a good way to apply rounded corners to a DIV element using nothing but CSS and PNG files. Adding drop shadows to borders is another popular style. I've found some JavaScript that can dynamically add a drop shadow to the page border without requiring you to create any images. I have not tried that with any web control borders.

Then there are stripped backgrounds which are used to crosshatch the background. I think these backgrounds are popular because they give the background a different texture than the page content. I used to steal background images but then I found a web site that can generate different patterns for you. However, you should examine the pixel patterns for popular stripe patterns and learn how to change their colors by adjusting the hue. You may find you'll have to extend the images to avoid tiling.

There are various gradient effects that I've noticed but I have not researched gradients yet. The Yahoo! home page is a fine example of a very tasteful use of gradients. But you can really do some ugly things with gradients if you don't know all the tricks.

Filed under: , , ,

Comments

# Internet Explorer 7 » Book Review: Professional ASP.NET 2.0 Design

Pingback from  Internet Explorer 7 » Book Review: Professional ASP.NET 2.0 Design

# Internet Explorer 8 » Book Review: Professional ASP.NET 2.0 Design

Pingback from  Internet Explorer 8 » Book Review: Professional ASP.NET 2.0 Design

# Internet Explorer Problem » Blog Archive » Book Review: Professional ASP.NET 2.0 Design

Pingback from  Internet Explorer Problem  » Blog Archive   » Book Review: Professional ASP.NET 2.0 Design

# Book Review: Professional ASP.NET 2.0 Design · Pocket PC News and Reviews

Pingback from  Book Review: Professional ASP.NET 2.0 Design · Pocket PC News and Reviews

# Internet Explorer » Book Review: Professional ASP.NET 2.0 Design

Pingback from  Internet Explorer » Book Review: Professional ASP.NET 2.0 Design

# re: Book Review: Professional ASP.NET 2.0 Design

Wednesday, January 02, 2008 1:42 AM by Sandeep Karnavar

Its really a Good book;

# Book Review: Professional ASP.NET 2.0 Design | Text Link Ads

Pingback from  Book Review: Professional ASP.NET 2.0 Design | Text Link Ads

# re: Book Review: Professional ASP.NET 2.0 Design

Sunday, November 28, 2010 6:14 PM by Los Angeles 华人

"Have you ever considered adding much more videos with your blog posts to retain the readers far more entertained? I mean I just go through by means of the complete article of yours  and it was rather very good but due to the fact I'm far more of a visual learner,I observed that to become a lot more useful. Just my my thought, Beneficial luck   "

--------------------------------------------

<a href="xiangyan.info/8mg-p-123.html">The Bay Area &#21326;&#20154;</a>

Also welcome you!

# re: Book Review: Professional ASP.NET 2.0 Design

Saturday, December 04, 2010 5:05 PM by zero skateboarding

Hello. Fantastic work. I didn't expect this on the Wednesday. This is a great story. With thanks!

--------------------------------------------

my website is <a href="zeroskateboards.org/.../a> .Also welcome you!

# re: Book Review: Professional ASP.NET 2.0 Design

Monday, December 06, 2010 7:54 PM by Weber Grill Parts

haha … the 1 who's putting up the comments

--------------------------------------------

my website is  

http://hohnerharmonica.org

Also welcome you!

# re: Book Review: Professional ASP.NET 2.0 Design

Monday, December 20, 2010 6:30 AM by belkin ipad accessories

When all else is lost the future still remains.

-----------------------------------

# re: Book Review: Professional ASP.NET 2.0 Design

Sunday, January 02, 2011 5:18 PM by ipad reviews

-----------------------------------------------------------

Really like your websites information!  Certainly a excellent cope of data that is extremely handy.  Proceed to preserve publishing and i'm likely to carry on  studying by way of!  Cheers.

# re: Book Review: Professional ASP.NET 2.0 Design

Friday, January 07, 2011 6:06 PM by ipad app reviews

-----------------------------------------------------------

ohh…good post but really?/? :P

# re: Book Review: Professional ASP.NET 2.0 Design

Sunday, January 16, 2011 3:25 PM by telescope reviews

"You possess a actually interesting blog. Too numerous blogs that I see now do not truly supply something that I am serious about, but I am definately thinking about this 1. Just imagined that I'd pass that message on. "

--------------------------------------------------------------------  

I have a <a href="onlytopreviews.com/">computer reviews desktop</a> Website,i love him.Mania !You are welcome to look!

# re: Book Review: Professional ASP.NET 2.0 Design

Friday, July 01, 2011 8:27 PM by Hershel Rabassa

I absolutely like a number of articles here, thanks ~

# re: Book Review: Professional ASP.NET 2.0 Design

Tuesday, July 05, 2011 2:03 PM by Leola Mcauly

Hi, I can't determine how you can add your website in my RSS feed reader. Can you tell me what I'm performing wrong, please.

# re: Book Review: Professional ASP.NET 2.0 Design

Tuesday, September 13, 2011 10:33 PM by hooher tod

Yes there should realize the reader to RSS my feed to RSS commentary, quite simply

Leave a Comment

(required) 
(required) 
(optional)
(required)