Azure database connection

Is anybody try to connect from local computer with app.exe to Azure sql database ?
Scenario:
-app.exe is on local computer
-database is on azure

Tnx