Refactoring logic from an ASP.NET page

Kevin has posted about refactoring some simple logic from an ASP.NET page and breaking it out into a separate class (Single Responsibility Principle) to make the code more maintainable.

Kevin highlights the classic problem with unmaintainable code and works his way into how to not only improve this code but also how to make it more testable.

Don't forget to subscribe to the Thycotic Team Blog about Software Development (regular postings every Thursday).

 

Jonathan Cogley is the CEO of Thycotic Software, an agile software consulting and product development company based in Washington DC.  Don't forget - we will be holding our two-day Test Driven Development course next month - reserve your spot now.

No Comments