SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Exploring the WCF LOB SDK Ben Cline Sr. Consultant at Magenic, BizTalk MVP
About Me – BenC@magenic.com Speaker Profile Sr. Consultant Work on BizTalk, WF, WCF, SharePoint projects Blog: msinnovations.spaces.live.com Community Focuses BizTalk MVP 2009-2010 MSDN Forums Poster, Moderator Active in testing Connect releases – VS 2010, BizTalk 2009, 2010
    Agenda 1 Overview of the WCF LOB SDK 2 Demo – SqlBinding 3 Enterprise LOB and Generic Scenarios 4 Architecture of the SDK 5 Demo - SalesForceBinding
What is the WCF LOB SDK? Free Toolkit from Microsoft based on WCF custom bindings Provides client manageability, usability improvements for using custom bindings LOB = [classic ERP] datasource Can be used for any system that needs to provide metadata or context to developers Architectural foundation for BizTalk Adapter Pack
What is provided? VS client-side integration Wizards for creating custom binding adapters (Code gen) Metadata explorer WCF Service wrapper extension SDK, samples Add custom binding to machine.config code Setup project example
Example of a custom binding (WCF) <configuration>     <system.serviceModel>         <bindings> <customBinding>              <binding name="myBinding">                 <textMessageEncodingmessageVersion="Soap11" />                 <httpTransport />               </binding>           </customBinding>         </bindings>  <services>     <service behaviorConfiguration="WcfServiceLibrary1.Service1Behavior" name="WcfServiceLibrary1.Service1">       <endpoint address="" binding="customBinding" bindingConfiguration="myBinding" contract="WcfServiceLibrary1.IService1"> </endpoint>…
Bindings, bindings everywhere basicHttp Web ServiceRelated wsHttp wsFed wsContext Not Web Service Related netMSMQ SqlBinding OracleBinding msmqInt More Common Use Less Common Use
WCF vs. WCF LOB SDK WCF WCF LOB SDK Service, client Default, standard bindings Custom bindings based on binding elements Add Service Reference .NET compatible config file elements Adapter, client, optional service Custom bindings based on binding elements Add Adapter Service Reference .NET compatible config file elements
WCF Channel Model WCF Binding/Adapter Landscape WCF Service Model SharePoint Server BizTalk Server SQL Server Custom .NET Application ASP.NET 2.0 ADO.NET Provider BizTalk WCF Adapter WCF Adapter SDK Runtime Adapter SDK Runtime Adapter SDK Runtime Adapter SDK Runtime WCF Transport (HTTP, TCP, …) SQLAdapter Oracle DB Adapter SAP Adapter Any LOB Adapter Web Service Siebel Oracle DB SAP Any LOB System
Questions? FAQ: What about VS 2010 support? The add adapter service reference not showing up after install. Why? Compatible w/ EF? Isn’t this just another way to call the database?
    Agenda 1 Overview of the WCF LOB SDK 2 Demo – SqlBinding 3 Enterprise LOB and Generic Scenarios 4 Architecture of the SDK 5 Demo - SalesForceBinding
Demo - Using the SqlBinding in VS 2008 Observations Wizard-like form similar to Add Service Ref Object browser enables quick selection of datasource objects After wizard executes, new proxy class added DataContracts created for parameters, results When used with BizTalk, XSDs are generated Proxy generation options like with SvcUtil
    Agenda 1 Overview of the WCF LOB SDK 2 Demo – SqlBinding 3 Enterprise LOB and Generic Scenarios 4 Architecture of the SDK 5 Demo - SalesForceBinding
Enterprise LOB Scenario Enterprise system storing data: SAP, Oracle, PeopleSoft, Siebel, CRM, etc. System-specific formats, connectivity, supporting infrastructure WCF LOB SDK provides foundation for custom bindings/adapters based on your code: Example: Custom Oracle binding from WCF LOB SDK + ODP.Net APIs WCF LOB SDK service wrapper acts as protocol transition/bridge layer
Generic Datasource Scenario LOB<T> where T : YourDataSource Foundation for exposing data or O/R layer Middle tier service layer CSLA service layer API obfuscation
Other Uses for the SDK Client for connecting to ESB or SOA resources Light weight UDDI explorer Centralize connectivity management Client for missing VS functionality – for referencing Web 2.0 services Extend existing features of BizTalk Adapter Pack
Questions? FAQ: What are the licensing terms of the BizTalk Adapter Pack? What do you mean by “protocol transition” or “protocol bridging”?
    Agenda 1 Overview of the WCF LOB SDK 2 Demo – SqlBinding 3 Enterprise LOB and Generic Scenarios 4 Architecture of the SDK 5 Demo - SalesForceBinding
Component Architecture WCF Application Adapter MetadataUtility Tool Run Time Design Time Channel Implementation Tracing/Perf Counters MetadataExchanger Connection URI Builder Connection PoolManagement WSDLBuilder MetadataBrowse/Search MetadataManagement WCF Connection
WCF & LOB SDK Namespaces Channels Common System.ServiceModel Configuration Description Common Microsoft.ServiceModel Channels Tools.MetadataSearchBrowse
WCF LOB SDK Development Lifecycle Wizard based metadata code generation Setup projects based on samples Connection, URI, Property Grid Type Editors Connectivity Logic to Integrate with Target System(s) Binding Elements if required Metadata Browser and Search Proxy and XSD type generation customization
    Agenda 1 Overview of the WCF LOB SDK 2 Demo – SqlBinding 3 Enterprise LOB and Generic Scenarios 4 Architecture of the SDK 5 Demo - SalesForceBinding
Demo – SalesForceCustomBinding Why create a SalesForce binding? No supported SalesForce VS extension currently was available SalesForce provides REST and SOAP APIs but has specialized implementation Async operations only exposed on REST, would be useful if called via SOAP and bridged from REST What does this demonstrate? Property grid customizations make for better UI Experience .NET invocation helpful for BizTalk Little code required to generate proxy, XSDs
    Appendix
Comparing WCF LOB with BizTalk WCF LOB SDK BizTalk Custom Binding centric Custom Bindings shown in Add Adapter Service wizard .NET project: add adapter service Generates client proxy Adapter centric Custom Bindings shown in WCF-Custom adapter BizTalk project: Add generated items consume adapter service Generates BizTalk schema, binding file

Weitere ähnliche Inhalte

Was ist angesagt?

Gwt cdi jaxrs_hbraun
Gwt cdi jaxrs_hbraunGwt cdi jaxrs_hbraun
Gwt cdi jaxrs_hbraunhbraun
 
Manageability of Windows Azure BizTalk Services (WABS)
Manageability of Windows Azure BizTalk Services (WABS)Manageability of Windows Azure BizTalk Services (WABS)
Manageability of Windows Azure BizTalk Services (WABS)BizTalk360
 
Hybrid Solutions with the current BizTalk Server 2013 R2 platform
Hybrid Solutions with the current BizTalk Server 2013 R2 platformHybrid Solutions with the current BizTalk Server 2013 R2 platform
Hybrid Solutions with the current BizTalk Server 2013 R2 platformBizTalk360
 
Improved JSON Support of WSO2 ESB 4.8
Improved JSON Support of WSO2 ESB 4.8Improved JSON Support of WSO2 ESB 4.8
Improved JSON Support of WSO2 ESB 4.8WSO2
 
Spring and SOA (2006)
Spring and SOA (2006)Spring and SOA (2006)
Spring and SOA (2006)Geert Pante
 
Introduction to WCF
Introduction to WCFIntroduction to WCF
Introduction to WCFybbest
 
Bluemix paas 기반 saas 개발 사례
Bluemix paas 기반 saas 개발 사례Bluemix paas 기반 saas 개발 사례
Bluemix paas 기반 saas 개발 사례uEngine Solutions
 
Errai CDI Integration
Errai CDI IntegrationErrai CDI Integration
Errai CDI Integrationhbraun
 
Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)WSO2
 
WSO2 Advantage Webinar - JSON Support in the WSO2 Platform
WSO2 Advantage Webinar -  JSON Support in the WSO2 PlatformWSO2 Advantage Webinar -  JSON Support in the WSO2 Platform
WSO2 Advantage Webinar - JSON Support in the WSO2 PlatformWSO2
 
SOA and WCF (Windows Communication Foundation) basics
SOA and WCF (Windows Communication Foundation) basicsSOA and WCF (Windows Communication Foundation) basics
SOA and WCF (Windows Communication Foundation) basicsYaniv Pessach
 
REST, JSON and RSS with WCF 3.5
REST, JSON and RSS with WCF 3.5REST, JSON and RSS with WCF 3.5
REST, JSON and RSS with WCF 3.5Rob Windsor
 
Presentation for a Media Company
Presentation for a Media CompanyPresentation for a Media Company
Presentation for a Media CompanyMark Goetsch
 
ESB Evaluation Framework
ESB Evaluation FrameworkESB Evaluation Framework
ESB Evaluation FrameworkWSO2
 
WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)ipower softwares
 
Web service, wcf, web api
Web service, wcf, web apiWeb service, wcf, web api
Web service, wcf, web apiAbdeliDhankot
 
Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented ArchitectureLuqman Shareef
 
Programming SharePoint 2010 with Visual Studio 2010
Programming SharePoint 2010 with Visual Studio 2010Programming SharePoint 2010 with Visual Studio 2010
Programming SharePoint 2010 with Visual Studio 2010Quang Nguyễn Bá
 

Was ist angesagt? (20)

Gwt cdi jaxrs_hbraun
Gwt cdi jaxrs_hbraunGwt cdi jaxrs_hbraun
Gwt cdi jaxrs_hbraun
 
Manageability of Windows Azure BizTalk Services (WABS)
Manageability of Windows Azure BizTalk Services (WABS)Manageability of Windows Azure BizTalk Services (WABS)
Manageability of Windows Azure BizTalk Services (WABS)
 
Micro service architecture
Micro service architectureMicro service architecture
Micro service architecture
 
Hybrid Solutions with the current BizTalk Server 2013 R2 platform
Hybrid Solutions with the current BizTalk Server 2013 R2 platformHybrid Solutions with the current BizTalk Server 2013 R2 platform
Hybrid Solutions with the current BizTalk Server 2013 R2 platform
 
Improved JSON Support of WSO2 ESB 4.8
Improved JSON Support of WSO2 ESB 4.8Improved JSON Support of WSO2 ESB 4.8
Improved JSON Support of WSO2 ESB 4.8
 
Spring and SOA (2006)
Spring and SOA (2006)Spring and SOA (2006)
Spring and SOA (2006)
 
Introduction to WCF
Introduction to WCFIntroduction to WCF
Introduction to WCF
 
WCF Introduction
WCF IntroductionWCF Introduction
WCF Introduction
 
Bluemix paas 기반 saas 개발 사례
Bluemix paas 기반 saas 개발 사례Bluemix paas 기반 saas 개발 사례
Bluemix paas 기반 saas 개발 사례
 
Errai CDI Integration
Errai CDI IntegrationErrai CDI Integration
Errai CDI Integration
 
Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)
 
WSO2 Advantage Webinar - JSON Support in the WSO2 Platform
WSO2 Advantage Webinar -  JSON Support in the WSO2 PlatformWSO2 Advantage Webinar -  JSON Support in the WSO2 Platform
WSO2 Advantage Webinar - JSON Support in the WSO2 Platform
 
SOA and WCF (Windows Communication Foundation) basics
SOA and WCF (Windows Communication Foundation) basicsSOA and WCF (Windows Communication Foundation) basics
SOA and WCF (Windows Communication Foundation) basics
 
REST, JSON and RSS with WCF 3.5
REST, JSON and RSS with WCF 3.5REST, JSON and RSS with WCF 3.5
REST, JSON and RSS with WCF 3.5
 
Presentation for a Media Company
Presentation for a Media CompanyPresentation for a Media Company
Presentation for a Media Company
 
ESB Evaluation Framework
ESB Evaluation FrameworkESB Evaluation Framework
ESB Evaluation Framework
 
WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)
 
Web service, wcf, web api
Web service, wcf, web apiWeb service, wcf, web api
Web service, wcf, web api
 
Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented Architecture
 
Programming SharePoint 2010 with Visual Studio 2010
Programming SharePoint 2010 with Visual Studio 2010Programming SharePoint 2010 with Visual Studio 2010
Programming SharePoint 2010 with Visual Studio 2010
 

Ähnlich wie Explore WCF LOB SDK for Custom Bindings

BizTalk 2010 with Appfabric Hosting in the Cloud: WCF Services vs BT2010
BizTalk 2010 with Appfabric Hosting in the Cloud: WCF Services vs BT2010BizTalk 2010 with Appfabric Hosting in the Cloud: WCF Services vs BT2010
BizTalk 2010 with Appfabric Hosting in the Cloud: WCF Services vs BT2010Bala Subra
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheetkaushiksin
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheetkaushiksin
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheetkaushiksin
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheetkaushiksin
 
Biztalk Server 2010: Introdução
Biztalk Server 2010: IntroduçãoBiztalk Server 2010: Introdução
Biztalk Server 2010: IntroduçãoComunidade NetPonto
 
Build Message-Based Web Services for SOA
Build Message-Based Web Services for SOABuild Message-Based Web Services for SOA
Build Message-Based Web Services for SOAJeffrey Hasan
 
Hybrid Solution Integration
Hybrid Solution IntegrationHybrid Solution Integration
Hybrid Solution IntegrationBizTalk360
 
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk ServicesGlobal Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk ServicesSandro Pereira
 
Ibm 1 Wps Arch
Ibm 1 Wps ArchIbm 1 Wps Arch
Ibm 1 Wps Archluohd
 
Biztalk Server 2006
Biztalk Server 2006Biztalk Server 2006
Biztalk Server 2006ipaciti
 
Vijay Oscon
Vijay OsconVijay Oscon
Vijay Osconvijayrvr
 
Net35 Overview
Net35 OverviewNet35 Overview
Net35 Overviewllangit
 
Web service through cxf
Web service through cxfWeb service through cxf
Web service through cxfRoger Xia
 
BizTalk & WCF LOB SDK Adapter's Custom Behaviors
BizTalk & WCF LOB SDK Adapter's Custom BehaviorsBizTalk & WCF LOB SDK Adapter's Custom Behaviors
BizTalk & WCF LOB SDK Adapter's Custom BehaviorsAbid Nasim
 
webservices overview
webservices overviewwebservices overview
webservices overviewelliando dias
 
Build Apps Using Dynamic Languages
Build Apps Using Dynamic LanguagesBuild Apps Using Dynamic Languages
Build Apps Using Dynamic LanguagesWes Yanaga
 

Ähnlich wie Explore WCF LOB SDK for Custom Bindings (20)

BizTalk 2010 with Appfabric Hosting in the Cloud: WCF Services vs BT2010
BizTalk 2010 with Appfabric Hosting in the Cloud: WCF Services vs BT2010BizTalk 2010 with Appfabric Hosting in the Cloud: WCF Services vs BT2010
BizTalk 2010 with Appfabric Hosting in the Cloud: WCF Services vs BT2010
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
 
Biztalk Server 2010: Introdução
Biztalk Server 2010: IntroduçãoBiztalk Server 2010: Introdução
Biztalk Server 2010: Introdução
 
Build Message-Based Web Services for SOA
Build Message-Based Web Services for SOABuild Message-Based Web Services for SOA
Build Message-Based Web Services for SOA
 
Biz talk BI
Biz talk BIBiz talk BI
Biz talk BI
 
Hybrid Solution Integration
Hybrid Solution IntegrationHybrid Solution Integration
Hybrid Solution Integration
 
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk ServicesGlobal Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
 
Enterprise service bus part 2
Enterprise service bus part 2Enterprise service bus part 2
Enterprise service bus part 2
 
Ibm 1 Wps Arch
Ibm 1 Wps ArchIbm 1 Wps Arch
Ibm 1 Wps Arch
 
Biztalk Server 2006
Biztalk Server 2006Biztalk Server 2006
Biztalk Server 2006
 
Vijay Oscon
Vijay OsconVijay Oscon
Vijay Oscon
 
Net35 Overview
Net35 OverviewNet35 Overview
Net35 Overview
 
Web service through cxf
Web service through cxfWeb service through cxf
Web service through cxf
 
BizTalk & WCF LOB SDK Adapter's Custom Behaviors
BizTalk & WCF LOB SDK Adapter's Custom BehaviorsBizTalk & WCF LOB SDK Adapter's Custom Behaviors
BizTalk & WCF LOB SDK Adapter's Custom Behaviors
 
webservices overview
webservices overviewwebservices overview
webservices overview
 
Java one2010 presentation-s313909
Java one2010 presentation-s313909Java one2010 presentation-s313909
Java one2010 presentation-s313909
 
Build Apps Using Dynamic Languages
Build Apps Using Dynamic LanguagesBuild Apps Using Dynamic Languages
Build Apps Using Dynamic Languages
 

Explore WCF LOB SDK for Custom Bindings

  • 1. Exploring the WCF LOB SDK Ben Cline Sr. Consultant at Magenic, BizTalk MVP
  • 2. About Me – BenC@magenic.com Speaker Profile Sr. Consultant Work on BizTalk, WF, WCF, SharePoint projects Blog: msinnovations.spaces.live.com Community Focuses BizTalk MVP 2009-2010 MSDN Forums Poster, Moderator Active in testing Connect releases – VS 2010, BizTalk 2009, 2010
  • 3. Agenda 1 Overview of the WCF LOB SDK 2 Demo – SqlBinding 3 Enterprise LOB and Generic Scenarios 4 Architecture of the SDK 5 Demo - SalesForceBinding
  • 4. What is the WCF LOB SDK? Free Toolkit from Microsoft based on WCF custom bindings Provides client manageability, usability improvements for using custom bindings LOB = [classic ERP] datasource Can be used for any system that needs to provide metadata or context to developers Architectural foundation for BizTalk Adapter Pack
  • 5. What is provided? VS client-side integration Wizards for creating custom binding adapters (Code gen) Metadata explorer WCF Service wrapper extension SDK, samples Add custom binding to machine.config code Setup project example
  • 6. Example of a custom binding (WCF) <configuration> <system.serviceModel> <bindings> <customBinding> <binding name="myBinding"> <textMessageEncodingmessageVersion="Soap11" /> <httpTransport /> </binding> </customBinding> </bindings> <services> <service behaviorConfiguration="WcfServiceLibrary1.Service1Behavior" name="WcfServiceLibrary1.Service1"> <endpoint address="" binding="customBinding" bindingConfiguration="myBinding" contract="WcfServiceLibrary1.IService1"> </endpoint>…
  • 7. Bindings, bindings everywhere basicHttp Web ServiceRelated wsHttp wsFed wsContext Not Web Service Related netMSMQ SqlBinding OracleBinding msmqInt More Common Use Less Common Use
  • 8. WCF vs. WCF LOB SDK WCF WCF LOB SDK Service, client Default, standard bindings Custom bindings based on binding elements Add Service Reference .NET compatible config file elements Adapter, client, optional service Custom bindings based on binding elements Add Adapter Service Reference .NET compatible config file elements
  • 9. WCF Channel Model WCF Binding/Adapter Landscape WCF Service Model SharePoint Server BizTalk Server SQL Server Custom .NET Application ASP.NET 2.0 ADO.NET Provider BizTalk WCF Adapter WCF Adapter SDK Runtime Adapter SDK Runtime Adapter SDK Runtime Adapter SDK Runtime WCF Transport (HTTP, TCP, …) SQLAdapter Oracle DB Adapter SAP Adapter Any LOB Adapter Web Service Siebel Oracle DB SAP Any LOB System
  • 10. Questions? FAQ: What about VS 2010 support? The add adapter service reference not showing up after install. Why? Compatible w/ EF? Isn’t this just another way to call the database?
  • 11. Agenda 1 Overview of the WCF LOB SDK 2 Demo – SqlBinding 3 Enterprise LOB and Generic Scenarios 4 Architecture of the SDK 5 Demo - SalesForceBinding
  • 12. Demo - Using the SqlBinding in VS 2008 Observations Wizard-like form similar to Add Service Ref Object browser enables quick selection of datasource objects After wizard executes, new proxy class added DataContracts created for parameters, results When used with BizTalk, XSDs are generated Proxy generation options like with SvcUtil
  • 13. Agenda 1 Overview of the WCF LOB SDK 2 Demo – SqlBinding 3 Enterprise LOB and Generic Scenarios 4 Architecture of the SDK 5 Demo - SalesForceBinding
  • 14. Enterprise LOB Scenario Enterprise system storing data: SAP, Oracle, PeopleSoft, Siebel, CRM, etc. System-specific formats, connectivity, supporting infrastructure WCF LOB SDK provides foundation for custom bindings/adapters based on your code: Example: Custom Oracle binding from WCF LOB SDK + ODP.Net APIs WCF LOB SDK service wrapper acts as protocol transition/bridge layer
  • 15. Generic Datasource Scenario LOB<T> where T : YourDataSource Foundation for exposing data or O/R layer Middle tier service layer CSLA service layer API obfuscation
  • 16. Other Uses for the SDK Client for connecting to ESB or SOA resources Light weight UDDI explorer Centralize connectivity management Client for missing VS functionality – for referencing Web 2.0 services Extend existing features of BizTalk Adapter Pack
  • 17. Questions? FAQ: What are the licensing terms of the BizTalk Adapter Pack? What do you mean by “protocol transition” or “protocol bridging”?
  • 18. Agenda 1 Overview of the WCF LOB SDK 2 Demo – SqlBinding 3 Enterprise LOB and Generic Scenarios 4 Architecture of the SDK 5 Demo - SalesForceBinding
  • 19. Component Architecture WCF Application Adapter MetadataUtility Tool Run Time Design Time Channel Implementation Tracing/Perf Counters MetadataExchanger Connection URI Builder Connection PoolManagement WSDLBuilder MetadataBrowse/Search MetadataManagement WCF Connection
  • 20. WCF & LOB SDK Namespaces Channels Common System.ServiceModel Configuration Description Common Microsoft.ServiceModel Channels Tools.MetadataSearchBrowse
  • 21. WCF LOB SDK Development Lifecycle Wizard based metadata code generation Setup projects based on samples Connection, URI, Property Grid Type Editors Connectivity Logic to Integrate with Target System(s) Binding Elements if required Metadata Browser and Search Proxy and XSD type generation customization
  • 22. Agenda 1 Overview of the WCF LOB SDK 2 Demo – SqlBinding 3 Enterprise LOB and Generic Scenarios 4 Architecture of the SDK 5 Demo - SalesForceBinding
  • 23. Demo – SalesForceCustomBinding Why create a SalesForce binding? No supported SalesForce VS extension currently was available SalesForce provides REST and SOAP APIs but has specialized implementation Async operations only exposed on REST, would be useful if called via SOAP and bridged from REST What does this demonstrate? Property grid customizations make for better UI Experience .NET invocation helpful for BizTalk Little code required to generate proxy, XSDs
  • 24. Appendix
  • 25. Comparing WCF LOB with BizTalk WCF LOB SDK BizTalk Custom Binding centric Custom Bindings shown in Add Adapter Service wizard .NET project: add adapter service Generates client proxy Adapter centric Custom Bindings shown in WCF-Custom adapter BizTalk project: Add generated items consume adapter service Generates BizTalk schema, binding file
  • 26. Comparing Adapter Models Adapter Framework Adapter WCF LOB SDK Adapter No built-in code gen Limited VS integration Simpler development process Requires .NET wrapper for non BizTalk invocation Built-in code gen More extensive VS integration More complicated development process Callable directly from .NET assemblies
  • 27. Resources WCF LOB SDK for VS 2008 (Get SP2 separately): http://www.microsoft.com/downloads/details.aspx?FamilyID=56278fde-b708-469c-987e-ded9c6c5e580&DisplayLang=en Links to Documentation, Webcasts: http://msinnovations.spaces.live.com/blog/cns!62E68922E47BC425!1169.entry

Hinweis der Redaktion

  1. Brackets show the “classic ERP” part of the datasource is optionalWhy have I not heard of this before? - Probably because it is so closely related to BizTalk or because it has not been merged into System.ServiceModel and the core .NET framework.
  2. - If you have tried creating a custom binding on your own you know it requires quite a bit of custom code for implementing the channels, extension behaviors (if necessary), binding elements, etc., and any deployment related artifacts. Doing all of these steps involved quite a bit of work and was almost prohibitively costly for the relatively low gain of the custom binding. With the SDK it is much easier to create a custom binding in a few hours. - Some of the things provided here would be useful just for harvesting and incorporating in your own projects.
  3. Notice the difference in terminology regarding the service. An adapter is another name for a custom binding. In the BizTalk sense a custom binding functions similar to a custom adapterBuilt on some of the familiar things from .NET and extended just a little.
  4. This demo shows use of the sqlBinding which is in the BizTalk adapter pack but illustrates what can be done with a custom binding created through the WCF LOB SDK.
  5. With .NET 4, protocol transitioning or bridging is provided out-of-the-box, and you do not need to expose one service to feed off some other one, effectively wrapping the logic twice. The WCF LOB SDK service wrapper provides a rudimentary similarity – you only expose one service.