1 / 23

PowerBuilder 11: .NET Assemblies and Web Services

PowerBuilder 11: .NET Assemblies and Web Services. Dave Fish Engineering Evangelist Sybase, Inc. dfish@sybase.com. PowerBuilder 11 Overview (presented Nov. 20, 2007) Jim O’Neil Systems Consultant. .NET Windows Forms And Interoperability Dec. 4, 2007 Jim O’Neil Systems Consultant.

dafydd
Download Presentation

PowerBuilder 11: .NET Assemblies and Web Services

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PowerBuilder 11:.NET Assemblies and Web Services Dave Fish Engineering Evangelist Sybase, Inc. dfish@sybase.com

  2. PowerBuilder 11 Overview (presented Nov. 20, 2007) Jim O’Neil Systems Consultant .NET Windows Forms And Interoperability Dec. 4, 2007 Jim O’Neil Systems Consultant .NET Assemblies (presented Nov. 13, 2007) Jim O’NeilSystems Consultant Web ServiceDataWindow Feb. 5, 2008 John Strano Technology Evangelist PowerBuilder 11 .NET Deployment Web Casts .NET Web Forms Dec. 11, 2007 David Fish Engineering Evangelist .NET Assemblies & Web Services Jan. 29, 2008 David Fish Engineering Evangelist .NET Smart Client Jan. 15, 2008 John Strano Technology Evangelist

  3. Agenda • PowerBuilder Roadmap • Deploying PowerBuilder .NVOs as .NET Assemblies • Deploying PowerBuilder NVOs as .NET Web Services

  4. PowerBuilder Roadmap • Version 11 released in June 2007 • 11.1 Maintenance Release in November 2007 • Delivers on third-phase of PowerBuilder’s .NET initiative

  5. 2008 PowerBuilder 11.2 2008 PowerBuilder 11.5 2009 PowerBuilder 12 • AJAX support for Web Forms Applications • EAServer .NET Client Support • Enhancement requests • Core .NET enhancements • Native DataWindow updates • Updated database support • Enhancement requests • .NET in IDE • WPF/WCF support at design and run-time • Fully managed code at deployment • PowerScript Language Enhancements Language Independence Application Connectivity Multiple Platform Support Power And Performance

  6. Deploying PowerBuilder NVOs as .NET Assemblies

  7. What are .NET Assemblies? • In the Microsoft .NET framework, an assembly is a partially compiled code library for use in deployment, versioning and security • .NET assemblies contain code in the Common Intermediate Language (CIL), which is generated from .NET languages • The CIL is then compiled into machine language at runtime by the Common Language Runtime (CLR) just-in-time compiler

  8. Deploying NVOs as .NET Assemblies • .NET Assembly Target type • PowerScript data types automatically mapped to C# • Integrated .NET debugger support

  9. Sybase.PowerBuilder.Win.DLL Sybase.PowerBuilder.Common.DLL Sybase.PowerBuilder.Interop.DLL Sybase.PowerBuilder.Core.DLL Architecture:.NET Assemblies Compiles to NVO .NET Assembly PBLs with NVOs DataWindow .NET PBDWM.DLL PBSHR.DLL DB Drivers Unmanaged DLLs (without PBVM) PB System Library for .NET

  10. Deployment Considerations • The PowerBuilder .NET Runtime Assemblies need to be deployed to the client PC (You can use the PowerBuilder Runtime Packager)

  11. Deploying PowerBuilder NVOs as .NET Assemblies - Demonstration

  12. Deploying PowerBuilder NVOs as .NET Web Services

  13. What are Web Services? • A collection of operations that can be described, published, located, and accessed over a network using standardized XML messaging • Proposed to World Wide Web Consortium (W3C) in Mar 2001 • http://www.w3c.org • Web Services utilize XML making them both platform and language independent • XML gives us a mechanism for making cross-platform and/or cross-language communications

  14. Web Services Components • The primary components that make up Web Services are: • WSDL – Web Services Description Language • Used to describe Web services • SOAP – Simple Object Access Protocol • Used for sending and receiving messages from Web services

  15. Deploying NVOs as .NET Web Services • .NET Web Services Target type • Stateless design • Public methods mapped to Web Service messages • Selectively exclude additional methods from deployment • Method aliases permitted (e.g., to account for overloading) • Design time validation available • PowerScript data types mapped to XML schema types • Integrated .NET debugger support

  16. Sybase.PowerBuilder.Web.DLL Sybase.PowerBuilder.Common.DLL Sybase.PowerBuilder.Interop.DLL Sybase.PowerBuilder.Core.DLL Architecture:.NET Web Services Compiles to NVO ASP.NETWeb Service PBLs with NVOs DataWindow .NET PBDWM.DLL PBSHR.DLL DB Drivers Unmanaged DLLs (without PBVM) PB System Library for .NET

  17. Deployment Considerations • The PowerBuilder .NET Runtime Assemblies need to be deployed to the Web Server (You can use the PowerBuilder Runtime Packager) • The IIS Web Server needs to be configured to use ASP .NET 2.0 • Refer to the Configuring ASP .NET for a .NET Project section in the Deploying Applications and Components to .NET manual (Compiled HTML Help File)

  18. Deploying PowerBuilder NVOs as .NET Web Services - Demonstration

  19. Further Resources • PowerBuilder Demonstration Recordings… • http://www.sybase.com/products/development/powerbuilder/videos • Recorded Webcasts from this series… • http://www.sybase.com/products/development/powerbuilder/webcasts

  20. Getting Your Hands on PowerBuilder 11 • Do you have an Update Subscription Plan (USP)? • Access the Sybase Product Download Center (SPDC) at https://sybase.subscribenet.com • Download PowerBuilder 11 and companion products • Generate license keys • Need new or additional licenses? • Contact your Sybase sales office (US/Canada: 1-800-8-SYBASE) • Visit e-shop at http://eshop.sybase.com

  21. Q&A

More Related