How .NET Deployment Works – PB Docs 120


How .NET Deployment Works

When you deploy a .NET project, PowerBuilder compiles existing or newly developed PowerScript� code into .NET assemblies.

At runtime, the generated .NET assemblies execute using the .NET Common Language Runtime (CLR). PowerBuilder�s .NET compiler technology is as transparent as the P-code compiler in standard PowerBuilder client-server applications.

Depending on their application target type, the assemblies you generate from a .NET project are built into Web Forms or Windows Forms applications. If you generate assemblies from a component target type, the assemblies are deployed as independent .NET components or as Web services.

PowerBuilder Web Forms applications have a three-tier architecture, with the client running in a Web browser on the front end and PowerBuilder components running on the Microsoft IIS server using ASP.NET 2.0 technology. A session is created and is dedicated to processing each user request on the client side, ensuring that the applications are stateful. The session manages the runtime environment, makes required connections to the database, retrieves data, renders HTML responses, and keeps the session active in the server until the user closes the application or the session times out.

PowerBuilder Windows Forms applications run on the .NET Framework using local computer hardware resources. The smart client feature permits you to publish Windows Forms applications to an IIS or FTP server, and leverages Microsoft�s ClickOnce technology, making it easier for users to get and run the latest version of an application and easier for administrators to deploy it.

Note: For PowerBuilder .NET applications and components, you must install the .NET Framework 2.0 or later redistributable package on the deployment computer or server. The .NET Framework 2.0, 3.0, or 3.5 SDK (x86) is required on the deployment server for Windows Forms smart client applications. The x86 version of the SDK is required even for 64-bit computers. You cannot install the SDK without first installing the redistributable package.

he SDK and the redistributable package are available as separate downloads from the Microsoft .NET Framework Developer Center at http://msdn.microsoft.com/en-us/netframework/aa731542.aspx.

This is a high level architectural diagram showing the conversion of PowerBuilder applications and custom class objects to applications and components on the .NET platform:
How .NET Deployment Works_1.gif


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x