Nikola Dudar Program Manager Microsoft Corporation Session Code: DTL 311.

Slides:



Advertisements
Similar presentations
 Nikola Dudar Program Manager Microsoft Corporation PC01.
Advertisements

MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Session 1.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Samantha Durante Program Manager Microsoft Corporation WUX305.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Ram Cherala Principal Program Manager Microsoft Corporation DTL320.

demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Eric Carter Development Manager Microsoft Corporation OFC324.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
Alyson Powell Erwin Sr. Program Manager Microsoft BIN307.
Introduction to.NET FX 3.0 (+ sneak preview of.NET FX 3.5) Martin Parry Developer & Platform Group Microsoft Ltd
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Arend-Jan Speksnijder Solutions Architect Microsoft Dynamics Lighthouse team Dynamics AX2009 Technical Overview and Demo (DYN301)
Gavin Russell-Rockliff BI Technical Specialist Microsoft BIN202.
Tim Rains Group Product Manager Microsoft Session Code: SIA101.
Sara Ford Program Manager Microsoft Corporation DPR301.
Warren Stevens-Baytopp Director YoungBlood Consultants Session Code BIN303.

Patrick Ortiz Global SQL Solution Architect Dell Inc. BIN209.
OFC308 Hilton Giesenow Development Manager - 3fifteen Host –
Luke Hoban Senior Program Manager Microsoft Session Code: DTL319.
Mark Michaelis Chief Computer Nerd IDesign/Itron/IntelliTechture DTL313.
David B. Cross Product Unit Manager Microsoft Corporation Session Code: SIA303 Donny Rose Senior Program Manager.
Scott Morrison Program Manager Microsoft Corporation Session Code: WUX308.
6/2/2018 3:37 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /6/2018 2:20 AM
Microsoft Ajax Taking Ajax to the Next Level
9/11/2018 5:53 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /14/2018 7:13 PM
Marian Luparu Program Manager Microsoft Session Code: DEV308
Implementing RESTful Services Using the Microsoft .NET Framework
Sysinternals Tutorials
11/22/2018 8:05 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Jason Zander Unplugged
12/5/2018 3:24 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /7/2018 2:51 PM
Ben Robb MVP, SharePoint Server cScape Ltd Session Code: OFS207
12/27/ :01 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Authoring for Microsoft Silverlight 4 with Microsoft Expression Blend
Data Driven ASP.NET Web Forms Applications Deep Dive
Tech Ed North America /1/ :36 AM Required Slide
Tech·Ed North America /2/2019 4:47 PM
Tech·Ed North America /17/2019 1:47 AM
2/16/2019 8:43 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Peter Provost Sr. Program Manager Microsoft Session Code: DEV312
Tech·Ed North America /22/2019 3:15 AM
Tech·Ed North America /22/2019 7:40 PM
Building Silverlight Apps with RIA Services
Creating and Consuming OData Services for Business Applications
Tech Ed North America /12/2019 6:45 AM Required Slide
Brandon Bray Principal Group Program Manager Microsoft Corporation
A Lap Around Internet Explorer 9 For Developers
Windows 8 Security Internals
2010 Microsoft BI Conference
Tech·Ed North America /25/ :53 PM
Hack-proofing your Clients using Windows 7 Security!
How and When to Use MEF: Too Much Is Never Enough
Building RESTful services using OData
Code First Development in Microsoft ADO.NET Entity Framework 4.1
5/24/ :22 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /17/2019 4:14 PM
What’s New in Visual Studio 2012 for Web Developers
WCL425 App Compat for Nerds Chris Jackson.
利用IIS部署與維護 SOA應用程式的技巧
Presentation transcript:

Nikola Dudar Program Manager Microsoft Corporation Session Code: DTL 311

Session outline Story of native code and web services Introduction to Windows Web Services API Demonstration of WWSAPI Q&A

Story of Native Code and Web Services No simple way for native code connect to WCF and ASP.Net XML web services SOAP Toolkit is not supported ATL SOAP does not work for most scenarios Taking dependency on.Net Framework is not acceptable in many cases Native + managed code mixed solutions demonstrate poor performance

Windows Web Services API Introduction Connecting native code and web services Win32 API No dependency on.Net Framework Interoperability with WS-* SOAP stacks Windows Communication Foundation (WCF) ASP.Net XML Web Services (ASMX) Non-Microsoft stacks System Component of Windows 7 Available for Windows XP/Vista/2003/2008

Web service and client in native code Nikola Dudar Program Manager Microsoft Corporation

Server Native Code Client to WCF Service Managed code client using WCF WCF Service Sort DLL Native code client using WWSAPI

Server Native Code Service Using WWS API Managed code client using WCF Native Code Service Sort DLL Native code client using WWSAPI

Demo Summary Using WWS API, you can build Interoperable web services Clients to web services Fully native code solution No dependency on.Net Framework Expose native code as WWSAPI web service 2x-4x improvement in service throughput

Windows Web Services API Layers Your Application Code Network I/O Service Model Channel Layer XML Layer Errors Heap Async Context

Service Model Web services as function calls Automatically manages communication Service Proxy on client Service Host on service Message exchanges as function calls Client calls generated function Server implements callback Driven from Contract WsUtil.exe generates C code from WSDL/XSD

Channel Layer Full control over communication Message Data sent or received Consists of body and headers Channel Abstraction for message exchange Unified API for all transports HTTP, TCP, UDP Properties to tweak different settings

Security Description Securing message exchange on the channel Transport security HTTP: SSL TCP: Windows SSPI Message plus Transport security (Mixed Mode) Username/Password, Kerberos APREQ, XML Token, Secure Conversation Token Basic support for SAML and federation No support for Full message security mode

XML Layer Full access to content of messages Unified API for all encodings Text, Binary, MTOM SOAP subset of XML 1.0 (No DTD) XmlBuffer In-memory store for XML data XmlReader and XmlWriter Forward only access Integrated canonicalization (C14n)

Serialization Mapping C data types to/from XML types Simply C and Win32 types mapped to simple XSD types Complex XSD types mapped to C structures WsUtil.exe generate C types from XSD struct PurchaseOrder { int id; }; 123

Drilling down into how to use WWSAPI Nikola Dudar Program Manager Microsoft Corporation

Demo Summary Remember ABC A: Opening Service Proxy or Service Host B: Creating Service Proxy or Service Host C: wsutil.exe generates C code from WSDL/XSD Heap Removes need for parameters "Alloc/Free" Error Detailed information about runtime errors

Supported Configurations Transports HTTP, TCP, UDP XML Encodings Text, Binary, and MTOM Envelope SOAP 1.1 and 1.2 Addressing WS-Addressing 0.9 and 1.0 Metadata WSDL 1.1, XML Schema 1.0 WS-MetadataExchange 1.1 WS-Transfer March 2006 Security WS-Security 1.0 and 1.1 (partial) WS-Trust February 2005 and 1.3 (partial) WS-SecureConversation 1.1 and 1.3 (partial) Policy WS-Policy from March 2006 and v.1.2 WS-Policy Attachment from March 2006 and 1.2 WS-SecurityPolicy 1.1

WWSAPI Performance

Summary WWSAPI connects native code and web services Available on Windows 7, XP, Vista, Server 2003 and 2008 WWSAPI does not replace WCF Use WWSAPI to build native code clients Reduces working set of your client applications Use WWSAPI to host native code on service Improve throughput of your service

Questions and Answers MSDN Blogs Reports of issues and suggestions

Sessions On-Demand & Community Resources for IT Professionals Resources for Developers Microsoft Certification and Training Resources Microsoft Certification & Training Resources Resources Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online.

Related Content Windows 7 Sessions WCL202 - Developing for Windows 7 WCL305 - Focus on Fundamentals in Windows Applications (Graphics, Power, Services, Profiling) WCL311 - Optimizing Your Application for the Windows 7 User Experience WCL312 - Windows Application Readiness for Developers Sessions for C++ developers DTL403 - Microsoft Visual C++ Library, Language, and IDE: Now and Next DTL310 - Parallel Computing with Native C++ in Microsoft Visual Studio 2010 Required Slide Speakers, please list the Breakout Sessions, TLC Interactive Theaters and Labs that are related to your session. Required Slide Speakers, please list the Breakout Sessions, TLC Interactive Theaters and Labs that are related to your session.

Complete an evaluation on CommNet and enter to win! Required Slide

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. Required Slide