Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » UltraLite - .NET Programming » UltraLite.NET application development » How to build and deploy UltraLite.NET applications

 

Deploying an UltraLite.NET application for Windows Mobile

Specify appropriate creation parameters, connection parameters, synchronization parameters, protocol options, references, and deployment files to ensure that your UltraLite.NET application runs successfully on Windows and Windows Mobile devices.

Prérequis

There are no prerequisites for this task.

 Task
  1. Specify the following parameters:

    • When using obfuscation, set the creation parameter obfuscate=1 while creating the database.

    • When using AES, or FIPS 140-2 AES encryption, set the connection parameter DBKEY=encryption-key while creating or connecting to the database.

  2. Set the appropriate parameter settings when using synchronization in your UltraLite application:

    Synchronization type Parameter settings
    TCP/IP

    Set the Stream synchronization parameter to tcpip.

    HTTP

    Set the Stream synchronization parameter to http.

    RSA TLS

    Set the Stream synchronization parameter to tls.

    RSA HTTPS

    Set the Stream synchronization parameter to https.

    RSA FIPS 140-2 TLS

    Set the Stream synchronization parameter to tls.

    Set the protocol option fips=yes.

    RSA FIPS 140-2 HTTPS

    Set the Stream synchronization parameter to https.

    Set the protocol option fips=yes.

  3. When using RSA or RSA FIPS 140-2 end-to-end encryption, set the protocol option e2ee_public_key=key-file.

  4. When using ZLIB compression, set the protocol option compression=zlib.

  5. Add references to:

    • iAnywhere.Data.UltraLite

    • iAnywhere.Data.UltraLite.resources

  6. Deploy the following files:

    • %SQLANY16%\UltraLite\UltraLite.NET\Assembly\V2\iAnywhere.Data.UltraLite.dll.

    • %SQLANY16%\UltraLite\UltraLite.NET\Assembly\V2\en\iAnywhere.Data.UltraLite.resources.dll.

    • ulnet16.dll, located in %SQLANY16%\UltraLite\UltraLite.NET\CE\Arm50 for Windows Mobile. For Windows, it is located in %SQLANY16%\UltraLite\UltraLite.NET\x64 or %SQLANY16%\UltraLite\UltraLite.NET\win32.

  7. Deploy the files appropriate for your application:

    • When using ZLIB compression, mlczlib16.dll.

    • When using RSA TLS, RSA HTTPS, or RSA E2EE, mlcrsa16.dll.

    • When using FIPS 140-2 AES encryption, ulfips16.dll and sbgse2.dll.

    • When using RSA FIPS 140-2 TLS, RSA FIPS 140-2 HTTPS, or RSA FIPS 140-2 E2EE, sbgse2.dll and mlcrsafips16.dll.

    For Windows Mobile, the files are located in %SQLANY16%\UltraLite\CE\Arm.50. For Windows, the files are located in %SQLANY16%\UltraLite\Windows\x64 or %SQLANY16%\UltraLite\Windows\x86.

Résultat

The UltraLite.NET application runs successfully on the Windows desktop or Windows Mobile device that it is deployed to.

Suivant

Deploy an UltraLite database to the Windows desktop or Windows Mobile device that the application was deployed to, or create a new database with the deployed application.

 See also