PostSharp
6 Case Studies
A PostSharp Case Study
mobileX AG, a company specializing in custom application development, faced a significant challenge in improving the maintainability of their complex, monolithic codebase during a major migration to the .NET 3.5 and WPF frameworks. The project team needed to eliminate extensive code repetition and multi-layered dependencies in their UI logic without forcing a complete architectural overhaul. They chose PostSharp for its aspect-oriented programming solutions that could be seamlessly integrated.
Using PostSharp, the team implemented several custom aspects to automate repetitive tasks like property change notification (INotifyPropertyChanged), dependency handling (AutoWiring), and value caching (Const). This approach drastically reduced code complexity and verbosity. The solution from PostSharp resulted in a savings of over ten thousand lines of code, but more importantly, it delivered vastly improved code maintainability, which saves the company significant time and money in the long term.
Daniel Wolf
Project Manager