Silverlight 2 has rich networking support SOAP/XML Web services via WCF proxies Untyped HTTP services (REST, RSS, ATOM) via HttpWebRequest and WebClient.

Slides:



Advertisements
Similar presentations
Programming with Android: Network Operations
Advertisements

Microsoft Confidential. An incubation effort to: Support client -> server communication in native code with a modern C++ API design Support writing Azure-based.
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
Windows Communication Foundation and Web Services.
2 No Silverlight (2) Application is an Island (of richness) Mike Taulty Microsoft UK
Ronnie Saurenmann Principal Architect Microsoft Switzerland
Web Services Rob S. Miles | Microsoft MVP | University of Hull, UK Andy Wigley | Microsoft MVP | Appa Mundi Session 11.0.
Microsoft Silverlight Applications Need Data... and Here's How to Get It! Gill Cleeren Microsoft Regional Director Benelux / MVP ASP.NET.NET Software.
Basic features ● Document database ● Paid deployment ● JSON ● C#, HTTP REST, Java ● version 3.0.
Interaction & Transactional Services Interaction & Transactional Services Silverlight Client HTML + XAP Web Browser Site Of Origin Web Server Web.
Gill Cleeren Microsoft Regional Director Microsoft MVP ASP.NET Ordina Belgium -
Switching on the cloud for Silverlight MSDN Live Meeting Gill Cleeren Microsoft Regional Director – Silverlight MVP Ordina Belgium.
1 Web Services Visual C# 2008 Step by Step Chapter 30.
Getting Started with Windows Communication Foundation 4.5 Ed Jones, MCT, MCPD, MCTS Consultant RBA Inc.
Getting Started with WCF Windows Communication Foundation 4.0 Development Chapter 1.
Human-Computer Interface Course 5. ISPs and Internet connection.
It’s always better live. MSDN Events INTRODUCTION TO SILVERLIGHT prepared by Joe Nov INTRODUCTION TO SILVERLIGHT prepared by Joe Nov
ASP. Net is a rich web framework that leverages well known patterns and JavaScript frameworks to build great web experiences quickly.
Module 14: WCF Send Adapters. Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
School of Engineering and Computer Science Victoria University of Wellington Copyright: Peter Andreae, VUW Networking COMP # 21.
Web Services & WCF ~ Ankit. Web services A web service is a collection of protocols and standards used for exchanging data between applications or systems.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Project “Astoria” first announced in Mix 2007 Shared early prototypes, got tons of feedback Now we’re talking about the real deal Production quality bits,
Interactive TV Team. Parts of software  Admin control panel (UI) Any control panel designed for a specific use, our target basketball game.  Restful.
Visual Studio 2008 and.NET 3.5 provide seamless support for all of the protocols and techniques popular in Web 2.0-style applications. Visual Studio.
 Mike Flasko Program Manager Microsoft Corporation TL07.
Lap Around Visual Studio 2008 &.NET 3.5 Enhancements.
INT-5: Integrate over the Web with OpenEdge® Web Services
Telerik Software Academy Web Services & Cloud.
Why data services? Common challenges when creating rich web applications Creating rich web applications with data services Future scenarios & roadmap.
Developing ASP.NET AJAX Controls with Silverlight Barry Gervin Microsoft Regional Director John Bristowe Developer Advisor, Microsoft.
Integrating and Troubleshooting Citrix Access Gateway.
2007cs Servers on the Web. The World-Wide Web 2007 cs CSS JS HTML Server Browser JS CSS HTML Transfer of resources using HTTP.
Socket Programming Introduction. Socket Definition A network socket is one endpoint in a two-way communication flow between two programs running over.
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.
1 ADO.NET Data Services Mike Taulty Developer & Platform Group Microsoft Ltd
Socket Programming.
Simple Back-End Data Access WCF, SOAP WCF, SOAP REST, XML/JSON, Atom/RSS Mashups (Using REST APIs) WCF “Data Push” (Server to Client)
Simplicity Tile Update Notification Service Tile Update Notification Service SOAP Windows Communication Foundation Windows Web Services SOAP.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
.NET Mobile Application Development XML Web Services.
Janakiram MSV Developer Evangelist Microsoft Corporation.
Exploring Mobile Device Networking Lesson 4. Exam Objective Matrix Skills/ConceptsMTA Exam Objectives Understanding Networking for Mobile Devices Network.
Feeling RESTful? Well, first we’ll define a Web Service –A web page meant to be consumed by a computer via an autonomous program as opposed to a web browser.
1 Network Communications A Brief Introduction. 2 Network Communications.
OE-NIK HP Advanced Programming Web services Standards and protocols Using web services Using web services with asynchronous calls.
CLIENT (Browser) socket accept C1 C2 recv C2 recv send C2 send end_thread recv C3 send bind connect Web Server Proxy recv close C3 close C2 end_thread.
2 ADO.NET Data Services for the Web Mike Flasko Program Manager, Microsoft “Project Astoria”
ArcGIS for Server Security: Advanced
Windows Communication Foundation and Web Services
Introducing the Microsoft® .NET Framework
Windows Communication Foundation
Building and Consuming REST-based Data Services for the Web
Windows Communication Foundation
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
Drawbacks of Traditional Web
Working at a Small-to-Medium Business or ISP – Chapter 7
Windows Communication Foundation and Web Services
Entity Framework 4 and WCF Data Services 4
Working at a Small-to-Medium Business or ISP – Chapter 7
2017, Fall Pusan National University Ki-Joune Li
Working at a Small-to-Medium Business or ISP – Chapter 7
HTTP/2.
Software Engineering for Internet Applications
Student: Popa Andrei-Sebastian
Computer Networks Protocols
Silverlight Development in SharePoint 2010
WCF Data Services and Silverlight
.NET Framework V3.5+ & RESTful web services
Presentation transcript:

Silverlight 2 has rich networking support SOAP/XML Web services via WCF proxies Untyped HTTP services (REST, RSS, ATOM) via HttpWebRequest and WebClient Socket support, asset downloads over HTTP, syndication classes, and more Also supports WCF duplex services and ADO.NET data services ("Astoria")

Allowed if target domain has XML policy file in place permitting calls from other domains Crossdomain.xml – Requires domain="*" allowing calls from any domain Clientaccesspolicy.xml – Can allow access to all domains or specified domains Policy file must be located at domain root

Event-based HTTP networking API Commonly used to download assets DownloadStringAsync - String OpenReadAsync – Stream (binary) Can also be used to call untyped services Fires progress and completion events and supports cancellation of pending requests Event handlers execute on UI thread

Delegate-based HTTP networking API Supports asynchronous operation only Does NOT support relative URIs! Generally used to call untyped HTTP services (e.g., REST services) Completion methods called on background threads

Callable through WCF Web service proxies Use Visual Studio's "Add Service Reference" command to generate proxies SOAP services and script-callable ASP.NET AJAX (JSON) services supported ASP.NET AJAX page methods not supported Asynchronous calls only

Callable through WCF Web service proxies Use Visual Studio's "Add Service Reference" command to generate proxies WS-I Basic Profile 1.0 (SOAP 1.1 over HTTP) For WCF, BasicHttpBinding Textual XML encoding only Asynchronous calls only

Silverlight can integrate with WCF duplex services to implement push model for data Client transmits Net Duplex request to initiate connection Server uses WS-Make Connection to open callback channel for transmitting data Client "listens" on callback channel

Silverlight supports socket connections System.Net.Sockets.Socket class Policy file required even for same domain Connection must be made from client Restrictions Ports only Host identified by host name, not IP TCP only (no UDP)

Consuming Amazon's RESTful Services with Silverlight 2