PacktLib: Visual Studio 2010 Best Practices

Visual Studio 2010 Best Practices

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Working with Best Practices

Recommended practices

Intransitive "best" practices

Benefits of using practices

Not invented here syndrome

Beyond practices

Axiomatic practices

Patterns

Why practices?

The power of mantras

Summary

Source Code Control Practices

Terminology

Principles

Recommended SCC software evaluation criteria

Organizing for source code control

Branching strategies

Commit (check-in) practices

Occasionally connected source control

Distributed source control

Summary

Low-level C# Practices

Working with generics

Writing sequence and iterator members

Working with lambdas

Working with extension methods

Exception handling

Summary

Architectural Practices

Terms

Decoupling

Data-based applications

Distributed architecture

Summary

Recommended Practices for Deployment

Working with installers

Working with Windows Installer

Visual Studio Setup and Deployment projects

ClickOnce

Windows Installer XML (WiX)

Silent installations

Testing

Summary

Automated Testing Practices

First principles

Test naming

Separate test projects or not?

Test styles

Object-orientation and tests

Fluent interfaces revisited

Mocking

Methodologies

Test coverage

Continuous testing

Round-tripping requirements and acceptance

Summary

Optimizing Visual Studio

Visual Studio efficiency through configuration

Visual Studio efficiency through usage

Summary

Parallelization Practices

Principles

Threads

Thread synchronization

Asynchronous operations

Division of labor

Task Parallel Library

Visual Studio 2012 asynchronous programming

Reactive Extensions

Summary

Distributed Applications

Seeking scalability

Design options

Cloud

TCP/UDP

Debugging

Logging

Health monitoring

Summary

Web Service Recommen´╗┐ded Practices

Implementing WCF services

ASP.NET Web Services

Summary