Before marking as duplicate, note that I'm not asking how to create a Scheduler in Azure or how to work with Azure SQL Server!
I have a task that I need to run every day, and that task communicates with a database that is hosted in Azure. I assume that the task will be hosted on the same machine (or will it? how can I make sure it does?), so the communication with the database will be local and therefore much faster (great). But I'm not entirely sure how to define the connection.
Currently, as my task is not yet hosted in Azure, I'm using a standard connection string to connect to the database hosted on Azure. Need I change the connection string if I host it in Azure (to make sure it'll be considered local), or will it be automagically as fast as a local storage? If I do need to change the connection string, what would be the connection string?
Is it possible to host the code (as an exe, or anything else) locally besides the database for faster access?