SlideShare una empresa de Scribd logo
1 de 31
Eyal Vardi
CEO Experts4D
Microsoft VSTO MVP
blog: www.eVardi.com
Mentoring


Consulting               Projects
© 2006 Experts4D LTD. All rights reserved. Tel: 054-5-767-300, Email: Eyal@Experts4D.com
Service Description
Service Description (Metadata)
       It describe all aspects of the service,

       endpoints & behaviors ( A, B, C, Be )
             new ServiceHost( typeof(Hello) )
      



    Service Type
        (Attributes)
                           1

                           2    Service
          Config
                               Description

                           3
          Code
    AddServiceEndpoint()
Service Description

                                                                                    Endpoint


                                                                                     Binding
                  Config


                   Code
                                                                                    Contract
            AddServiceEndpoint()




             Service Type                                                            Operation
                 (Attributes)


                                                                                           Message



© 2006 Experts4D LTD. All rights reserved. Tel: 054-5-767-300, Email: Eyal@Experts4D.com
Config
                                    144
                                                                        Manager




            ServiceHost                           ServiceHost                              ServiceHost

                          Id                                    Id                               Id

                                           Application Launcher

© 2006 Experts4D LTD. All rights reserved. Tel: 054-5-767-300, Email: Eyal@Experts4D.com
ServiceHost
(Service Description)
Service Pipeline
Message Layer    Service Model Layer (Dispatchers)



                                                     Method1
                                                DO




                        ED          DR

                                                     Method2
                                                DO




A      B        CD

                                                     Method3
                                                DO




                                    DR
                        ED



                                                     Method4
                                                DO




A   Binding     Contract                             Service
                                  Behaviors
Channel
Security   RM   TX   Dispatcher
Channel
                       Security   RM    TX             Dispatcher




                         Text
TCP             HTTP                   Security        RM
                       Binary
                                         Tx            .NET
MSMQ            IPC
                       MTOM

                                              Custom
       Custom          Custom
Message Exchange Pattern


                           IInputChannel
   IOutputChannel
                           (Receive)
   (Send)




                           IReplyChannel
 IRequestChannel
                           (ReceiveRequest)
 (Request)




   IDuplexChannel          IDuplexChannel
   (Send, Receive)         (Send, Receive)
Channel
          Binding
                      Listener
          Element
Binding




                      Channel
          Binding
                      Listener
          Element



          Transport
                      Channel
           Binding
                      Listener
           Element
Show me the code…
Channel
                                       Dispatcher
                      Accept Channel



                        Channel
          Binding                      Protocol
                        Listener
          Element                      Channel
Binding




                        Channel
          Binding                      Protocol
                        Listener
          Element                      Channel



          Transport
                        Channel        Transport
           Binding
                        Listener       Channel
           Element                      Encoder
Custom Channel
Message Layer               Service Model Layer


                       
         ServiceThrottle Address Filter
                       
         ErrorHandlers Contract Filter
         Endpoints                                      Method
                                                   DO


         Timeouts

                                ED          DR

                                                         Method
                                                   DO




A      B              CD

                                                         Method
                                                   DO




                                            DR
                                ED



                                                         Method
                                                   DO




A   Binding           Contract                          Service
                                                        Service
                                           Behaviors
Service Description

          IServiceBehavior
                                                                                    Endpoint

          IEndpointBehavior
                                                                                     Binding
          IContractBehavior
                                                                                    Contract
          IOperationBehavior
                                                                                     Operation

                                                                                           Message


© 2006 Experts4D LTD. All rights reserved. Tel: 054-5-767-300, Email: Eyal@Experts4D.com
Error Handler
( Dispatch Runtime )
Message Layer          Service Model Layer

                      Message Behavior
                      Instance Behavior
                      Security Behavior
                                                     Method
                                               DO




                           ED           DR

                                                     Method
                                               DO




A      B        CD

                                                     Method
                                               DO




                                        DR
                           ED



                                                     Method
                                               DO




A Binding       Contract                            Service
                                                    Service
                                     Behaviors
Message Inspectors

   Client message inspectors implement the
   IClientMessageInspector interface
   Service message inspectors implement the
   IDispatchMessageInspector interface
Client Call

                                    AfterReceiveReply
BeforeSendRequest

Protocol Channels                   Protocol Channels

Transport Chanel                    Transpert Chanel
      IClientMessageInspector


     IDispatchMessageInspector
                                    Transport Chanel
Transport Chanel

                                    Protocol Channels
Protocol Channels

                                    BeforeSendReply
AfterReceiveRequest

                 Service Method
Message Inspectors
( Dispatch Operation )
Message Layer        Service Model Layer

                      Formatter
                      Parameter Inspector
                      Invoker
                                                      Method
                                                DO




                         ED            DR

                                                      Method
                                                DO




A      B        CD

                                                      Method
                                                DO




                                        DR
                         ED



                                                      Method
                                                DO




A Binding       Contract                             Service
                                                     Service
                                     Behaviors
Dispatch Operation
(Invoker, Formatter & Parameter Inspector)
Message Layer    Service Model Layer (Dispatchers)



                                                     Method1
                                                DO




                        ED          DR

                                                     Method2
                                                DO




A      B        CD

                                                     Method3
                                                DO




                                    DR
                        ED



                                                     Method4
                                                DO




A   Binding     Contract                             Service
                                  Behaviors
www.Experts4D.com / Eyal
www.NetFX3.com
Mastering WPF   02-04.12.2007
SCSF Workshop   18-20.12.2007
WCF Internals   15-17.01.2008

Más contenido relacionado

La actualidad más candente

Mr Marcus Wiko Consult Peering Qos Price and Quality
Mr Marcus Wiko Consult Peering Qos Price and Quality Mr Marcus Wiko Consult Peering Qos Price and Quality
Mr Marcus Wiko Consult Peering Qos Price and Quality IDATE DigiWorld
 
Presentation: Webinar S2 Extensions Demystified
Presentation: Webinar S2 Extensions DemystifiedPresentation: Webinar S2 Extensions Demystified
Presentation: Webinar S2 Extensions DemystifiedNewtec
 
Otm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiator
Otm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiatorOtm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiator
Otm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiatorjucaab
 
Hummingbird - Open Source for Small Satellites - GSAW 2012
Hummingbird - Open Source for Small Satellites - GSAW 2012Hummingbird - Open Source for Small Satellites - GSAW 2012
Hummingbird - Open Source for Small Satellites - GSAW 2012Logica_hummingbird
 
Lecture 'Service Offering - From Service Specifying to Service Cataloguing' V...
Lecture 'Service Offering - From Service Specifying to Service Cataloguing' V...Lecture 'Service Offering - From Service Specifying to Service Cataloguing' V...
Lecture 'Service Offering - From Service Specifying to Service Cataloguing' V...Paul G. Huppertz
 
CMIS and Interoperability - AIIM 2009
CMIS and Interoperability - AIIM 2009CMIS and Interoperability - AIIM 2009
CMIS and Interoperability - AIIM 2009johnnewton
 
2005* ApresentaçãO Sobre AviaçãO Executiva Paris Air Show
2005* ApresentaçãO Sobre AviaçãO Executiva   Paris Air Show2005* ApresentaçãO Sobre AviaçãO Executiva   Paris Air Show
2005* ApresentaçãO Sobre AviaçãO Executiva Paris Air ShowEmbraer RI
 
Пол Г. Хуппертц (Paul G. Huppertz), servicEvolution 121 Предоставление Сер...
Пол Г. Хуппертц (Paul G. Huppertz), servicEvolution 121    Предоставление Сер...Пол Г. Хуппертц (Paul G. Huppertz), servicEvolution 121    Предоставление Сер...
Пол Г. Хуппертц (Paul G. Huppertz), servicEvolution 121 Предоставление Сер...Michael Dobner
 
Vbmo2009 Presentation
Vbmo2009 PresentationVbmo2009 Presentation
Vbmo2009 PresentationWout Hofman
 
Jeremy Haycock from Damco; ‘Globalize the Supply Chain: Establish a truly glo...
Jeremy Haycock from Damco; ‘Globalize the Supply Chain: Establish a truly glo...Jeremy Haycock from Damco; ‘Globalize the Supply Chain: Establish a truly glo...
Jeremy Haycock from Damco; ‘Globalize the Supply Chain: Establish a truly glo...eyefortransport
 
Right People, Right Process, Right Technology
Right People, Right Process, Right TechnologyRight People, Right Process, Right Technology
Right People, Right Process, Right TechnologyEsri
 
Improving service quality using Bayesian networks
Improving service quality using Bayesian networksImproving service quality using Bayesian networks
Improving service quality using Bayesian networksKiran Kaipa
 
OW2 Petals Dragon SOA Linuxtag09
OW2 Petals Dragon SOA Linuxtag09OW2 Petals Dragon SOA Linuxtag09
OW2 Petals Dragon SOA Linuxtag09Catherine Nuel
 
Cloudcamp Ghent - Cloud foundry-20111121
Cloudcamp Ghent - Cloud foundry-20111121Cloudcamp Ghent - Cloud foundry-20111121
Cloudcamp Ghent - Cloud foundry-20111121Lode Vermeiren
 

La actualidad más candente (17)

Mr Marcus Wiko Consult Peering Qos Price and Quality
Mr Marcus Wiko Consult Peering Qos Price and Quality Mr Marcus Wiko Consult Peering Qos Price and Quality
Mr Marcus Wiko Consult Peering Qos Price and Quality
 
Presentation: Webinar S2 Extensions Demystified
Presentation: Webinar S2 Extensions DemystifiedPresentation: Webinar S2 Extensions Demystified
Presentation: Webinar S2 Extensions Demystified
 
Otm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiator
Otm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiatorOtm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiator
Otm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiator
 
Hummingbird - Open Source for Small Satellites - GSAW 2012
Hummingbird - Open Source for Small Satellites - GSAW 2012Hummingbird - Open Source for Small Satellites - GSAW 2012
Hummingbird - Open Source for Small Satellites - GSAW 2012
 
Lecture 'Service Offering - From Service Specifying to Service Cataloguing' V...
Lecture 'Service Offering - From Service Specifying to Service Cataloguing' V...Lecture 'Service Offering - From Service Specifying to Service Cataloguing' V...
Lecture 'Service Offering - From Service Specifying to Service Cataloguing' V...
 
CMIS and Interoperability - AIIM 2009
CMIS and Interoperability - AIIM 2009CMIS and Interoperability - AIIM 2009
CMIS and Interoperability - AIIM 2009
 
2005* ApresentaçãO Sobre AviaçãO Executiva Paris Air Show
2005* ApresentaçãO Sobre AviaçãO Executiva   Paris Air Show2005* ApresentaçãO Sobre AviaçãO Executiva   Paris Air Show
2005* ApresentaçãO Sobre AviaçãO Executiva Paris Air Show
 
Пол Г. Хуппертц (Paul G. Huppertz), servicEvolution 121 Предоставление Сер...
Пол Г. Хуппертц (Paul G. Huppertz), servicEvolution 121    Предоставление Сер...Пол Г. Хуппертц (Paul G. Huppertz), servicEvolution 121    Предоставление Сер...
Пол Г. Хуппертц (Paul G. Huppertz), servicEvolution 121 Предоставление Сер...
 
Vbmo2009 Presentation
Vbmo2009 PresentationVbmo2009 Presentation
Vbmo2009 Presentation
 
Jeremy Haycock from Damco; ‘Globalize the Supply Chain: Establish a truly glo...
Jeremy Haycock from Damco; ‘Globalize the Supply Chain: Establish a truly glo...Jeremy Haycock from Damco; ‘Globalize the Supply Chain: Establish a truly glo...
Jeremy Haycock from Damco; ‘Globalize the Supply Chain: Establish a truly glo...
 
Right People, Right Process, Right Technology
Right People, Right Process, Right TechnologyRight People, Right Process, Right Technology
Right People, Right Process, Right Technology
 
Improving service quality using Bayesian networks
Improving service quality using Bayesian networksImproving service quality using Bayesian networks
Improving service quality using Bayesian networks
 
Populace+
Populace+Populace+
Populace+
 
Cliser
CliserCliser
Cliser
 
OW2 Petals Dragon SOA Linuxtag09
OW2 Petals Dragon SOA Linuxtag09OW2 Petals Dragon SOA Linuxtag09
OW2 Petals Dragon SOA Linuxtag09
 
Cloudcamp Ghent - Cloud foundry-20111121
Cloudcamp Ghent - Cloud foundry-20111121Cloudcamp Ghent - Cloud foundry-20111121
Cloudcamp Ghent - Cloud foundry-20111121
 
Market awareness in Service based Systems
Market awareness in Service based SystemsMarket awareness in Service based Systems
Market awareness in Service based Systems
 

Destacado

20161012CRITIS_ptheron_ICCF ab
20161012CRITIS_ptheron_ICCF ab20161012CRITIS_ptheron_ICCF ab
20161012CRITIS_ptheron_ICCF abDr. Paul THERON
 
Angular 2.0 forms
Angular 2.0 formsAngular 2.0 forms
Angular 2.0 formsEyal Vardi
 
Project stake holder analysis and cultural influence on international project...
Project stake holder analysis and cultural influence on international project...Project stake holder analysis and cultural influence on international project...
Project stake holder analysis and cultural influence on international project...NICHOLAS PAUL
 
AngularJS Directives
AngularJS DirectivesAngularJS Directives
AngularJS DirectivesEyal Vardi
 
Template syntax in Angular 2.0
Template syntax in Angular 2.0Template syntax in Angular 2.0
Template syntax in Angular 2.0Eyal Vardi
 
Java J2EE Interview Questions Part-1
Java J2EE Interview Questions Part-1Java J2EE Interview Questions Part-1
Java J2EE Interview Questions Part-1javatrainingonline
 
Business Plan: Photography Business (slides)
Business Plan: Photography Business (slides)Business Plan: Photography Business (slides)
Business Plan: Photography Business (slides)Moin Sarker
 
AngularJS Forms Validation
AngularJS Forms ValidationAngularJS Forms Validation
AngularJS Forms ValidationSunny Sharma
 

Destacado (10)

Updated resume
Updated resumeUpdated resume
Updated resume
 
20161012CRITIS_ptheron_ICCF ab
20161012CRITIS_ptheron_ICCF ab20161012CRITIS_ptheron_ICCF ab
20161012CRITIS_ptheron_ICCF ab
 
Angular 2.0 forms
Angular 2.0 formsAngular 2.0 forms
Angular 2.0 forms
 
Project stake holder analysis and cultural influence on international project...
Project stake holder analysis and cultural influence on international project...Project stake holder analysis and cultural influence on international project...
Project stake holder analysis and cultural influence on international project...
 
AngularJS Directives
AngularJS DirectivesAngularJS Directives
AngularJS Directives
 
Template syntax in Angular 2.0
Template syntax in Angular 2.0Template syntax in Angular 2.0
Template syntax in Angular 2.0
 
Java J2EE Interview Questions Part-1
Java J2EE Interview Questions Part-1Java J2EE Interview Questions Part-1
Java J2EE Interview Questions Part-1
 
OSI Security Architecture
OSI Security ArchitectureOSI Security Architecture
OSI Security Architecture
 
Business Plan: Photography Business (slides)
Business Plan: Photography Business (slides)Business Plan: Photography Business (slides)
Business Plan: Photography Business (slides)
 
AngularJS Forms Validation
AngularJS Forms ValidationAngularJS Forms Validation
AngularJS Forms Validation
 

Similar a Wcf Extensibility

Servicehost Customization
Servicehost CustomizationServicehost Customization
Servicehost CustomizationEyal Vardi
 
Enabling rcs service delivery telesemana august2012 rev2_mx
Enabling rcs service delivery telesemana august2012 rev2_mxEnabling rcs service delivery telesemana august2012 rev2_mx
Enabling rcs service delivery telesemana august2012 rev2_mxRafael Junquera
 
Presentation:Technology challenges in the broadcast industry
Presentation:Technology challenges in the broadcast industryPresentation:Technology challenges in the broadcast industry
Presentation:Technology challenges in the broadcast industryNewtec
 
AMTELCO RED ALERT AVAYA Integration
AMTELCO RED ALERT AVAYA Integration AMTELCO RED ALERT AVAYA Integration
AMTELCO RED ALERT AVAYA Integration AMTELCO
 
10 Tricks and Tips for WCF
10 Tricks and Tips for WCF10 Tricks and Tips for WCF
10 Tricks and Tips for WCFBarry Dorrans
 
Infocom03 rajiv
Infocom03 rajivInfocom03 rajiv
Infocom03 rajivzt5169
 
Quality of service
Quality of serviceQuality of service
Quality of servicevmkris000
 
Telecom Abbreviations
Telecom AbbreviationsTelecom Abbreviations
Telecom AbbreviationsMahira Khan
 
Apache Etch Introduction @ FOSDEM 2011
Apache Etch Introduction @ FOSDEM 2011Apache Etch Introduction @ FOSDEM 2011
Apache Etch Introduction @ FOSDEM 2011grandyho
 
What is new in WCF 4.0?
What is new in WCF 4.0?What is new in WCF 4.0?
What is new in WCF 4.0?Bala Subra
 
Are ott the new walled gardens
Are ott the new walled gardensAre ott the new walled gardens
Are ott the new walled gardensAmir Zmora
 
Bachelor Thesis Presentation: Analysis and Simulation Of Channel Switching In...
Bachelor Thesis Presentation: Analysis and Simulation Of Channel Switching In...Bachelor Thesis Presentation: Analysis and Simulation Of Channel Switching In...
Bachelor Thesis Presentation: Analysis and Simulation Of Channel Switching In...Laili Aidi
 
Combining cryptography with channel coding to reduce complicity
Combining cryptography with channel coding to reduce complicityCombining cryptography with channel coding to reduce complicity
Combining cryptography with channel coding to reduce complicityIAEME Publication
 

Similar a Wcf Extensibility (20)

Servicehost Customization
Servicehost CustomizationServicehost Customization
Servicehost Customization
 
Enabling rcs service delivery telesemana august2012 rev2_mx
Enabling rcs service delivery telesemana august2012 rev2_mxEnabling rcs service delivery telesemana august2012 rev2_mx
Enabling rcs service delivery telesemana august2012 rev2_mx
 
Presentation:Technology challenges in the broadcast industry
Presentation:Technology challenges in the broadcast industryPresentation:Technology challenges in the broadcast industry
Presentation:Technology challenges in the broadcast industry
 
AMTELCO RED ALERT AVAYA Integration
AMTELCO RED ALERT AVAYA Integration AMTELCO RED ALERT AVAYA Integration
AMTELCO RED ALERT AVAYA Integration
 
10 Tricks and Tips for WCF
10 Tricks and Tips for WCF10 Tricks and Tips for WCF
10 Tricks and Tips for WCF
 
Infocom03 rajiv
Infocom03 rajivInfocom03 rajiv
Infocom03 rajiv
 
WCF for begineers
WCF  for begineersWCF  for begineers
WCF for begineers
 
Quality of service
Quality of serviceQuality of service
Quality of service
 
www.vardisc.com
www.vardisc.comwww.vardisc.com
www.vardisc.com
 
Telecom Abbreviations
Telecom AbbreviationsTelecom Abbreviations
Telecom Abbreviations
 
10 fn s40
10 fn s4010 fn s40
10 fn s40
 
Apache Etch Introduction @ FOSDEM 2011
Apache Etch Introduction @ FOSDEM 2011Apache Etch Introduction @ FOSDEM 2011
Apache Etch Introduction @ FOSDEM 2011
 
What is new in WCF 4.0?
What is new in WCF 4.0?What is new in WCF 4.0?
What is new in WCF 4.0?
 
Are ott the new walled gardens
Are ott the new walled gardensAre ott the new walled gardens
Are ott the new walled gardens
 
Bachelor Thesis Presentation: Analysis and Simulation Of Channel Switching In...
Bachelor Thesis Presentation: Analysis and Simulation Of Channel Switching In...Bachelor Thesis Presentation: Analysis and Simulation Of Channel Switching In...
Bachelor Thesis Presentation: Analysis and Simulation Of Channel Switching In...
 
Y25124127
Y25124127Y25124127
Y25124127
 
Combining cryptography with channel coding to reduce complicity
Combining cryptography with channel coding to reduce complicityCombining cryptography with channel coding to reduce complicity
Combining cryptography with channel coding to reduce complicity
 
10 fn s01
10 fn s0110 fn s01
10 fn s01
 
10 fn s01
10 fn s0110 fn s01
10 fn s01
 
R Gexamples2
R Gexamples2R Gexamples2
R Gexamples2
 

Más de Eyal Vardi

Smart Contract
Smart ContractSmart Contract
Smart ContractEyal Vardi
 
Rachel's grandmother's recipes
Rachel's grandmother's recipesRachel's grandmother's recipes
Rachel's grandmother's recipesEyal Vardi
 
Performance Optimization In Angular 2
Performance Optimization In Angular 2Performance Optimization In Angular 2
Performance Optimization In Angular 2Eyal Vardi
 
Angular 2 Architecture (Bucharest 26/10/2016)
Angular 2 Architecture (Bucharest 26/10/2016)Angular 2 Architecture (Bucharest 26/10/2016)
Angular 2 Architecture (Bucharest 26/10/2016)Eyal Vardi
 
Angular 2 NgModule
Angular 2 NgModuleAngular 2 NgModule
Angular 2 NgModuleEyal Vardi
 
Upgrading from Angular 1.x to Angular 2.x
Upgrading from Angular 1.x to Angular 2.xUpgrading from Angular 1.x to Angular 2.x
Upgrading from Angular 1.x to Angular 2.xEyal Vardi
 
Angular 2 - Ahead of-time Compilation
Angular 2 - Ahead of-time CompilationAngular 2 - Ahead of-time Compilation
Angular 2 - Ahead of-time CompilationEyal Vardi
 
Routing And Navigation
Routing And NavigationRouting And Navigation
Routing And NavigationEyal Vardi
 
Angular 2 Architecture
Angular 2 ArchitectureAngular 2 Architecture
Angular 2 ArchitectureEyal Vardi
 
Angular 1.x vs. Angular 2.x
Angular 1.x vs. Angular 2.xAngular 1.x vs. Angular 2.x
Angular 1.x vs. Angular 2.xEyal Vardi
 
Angular 2.0 Views
Angular 2.0 ViewsAngular 2.0 Views
Angular 2.0 ViewsEyal Vardi
 
Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0Eyal Vardi
 
Http Communication in Angular 2.0
Http Communication in Angular 2.0Http Communication in Angular 2.0
Http Communication in Angular 2.0Eyal Vardi
 
Angular 2.0 Dependency injection
Angular 2.0 Dependency injectionAngular 2.0 Dependency injection
Angular 2.0 Dependency injectionEyal Vardi
 
Angular 2.0 Routing and Navigation
Angular 2.0 Routing and NavigationAngular 2.0 Routing and Navigation
Angular 2.0 Routing and NavigationEyal Vardi
 
Async & Parallel in JavaScript
Async & Parallel in JavaScriptAsync & Parallel in JavaScript
Async & Parallel in JavaScriptEyal Vardi
 
Angular 2.0 Pipes
Angular 2.0 PipesAngular 2.0 Pipes
Angular 2.0 PipesEyal Vardi
 
Modules and injector
Modules and injectorModules and injector
Modules and injectorEyal Vardi
 
Modules in ECMAScript 6.0
Modules in ECMAScript 6.0Modules in ECMAScript 6.0
Modules in ECMAScript 6.0Eyal Vardi
 

Más de Eyal Vardi (20)

Why magic
Why magicWhy magic
Why magic
 
Smart Contract
Smart ContractSmart Contract
Smart Contract
 
Rachel's grandmother's recipes
Rachel's grandmother's recipesRachel's grandmother's recipes
Rachel's grandmother's recipes
 
Performance Optimization In Angular 2
Performance Optimization In Angular 2Performance Optimization In Angular 2
Performance Optimization In Angular 2
 
Angular 2 Architecture (Bucharest 26/10/2016)
Angular 2 Architecture (Bucharest 26/10/2016)Angular 2 Architecture (Bucharest 26/10/2016)
Angular 2 Architecture (Bucharest 26/10/2016)
 
Angular 2 NgModule
Angular 2 NgModuleAngular 2 NgModule
Angular 2 NgModule
 
Upgrading from Angular 1.x to Angular 2.x
Upgrading from Angular 1.x to Angular 2.xUpgrading from Angular 1.x to Angular 2.x
Upgrading from Angular 1.x to Angular 2.x
 
Angular 2 - Ahead of-time Compilation
Angular 2 - Ahead of-time CompilationAngular 2 - Ahead of-time Compilation
Angular 2 - Ahead of-time Compilation
 
Routing And Navigation
Routing And NavigationRouting And Navigation
Routing And Navigation
 
Angular 2 Architecture
Angular 2 ArchitectureAngular 2 Architecture
Angular 2 Architecture
 
Angular 1.x vs. Angular 2.x
Angular 1.x vs. Angular 2.xAngular 1.x vs. Angular 2.x
Angular 1.x vs. Angular 2.x
 
Angular 2.0 Views
Angular 2.0 ViewsAngular 2.0 Views
Angular 2.0 Views
 
Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0
 
Http Communication in Angular 2.0
Http Communication in Angular 2.0Http Communication in Angular 2.0
Http Communication in Angular 2.0
 
Angular 2.0 Dependency injection
Angular 2.0 Dependency injectionAngular 2.0 Dependency injection
Angular 2.0 Dependency injection
 
Angular 2.0 Routing and Navigation
Angular 2.0 Routing and NavigationAngular 2.0 Routing and Navigation
Angular 2.0 Routing and Navigation
 
Async & Parallel in JavaScript
Async & Parallel in JavaScriptAsync & Parallel in JavaScript
Async & Parallel in JavaScript
 
Angular 2.0 Pipes
Angular 2.0 PipesAngular 2.0 Pipes
Angular 2.0 Pipes
 
Modules and injector
Modules and injectorModules and injector
Modules and injector
 
Modules in ECMAScript 6.0
Modules in ECMAScript 6.0Modules in ECMAScript 6.0
Modules in ECMAScript 6.0
 

Wcf Extensibility

  • 1. Eyal Vardi CEO Experts4D Microsoft VSTO MVP blog: www.eVardi.com
  • 3. © 2006 Experts4D LTD. All rights reserved. Tel: 054-5-767-300, Email: Eyal@Experts4D.com
  • 5. Service Description (Metadata) It describe all aspects of the service,  endpoints & behaviors ( A, B, C, Be ) new ServiceHost( typeof(Hello) )  Service Type (Attributes) 1 2 Service Config Description 3 Code AddServiceEndpoint()
  • 6. Service Description Endpoint Binding Config Code Contract AddServiceEndpoint() Service Type Operation (Attributes) Message © 2006 Experts4D LTD. All rights reserved. Tel: 054-5-767-300, Email: Eyal@Experts4D.com
  • 7. Config 144 Manager ServiceHost ServiceHost ServiceHost Id Id Id Application Launcher © 2006 Experts4D LTD. All rights reserved. Tel: 054-5-767-300, Email: Eyal@Experts4D.com
  • 10. Message Layer Service Model Layer (Dispatchers) Method1 DO ED DR Method2 DO A B CD Method3 DO DR ED Method4 DO A Binding Contract Service Behaviors
  • 11. Channel Security RM TX Dispatcher
  • 12. Channel Security RM TX Dispatcher Text TCP HTTP Security RM Binary Tx .NET MSMQ IPC MTOM Custom Custom Custom
  • 13. Message Exchange Pattern IInputChannel IOutputChannel (Receive) (Send) IReplyChannel IRequestChannel (ReceiveRequest) (Request) IDuplexChannel IDuplexChannel (Send, Receive) (Send, Receive)
  • 14. Channel Binding Listener Element Binding Channel Binding Listener Element Transport Channel Binding Listener Element
  • 15. Show me the code…
  • 16. Channel Dispatcher Accept Channel Channel Binding Protocol Listener Element Channel Binding Channel Binding Protocol Listener Element Channel Transport Channel Transport Binding Listener Channel Element Encoder
  • 18. Message Layer Service Model Layer   ServiceThrottle Address Filter   ErrorHandlers Contract Filter  Endpoints Method DO  Timeouts ED DR Method DO A B CD Method DO DR ED Method DO A Binding Contract Service Service Behaviors
  • 19.
  • 20. Service Description IServiceBehavior Endpoint IEndpointBehavior Binding IContractBehavior Contract IOperationBehavior Operation Message © 2006 Experts4D LTD. All rights reserved. Tel: 054-5-767-300, Email: Eyal@Experts4D.com
  • 22. ( Dispatch Runtime ) Message Layer Service Model Layer  Message Behavior  Instance Behavior  Security Behavior Method DO ED DR Method DO A B CD Method DO DR ED Method DO A Binding Contract Service Service Behaviors
  • 23. Message Inspectors Client message inspectors implement the IClientMessageInspector interface Service message inspectors implement the IDispatchMessageInspector interface
  • 24. Client Call AfterReceiveReply BeforeSendRequest Protocol Channels Protocol Channels Transport Chanel Transpert Chanel IClientMessageInspector IDispatchMessageInspector Transport Chanel Transport Chanel Protocol Channels Protocol Channels BeforeSendReply AfterReceiveRequest Service Method
  • 26. ( Dispatch Operation ) Message Layer Service Model Layer  Formatter  Parameter Inspector  Invoker Method DO ED DR Method DO A B CD Method DO DR ED Method DO A Binding Contract Service Service Behaviors
  • 27.
  • 28. Dispatch Operation (Invoker, Formatter & Parameter Inspector)
  • 29. Message Layer Service Model Layer (Dispatchers) Method1 DO ED DR Method2 DO A B CD Method3 DO DR ED Method4 DO A Binding Contract Service Behaviors
  • 31. Mastering WPF 02-04.12.2007 SCSF Workshop 18-20.12.2007 WCF Internals 15-17.01.2008