You are previewing Real World .NET 4, C#, and Silverlight®: Indispensible Experiences from 15 MVPs.
O'Reilly logo
Real World .NET 4, C#, and Silverlight®: Indispensible Experiences from 15 MVPs

Book Description

A team of MVP authors guides you through the .NET 4 Framework

Written by a group of experienced MVPs, this unparalleled book delves into the intricate—and often daunting—world of .NET 4. Each author draws from a particular area of expertise to provide invaluable information on using the various .NET 4, C# 4, Silverlight 4, and Visual Studio tools in the real world. The authors break down the vast .NET 4 Framework into easily digestible portions to offer you a strong foundation on what makes .NET such a popular and successful framework for building a wide range of solutions.

  • Breaks down the .NET 4 Framework into easily understandable sections

  • Features more than a dozen MVPs serving as authors, each of whom focuses on a particular area of expertise

  • Covers such topics as Windows Presentation Foundation, Silverlight 4, Windows Communication Foundation, ASP.NET performance, the entity framework, and more

  • Shares C# tips and tricks and .NET architecture best practices from a team of Microsoft MVPs

Real World .NET 4 and C# is the ultimate resource for discovering and understanding the .NET 4 Framework.

Table of Contents

  1. Cover Page
  2. Title Page
  3. Copyright
  4. Dedication
  5. ABOUT THE TECHNICAL EDITOR
  6. CREDITS
  7. Acknowledgments
  8. Contents
  9. Contents
  10. INTRODUCTION
    1. WHO THIS BOOK IS FOR
    2. WHAT THIS BOOK COVERS
    3. WHAT YOU NEED TO USE THIS BOOK
    4. CONVENTIONS
    5. SOURCE CODE
    6. ERRATA
    7. P2P.WROX.COM
  11. 1: ASP.NET and jQuery
    1. UNDERSTANDING WEB FORMS
    2. ASP.NET MVC
    3. JQUERY
    4. SUMMARY
    5. ABOUT THE AUTHOR
  12. 2: ASP.NET Performance
    1. LOOKING AT HOW ASP.NET HANDLES PAGE REQUESTS
    2. STATE MANAGEMENT AND CACHING
    3. CACHING WEB SERVICES
    4. HARDWARE CONSIDERATIONS
    5. USING PERFORMANCE COUNTERS
    6. TIPS AND TRICKS
    7. SUMMARY
    8. ABOUT THE AUTHOR
  13. 3: Ethical Hacking of ASP.NET
    1. ETHICAL HACKING — IS THAT AN OXYMORON?
    2. FILLING YOUR TOOLBOX
    3. UNDERSTANDING SESSION MANAGEMENT
    4. ATTACKING THE ASP.NET AUTHENTICATION
    5. ATTACKING THE ASP.NET SESSION
    6. HACKING THE VIEW STATE
    7. TRICKING EVENT HANDLERS
    8. SUMMARY
    9. ABOUT THE AUTHOR
  14. 4: How to Build a Real World Silverlight 5 Application
    1. SETTING THE SCENE FOR THE APPLICATION
    2. PROTOTYPE FIRST, CODE LATER — USING SKETCHFLOW
    3. DATA-BINDING PRIMER
    4. WCF RIA SERVICES IN ACTION
    5. APPLYING THE MVVM PATTERN
    6. CREATING CUSTOMIZED CONTROLS
    7. SUMMARY
    8. ABOUT THE AUTHOR
  15. 5: Silverlight — The Silver Lining for Line-of-Business Applications
    1. GETTING STARTED
    2. CHOOSING THE RIGHT SILVERLIGHT FRAMEWORK
    3. TAKING SILVERLIGHT OUT-OF-THE-BOX
    4. THE FUTURE OF SILVERLIGHT
    5. SUMMARY
    6. ABOUT THE AUTHOR
  16. 6: Tips and Tricks for Designers and Developers
    1. UNDERSTANDING THE DIFFERENCES BETWEEN SILVERLIGHT AND WPF
    2. TIPS AND TRICKS FOR DESIGNERS
    3. TIPS AND TRICKS FOR DEVELOPERS
    4. SUMMARY
    5. ABOUT THE AUTHOR
  17. 7: MVVM Patterns in Silverlight 4
    1. DEVELOPING YOUR OWN FRAMEWORK
    2. GETTING TO KNOW MVVM
    3. CREATING AN MVVM FRAMEWORK
    4. EXISTING MVVM FRAMEWORKS
    5. ADDITIONAL CONSIDERATIONS
    6. SUMMARY
    7. ABOUT THE AUTHOR
  18. 8: Windows Phone “Mango” for Silverlight Developers
    1. HARDWARE FOUNDATION
    2. SOFTWARE FOUNDATION
    3. APPLICATION MODEL
    4. INTEGRATION SERVICE
    5. SUMMARY
    6. ABOUT THE AUTHOR
  19. 9: Pragmatic Services Communication with WCF
    1. SAMPLE PROJECT
    2. SERVICE ORIENTATION REVISITED
    3. WCF BASICS 101
    4. APPLICATION SCENARIO
    5. MODELING SERVICES
    6. IMPLEMENTING SERVICES
    7. HOSTING SERVICES
    8. CONSUMING SERVICES
    9. COMPLEMENTING SERVICE APPROACH
    10. OPTIMIZATION STRATEGIES
    11. SUMMARY
    12. ABOUT THE AUTHOR
  20. 10: Securing WCF Services Using the Windows Identity Foundation (WIF)
    1. IDENTITY IN .NET APPLICATIONS
    2. WCF AND WIF
    3. POSSIBLE SOLUTIONS FOR SECURING THE MOVIE DATABASE SOAP SERVICE
    4. POSSIBLE SOLUTIONS FOR SECURING THE MOVIE DATABASE REST SERVICE
    5. SUMMARY
    6. ABOUT THE AUTHOR
  21. 11: Applied .NET Task Parallel Library
    1. PROBLEMS AND SOLUTIONS
    2. USING TASKS
    3. UNDERSTANDING TPL-STYLE EXCEPTION HANDLING
    4. UNDERSTANDING CANCELLATIONS
    5. USING CONCURRENT COLLECTIONS — CONCURRENTQUEUE
    6. UNDERSTANDING CONTINUATIONS
    7. USING THE BLOCKINGCOLLECTION CLASS
    8. SUMMARY
    9. ABOUT THE AUTHOR
  22. 12: The WF Programming Language
    1. GETTING STARTED
    2. CONTROLLING THE FLOW OF EXECUTION
    3. BUILDING CUSTOM ACTIVITIES
    4. USING PERSISTENCE
    5. HOSTING WORKFLOWS INSIDE WINDOWS APPFABRIC
    6. FURTHER READING
    7. SUMMARY
    8. ABOUT THE AUTHOR
  23. 13: Practical WPF Data Binding
    1. SAMPLE APPLICATION
    2. DATA BINDING OVERVIEW
    3. USING BINDING COMMANDS
    4. USING SIMPLE DATA BINDING
    5. VALUE CONVERSION
    6. BINDING MULTIPLE PROPERTIES
    7. BINDING TO LISTS
    8. EDITING DATA
    9. SUMMARY
    10. ABOUT THE AUTHOR
  24. 14: Driving Development with User Stories and BDD
    1. CAPTURING REQUIREMENTS AS FEATURES WITH USER STORIES
    2. THE SHORTCOMINGS OF TDD
    3. FOCUSING ON BEHAVIOR WITH BDD
    4. CAPTURING THE TIC-TAC-TOE FEATURES WITH USER STORIES
    5. GETTING STARTED WITH THE PROJECT
    6. MOVING FORWARD
    7. SUMMARY
    8. ABOUT THE AUTHOR
  25. 15: Automated Unit Testing
    1. UNDERSTANDING UNIT TESTS
    2. UNDERSTANDING THE BENEFITS OF A TEST-FIRST APPROACH
    3. GETTING ORIENTED WITH A BASIC EXAMPLE
    4. ASSIGN, ACT, ASSERT
    5. CODE, TESTS, FRAMEWORKS, AND RUNNERS
    6. SOLUTION/PROJECT STRUCTURE
    7. USING NUGET TO BLEND NUNIT AND VS 2010
    8. METHODS WITH FAKES AND MOCKS
    9. CLASS ATTRIBUTES, TEST ATTRIBUTES, AND SPECIAL METHODS
    10. TESTING THE HARD TO TEST — PUSHING THE EDGES
    11. USING SENSING VARIABLES TO REFACTOR NONTESTABLE CODE
    12. USING AUTOMATED UNIT TESTING WITH OTHER PRACTICES
    13. SUMMARY
    14. ABOUT THE AUTHOR
  26. INDEX