updated connecting with .NET