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:
|
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:
1 | Setting up your computer with the files required to build applications. |
2 | Building your customized applications. |
3 | Creating the deployment package |
1. Set up the computer
- Download the SDK Tools to your computer or to a central repository.
- Install the NuGets and PowerShell modules on your computer or a central repository:
- Double click the SDK Tools exe file.
- Select the I accept the terms in the license agreement, and then click Next.
- Select the Cora SeQuence Feeds node.
- Click Change, and then select a location for the NuGets and PowerShell modules.
- Click OK.
- Click Next
- Click Install.
- Run the SDK Tools installer to install the project templates on your computer:
- Double click any of the .vsix extension files.
- Select the Visual Studio you want to which you want to install the project templates.
- Click Install.
- Click Close.
- Set up the NuGets feed:
- On your computer, open Visual Studio, and go to Tools > Options.
- Select NuGet Package Manager>Package Sources.
- At the upper-right corner, click +.
- Enter a name for the NuGet feed.
- 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.
- Using Visual studio, create a new project:
- Locate the relevant Cora SeQuence’s project template, and create the project.
- Right click the solution, and then select Manage NuGet Packages for Solution.
- Make sure that the NuGet package sources are mapped to where the Cora SeQuence NuGet packages are located.
- 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.
- Add your own NuGets.
- Based on your custom code, set the required configuration, such as connection string and configuration values.
- Modify the
AssemblyInfo.cs file
, as required. - 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.
- 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.