How .NET Deployment Works – PB Docs 125
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…
Security Settings – PB Docs 125
Security Settings PowerBuilder applications and components can run in partial trust environments when they are constrained by .NET code access security (CAS) configurations. PowerBuilder lets you configure CAS security zones (sandboxes) for .NET Web Service and Windows Forms smart client projects, to minimize the amount of trust required before application or component code is run…
Strong-Named Assemblies – PB Docs 125
Strong-Named Assemblies PowerBuilder can generate strong-named assemblies from all .NET Project painters. A strong name consists of an assembly�s identity�its simple text name, version number, and culture information (when provided)�plus a public key and digital signature. It is generated from an assembly file using the corresponding private key. The assembly file contains the assembly manifest…
.NET Language Interoperability – PB Docs 125
.NET Language Interoperability This part describes how to use conditional compilation blocks in PowerScript code. These coding blocks allow you to reference .NET objects and methods in PowerScript without triggering error messages from the PowerScript compiler. It also describes how to connect to an EAServer component from a .NET client. A chapter on best practices…
Compiling, Debugging, and Troubleshooting – PB Docs 125
Compiling, Debugging, and Troubleshooting This part provides information about compiling, debugging, and troubleshooting .NET targets. Incremental Builds Incremental builds allow you to save time while deploying applications for testing or production purposes. For incremental builds, only object classes that are affected by one or more changes are recompiled during the build process. Debugging a .NET…
EnvironmentPermission – PB Docs 125
EnvironmentPermission In a .NET Windows Forms application, you must have minimal �Read� EnvironmentPermission settings if your application uses the GetContextKeywords function. The default setting is �Unrestricted=�true�� when the EnvironmentPermission check box is selected on the Security tab of the Project painter, although you can change this to �Read� and still use the GeContextKeywords function. If…
Adding Permissions in the .NET Framework Configuration Tool – PB Docs 125
Adding Permissions in the .NET Framework Configuration Tool The list of permissions that display in the Security tab permissions list box is the same as the list in the “Everything” permission set of the .NET Framework 4.0 SDK Configuration tool runtime security policy. To add permission settings that are not in the custom permissions list:…
WebPermission – PB Docs 125
WebPermission WebPermission settings are required for features and functions in .NET targets. The WebPermission class belongs to the System.Net namespace described on the Microsoft Web site at http://msdn.microsoft.com/en-us/library/system.net.aspx. WebPermission required in .NET targets Function or feature Permission required GetURL (Inet function) Connect for urlname argument PostURL (Inet function) Connect for urlname and serverport arguments Web…
Custom Permission Types – PB Docs 125
Custom Permission Types Permission types that you can customize on the Security tab page of the Project painter (besides the permissions described elsewhere in this appendix) have no direct impact on PowerScript functions or properties in .NET targets. However, if you use the language interoperation feature of PowerBuilder, this may also require customized permissions for…
Windows Forms Targets – PB Docs 125
Windows Forms Targets This part describes how to create and deploy Windows Forms applications. Choosing a Windows Forms Application Target Windows Forms applications with the smart client feature combine the reach of the Web with the power of local computing hardware. They provide a rich user experience, with a response time as quick as the…