PBNET is a tool that understands your PowerBuilder application and converts it to a ASP.NET Core web application that uses frameworks such as Angular, CSS, and Typescript.
This tool has the ability to process the source code to generate C#, Angular, HTML, and CSS files.
Instead of manually rewriting an entire application, we help you by automating this process using PBNET. This reduces costs, risks and time, while keeping the existing business logic intact.
For more details you can go to our website or check our documentation at Mobilize.Net Documentation
This repo contains the source code and binaries for the PowerBuilder app.
This app just shows a Powerbuilder Window with a different components to interact for example: Dropdown, checkbox, etc.
The sample was migrated with our tools to a ASP.NET Core web app with an Angular FrontEnd.
If you want to build this app, you have to follow the next steps:
In the root folder of the app you will find a file called tailwind.db
. This file is the database of the app. You have to create a folder inside your local disk C
called A1
and inside this another folder called _work
and copy the tailwind.db
file inside this folder.
The route should be like this: C:\A1\_work\tailwind.db
Install Microsoft Visual Studio 2019 or above if you don't have it, open MigratedSolution
file in app folder and build the solution.
Open a terminal in the app folder and use the command line with the next commands:
cd MigratedSolution\sampleSite\sampleSite-angular
npm set @mobilize:registry=https://packages.mobilize.net/npm/mobilizenet-npm
npm install
npm run build
Finally set productcatalogSite
as startup project and run.
When you migrate your app from Powerbuilder to ASP.NET core you will have:
- WebSite application based on the original app
pbt
- A class library for each Powerbuilder
pbl
- An angular application which will generate an angular module with the UI elements from each
pbl