Visual Studio 2010 Best Practices

Learn and implement recommended practices for the complete software development lifecycle with Visual Studio 2010 with this book and ebook.

Visual Studio 2010 Best Practices

Starting
Peter Ritchie

Learn and implement recommended practices for the complete software development lifecycle with Visual Studio 2010 with this book and ebook.
$23.99
$39.99
RRP $23.99
RRP $39.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
+ Collection
Free Sample

Book Details

ISBN 139781849687164
Paperback280 pages

About This Book

  • This book and e-book detail a large breadth of recommended practices in Visual Studio
  • Consolidated reference of varied practices including background and detailed implementations, great for inexperienced and experience developers alike.
  • A guidelines-based set of practices for all aspects of software development from architecture to specific technologies to deployment.

Who This Book Is For

.Net developers using Visual Studio for programming will find this book useful. If you are developing your application with C#, you will find better ways to do things with Visual Studio.

You should know basics of development with .Net Framework and need working knowledge on VIsual Studio

Table of Contents

Chapter 1: 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
Chapter 2: 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
Chapter 3: Low-level C# Practices
Working with generics
Writing sequence and iterator members
Working with lambdas
Working with extension methods
Exception handling
Summary
Chapter 4: Architectural Practices
Terms
Decoupling
Data-based applications
Distributed architecture
Summary
Chapter 5: 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
Chapter 6: 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
Chapter 7: Optimizing Visual Studio
Visual Studio efficiency through configuration
Visual Studio efficiency through usage
Summary
Chapter 8: Parallelization Practices
Principles
Threads
Thread synchronization
Asynchronous operations
Division of labor
Task Parallel Library
Visual Studio 2012 asynchronous programming
Reactive Extensions
Summary
Chapter 9: Distributed Applications
Seeking scalability
Design options
Cloud
TCP/UDP
Debugging
Logging
Health monitoring
Summary
Chapter 10: Web Service Recommended Practices
Implementing WCF services
ASP.NET Web Services
Summary

What You Will Learn

  • Learning source code control
  • Practices for advanced C# syntax
  • Asynchronous programming in C#
  • Learn tips for architecting decoupled systems
  • Practices for designing multi-threaded and parallel systems
  • Practices for designing distributed systems
  • Learn better ways of developing web services with WCF
  • Learn faster ways to design automated tests
  • Tips and tricks to test complex systems
  • Understanding proven ways of deploying software systems in Windows

In Detail

When you are developing on the Microsoft platform, Visual Studio 2010 offers you a range of powerful tools and makes the whole process easier and faster. After learning it, if you are think that you can sit back and relax, you cannot be further away from truth. To beat the crowd, you need to be better than others, learn tips and tricks that other don’t know yet. This book is a compilation of the best practices of programming with Visual Studio.

Visual Studio 2010 best practices will take you through the practices that you need to master programming with .NET Framework. The book goes on to detail several practices involving many aspects of software development with Visual Studio. These practices include debugging and exception handling and design. It details building and maintaining a recommended practices library and the criteria by which to document recommended practices.

The book begins with practices on source code control (SCC). It includes different types of SCC and discusses how to choose them based on different scenarios. Advanced syntax in C# is then covered with practices covering generics, iterator methods, lambdas, and closures.

The next set of practices focus on deployment as well as creating MSI deployments with Windows Installer XML (WiX)—including Windows applications and services. The book then takes you through practices for developing with WCF and Web Service.

The software development lifecycle is completed with practices on testing like project structure, naming, and the different types of automated tests. Topics like test coverage, continuous testing and deployment, and mocking are included. Although this book uses Visual Studio as example, you can use these practices with any IDE.

Authors

Table of Contents

Chapter 1: 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
Chapter 2: 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
Chapter 3: Low-level C# Practices
Working with generics
Writing sequence and iterator members
Working with lambdas
Working with extension methods
Exception handling
Summary
Chapter 4: Architectural Practices
Terms
Decoupling
Data-based applications
Distributed architecture
Summary
Chapter 5: 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
Chapter 6: 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
Chapter 7: Optimizing Visual Studio
Visual Studio efficiency through configuration
Visual Studio efficiency through usage
Summary
Chapter 8: Parallelization Practices
Principles
Threads
Thread synchronization
Asynchronous operations
Division of labor
Task Parallel Library
Visual Studio 2012 asynchronous programming
Reactive Extensions
Summary
Chapter 9: Distributed Applications
Seeking scalability
Design options
Cloud
TCP/UDP
Debugging
Logging
Health monitoring
Summary
Chapter 10: Web Service Recommended Practices
Implementing WCF services
ASP.NET Web Services
Summary

Book Details

ISBN 139781849687164
Paperback280 pages
Read More