问题
I would like to get book(s) that will really give me a complete view of modern ASP.NET development using C#, TDD, ASP.NET MVC, DDD and Design Patterns such as the Repository pattern. I'm very competent with C# and ASP.NET MVC, but want to fill in the gaps.
If you've had a good experience with a book or two that covers these topics could you please share them?
回答1:
I'm currently interested in how to architecture good .NET applications and I'm reading or have currently read some of the following books:
- Design Patterns Explained: A New Perspective on Object-Oriented Design
- Patterns of Enterprise Application Architecture
- Microsoft .NET: Architecting Applications for the Enterprise
- Microsoft ASP.NET and AJAX: Architecting Web Applications
Those two Microsoft books really explain how to design .NET applications with high testability using Inversion Of Control and such.
And to be clear, yes they all use design patterns common in TDD, DDD, Dependency Injection, ans so on...
回答2:
"Domain Driven Design: Tackling Complexity in the Heart of Software" by Eric Evans.
回答3:
Try Applying Domain Driven Design and Patterns By Jimmy Nillson. It covers DDD and it's patterns in .NET
回答4:
Pro ASP.NET MVC Framework by Steve Sanderson includes the obvious ASP.NET MVC topic with C# as well as TDD, the Repository pattern, and domain modeling. Good overview of all of these topics in one book.
For deeper coverage of DDD, i agree with Arnis L to get the bible ("Domain Driven Design: Tackling Complexity in the Heart of Software" ) by Eric Evans, and for a .NET specific view, I agree with Per Noalt on Applying Domain-Driven Design and Patterns: With Examples in C# and .NET.
Pro ASP.NET MVC Framework http://www.apress.com/resource/bookcover/9781430210078?size=medium
回答5:
Guess the scope of topics you have asked is vast to be covered in a single book
Try this One Agile Principles, Patterns, and Practices in C# By Martin and Martin
Book talks mostly about Design Principles, Design Patters, UML Diagrams, Documentation, Refactoring. It doesn't cover ASP.NET and MVC though. YOu need to refer some other books for those.
回答6:
Here are a few that I would recommend:
- Test Driven Development in Microsoft.NET by James W. Newkirk and Alexei A. Vorontsov
- Design Patterns in C# by Steven J Metsker
- Professional ASP.NET MVC 1.0 by Rob Conery, Scott Hanselman, Phil Haack, Scott Guthrie
回答7:
For TDD try xUnit Test Patterns.
The best book I have read recently for filling in the gaps is C# in depth by Jon Skeet. It wasn't until reading this book that I realised how many gaps I had in my knowledge of C#.
回答8:
IMHO, Dependency Injection and TDD are working so nice together that I must add another book to the list:
- Dependency Injection in .NET by Mark Seemann (coming soon from Manning)
回答9:
For your needs I would recommend starting with:
- Applying Domain-Driven Design and Patterns: With Examples in C# and .NET
Like the title says; it's basically a book on how to to DDD and TDD in a .NET environment.
来源:https://stackoverflow.com/questions/1563243/books-that-will-cover-tdd-ddd-and-design-patterns-in-net