Consume REST APIs Effectively

Various objects have been provided in PowerBuilder to make REST API consumption easy, fast, and secure.

DataWindow Technology

Web API Clients

RESTClient & HTTPClient simplifies the consumption of REST APIs via secure protocol (e.g. TLS 1.3) and integrated token support (e.g. JWT).

C# Code Generation

JSON Handling Capabilities

JSONParser & JSONGenerator parse and generate JSON data sets of virtually any size with high performance.

C# Code Generation

OAuth 2.0 Authentication

OAuth client simplifies the process of obtaining the access token and following the OAuth 2.0 standard.

Create REST APIs Easily

PowerBuilder CloudPro bundle empowers developers to leverage DataWindow-centric programming to rapidly create REST APIs in C# with minimal code.

C# Code Generation

C# Code Generation

It provides many utilities to help automatically generate the C# code and speeds up the process of creating new REST APIs, including DataWindow conversion, scaffolding, service & DataContext injection. Developers can easily create and test fully-functioning REST APIs in as little as 120 seconds.

DataWindow Technology

DataWindow Technology

It replicates the DataWindow functionality in C#, offering almost the same DataWindow properties, functions, and events so that developers can complete big tasks with little code.

C# Code Generation

PowerScript Conversion to C#

The PowerScript Migrator allows developers to see how PowerScript translates to the corresponding C#. It also automates the migration of existing PowerBuilder business logic to C# REST APIs.

DataWindow Technology

Visual Testing

The integrated Web API Tester allows developers to visually inspect, test, and debug the REST APIs without spending the time and effort to create a client app or build JSON by hand.

Create REST APIs in 5 Steps

  • 1.Generate Skeleton

  • 2.Code the Business Logic

  • 3.Scaffold API

  • 4.Visually Test

  • 5.Publish

  • Create DataWindow in PowerBuilder, Convert it to C#

  • Create & Inject the DataContext

  • Scaffold the Service Implementation & Interface

Create DataWindow in PowerBuilder, Convert it to C#
Create & Inject the DataContext
Scaffold the Service Implementation & Interface
  • Code the business logic rapidly with .NET DataStore

  • Or convert the existing business logic

Code the business logic
Convert the existing business logic
  • Scaffold the Controller of the REST API

Scaffold the Controller of the REST API
  • Create Body data with utilities

  • Authorize the requests

  • Manage cookies

Create Body data with utilities
Authorize the requests
Manage cookies
  • Deploy to Docker

  • Deploy to IIS Server

  • Deploy to Local Folder

Deploy to Docker
Deploy to IIS Server
Deploy to Local Folder