Added .NET controller code