Deploy your Marketplace Application
One of the easiest ways to make your application Internet accessible is to deploy it to Azure. This topic walks you through the process to deploy your application to Microsoft Azure. |
Deploy Your Marketplace Application
Navigate your browser to the Azure Developer Portal.
If any SQL resources are needed for your application, such as using the SQL Membership Provider, provision a SQL Database.
Make sure that you configure firewall rules for your Azure SQL Database Instance.
Make sure that you create a login that has nonadministrative access to your database.
If you are using one of these samples, connect to your Azure SQL Database and run the provisioning script located in
Database\Scripts\AzureDeploy.sql
.Important
Before you run the script, make sure that all variables are correctly set to reflect the database name and login you created.
GO :setvar dbuser "MyAppUser" :setvar DatabaseName "MyDatabase" CREATE user [$(dbuser)] FOR LOGIN [$(dbuser)] WITH DEFAULT_SCHEMA = dbo; GO
In Visual Studio, create Cloud Application project that references your web application as a Web Role.
Make sure that your connection strings are set to point to the SQL Database you provisioned in step 3, including username and password of the user that accesses the database.
Publish your cloud application.
See Also
Tasks
Create a Flexible Query Application
Create a Fixed Query Application