The following Access Layer assemblies must be referenced to Scaffold the Views and interact with the host application at runtime.
Unisys.ABSuite.AccessLayer.Connector
Unisys.ABSuite.AccessLayer.Connector.Core
If the workstation has AB Suite Developer installed, these assemblies can be referenced directly from the Developer installation directory. Alternatively, you can install the Unisys AB Suite Direct Connect from NuGet package. The NuGet package is installed when you install the AB Suite Developer or the Client Framework Standalone package on your machine.
To reference the Access Layer API assemblies by using the NuGet mechanism, perform the following:
In the Solution Explorer window, right-click References, and then select ManageNuGet Packages….
The Manage NuGet Packages dialog box appears.
Note: NuGet is a package manager that is installed with AB Suite Developer. It is a plug-in provided by Visual Studio that allows you to add, remove, and update tools and libraries in Visual Studio projects by using .NET Framework. It facilitates the integration of any third-party component into the project.
In the left pane, expand Online, and then click AB Suite Packages.
In the middle pane, select Unisys AB Suite Client.Framework Direct Connect.
Click Install.
The following Access Layer API assemblies are installed:
Unisys.ABSuite.AccessLayer.Connector
Unisys.ABSuite.AccessLayer.Connector.Core
Click Close.
Note: You might have to restore the required NuGet packages that are referenced by the project to build the MVC project successfully. If you encounter problems in restoring the NuGet packages, you must ensure that the "nuget.org” package source is selected in the Package Sources page of the Options dialog box. To open the Package Sources page, from the Tools menu of the Visual Studio window select Options. The Options dialog box appears. In the left pane, expand NuGet Package Manager, and then select Package Sources. You can now select the nuget.org check box in the right pane.
The two assemblies appear under the References folder, in the Solution Explorer window.
This allows the code in the ASP.NET MVC application to use the AB Suite Access Layer API classes and methods.
You can now run the AB Suite Custom MVC Scaffolder to generate the MVC application infrastructure files, including the MVC Controllers and Views.