Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
39 used & new from $23.00

Have one to sell? Sell yours here
 
   
Code Generation in Microsoft .NET
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Code Generation in Microsoft .NET (Paperback)

by Kathleen Dollard (Author)
Key Phrases: outputting code, web services, assembly name, Visual Studio, Hello World, Column Name (more...)
4.0 out of 5 stars See all reviews (10 customer reviews)

List Price: $59.99
Price: $48.34 & this item ships for FREE with Super Saver Shipping. Details
You Save: $11.65 (19%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Monday, July 20? Choose One-Day Shipping at checkout. Details
22 new from $35.25 17 used from $23.00

Frequently Bought Together

Code Generation in Microsoft .NET + Developing Application Frameworks in .NET + Expert C# 2005 Business Objects, Second Edition
Price For All Three: $129.28

Show availability and shipping details


Customers Who Bought This Item Also Bought

Expert C# 2005 Business Objects, Second Edition

Expert C# 2005 Business Objects, Second Edition

by Rockford Lhotka
3.6 out of 5 stars (28)  $40.49
Pro LINQ: Language Integrated Query in C# 2008 (Windows.Net)

Pro LINQ: Language Integrated Query in C# 2008 (Windows.Net)

by Jr., Joseph C. Rattz
4.7 out of 5 stars (38)  $28.34
Microsoft® .NET: Architecting Applications for the Enterprise (PRO-Developer)

Microsoft® .NET: Architecting Applications for the Enterprise (PRO-Developer)

by Dino Esposito
4.8 out of 5 stars (16)  $26.86
Expert C# 2008 Business Objects

Expert C# 2008 Business Objects

by Rockford Lhotka
3.6 out of 5 stars (7)  $37.79
CLR via C#, Second Edition (Pro Developer)

CLR via C#, Second Edition (Pro Developer)

by Jeffrey Richter
4.8 out of 5 stars (46)  $37.79
Explore similar items


Editorial Reviews

Product Description
As I was running through a transformation that wouldn't do what I wanted, I remembered the rest of (<i>Code Generation in Microsoft .NET</i>) and 20 minutes later all was good in the world.</a></p> </blockquote> <p id="quoteAuthor">&#8212; William Ryan, KnowDotNet.com Team Member </p></div>

<p>Code generation has the potential to revolutionize application development. Rather than handcrafting each piece of code, developers are increasingly turning to code generation based on templates and applications of business logic to automatically perform a variety of tasks. This book teaches the technical details of code generation in .NET through a coherent series of steps that will help you to incorporate code generation into your own development efforts.</p>

<p>Veteran author Kathleen Dollard teaches code generation as a scripted repeatable process using templates you control, so you're not tied to a particular framework or style. Because you can regenerate code at any time, you can incorporate changes, including database changes, throughout the life of your application. The templates are flexible and designed to work smoothly with the handcrafted code you'll use to customize your application. The underlying fundamentals are explained along with three specific techniques: outputting code to a stream, using the Code DOM, and using XSLT-based code generation. <p>In addition to the text, the tools in the book (downloadable in both VB .NET and C#) include a mechanism to extract information from SQL Server; a tool for editing and running code-generation scripts; a simple, flexible ORM tool that relates your database structure to your runtime class model; and a set of templates you can use as the starting point for your adventures in code generation. </p>

<p>Generating repetitive sections of code frees you to focus on the features that make your application unique. Code generation will turbo-charge your development cycles by offering speed, reusability, agility, and consistency. Go forth and generate!</p>

About the Author
Kathleen Dollard has been involved in the computer industry for a long time. She started (she claims) by experimenting with programming in junior high. After graduate work, she worked with the computer group at Texaco Research writing Fortran and helped usher in the age of PCs doing Lotus 1-2-3 macros. After working with 4GLs and Clipper, Dollard became an independent consultant, ultimately moving to Visual Basic when it became clear that Computer Associates would not release the Windows version of Clipper. <p> Dollard is well known for her participation over the last 15 years with online communities, including BBSs, Compuserve, Fawcette, DevX, and Microsoft public newsgroups. She has been recognized in some form for her online work since 1994, and she’s been a Microsoft MVP since 1998. Dollard is also active in the real-world communities of user groups, most recently with the Denver Visual Studio User Group and the Northern Colorado .NET SIG startup. A well-known writer and speaker, she is currently doing pioneering work in code generation using .NET and XSLT.


Product Details

  • Paperback: 760 pages
  • Publisher: Apress (January 19, 2004)
  • Language: English
  • ISBN-10: 1590591372
  • ISBN-13: 978-1590591376
  • Product Dimensions: 9.3 x 7.1 x 1.6 inches
  • Shipping Weight: 2.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.0 out of 5 stars See all reviews (10 customer reviews)
  • Amazon.com Sales Rank: #640,539 in Books (See Bestsellers in Books)

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

10 Reviews
5 star:
 (6)
4 star:
 (1)
3 star:
 (1)
2 star:
 (1)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.0 out of 5 stars (10 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
53 of 57 people found the following review helpful:
5.0 out of 5 stars Bold step forward in the art of code generation, February 16, 2004
By Robert O'Connell (Pretoria, South Africa) - See all my reviews
I thank the author for this fantastic book on code generation.

Contrary to what I have read on the web this is not a hard book. It is the first truly creative book on .NET I have read.

The code, that is downloadable, includes both C# and VB code.

While this is not a book for developers learning .NET it will prove invaluable to developers who have already started getting tired of writing or adapting the same repetitive code project after project.

This book while introducing a truly unique way of using the tools in .NET is also a good read. The author's writing style is engaging and not the usual mindless .NET prose found in many books.

I have used my own `brute force' code generation since 1998 in VB6 to generate classes and forms. When I started porting my code generation to .NET I soon realised that I would have to redesign and rewrite to fully utilise ADO.NET and started looking for a new application.

After trying all the generation tools out there in the hope of finding a replacement for my own application I was disappointed to see that they all had a `philosophy' that one had to embrace to use their tools and that all the tools were inflexible from a developer's viewpoint. Even the templates only give the developer the functions in the `Black Box' without the option of extending the functionality.

This book takes a bold step forward in the art of code generation giving developers the tools to extract information from a database structure and to then generate custom stored procedures and classes from this metadata using XSLT. The book's main focus is on using XSLT templates but also discusses the use of brute force and CodeDOM for code generation. As the developer controls every aspect of the code generation and the system is extendable it is guaranteed to enhance the creativity and productiveness of developers.

The book includes an excellent appendix on XML, XPath and XSD that will get you up to speed on these technologies quickly.

In this book I have found what I could not in any of the code generation products, total control of the process and extendibility.

An ideal companion book to get is Expert One-on-One Visual basic .NET Business Objects by Rockford Lhotka. As the templates in the book are based on Mr Lhotka's CSLA framework his book will make extending and understanding the templates easier.

Amazon makes it extremely easy for buyers to compare books and to have access to all the information needed to make an informed purchase. I am always amazed by reviews from people who did not understand what the book they bought was about.

This book's title is self explanatory and easy to understand. If you do not want to learn how code generation can make your life as a developer easier and more enjoyable then do not buy this book.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
52 of 56 people found the following review helpful:
5.0 out of 5 stars Fine book on model driven generation for .NET, February 14, 2004
I don't understand the viewpoint of the first reviewer. A book isn't one star simply because the content of the book wasn't what you intended. If you expected a book on reflection I'm not sure why you thought a book on code generation was going to do it for you. Perhaps you are thinking about runtime code generation, but I'm sure that would be in the title.

Back to the book. I think it's great. The only flaw I can find is that it's almost too detailed in spots. She presents an entire framework for building SQL DDL, stored procedures, an ORM layer, and user interface with both WinForms and HTML from XML descriptions. She also provides a larger perspective on code generation in the context of the development cycle as well as avoiding the common pitfalls. The jovial tone also keeps it light.

Anyone skilled enough to understand how code generation can revolutionize their development process should be able to handle the VB, XML, and XSLT used in the book, and either apply the principles in derivative work, or use her code directly.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
42 of 47 people found the following review helpful:
3.0 out of 5 stars Frustrating Book.., August 27, 2004
By Mox Blu "Mox Blu" (St Paul, MN USA) - See all my reviews
This is a very frustrating book for a couple of reasons. First contrary to what the book and some of the previous reviewers have said, there is no C# support for this book.

I quote the back of the book, "In addition to the text, the tools in the book (downloadable in both VB.net and C#)..." This is untrue. While there are some code examples in C# in the download, almost everything is in VB.net. This includes the code generation harness, which to me is the whole reason to buy the book. If you don't believe me download the code before you buy the book. There is a note in the read me that says as much.

While this might be of small significance to all you VB types, I came to MS from the Java/C world and don't know VB.

The second frustrating thing about the book is that it is about how to deploy a code generator not how to write one. There is a lot of discussion about metadata extraction, how to write good handcrafted code, etc. But the only discussion about how the code generation works is way out in Appendix C: Details of the Code Generation Harness.

Now if this is supposed to be a beginning book on code generation, shouldn't it talk about the code generator and how it works in the actual book??

I wish that someone would have told me these things before I bought it. I think down the road this may be a useful book once can get my hands around the generator. It has chapters on things metadata extraction and interface generation that look very interesting. For that reason I am giving it a 3.
Comment Comments (5) | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Most Recent Customer Reviews

2.0 out of 5 stars Mediocre
Overall I'm disappointed with the book, there is nothing new here. The downloadable code is also poorly coded. Read more
Published 13 months ago by Phil

5.0 out of 5 stars Worth it's weight in gold
I agree with the author that "code generation" will grow as a dominant force in the IT industry over the next 5 years. Read more
Published on November 28, 2004 by Robert P. Hoeting

4.0 out of 5 stars Specialized book that is not for everyone, but very good
I always respect authors and publishers who have the courage to publish highly specialized books such as this one. Read more
Published on September 14, 2004 by Damon Carr

5.0 out of 5 stars interesting
Much of this book is obvious - use of XSLT to to generate code files, how to consume sql metadata. But the author does a GREAT job of presenting the information in useful... Read more
Published on July 8, 2004

5.0 out of 5 stars A must-read for code generation folks
This is a great book. Surely not the kind of book that you can read to relax: there are always several threads to follow, and if you skip a page, then you sort of feel that you're... Read more
Published on June 25, 2004 by Francesco Aliverti-Piuri

1.0 out of 5 stars Basilio
Not so good. This book definitely deservs 3 stars as max. But those promoters gave 5, then I give 1. Just to be honest.
Published on March 26, 2004 by Blade

5.0 out of 5 stars Excellent book! Excellent examples and sample code.
Even the most complex topics are understandable. The book is targeted at programmers who have some experience in developing applications using .NET. Read more
Published on March 13, 2004 by bb42

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)

Code Generation in Microsoft .NET

== a test == ''' foobar '''

(Report this)
Created on Mar 04, 2006, last edited on Mar 04, 2006.

 Explore and Edit at Amapedia.com opens new browser window




Look for Similar Items by Category


Items Eligible for Free Super Saver Shipping

Beauty benefit tint
Check out all items in beauty that are elligible for free super saver shipping and prime.

See more Prime-eligible beauty items

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Dive into Summer Reading

Summer Reading for Kids and Teens
Don't even think about hitting the beach without browsing the books in our Summer Reading Store. Discover bestsellers, paperback picks, beach reads, and more terrific titles all summer long.
 

Add Flair to Your Hardware

Shop for cabinet knobs
Whether you're remodeling or just need to refresh a living space, cabinet knobs offer a great way to easily pull a room together.

Shop for cabinet knobs

 
Ad

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
$0.00
Paranoia
Paranoia by Joseph Finder
$0.00
My Soul to Lose
My Soul to Lose by Rachel Vincent
Darkfever
Darkfever by Karen Marie Moning

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates