Simplicity Tile Update Notification Service Tile Update Notification Service SOAP Windows Communication Foundation Windows Web Services SOAP.

Slides:



Advertisements
Similar presentations
Programming with Android: Network Operations
Advertisements

WEB AND WIRELESS AUTOMATION connecting people and processes InduSoft Web Solution Welcome.
Securing, Connecting, and Scaling in Windows Azure Name Title Microsoft Corporation.
GETTING STARTED WITH WINDOWS COMMUNICATION FOUNDATION 4.5 Ed Jones & Grey Guindon.
CSE 333 – SECTION 8 Networking and sockets. Overview Network Sockets IP addresses and IP address structures in C/C++ DNS – Resolving DNS names Demos.
1. 2 Branch Office Network Performance Caches content downloaded from file and Web servers Users in the branch can quickly open files stored in the cache.
What’s New in Windows Communication Foundation in Microsoft.NET 4.5 Daniel Roth Senior Program Manager Microsoft Corporation DEV326.
HTML5 Applications with ASP.NET Web Forms Stephen Walther Superexpert.com
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Application Layer – Lecture.
Network Programming 授課教師 : 詹益禎 中文課名 : 網路程式設計 學分時數 : 3 學分\ 3 小時 助教 : 李宏杰、趙振宣 教室 : 上課時間 : 9:05~12:00 (Wed.)
1 Application Layer. 2 Writing Networked Applications TCP UDP IP LL PL TCP UDP IP LL PL TCP UDP IP LL PL Web Browser Web Server Ftp Server Ftp Client.
Ronnie Saurenmann Principal Architect Microsoft Switzerland
Cloud-powered apps Apps that fetch content from the web or peer devices Faster, More Capable Built using networking APIs in Windows Higher performance.
Internet Information Server (IIS)
Dr. Philip Cannata 1 Principles of Network Applications.
Getting Started with Windows Communication Foundation 4.5 Ed Jones, MCT, MCPD, MCTS Consultant RBA Inc.
Developing Windows 8 Store Apps using HTML5 Refresh / Exam Prep M2: Storage, Networking, and Security Michael Palermo Microsoft Technical Evangelist.
1 Enabling Secure Internet Access with ISA Server.
Managed Code Generics Language Integrated Query Dynamic + Language Parity C# VB 11.0 Windows Runtime + Asynchrony C# VB 7.0 C# VB.
Software development. Chapter 5 – Data management.
Name Title Microsoft Corporation Push Notification Introduction and Platform Interaction.
Building Offline/Cache Mode Web Apps Using Sync Framework Mike Clark Group Manager Cloud Data Services Team
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL Introduction to Windows Communication Foundation Ruwan Wijesinghe.
FORESEC Academy FORESEC Academy Security Essentials (II)
Network Programming 授課教師 : 詹益禎 中文課名 : 網路程式設計 學分時數 : 3學分\3小時 助教 :許聖宏
Josh
Design Windows Media Services Infrastructure. Module 7: Design Windows Media Services Infrastructure Design Windows Media Services for live streaming.
Building Data Driven Applications Using WinRT and XAML Sergey Barskiy, Magenic Microsoft MVP – Data Platform Principal Consultant Level: Intermediate.
Principles of Computer Security: CompTIA Security + ® and Beyond, Third Edition © 2012 Principles of Computer Security: CompTIA Security+ ® and Beyond,
Internet-Based Client Access
Silverlight 2 has rich networking support SOAP/XML Web services via WCF proxies Untyped HTTP services (REST, RSS, ATOM) via HttpWebRequest and WebClient.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Module 7: Integrating with Adapters. Overview Lesson 1: Introduction to BizTalk Adapters Lesson 2: Configuring a BizTalk Adapter.
Lecture 15 Introduction to Web Services Web Service Applications.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Extending the Reach of your Applications Jeremy Boyd & John-Daniel Trask Mindscape.
Vassil Roussev 2 A socket is the basic remote communication abstraction provided by the OS to processes. controlled by operating system.
Simple for you while still delighting your users.
Lewis Benge. // using Windows.Networking; // using Windows.Networking.Sockets; var socket = new StreamSocket(); var hostName = new HostName("example.com");
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
MDCFUG TeraTech, Inc Adobe Apollo By Michael Smith TeraTech.
MULTI-PLATFORM DATA COLLECTION Time Gatherer. Multi-Platform Reporting Time Clock Devices Desktop Client Web Client Phone Clients PDA Clients.
.NET Enterprise Services COM+ 1.5 麥超俊 Bobby Mak 架構技術推廣經理開發工具暨平台推廣處台灣微軟股份有限公司.
WSV Problem Background 3. Accelerated Protocols and Workloads 4. Deployment and Management 2. BranchCache Solution Modes 5. BranchCache Protocols.
Building a Web API for browser/JSON clients.
2007cs Servers on the Web. The World-Wide Web 2007 cs CSS JS HTML Server Browser JS CSS HTML Transfer of resources using HTTP.
RTCWEB Considerations for NATs, Firewalls and HTTP proxies draft-hutton-rtcweb-nat-firewall- considerations A. Hutton, T. Stach, J. Uberti.
1 Alternative view on Internet Computing Web 1.0 –Web 1.0 is first generation, Web Information based. Driven by Information provider. Web 2.0 Ajax enabled.
Kemal Baykal Rasim Ismayilov
1 Tips & Tricks: Using System.Net To Write Better Connected Applications Durgaprasad Gorti COML02 Test Lead Microsoft Corporation.
Five great reasons to use the new HttpClient API
Migrating an Enterprise Microsoft Product (TFS) on to Windows Azure Sriram Dhanasekaran SDE II, Microsoft.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 18 Windows Internet Name Service (WINS)
©The McGraw-Hill Companies, Inc., 2000© Adapted for use at JMU by Mohamed Aboutabl, 2003Mohamed Aboutabl1 1 Chapter 16 Socket Interface.
Exploring Mobile Device Networking Lesson 4. Exam Objective Matrix Skills/ConceptsMTA Exam Objectives Understanding Networking for Mobile Devices Network.
Exploring Networked Data and Data Stores Lesson 3.
Arizona SharePoint Professionals Group.
App Peripherals CAN BILGIN, Authority Partners Inc.
Internet Socket Programing
Introduction to Windows Azure AppFabric
CS5220 Advanced Topics in Web Programming Introduction to WebSocket
Using the right networking APIs for your Universal Windows app
Building real-time web apps with WebSockets using IIS, ASP.NET and WCF
Making apps social and connected with HTTP services
Building real-time web apps with HTML5 WebSockets
ما هي خدمة بروتوكول نقل الملفات؟
Jeremy Foster Michael Palermo
IS 4506 Server Configuration (HTTP Server)
Computer Networks Protocols
IS 4506 Configuring the FTP Service
Presentation transcript:

Simplicity

Tile Update Notification Service Tile Update Notification Service SOAP Windows Communication Foundation Windows Web Services SOAP Windows Communication Foundation Windows Web Services Proximity Discovery Xbox LIVE Download/Uploa d Background Transfer Download/Uploa d Background Transfer OAuth SkyDrive Live ID Connected Accounts Live ID Connected Accounts Cost/Caps ConnectionCost Cost/Caps ConnectionCost Capabilities Sockets WebSockets Sockets WebSockets Offline HTML IndexedDB Application Cache DOM Storage File API Offline HTML IndexedDB Application Cache DOM Storage File API Syndication RSS AtomPub Syndication RSS AtomPub HTTP/REST Windows Communication Foundation XHR HttpClient HttpWebRequest IXHR HTTP/REST Windows Communication Foundation XHR HttpClient HttpWebRequest IXHR WebAuth Broker Microsoft Web Services High-level Foundational Helper Stream Data Reader+Writer Stream Data Reader+Writer Contracts Share, Settings, … Contracts Share, Settings, …

Tile Update Notification Service Tile Update Notification Service SOAP Windows Communication Foundation Windows Web Services SOAP Windows Communication Foundation Windows Web Services Proximity Discovery Xbox LIVE Download/Upload Background Transfer Download/Upload Background Transfer OAuth SkyDrive Live ID Connected Accounts Live ID Connected Accounts Cost/Caps ConnectionCost Cost/Caps ConnectionCost Capabilities Sockets WebSockets Sockets WebSockets Offline HTML IndexedDB Application Cache DOM Storage File API Offline HTML IndexedDB Application Cache DOM Storage File API Syndication RSS AtomPub Syndication RSS AtomPub HTTP/REST Windows Communication Foundation XHR HttpClient HttpWebRequest IXHR HTTP/REST Windows Communication Foundation XHR HttpClient HttpWebRequest IXHR WebAuth Broker Microsoft Web Services High-level Foundational Helper Stream Data Reader+Writer Stream Data Reader+Writer Contracts Share, Settings, … Contracts Share, Settings, …

TCP protocol Client StreamSocket TCP protocol Server StreamSocketListener UDP protocol Peer DatagramSocket WebSocket protocol (TCP-like) Client StreamWebSocket WebSocket protocol (UDP-like) Client MessageWebSocket Uses TCP or Bluetooth Peer ProximityStreamSocket

public static long GetMaxSocketSendSpeed(TcpClient client) { IPAddress ipAddress = ((IPEndPoint)client.Client.LocalEndPoint).Address; NetworkInterface[] adapters = NetworkInterface.GetAllNetworkInterfaces(); foreach (NetworkInterface adapter in adapters) { IPInterfaceProperties adapterProperties = adapter.GetIPProperties(); UnicastIPAddressInformationCollection addrInfos = adapterProperties.UnicastAddresses; foreach (UnicastIPAddressInformation addrInfo in addrInfos) { if (addrInfo.Address.Equals(ipAddress)) { return adapter.Speed; } return 0; }

Class relationships StreamSock et Control StreamSock et Control Remote HostName Remote HostName Bandwidth Statistics Bandwidth Statistics RoundTripTime Statistics RoundTripTime Statistics Network Item Connection Cost OutputStrea m InputStream Win32 and.NET Win32 only New in Win8 StreamSock et Information StreamSock et Information Local HostName Local HostName Network Adapter Network Adapter Connection Profile DataPlan Status DataPlan Usage DataPlan Usage StreamSock et

// using Windows.Networking; // using Windows.Networking.Sockets; var socket = new StreamSocket(); var hostName = new HostName("example.com"); string serviceName = "4554"; // Connect using regular TCP (no security). await socket.ConnectAsync(hostName, serviceName, SocketProtectionLevel.PlainSocket); // OPTIONAL: Enable SSL for security. await socket.ConnectAsync(hostName, serviceName, SocketProtectionLevel.Ssl);

RawName (input)DisplayNameCanonicalName Example.Com example.com Example.xn--p1aiExample.рфexample.рф :0::1::1

// using Windows.Storage.Streams; var writer = new DataWriter(socket.OutputStream); // There’s Write*() APIs for a large number of types. writer.WriteInt32(42); await writer.StoreAsync(); // OPTIONAL: Set endian-ness (defaults to LittleEndian). writer.ByteOrder = ByteOrder.BigEndian;

// using Windows.Storage.Streams; var reader = new DataReader(socket.InputStream); // Read in exactly 4 bytes of data. await reader.LoadAsync(4); // There’s Read*() APIs for a large number of types. int number = reader.ReadInt32(); // Read in as many bytes as are available, up to 64K. reader.InputStreamOptions = InputStreamOptions.Partial; await reader.LoadAsync(64 * 1024);

// OPTIONAL: Close the socket. socket.Close();

Runtime streams integration

WebcamSocketEncrypt File Socket Mic File … Speakers Video control … Decrypt Compres s Decompre ss …

Proximity discovery

Windows.Networking.Proximity.PeerFinder.allowBluetooth = false; Windows.Networking.Proximity.PeerFinder.onpeerconnectprogress = peerConnectProgressEventHandler; Windows.Networking.Proximity.PeerFinder.start(); function peerConnectProgressEventHandler(ev) { if (ev.connectState == Windows.Networking.Proximity.PeerConnectState.connectComplete) { socket = ev.proximityStreamSocket; if (socket.information.LocalHostName.canonicalName < socket.information.RemoteHostName.canonicalName) { onStreamSocketConnected(); } else { onStreamSocketAccepted(); }

Web proxy traversal

Enterprise network Internet Web Proxy X

combine the best of both worlds. Web Sockets

// Create a TCP-like WebSocket. var socket = new StreamWebSocket(); // Connect to a URI. “wss” means use TLS to secure connection. await socket.ConnectAsync(new Uri(“wss://example.com/demo”)); // After this point, use the socket just like a StreamSocket. // OPTIONAL: Set any HTTP headers desired. socket.SetRequestHeader(“User-Agent”, “myapp”);

Review

Simplicity Streams Integration Proximity Discovery Web Proxy Traversal

[PLAT-785T] Creating connected apps that work on today's networks [PLAT-270T] Connecting and sharing with near field communication [SAC-807T] Building real-time web apps with WebSockets using IIS, ASP.NET and WCF [PLAT-373C] Building real-time web apps with HTML5 WebSockets [TOOL-588T] Debugging connected Windows 8 apps