Genpact Cora Knowledge Center

Support

Building Cora SeQuence V9.0 Applications

V9.0

Overview

When you install Cora SeQuence V9.0, you can install pre-built applications or build customized applications. 

If your system requires any customization or special code, you need to build your own applications. 

Download files

When you build customized applications, you need to download the following SDK Tools file.

SDK Tools
Installer wizard that installs:
  • PowerShell Modules
  • Cora SeQuence NuGet packages
  • VSIX (Visual Studio extension that installs  Cora SeQuence project templates)

Download

Before you begin

Before you build applications, make sure that:

The target server is setup as required.
For more details, see this article.

The database is set up.
For more details, see this article.

Building applications

Building customized applications involves the following main steps:

1Setting up your computer with the files required to build applications. 
2Building your customized applications.
3Creating the deployment package


1. Set up the computer

  1. Download the SDK Tools to your computer or to a central repository.
  2. Install the NuGets and PowerShell modules on your computer or a central repository: 
    1. Double click the SDK Tools exe file.
    2. Select the I accept the terms in the license agreement, and then click Next.
    3. Select the Cora SeQuence Feeds node.
    4. Click Change, and then select a location for the NuGets and PowerShell modules.
    5. Click OK.
    6. Click Next
    7. Click Install.
  3. Run the SDK Tools installer to install the project templates on your computer:
    1. Double click any of the .vsix extension files.
    2. Select the Visual Studio you want to which you want to install the project templates.
    3. Click Install.
    4. Click Close.
  4. Set up the NuGets feed:
    1. On your computer, open Visual Studio, and go to Tools > Options.
    2. Select NuGet Package Manager>Package Sources.
    3. At the upper-right corner, click +.
    4. Enter a name for the NuGet feed.
    5. Set the Source to the location selected in step 2.c, and then click OK.

Your computer is ready to build new Cora SeQuence applications.

2. Build customized applications

This procedure describes how to create customized applications. You build your customized applications using the project templates provided in the SDK Tools package. The SDK Tools package includes five project templates:

  • Flowtime
  • Administration
  • BRS
  • ADSS
  • JES

Add your custom code, package it as a NuGet, and build it.

Procedure

IMPORTANT
Before you start this procedure, make sure that you already have created the required custom NuGets.

  1. Using Visual studio, create a new project:
    1. Locate the relevant Cora SeQuence’s project template, and create the project.
    2. Right click the solution, and then select Manage NuGet Packages for Solution.
    3. Make sure that the NuGet package sources are mapped to where the Cora SeQuence NuGet packages are located.
    4. Update the NuGets to the latest version.

NOTE
Use the same project to update the custom code. If you start a new project, you need to adjust the NuGet versions.

  1. Add your own NuGets. 
  2. Based on your custom code, set the required configuration, such as connection string and configuration values.
  3. Modify theAssemblyInfo.cs file, as required.
  4. Build the project.

NOTE
During the first build of a project from the templates, you may get the following error:
Error CS0234  The type or namespace name 'Runtime' does not exist in the namespace 'PNMsoft.Sequence'(are you missing an assembly reference?).
You can ignore this error.

You now should have a working Cora SeQuence application ready for debugging on your computer. 

For more information on AssemblyInfo Class, see this page.

3. Create the deployment package

For your customized application to be deployable, you need to create a deployment package for it.

  1. Open Windows PowerShell, and then run the following function:
    New-CoraSeQuenceDeploymentPackage.

Next steps

The next step is to deploy the application.

For more details, see this article.