New Win32 Samples in Windows SDK for Windows 7: Web


This is the seventh in a series of posts that describe new and updated samples in the Windows 7 SDK.  The following table lists samples that pertain to Web development, and are new to Windows 7 or updated to support Windows 7.   Technologies illustrated include WinHTTP, Windows Internet (WinInet), Web Services on Devices (WSDAPI), and Web Services with the Windows Web Services API (WWSAPI).


 


See also:


New Win32 Samples in Windows SDK for Windows 7: Networking and Related Services


New Win32 Samples in Windows SDK for Windows 7: Multimedia


New Win32 Samples in Windows SDK for Windows 7: Security


New Win32 Samples in Windows SDK for Windows 7: Systems Management


New Win32 Samples in Windows SDK for Windows 7: Open Packaging Conventions (OPC)


New Win32 Samples in Windows SDK for Windows 7: Tablet PC and MultiTouch


New Win32 Samples in Windows SDK for Windows 7: Web


New Win32 Samples in Windows SDK for Windows 7: Windows Base


New Win32 Samples in Windows SDK for Windows 7: Windows User Interface


New Win32 Samples in Windows SDK for Windows 7: Windows XML Paper Specification (XPS)


New Win32 Samples in Windows SDK for Windows 7: Communication


 


Over 1,200 samples were changed since the release of the Windows SDK for Windows 7 RC release. Many “new to Win 7” samples were added, simplified, or extended, and many older samples were updated to support Windows 7 as well as older operating systems.


 


For build instructions and additional information about the samples, see the Readme.txt files and other documents in the SDK sample folders. For general sample building instructions, refer to the Samples Reference page that installs with the Windows SDK, and the SDK Release Notes (under the Start menu, in All Programs > Microsoft Windows SDK v7.0). By default, Win32 samples are installed under the following path: C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples.


 


Send your thoughts to the Windows SDK Feedback alias.  Tell us how you use the SDK and what we can do to improve your development experience.


 


New/updated Web development samples in the Windows SDK for Windows 7




























































































































































































































































































































































































































Sample


Description


Install Location


Winhttp NTLM authentication with default credentials sample


Demonstrates the use of Winhttp APIs to send a request and authenticate using default credentials with a server that require NTLM authentication   WARNING: It is not secure to use default credentials on an untrusted   server/network or internet server.


Web\Winhttp\AuthDefaultCred


Winhttp Negotiate authentication sample


This sample demonstrates the use of Winhttp APIs to access a server with Negotiate authentication.  It builds a simple Winhttp application that does the following:     – Negotiate server auth     – Synchronous POST     – SspiPromptForCredentials  HTTP server setup:     – Negotiate auth     – A URL that accepts POSTs


Web\Winhttp\AuthNegotiate


WinHttpAsyncSample with request cancellation


Demonstrates the use of Winhttp APIs to send asynchronous requests to a server and how to cancel such requests.


Web\winhttp\WinHttpAsyncSample


Winhttp Proxy determination sample


Demonstrates the core functionality for querying the proxy settings.  It builds a WinHttp application for determining the proxy for a particular URL. Additional features may be added by the application/module basing their proxy code from this sample, including but not limited to:         1) Per URL proxy cache.         2) Network Change awareness.         3) Bad Proxy Filter.


Web\Winhttp\WinhttpProxySample


WinInet asynchronous use of the APIs sample


Demonstrates the asynchronous use of WinInet APIs. This application can be used to download resources from a web server as well as upload resources to it (POST). It also provides options to use a proxy  or establish a secure communication using SSL.


Web\Wininet\Async


Wininet Cache APIs usage


Demonstrate the use of Wininet cache APIs to enumerate cache entries for different urls.


Web\Wininet\CacheEnumerate


Wininet http authentication


Demonstrates the use of wininet APIs to authenticate with a server.


Web\Wininet\httpauth


WSDAPI FileService sample


Demonstrates advanced WSDAPI code generation and service messaging (inc. attachments and eventing)


Web\WSDAPI\FileService


WSDAPI StockQuote sample


Demonstrates basic WSDAPI code generation and service messaging.


Web\WSDAPI\StockQuote


WWSAPI Sample – AsmxPublicServiceSampleWithCustomProxy


Demonstrates Windows Web Services API


web\wwsapi\AsmxPublicServiceSampleWithCustomProxy


WWSAPI Sample – AsyncAdd3Explicit


Demonstrates Windows Web Services API


web\wwsapi\AsyncAdd3Explicit


WWSAPI Sample – AsyncAdd3Implicit


Demonstrates Windows Web Services API


web\wwsapi\AsyncAdd3Implicit


WWSAPI Sample – AsyncModel


Demonstrates Windows Web Services API


web\wwsapi\AsyncModel


WWSAPI Sample – AsyncStreamingTcpClient


Demonstrates Windows Web Services API


web\wwsapi\AsyncStreamingTcpClient


WWSAPI Sample – AsyncStreamingTcpServer


Demonstrates Windows Web Services API


web\wwsapi\AsyncStreamingTcpServer


WWSAPI Sample – CallAbandon


Demonstrates Windows Web Services API


web\wwsapi\CallAbandon


WWSAPI Sample – CancellingService


Demonstrates Windows Web Services API


web\wwsapi\CancellingService


WWSAPI Sample – CustomHeader


Demonstrates Windows Web Services API


web\wwsapi\CustomHeader


WWSAPI Sample – DerivedType


Demonstrates Windows Web Services API


web\wwsapi\DerivedType\


WWSAPI Sample – FileRepService


Demonstrates Windows Web Services API


web\wwsapi\FileRepService


WWSAPI Sample – FileRepTool


Demonstrates Windows Web Services API


web\wwsapi\FileRepTool


WWSAPI Sample – ForwardMessage


Demonstrates Windows Web Services API


web\wwsapi\ForwardMessage


WWSAPI Sample – HttpCalculatorClient


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorClient


WWSAPI Sample – HttpCalculatorService


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorService


WWSAPI Sample – HttpCalculatorWithBasicOverSslClient


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithBasicOverSslClient


WWSAPI Sample – HttpCalculatorWithBasicOverSslService


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithBasicOverSslService


WWSAPI Sample – HttpCalculatorWithEncodedChannelClient


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithEncodedChannelClient


WWSAPI Sample – HttpCalculatorWithEncodedChannelService


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithEncodedChannelService


WWSAPI Sample – HttpCalculatorWithKerberosOverSslClient


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithKerberosOverSslClient


WWSAPI Sample – HttpCalculatorWithKerberosOverSslService


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithKerberosOverSslService


WWSAPI Sample – HttpCalculatorWithLayeredChannelClient


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithLayeredChannelClient


WWSAPI Sample – HttpCalculatorWithLayeredChannelService


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithLayeredChannelService


WWSAPI Sample – HttpCalculatorWithSslClient


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithSslClient


WWSAPI Sample – HttpCalculatorWithSslPolicyClient


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithSslPolicyClient


WWSAPI Sample – HttpCalculatorWithSslPolicyService


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithSslPolicyService


WWSAPI Sample – HttpCalculatorWithSslService


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithSslService


WWSAPI Sample – HttpCalculatorWithUsernameOverSslClient


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithUsernameOverSslClient


WWSAPI Sample – HttpCalculatorWithUserNameOverSslService


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithUserNameOverSslService


WWSAPI Sample – HttpCalculatorWithUsernameXmlTokenOverSslClient


Demonstrates Windows Web Services API


web\wwsapi\HttpCalculatorWithUsernameXmlTokenOverSslClient


WWSAPI Sample – HttpClient


Demonstrates Windows Web Services API


web\wwsapi\HttpClient


WWSAPI Sample – HttpClientWithKerberosOverSsl


Demonstrates Windows Web Services API


web\wwsapi\HttpClientWithKerberosOverSsl


WWSAPI Sample – HttpClientWithSsl


Demonstrates Windows Web Services API


web\wwsapi\HttpClientWithSsl


WWSAPI Sample – HttpClientWithUsernameOverSsl


Demonstrates Windows Web Services API


web\wwsapi\HttpClientWithUsernameOverSsl


WWSAPI Sample – HttpCustomHeaderPurchaseOrderClient


Demonstrates Windows Web Services API


web\wwsapi\HttpCustomHeaderPurchaseOrderClient


WWSAPI Sample – HttpCustomHeaderPurchaseOrderService


Demonstrates Windows Web Services API


web\wwsapi\HttpCustomHeaderPurchaseOrderService


WWSAPI Sample – HttpGetService


Demonstrates Windows Web Services API


web\wwsapi\HttpGetService


WWSAPI Sample – HttpPurchaseOrderClient


Demonstrates Windows Web Services API


web\wwsapi\HttpPurchaseOrderClient


WWSAPI Sample – HttpPurchaseOrderService


Demonstrates Windows Web Services API


web\wwsapi\HttpPurchaseOrderService


WWSAPI Sample – HttpPurchaseOrderWithKerberosOverSslClient


Demonstrates Windows Web Services API


web\wwsapi\HttpPurchaseOrderWithKerberosOverSslClient


WWSAPI Sample – HttpPurchaseOrderWithKerberosOverSslService


Demonstrates Windows Web Services API


web\wwsapi\HttpPurchaseOrderWithKerberosOverSslService


WWSAPI Sample – HttpPurchaseOrderWithSslClient


Demonstrates Windows Web Services API


web\wwsapi\HttpPurchaseOrderWithSslClient


WWSAPI Sample – HttpPurchaseOrderWithSslService


Demonstrates Windows Web Services API


web\wwsapi\HttpPurchaseOrderWithSslService


WWSAPI Sample – HttpPurchaseOrderWithUsernameOverSslClient


Demonstrates Windows Web Services API


web\wwsapi\HttpPurchaseOrderWithUsernameOverSslClient


WWSAPI Sample – HttpPurchaseOrderWithUserNameOverSslService


Demonstrates Windows Web Services API


web\wwsapi\HttpPurchaseOrderWithUserNameOverSslService


WWSAPI Sample – HttpRawClient


Demonstrates Windows Web Services API


web\wwsapi\HttpRawClient


WWSAPI Sample – HttpRawService


Demonstrates Windows Web Services API


web\wwsapi\HttpRawService


WWSAPI Sample – HttpServer


Demonstrates Windows Web Services API


web\wwsapi\HttpServer


WWSAPI Sample – HttpServerWithKerberosOverSsl


Demonstrates Windows Web Services API


web\wwsapi\HttpServerWithKerberosOverSsl


WWSAPI Sample – HttpServerWithSsl


Demonstrates Windows Web Services API


web\wwsapi\HttpServerWithSsl


WWSAPI Sample – HttpServerWithUsernameOverSsl


Demonstrates Windows Web Services API


web\wwsapi\HttpServerWithUsernameOverSsl


WWSAPI Sample – InsertElement


Demonstrates Windows Web Services API


web\wwsapi\InsertElement


WWSAPI Sample – MessageEncoding


Demonstrates Windows Web Services API


web\wwsapi\MessageEncoding


WWSAPI Sample – MetadataExchangeMonikerClient


Demonstrates Windows Web Services API


web\wwsapi\MetadataExchangeMonikerClient


WWSAPI Sample – MetadataExchangeService


Demonstrates Windows Web Services API


web\wwsapi\MetadataExchangeService


WWSAPI Sample – MetadataImportWithIssuedTokenOverSslExample


Demonstrates Windows Web Services API


web\wwsapi\MetadataImportWithIssuedTokenOverSslExample


WWSAPI Sample – MetadataImportWithUsernameOverSslExample


Demonstrates Windows Web Services API


web\wwsapi\MetadataImportWithUsernameOverSslExample


WWSAPI Sample – MetadataImportWithX509OverSslExample


Demonstrates Windows Web Services API


web\wwsapi\MetadataImportWithX509OverSslExample


WWSAPI Sample – MulticastUdpClient


Demonstrates Windows Web Services API


web\wwsapi\MulticastUdpClient


WWSAPI Sample – MulticastUdpClient6


Demonstrates Windows Web Services API


web\wwsapi\MulticastUdpClient6


WWSAPI Sample – MulticastUdpServer


Demonstrates Windows Web Services API


web\wwsapi\MulticastUdpServer


WWSAPI Sample – MulticastUdpServer6


Demonstrates Windows Web Services API


web\wwsapi\MulticastUdpServer6


WWSAPI Sample – NavigateXml


Demonstrates Windows Web Services API


web\wwsapi\NavigateXml


WWSAPI Sample – OneWayTcpClient


Demonstrates Windows Web Services API


web\wwsapi\OneWayTcpClient


WWSAPI Sample – OneWayTcpServer


Demonstrates Windows Web Services API


web\wwsapi\OneWayTcpServer


WWSAPI Sample – OneWayUdpClient


Demonstrates Windows Web Services API


web\wwsapi\OneWayUdpClient


WWSAPI Sample – OneWayUdpServer


Demonstrates Windows Web Services API


web\wwsapi\OneWayUdpServer


WWSAPI Sample – PolicyTemplate


Demonstrates Windows Web Services API


web\wwsapi\PolicyTemplate


WWSAPI Sample – ReadAttribute


Demonstrates Windows Web Services API


web\wwsapi\ReadAttribute


WWSAPI Sample – ReadWriteArray


Demonstrates Windows Web Services API


web\wwsapi\ReadWriteArray


WWSAPI Sample – ReadWriteBytesXml


Demonstrates Windows Web Services API


web\wwsapi\ReadWriteBytesXml


WWSAPI Sample – ReadWriteRawXml


Demonstrates Windows Web Services API


web\wwsapi\ReadWriteRawXml


WWSAPI Sample – ReadWriteXml


Demonstrates Windows Web Services API


web\wwsapi\ReadWriteXml


WWSAPI Sample – ReadXml


Demonstrates Windows Web Services API


web\wwsapi\ReadXml


WWSAPI Sample – ReadXmlSimple


Demonstrates Windows Web Services API


web\wwsapi\ReadXmlSimple


WWSAPI Sample – RequestReplyTcpClient


Demonstrates Windows Web Services API


web\wwsapi\RequestReplyTcpClient


WWSAPI Sample – RequestReplyTcpClientWithWindowsTransportSecurity


Demonstrates Windows Web Services API


web\wwsapi\RequestReplyTcpClientWithWindowsTransportSecurity


WWSAPI Sample – RequestReplyTcpServer


Demonstrates Windows Web Services API


web\wwsapi\RequestReplyTcpServer


WWSAPI Sample – RequestReplyTcpServerWithWindowsTransportSecurity


Demonstrates Windows Web Services API


web\wwsapi\RequestReplyTcpServerWithWindowsTransportSecurity


WWSAPI Sample – ServiceCancelClient


Demonstrates Windows Web Services API


web\wwsapi\ServiceCancelClient


WWSAPI Sample – SessionfullCalculatorClient


Demonstrates Windows Web Services API


web\wwsapi\SessionfullCalculatorClient


WWSAPI Sample – SessionfullCalculatorService


Demonstrates Windows Web Services API


web\wwsapi\SessionfullCalculatorService


WWSAPI Sample – StreamingHttpClient


Demonstrates Windows Web Services API


web\wwsapi\StreamingHttpClient


WWSAPI Sample – StreamingHttpServer


Demonstrates Windows Web Services API


web\wwsapi\StreamingHttpServer


WWSAPI Sample – StreamingTcpClient


Demonstrates Windows Web Services API


web\wwsapi\StreamingTcpClient


WWSAPI Sample – StreamingTcpServer


Demonstrates Windows Web Services API


web\wwsapi\StreamingTcpServer


WWSAPI Sample – UnTypedClient


Demonstrates Windows Web Services API


web\wwsapi\UnTypedClient


WWSAPI Sample – UnTypedService


Demonstrates Windows Web Services API


web\wwsapi\UnTypedService


WWSAPI Sample – WcfPublicServiceClient


Demonstrates Windows Web Services API


web\wwsapi\WcfPublicServiceClient


WWSAPI Sample – WriteXmlSimple


Demonstrates Windows Web Services API


web\wwsapi\WriteXmlSimple


WWSAPI Sample – XmlBuffer


Demonstrates Windows Web Services API


web\wwsapi\XmlBuffer


WWSAPI Sample – XmlDictionary


Demonstrates Windows Web Services API.


web\wwsapi\XmlDictionary


 


 


Karin Meier-Magruder


Program Manager for Samples


Windows SDK Team

Comments (0)