pro_.net_best_practices.pdf
(
6202 KB
)
Pobierz
www.it-ebooks.info
www.it-ebooks.info
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
www.it-ebooks.info
Contents at a Glance
About the Author..................................................................................................
xiii
About the Technical Reviewer .............................................................................
xiv
Acknowledgments ................................................................................................
xv
Introduction .........................................................................................................
xvi
Chapter 1: Ruthlessly Helpful .................................................................................
1
Chapter 2: NET Practice Areas..............................................................................
15
Chapter 3: Achieving Desired Results...................................................................
37
Chapter 4: Quantifying Value ................................................................................
55
Chapter 5: Strategy...............................................................................................
71
Chapter 6: NET Rules and Regulations..................................................................
85
Chapter 7: Powerful C# Constructs.....................................................................
107
Chapter 8: Automated Testing ............................................................................
129
Chapter 9: Build Automation...............................................................................
173
Chapter 10: Continuous Integration....................................................................
201
Chapter 11: Code Analysis ..................................................................................
231
Chapter 12: Test Frameworks ............................................................................
265
Chapter 13: Aversions and Biases ......................................................................
313
Index ...................................................................................................................
343
iv
www.it-ebooks.info
Introduction
Pro .NET Best Practices
is a book that was primarily written for professional software developers who
want to bring new and different .NET practices to their teams and organization. The phrase
best practice
is a handy way to describe widely-used practices and generally-accepted standards that many .NET
developers in many organizations have found to be good and effective practices. Because best practices
cannot work in every situation, the book encourages you to sort out what may or may not work well for
your situation.
The adoption of new and different practices is a central theme of this book. Consider the four
levels at which best practices are embraced:
•
Individual
: You or any individual adopts better practices to increase personal and
professional productivity, quality, thoroughness, and overall effectiveness.
•
Group
: The team adopts better practices to be more industrious together, avoid
problems, achieve desired results, improve interpersonal relationships, and work
more effectively with other teams.
•
Organization
: Your company, agency, or firm adopts better practices to bring
more positive outcomes to the organization, attract and retain employees, satisfy
end-user expectations, and make stakeholders happy.
•
Profession
: Better practices are widely adopted and become generally-accepted
standards, patterns, and principles that bring alignment to software development
and benefit to all that follow them.
In an ideal world, best practices are quickly adopted at all four levels. However, this is not
realistic for many of the reasons discussed in this book’s early chapters. Pragmatists know that they
usually cannot control all four levels within their current circumstances and can only influence a few.
And so they work within their span of control and spheres of influence. As you read this book, think
about adopting better practices within those areas you can control and positively shaping those areas
that you do influence.
Pro .NET Best Practices
is a practical reference on the best practices that you can apply to your
.NET projects today. You will learn standards, techniques, and conventions that are realistic and helpful
to achieving results. The book covers a broad range of practices and principles with an emphasis on
tools and technologies for
•
Automated testing
•
Build automation
•
Continuous integration
•
Code analysis
xvi
www.it-ebooks.info
INTRODUCTION
To get warmed up, you can turn to the sample .NET best practices scorecard in Appendix B. If
you take the time to score your current project, what might the score tell you about where things
currently stand? Hopefully, completing the scorecard prompts these kinds of questions:
•
What are the best practices you want to see adopted? Why are they important to
you? Do you foresee any obstacles or barriers?
•
What practice on the scorecard should you, your team, or your organization focus
on first? Do you prioritize practices that offer greater efficiencies or help to
prevent problems?
•
How would you revise the scorecard to make it fully apply to your current
situation? What practices would you add to the list? What practices would you
remove?
•
Once you have the scorecard that is right for you, how often would you reassess it?
Is yearly too infrequent? Is weekly too intrusive and demotivating?
Adopting best practices is an initiative that is guided by having relevant objectives and a way to
track progress. Put together the right scorecard, based on your situation. Track it regularly and use the
overall score as a gauge that indicates and validates your continuous improvement.
If I find 10,000 ways something won’t work, I haven’t failed. I am not
discouraged, because every wrong attempt discarded is another step
forward.
Thomas Edison
The complex problems in life require iterative solutions. Edison knew that patience and
perseverance are an inventor’s competitive advantage. The same is true for best practices. It is better to
take an iterative and incremental approach to adopting new and different practices. Be patient with it,
stick to it, and have fun with it.
Who This Book Is For
This book is for anyone who has a stake in bringing better practices to software development.
Developers
As a developer, you have personal practices that make you an effective software developer. Are there
new and different practices that could make you a more effective developer? This book offers realistic,
practicable, and truly helpful best practices. The early chapters focus on the benefits, relevance, and
purpose behind adopting best practices. The later chapters focus on technologies, tools, and techniques
that bring greater effectiveness. The final chapter examines the influence of biases and aversions and
how you can overcome these obstacles to adopting better practices.
xvii
Plik z chomika:
Phoob
Inne pliki z tego folderu:
.NET-4.0-Generics-Beginners-Guide.pdf
(7007 KB)
Accelerated c# 3.pdf
(6441 KB)
AOP in .NET.pdf
(9007 KB)
Apress - Expert C# 2008 Business Objects (2009).pdf
(24017 KB)
Apress.Visual.C.Sharp.2010.Recipes.A.Problem.Solution.Approach.Mar.2010.pdf
(9537 KB)
Inne foldery tego chomika:
ASP.NET
ASP.NET MVC
BizTalk 2010
Blend
Certification
Zgłoś jeśli
naruszono regulamin