CL06: Networking and Web Services in Silverlight - MSDN

joeneetscompetitiveSecurity

Nov 3, 2013 (3 years and 9 months ago)

62 views


>
>
>
>
>
>
>
“Forms over data” E2E business app

System.Web.DomainServices

>
>
>
>
>
>
>
>
>
CL21 @ 11:30AM
-

Building Amazing Business
Applications with Silverlight and .NET RIA Services

>
CL07 @ 1:45PM
-

Mastering .NET RIA Services

WCF RIA Services

demo

>
>
System.Net

>
>
>
>
>
>
>
BrowserHttp

Stack

ClientHttp

Stack

Basic Authentication

Handled

by browser

No [SL3]


Yes

Caching

Handled by browser

Not supported

Concurrent Connections

Handled by browser

6

Cookies

Handled by browser

Handled

by app

Cross
-
domain

Support

Need policy file

Need file

policy file [SL3]


Not needed if elevated

Digest Authentication

Handled by browser

No [SL3]


Yes

HTTP Verbs

GET,

POST

All (need policy file)

NTLM Auth

Handled by browser

No [SL3]


Yes

Request Headers

Only supported

on POST

Supported on all verbs

Response Body

Only on 200 response

Fully

supported

Response

Headers

Not supported

Fully

supported

Status

Codes

Only 200/404

Fully

supported

demo

System.Data.Services

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
demo

Web HTTP
Services

Workflow
Services

System.Net

WCF Data Services

>
>
>
App which accesses server business logic

>
Chat app

>
Streamed data (video, stock prices) inside an intranet

System.ServiceModel

>
>
>
>
>
>
>
Server throughput increase

20 objects
100 objects
6122

2702

7570

4615

Web service requests/sec

Message complexity

HP BL680c: 8 Intel EMT64 cores@2.4GHz

Windows Server 2008 64
-
bit, IIS7

Text / HTTP
Binary / HTTP
24%

71%

Message size reduction

15%

34%

40%

Size reduction

String
Int
Large object graph
>
>
>
>
>
>
>
>
>
[Post SL4 Beta]
>
[Post SL4 Beta]
>
>
>
Intel Xeon 2 cores@3.6GHz, 2GB RAM

Windows Server 2008 32
-
bit, IIS7
0
1000
2000
3000
4000
5000
6000
7000
1s
2s
5s
10s
30s
Maximum clients connected

Message broadcast frequency

PollingDuplex
NetTcp
demo

System.Net

>
>
>
>
>
>
>
>
>
>
>
>
[Post SL4 Beta]
WCF

System.Net

System.Net

>
App which accesses server business logic

>
Chat app

>
Streamed data (video, stock prices) inside an intranet


>
“Forms over data” E2E business app

>
WCF RIA Services (
System.Web.DomainServices

)

>
Access data from
third
-
party REST service

>
System.Net

>
Access your database or SharePoint data model using REST

>
WCF Data Services
(
System.Data.Services
)

>
App which accesses server business logic

>
WCF (
System.ServiceModel
)

>
Chat app

>
WCF (
System.ServiceModel
)

>
Streamed data (video, stock prices) inside an intranet

>
System.Net

>
>
http://blogs.msdn.com/astoriateam
>
http://blogs.msdn.com/matos

>
http://blogs.msdn.com/ncl
>
http://blogs.msdn.com/silverlightws
>
yavorg@microsoft.com
>
>
FT12
-

ADO.NET Data Services: What’s New with the
RESTful

Data Services Framework

>
FT55

-

Developing REST Applications with the .NET
Framework

>
SVC31

-

Lessons Learned: Building On
-
Premises and Cloud
Applications with the Service Bus and Windows Azure

>
Tomorrow

>
CL21 @ 11:30AM
-

Building Amazing Business Applications
with Silverlight and.NET RIA Services

>
CL07 @ 1:45PM
-

Mastering .NET RIA Services

>
PR12 @ 1:45PM

-

It's All about the Services: Developing
Custom Applications for SharePoint Server 2010 Using
ASP.NET, WCF, and REST


>
>

channel9.msdn.com/learn
Built by Developers for Developers….

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be re
gis
tered 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
dat
e 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 accu
rac
y 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.