Export (0) Print
Expand All

Deploy your Marketplace Application

 

DataMarket Logo

One of the easiest ways to make your application Internet accessible is to deploy it to Windows Azure. This topic walks you through the process to deploy your application to Windows Azure.

Deploy Your Marketplace Application

  1. Sign up for one of the available Windows Azure offers found on the Microsoft Online Services Customer Portal.

  2. Navigate your browser to the Windows Azure Developer Portal.

  3. 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 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 SQL Database and run the provisioning script located in Database\Scripts\AzureDeploy.sql.

      ImportantImportant
      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
      
      
  4. In Visual Studio, create Cloud Application project that references your web application as a Web Role.

    Set your Web Application as a Web Role
  5. 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.

  6. Publish your cloud application.

See Also

Community Additions

Show:
© 2014 Microsoft