11. Basic Refactoring to Services

In this phase of the project, we begin to change existing code to use the infrastructure we have installed. To this point, we have made few changes in the logic of our legacy system. We’ve introduced the new architectural elements, but we haven’t started using them anywhere except the startup process and the Shell. This chapter discusses the first changes necessary to start integrating the new architecture into the existing legacy system.

The refactorings suggested in this chapter should be taken in order because they are listed from the least impactful to the most. It is important to start with the service that has the smallest and most predictable impact because there are structural changes that must be made ...

Get Reengineering .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.