Presentation is loading. Please wait.

Presentation is loading. Please wait.

The best of WCF 4.0 Damir Dobric MVP-Connected System Developer

Similar presentations


Presentation on theme: "The best of WCF 4.0 Damir Dobric MVP-Connected System Developer"— Presentation transcript:

1

2 The best of WCF 4.0 Damir Dobric MVP-Connected System Developer
Microsoft Connected System Division Advisor Visual Studio Inner Circle member

3

4 Preduvjeti Good knowledge of WCF & .NET

5 Agenda Where we are today Simplified Configuration (demo)
File-Less Activation (demo) Multiple Site Bindings (demo) Standard Endpoints (demo) Service Discovery (demo) Routing Service (demo)

6 Where we are today Capabilities & Complexity Time Entity/Capability
Utility/Messaging Process/Activity Enterprise SOA Distributed Transactions Discovery Choreography Svc Modeling Metadata Mgmt. Capabilities & Complexity Large Messages Management Workflow Security Versioning Interoperability Deployment Data Access Validation Contract Design Time Capability Time

7 Applications and Services
Reusable Code as Library Reusable Code Application 1 Technology A Reusable Code as Service Technology C Application 2 Technology B Application Service

8 Simplified Configuration
<?xml version="1.0" encoding="utf-8" ?> <configuration> </configuration> <bindings> <basicHttpBinding> <binding> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows"></transport> </security> <readerQuotas/> </binding> </basicHttpBinding> </bindings> </system.serviceModel>

9 Protocol Mapping <protocolMapping> <add scheme="http" binding=”customBinding” /> </protocolMapping> <bindings> <customBinding> <binding name=„Leave this Empty!!"> <textMessageEncoding messageVersion="Soap11WSAddressing10" /> <httpTransport /> </binding> </customBinding>

10 Multiple Site Bindings
<?xml version="1.0"?> <configuration> <system.serviceModel> <serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> </system.serviceModel> <system.web> <compilation targetFramework="4.0" debug="true"/> </system.web> </configuration>

11 File-Less Activation <?xml version="1.0"?> <configuration> <system.serviceModel> <serviceHostingEnvironment> <serviceActivations> <add relativeAddress="~/MyService.svc" service="MyServiceClass, MyServiceAssembly, Version= , Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> </serviceActivations> </serviceHostingEnvironment> </system.serviceModel> <system.web> <compilation targetFramework="4.0" debug="true"/> </system.web> </Configuration>

12 Service Discovery DISCOVERY_PORT 3702 [IANA]
IPv4 multicast Address IPv6 multicats Address :FF02::C (link-local scope).

13 Discovery – Managed Mode

14 Routing Service

15 Useful links Discovery MSDN: Damir’s Blog: WCF discovery Team Blog: WF & WCF Samples AppFabric: Endpoint blog:

16 Recap Services, Workflows, Processes, Composite Apps, IoC with services. Configuration simpler, but still complex File-Less Activation Multiple Site Bindings Standard Endpoints Intelligent Service Discovery simplifies deployment Routing Service: Protocol Bridging and Fallback endpoints

17 The best of WCF 4.0 Thank You Damir Dobric
MVP-Connected System Developer Microsoft Connected System Division Advisor Visual Studio Inner Circle member Thank You


Download ppt "The best of WCF 4.0 Damir Dobric MVP-Connected System Developer"

Similar presentations


Ads by Google