legacy .NET modernization strategy