User Tools

Site Tools


map_suite_mvc_edition_azure_deployment_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
map_suite_mvc_edition_azure_deployment_guide [2015/08/31 07:48]
admin [Download the Sample]
map_suite_mvc_edition_azure_deployment_guide [2017/03/17 05:01] (current)
tgwikiupdate
Line 1: Line 1:
 ====== Map Suite MVC Edition Azure Deployment Guide ====== ====== Map Suite MVC Edition Azure Deployment Guide ======
 +
 +{{section>​upgrade_map_suite_to_10.0}}
  
 The purpose of this guide is to show you how to upload your MVC Edition Sample to Azure Server, and at the same time install the MVC Server Edition to remove the watermark after deployment. It is using 3 key files( one cmd , one exe and one msi). MVC Server Edition serial number needs to be upgraded in the cmd file to pass the online validation. ​ The purpose of this guide is to show you how to upload your MVC Edition Sample to Azure Server, and at the same time install the MVC Server Edition to remove the watermark after deployment. It is using 3 key files( one cmd , one exe and one msi). MVC Server Edition serial number needs to be upgraded in the cmd file to pass the online validation. ​
Line 6: Line 8:
  
 ===== Download the Sample ===== ===== Download the Sample =====
-<faicon fa fa-download>​[[:File:​MVCEditionSample AzureDepolyment CS 130726.zip|Download This Sample]] //( 24.12 MB)//+<faicon fa fa-download> ​{{filehistory:​MVCEditionSample AzureDepolyment CS 130726.zip|Download This Sample}} //( 24.12 MB)//
  
 ===== Setting up the Environment ===== ===== Setting up the Environment =====
 ==== Run VS as administrator and create Windows Azure Cloud Service ==== ==== Run VS as administrator and create Windows Azure Cloud Service ====
-{{Figure|mvc1.png}}+{{mvcedition:mvc1.png}}
  
 ==== Add a MVC 3 web role ==== ==== Add a MVC 3 web role ====
-{{Figure|mvc2.png}}+{{mvcedition:mvc2.png}}
  
 ==== Add a shapefile to the project and write code as following to display it on the map ==== ==== Add a shapefile to the project and write code as following to display it on the map ====
-<source lang="csharp">+<code csharp>
 Map map = new Map("​Map1",​ new System.Web.UI.WebControls.Unit(99,​ System.Web.UI.WebControls.UnitType.Percentage),​ 460); Map map = new Map("​Map1",​ new System.Web.UI.WebControls.Unit(99,​ System.Web.UI.WebControls.UnitType.Percentage),​ 460);
  
Line 36: Line 38:
 return View(map); return View(map);
  
-</source>+</code>
  
-{{Figure|MVCEdition Sample Code.png}}+{{mvcedition:MVCEdition Sample Code.png}}
  
-{{Figure|MVCEdition Sample Project.png}}+{{mvcedition:MVCEdition Sample Project.png}}
  
 ==== Copy the 3 files to the project folder and reference them into your project ==== ==== Copy the 3 files to the project folder and reference them into your project ====
-{{Figure|mvc3.png}}+{{mvcedition:mvc3.png}}
  
 ==== Set the 3 files’ Build Action to "​Content"​ and Copy to Output Directory to "Copy Always"​ ==== ==== Set the 3 files’ Build Action to "​Content"​ and Copy to Output Directory to "Copy Always"​ ====
-{{Figure|mvc4.png}}+{{mvcedition:mvc4.png}}
  
 ==== Change the MapSuiteMVCServerAzureInstaller.cmd by typing in the license key, then rebuild ==== ==== Change the MapSuiteMVCServerAzureInstaller.cmd by typing in the license key, then rebuild ====
-{{Figure|mvc5.png}}+{{mvcedition:mvc5.png}}
  
 ==== Add a new node to the ServiceDefinition.csdef under WebRole node as following ==== ==== Add a new node to the ServiceDefinition.csdef under WebRole node as following ====
   <​Startup><​Task commandLine="​MapSuiteMVCServerAzureInstaller.cmd"​ executionContext="​elevated"​ taskType="​simple"></​Task></​Startup>​   <​Startup><​Task commandLine="​MapSuiteMVCServerAzureInstaller.cmd"​ executionContext="​elevated"​ taskType="​simple"></​Task></​Startup>​
  
-{{Figure|mvc6.png}}+{{mvcedition:mvc6.png}}
  
 ==== Publish it, the MVC server edition should have been installed and no watermark will be shown on the Map Suite Map. ==== ==== Publish it, the MVC server edition should have been installed and no watermark will be shown on the Map Suite Map. ====
-{{Figure|MVCEdition Deploy to AzureCloud.png}} +{{mvcedition:MVCEdition Deploy to AzureCloud.png}}
map_suite_mvc_edition_azure_deployment_guide.1441007315.txt.gz · Last modified: 2015/08/31 07:48 by admin