Professional Refactoring in C# & ASP.NET
-
Author:
-
Subject:
-
Published by:John Wiley & Sons Inc (US)
-
Published:03/04/2009
-
Price:$89.99
- < Buy this book >
C# and ASP.NET developers become more productive and efficient by utilizing the power of refactoring to improve the design of existing code
- This unique book is the only one on the market covering this high-demand topic–using refactoring tools and techniques to fix bad code; this hands-on book teaches advanced level C# and ASP.NET programmers exactly how to apply valuable refactoring techniques
- Walks readers through building prototype applications from scratch, then refactors them step-by-step into an enterprise-level application while clearly explaining different code and refactoring transformations; most of the resulting transformations readers will see are based on real-world scenarios that come up frequently in businesses
- Covers classic refactoring and code smells, refactoring process and unit testing, object-oriented theory and design patterns, refactoring to patterns, and HTML and ASP.NET specific refactoring
Danijel Arsenovski (Santiago, Chile), Microsoft MVP, is a senior developer and consultant and the author of Professional Refactoring in Visual Basic. He holds Microsoft's Solution Developer certification, is C# certified, and is often a featured speaker at Microsoft's technical conferences.
Biography
Table of Contents
Chapter 1: Refactoring: What’s All the Fuss About?
A Quick Refactoring Overview.
The Refactoring Process: A Closer Look.
No Programmer Is an Island.
C# and Refactoring.
Summary.
Chapter 2: A First Taste of Refactoring.
Sample Application: Calories Calculator.
Refactoring in Action.
Implementing the Persistence Functionality.
Calories Calculator, Refactored Version.
Summary.
Chapter 3: Assembling a Refactoring Toolkit.
Using an Automated Refactoring Tool.
Unit-Testing Basics: The Testing Harness.
About Version Control.
Summary.
Chapter 4: Application Prototype: Rent-a-Wheels.
Interviewing the Client.
Taking the Initial Steps in the Rent-a-Wheels Project.
Making the Prototype Work.
Fast and Furious Approach to Programming.
Summary.
Chapter 5: Basic Hygiene.
Eliminating Dead Code.
Reducing the Scope and Access Level of Unduly Exposed Elements.
Using Explicit Imports.
Removing Unused Assembly References.
Basic Hygiene in the Rent-a-Wheels Application.
Summary.
Chapter 6: From Problem Domain to Code: Closing the Gap.
Understanding the Problem Domain.
Published and Public Interfaces.
Summary.
Chapter 7: The Method Extraction Remedy for Duplicated Code.
Encapsulating Code and Hiding the Details.
DecomposingMethods.
InliningMethods.
The Duplicated Code Smell.
Extract Method and Replace Magic Literal Refactoring in the Rent-a-Wheels Application.
Summary.
Chapter 8: Method Consolidation and Extraction Techniques.
Dealing with Temporary Variables.
Dealing with Long and Nested Conditionals.
Method Reorganization and Rent-a-Wheels.
Summary.
Chapter 9: Discovering Objects.
A Brief Object-Oriented Programming Overview.
Designing Classes.
Discovering Hidden Classes.
Summary.
Chapter 10: Advanced Object-Oriented Concepts and Related Refactorings.
Inheritance, Polymorphism, and Genericity.
Inheritance Abuse and Refactoring Solutions.
Making Use of Generics.
Summary.
Chapter 11: Code Organization on a Large Scale.
Namespaces.
Assemblies
C# Project File Structure Organization.
Namespace Organization and Windows Forms Inheritance in Rent-a-Wheels.
Summary.
Chapter 12: Refactoring to Patterns.
Design Patterns: What’s All the Fuss About?
Example Design Pattern: Abstract Factory.
Dependency Injection Pattern.
Refactoring to Patterns and the Rent-a-Wheels Application.
Summary.
Chapter 13: LINQ and Other C# 3.0 Enhancements.
Type Inference for Local Variables.
Summary.
Chapter 14: A Short History of the Web for Developers and ASP.NET Tooling.
Refactor! for ASP.NET.
HTML History and Its Legacy.
Catching Up with theWeb.
Summary.
Chapter 15: Refactoring ASP.NET Applications.
Refactoring HTML.
Refactoring ASP.NET Code.
Rent-a-Wheels and ASP.NET Refactorings.
Summary.
Appendix A: Rent-a-Wheels Prototype Internals and Intricacies.
Hand Over Button Click Event-Handling Code.
Display Button Click Event-Handling Routine.
Summary.
Appendix B: Unleash Refactor! for ASP.NET.
Index.
How Web Security Improves Productivity and Compliance
In this white paper, we will look at how secure web gateways, one type of information security technology, can provide benefits to many departments within any business or government agency. Download now.
SoftPerfect Network Protocol Analyzer
Publisher's notes: SoftPerfect Network Protocol Analyzer is an advanced, professional tool for analyzing, debugging, maintaining and monitoring local networks and Internet connections. It captures the ...
Deploying Flash in the Enterprise
Flash is quickly emerging as the preferred way to overcome the nagging performance limitations of hard disk drives. However, because flash comes at a significant price premium, outright replacement of HDDs with flash only makes sense in situations in which capacity requirements are relatively small and performance requirements are high. Learn how deployment approaches-including hybrid storage arrays, server flash, and all-flash arrays-that combine the performance of flash with the capacity of HDDs can be cost effective for a broad range of performance requirements.
- FTTechnical Consulting ManagerNSW
- FTTechnical Account Manager - MSP + CloudVIC
- FTTest Manager - IMMEDIATE STARTNSW
- FTTest Analyst (MS Environment) .netNSW
- FTSenior Field Engineer - MSNSW
- FTTest Analyst (MS Environment) .netNSW
- FTTest EngineerVIC
- FTSenior Projects EngineerNSW
- FT.NET - Sitecore Developer - Melbourne - PermNSW
- FTOS Web Applications DeveloperNSW
- FTSenior Python Web Applications DeveloperNSW
- FT2nd Level Support EngineerNSW
- FTSenior Python DeveloperNSW
- FTSenior Python DeveloperNSW
- FT1st Line Support EngineerNSW
- FTSenior E-Commerce PHP Developer- North Sydney- E-commerce Software $110kNSW
- FTSnr Web Developer PHP/Magento/API integration into E-commerce sites. $100k+SuperNSW
- FTLead Software EngineerSA
- FTR&D EngineerSA
- FTQuality ManagerSA
- FTWeb Developer- Drupal and PHP. Exciting new position- #2 in Dev team.$100k+SuperNSW
- Brocade’s Meyer appointed to OpenDaylight Project Committee
- Barracuda Networks raises free capacity of Copy.com to 15GB
- EXCLUSIVE: Cyan lays out Australian expansion plan
- EXCLUSIVE: Channel training integral to Intel smartphone/tablet growth
- Reseller network important in auxiliary sales of bookings: Expedia










