Presentation is loading. Please wait.

Presentation is loading. Please wait.

COM326: Web Services for XML Programmers Doug Purdy Lead Program Manager Connected Systems Division.

Similar presentations


Presentation on theme: "COM326: Web Services for XML Programmers Doug Purdy Lead Program Manager Connected Systems Division."— Presentation transcript:

1 COM326: Web Services for XML Programmers Doug Purdy Lead Program Manager Connected Systems Division

2 Meta-Talk Goals Show the wonderful XML support in WCF Show how to support non-SOAP protocols Show off XLinq in the context of WCF Non-Goals Show WCF interoperability (take our word for it) Drill into metadata extensibility Demonstrate “pull-mode” messaging

3 AddressContract WCF in a Nutshell ServiceClient Message Where?How?What? ABC ABC Binding Architectural Commitments Common Language Runtime Extensible Markup Language

4 WCF Message & Typed Views Featuring some XLinq magic!

5 Type Validation There are two types of validation CLR: XmlFormatter/XmlSerializer XSD: XmlValidatingReader Serializers always do validation Validation is done against the CLR type This is not the same as schema validation WCF enables schema validation Although you need to write some code…

6 Schema Validation Hmm… Were you suppose to send that?

7 Protocol Integration XML solves more problems then it causes Metadata allows better dev experience SOAP enables rich extensibility & security Be pragmatic – use what you need!

8 REST & POX WCF is a big, big tent – all XML welcomed

9 Transformation 12 Street 98052 Inbound Message 12 Street 98052 Expected Message Transformation [DataContract] public class person { [DataMember] int id; [DataMember] Address address; } public class Person { int id; string street; int zip; } SerializeDeserialize Optional – for you

10 Transformation Can’t you just put this data in that type?

11 Wrapping Up Key Takeaways WCF is the XML Communication Platform! All protocols are welcomed! Resourcesmicrosoft.public.windows.developer.winfx.indigo http://msdn.microsoft.com/webservices/ douglasp@microsoft.com http://douglasp.com/blog

12 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.


Download ppt "COM326: Web Services for XML Programmers Doug Purdy Lead Program Manager Connected Systems Division."

Similar presentations


Ads by Google