User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

This document will describe how to work with transactions for CRUD operations (create, read, update and delete) in .NET DataStore.

For the full content of the document, see https://www.appeon.com/support/documents/appeon_online_help/powerbuilder/Working_with_Transactions_in_.NET_DataStore_and_ModelStore/

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

This tutorial demonstrates the basics of creating, in SnapDevelop, a Web API with ASP.NET Core that will use .NET DataStore as its data manipulation component.

In this tutorial, you will learn to:

  • Create a Web API Project
  • Test the API
  • Add a Database Context
  • Register the Database Context
  • Add a .NET DataStore Model
  • Add a Service
  • Perform CRUD Operations Using the Web API
  • Call the Web API from PowerBuilder

To view the full content of the tutorial, see https://www.appeon.com/support/documents/appeon_online_help/powerbuilder/CRUD_Operations_with_.NET_DataStore/index.html

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

REST support was added to PowerBuilder in 2017 R2 and enhanced in 2017 R3.  PowerBuilder 2019 contains additional significant enhancements to REST support, including the following:

  • RetrieveOne method – For REST methods return one row
  • Submit method - sends request and returns data in one operation
  • SetRequestHeader behavior modified
  • GZIP compression handled automatically
  • Send[Method]Request, where method can be Get, Put, Post, Patch, Delete
  • Get and Set OAuth token methods
  • Get and set JWT token methods

 

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

 

Support for the JSON format was added in the PowerBuilder 2017 R2 release and then enhanced in 2017 R3.  PowerBuilder 2019 contains even more enhancements in this area, particularly with regard to:

  1. Enhanced JSONParser
  2. Enhanced JSONPackage
  3. DataWindows Row Level Import/Export
  4. New ModelStore JSON Format

 

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

Two factor authentication is a way of increasing the security of an application by requiring the user to provide more than a simple password (one factor authentication).  Two factor authentication utilizes two of the following factors to identify the user:

1.  Knowledge - something you know - for example, your password

2.  Possession - something you have - for example, your cell phone or access to your email account

3.  Inherent - something you are - for example, fingerprints or eye iris

The third factor is out of scope for this particular article We're going to look at adding the second form (possession) to a PowerBuilder application. Specifically, we're What going to use Google Authenticator, an application for mobile devices (and the desktop) that generates time based one time temporary passwords (TOTP) for use with 2FA.

The sample code for this article is available on CodeXchange.

 

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

 

Hola Amigos, Comparto mi curso básico de PowerBuilder en Español. Los temas son los siguientes:

  • Introducción a PowerBuilder
  • Ambiente de desarrollo de PowerBuilder
  • Crear un objeto Aplicación
  • Creación de ventanas
  • Power Scripts
  • Bases de datos relacionales
  • Painter de Bases de datos
  • Objeto DataWindow
  • Conexión a Bases de datos
  • Programación orientada a objetos en PowerBuilder
  • Construyendo Menus
  • Introducción a aplicaciones MDI
  • Usando DataWindow Controls y MDI Sheets
  • Mostrando datos de la base de datos y declarando User Events
  • Conexión de DataWindows a Bases de datos
  • Declaración y uso de funciones en ventanas
  • Declaración y uso de eventos en ventanas
  • Creando instancias de ventanas
  • Declarando y usando Funciones
  • Modificando, Insertando, y borrando filas
  • Salvando cambios en la base de datos
  • Creación de Ejecutables