Once you are logged-in to main website then you can make an AJAX request to you WP server.
In AJAX request, it will be basically calling a function in functions.php and in that function use this method – wp_set_auth_cookie
. ( Read more )
So this method basically takes your username and password. I hope you are having the same username and password as that of your .NET application and WP application.