Deploying 64-bit Applications


 

After you complete your application, you may want to distribute it to others and deploy it on other machines.

 

AspMap Assemblies

64-bit AspMap applications must be redistributed with the following assemblies:

 

    AspMapNET.dll
    AspMapUtil.dll
   

msvcr100.dll     ' .NET 4.x only

 

To make AspMap available to a Web application, include at the Web application's top level a Bin directory containing AspMapNET.dll and AspMapUtil.dll. 


AspMapNET.dll and AspMapUtil.dll can be found in the BIN64 directory of your AspMap installation:

 



[.NET 4.0 / 4.5 ] 

 <install_path>/NET40/BIN64/AspMapNET.dll

                                      AspMapUtil.dll

                                      msvcr100.dll

 

[.NET 2.0 / 3.0 / 3.5]

 <install_path>/NET20/BIN64/AspMapNET.dll

                                      AspMapUtil.dll

License Key

Call the SetLicenseKey in your code prior to calling any of AspMap methods. You can call this method in the Page_Load event handler or in the Global.asax file of your application.

[Page_Load]
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load

        AspMap.License.SetLicenseKey("license key");

        AddMapLayers()
        ...
End Sub

[global.asax]

Imports AspMap

Protected Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)

        AspMap.License.SetLicenseKey("license key");
        
End Sub

 

© 2018 VDS Technologies
Converted from CHM to HTML with chm2web Standard 2.85 (unicode)