3/27/2017 2:27 AM ©2005 Microsoft Corporation. All rights reserved.

Slides:



Advertisements
Presentazioni simili
Introduzione a Windows Communication Foundation
Advertisements

IBM System i Il Sistema Enterprise per la PMI
© 2010 Colt Telecom Group Limited. All rights reserved. Cloud Computing Lapproccio Colt Dionigi Faccedna.
Interfacce Java.
Introduzione ai Visual Studio Tools For Office 2005 Fabio Santini
Recovery e Troubleshooting di Active Directory Renato Francesco Giorgini
Comprendere Workflow Foundation In Windows e in 2007 Microsoft Office system Paolo Pialorsi Roberto Brunetti.
Sviluppare workflow per il nuovo 2007 Microsoft Office system e Windows SharePoint Services 3.0 Paolo Pialorsi
La sicurezza di ASP.NET e IIS
Services For Unix 3.5 Lintegrazione di piattaforme e applicazioni UNIX con Windows Server 2003 Lintegrazione di piattaforme e applicazioni UNIX con Windows.
Midrange Modernization Conference 1 Scenari evolutivi per le soluzioni basate su AS/400 Walter Poloni Direttore Developer & Platform Evangelism Microsoft.
TechNet Integration Workshop
1 Teaching Cloud Computing and Windows Azure in Academia Domenico Talia UNIVERSITA DELLA CALABRIA & ICAR-CNR Italy Faculty Days 2010.
3/27/2017 2:28 AM ©2005 Microsoft Corporation. All rights reserved.
Luca Bianchi Windows Development Day Bologna 28 gennaio 2005 SQL Server Desktop Engine (MSDE) & SQL Server 2005 Express.
Sql Server 2005 Reporting Services - Sviluppo Franco Perduca Factory Software
La piattaforma Microsoft per lo sviluppo di applicazioni
workshop WS-Interop: COM Java.NET Pierre Greborio PEWay Microsoft MVP – Solutions Architect
1 Building Connected Systems: Today and Tomorrow Giuseppe Guerrasio Senior.NET Developer Developer & Platform Division Microsoft.
Vincenzo Campanale PM Security & Management System Center, DSI e la Roadmap.
WSDL (Web Services Description Language) Laurea Magistrale in Informatica Reti 2 (2006/07) dott. Federico Paoloni
UDDI (Universal Description, Discovery and Integration Protocol) Laurea Magistrale in Informatica Reti 2 (2006/07) dott. Federico Paoloni
Web Services.
1 Processi e Thread Processi Thread Meccanismi di comunicazione fra processi (IPC) Problemi classici di IPC Scheduling Processi e thread in Unix Processi.
Introduzione ai Web Services. E' un nuovo meccanismo RPC ottimizzato per l'uso in Internet Un qualunque Client su una generica piattaforma deve poter.
Seam.
5-1 Point to Point Data Link Control Crediti Parte delle slide seguenti sono adattate dalla versione originale di J.F Kurose and K.W. Ross (©
Microsoft Robotics Studio Marco Petrucco Microsoft Student Partner - Udine.
EJB Enterprise Java Beans B. Pernici. Approccio Java.
B. Pernici WP 8 Exploitation Roma, 24 novembre 2005.
Pierluigi Plebani - Politecnico di Milano MAIS Registry URBE (Uddi Registry By Example) WP2 Roma - 25 Novembre 2005.
Model – View - Controller
Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange.
Comunicazione on-line, reti e virtualità Matteo Cristani.
1. Conoscere luso delle collezioni in Java Comprendere le principali caratteristiche nelle varie classi di Collection disponibili Saper individuare quali.
Perché.Net e non più COM/DCOM ? Superamento dei problemi di COM: Richiede una infrastruttura "non semplice" da ogni applicazione (ad esempio Class Factory.
Programming with JXTA Hello World Peer discovery Peer Group discovery Creating Peer group Joining a Peer Group.
Università La Sapienza Ingegneria del Software I 1 Ingegneria del software I Seminario 2: Microsoft.NET.
2000 Prentice Hall, Inc. All rights reserved. 1 Capitolo 6: Classi e astrazione dati 1.Introduzione 2.Definizione delle strutture 3.Accedere ai membri.
FONDAMENTI DI INFORMATICA III WfMC-1. FONDAMENTI DI INFORMATICA III WfMC-2 WFMC Cose WfMC Workflow Management Coalition (WfMC), Brussels, è unorganizzazione.
Linux firewalls Massimo Ianigro - CNR Area di Ricerca - Bari
ATE / 31 Lezione 3 i sistemi automatici di misurazione - gli ATE.
New Features + Improvements Miglioramenti alle Situazioni contabili Distribuzione costi Intragruppo in registrazione fatture di acqusti Varie.
Articoli e codice: Blog: Profilo MVP:
7 cose da sapere su Volume Activation con Windows 7 © 2009 Microsoft Corporation. Tutti i diritti riservati. Come professionista IT, devi sapere che l'attivazione.
© 2008 WS (WebScience srl) – All rights reserved WS Tech workshop Software Construction.
OR5 – Rete di trasmissione
PROGETTO DI STRUMENTI PER LA CONFIGURAZIONE DI APPLICAZIONI JAVA ENTERPRISE Anno Accademico 2006 / 2007 Sessione III FACOLTÀ DI INGEGNERIA CORSO DI LAUREA.
Facelets case study: Ricettario Docente: Gabriele Lombardi
WPF per il client Desktop
14° Workshop – DotNetMarche :: Castelfidardo, 16 Aprile 2010 Introduzione ai framework per IoC / DI e AOP.
Fabio Cozzolino Vito Arconzo
Scoprirete che su Office non si può solo contare ma anche sviluppare.
Microsoft Office SharePoint Designer 2007 Costruire soluzioni SharePoint senza sviluppare codice Paolo Pialorsi
IIS7 Media Services Piergiorgio Malusardi IT Pro Evangelist
VB.NET Sviluppo Applicazioni Desktop
Visual Studio Tools for Office: Developer Solutions Platform Fulvio Giaccari MCSD.NET / MCT Responsabile Usergroup ShareOffice Blog:
SQL Server 2005 Sicurezza Davide Mauri Factory Software
Giovedì 17 Aprile 2008 Heroes {Community} Launch Giovedì 17 Aprile 2008.
1 © 2004, Cisco Systems, Inc. All rights reserved. Il ruolo della Rete nella strategia aziendale David Bevilacqua Operations Director Enterprise 29 Settembre.
soluzioni professionali
20 maggio 2002 NETCODE Set up a thematic network for development of competence within the Information Society.
Negli ultimi anni, la richiesta di poter controllare in remoto la strumentazione e cresciuta rapidamente I miglioramenti nell’hardware e nel software insieme.
Collection & Generics in Java
Sistemi di elaborazione dell’informazione Modulo 3 -Protocolli applicativi Unità didattica 4 - Protocolli del Web Ernesto Damiani Lezione 3 – Esempi HTTP.
Azure: Mobile Services e Notification Hub ANDREA GIUNTA.
JDBC Java DataBase Connectivity SISTEMI ITIS B. CASTELLI Anno Scolastico
IBM Travel & Transportation Industry © Copyright IBM Corporation 2004 Può il trasporto aereo fare a meno della « security » Integrata? La gestione integrata.
Distributed System ( )7 TCP/IP four-layer model.
Nuove funzionalitA’ e caratteristiche del linguaggio
Transcript della presentazione:

3/27/2017 2:27 AM ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Costruire Web Service oggi e domani 3/27/2017 2:27 AM Costruire Web Service oggi e domani Giuseppe Guerrasio Architect, Microsoft ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Piattaforme Integrate 3/27/2017 2:27 AM Ad un punto di svolta Sistemi Distribuiti Singola Applicazione Singola Piattaforma Piattaforme Integrate ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Un modello in evoluzione 3/27/2017 2:27 AM Un modello in evoluzione Funzionalità logiche ricorrenti ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

La Strategia: Connected System 3/27/2017 2:27 AM La Strategia: Connected System Fornire una piattaforma integrata di prodotti e tecnologie completa ed interoperabile … che include tool (dev e mgmt), framework, infrastruttura e piattaforma …che copra l’intera gamma bisogni (client, device, e server, workflow,dati, messagging , etc) …che sia interoperabile by design con le altre piattaforme … che abbracci tre principi architetturali chiave Service Orientation Claims-Based Security Model Driven Software ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Microsoft Application Platform Connected Systems 3/27/2017 2:27 AM ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Connected Applications (WSDL, Policy, Discovery, MEX) 3/27/2017 2:27 AM WS-* Architecture Applicazioni e Infrastruttura Connected Applications Business Process … Management Security Trust Secure Conversation Reliability Reliable Messaging Transactions Atomic Transaction Coordination Business Activity (WSDL, Policy, Discovery, MEX) Metadata Foundation Messaging (SOAP, Addressing, MTOM, Eventing) XML (XML, XSD, XPath) … HTTP TCP SMTP Transport ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

ASP.NET Web Services, WSE e WCF(Indigo) 3/27/2017 2:27 AM ASP.NET Web Services, WSE e WCF(Indigo) Unified distributed applications framework Windows Communication Foundation (Indigo) Tomorrow ASP.NET Web Services Web Services Enhancements Advanced WS-* Implementation Foundation for Web services and service-oriented applications Today ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Il Bus :Interoperabilità 3/27/2017 2:27 AM Il Bus :Interoperabilità Application App App App Indigo Activation and Hosting WAS Avalon *.EXE NT Service COM+ Messaging HTTP Channel TCP UDP X-Proc Queue SOAP Security SOAP Reliability Text/XML Encoder Binary Service Runtime Contracts Throttling Behavior Transaction Activation Concurrency Cmd/Control Facilities Error Metadata Instance Inspection Data Contract Message Service Policy and Binding WSE BizTalk Adapter Altri Stack Assurances Messaging SOAP WS-Security MTOM WS-Addressing Metadata WS-Policy WSDL UDDI WS-Metadata Exchange XML Schema WS-Reliable WS-Coordination WS-Atomic Transaction WS-Business Activity WS-Trust WS-Secure Conversation Infrastructure and Profiles WS-Management WS-Federation Devices Profile Foundation SOAP / HTTP MIME XML Infoset XML 1.0 XML Namespaces WS-* Protocols Network ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Temi Supporto WS .NET v2.0 Interoperabilità Produttività Estendibilità 3/27/2017 2:27 AM Temi Supporto WS .NET v2.0 Interoperabilità Produttività Estendibilità ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Bisogno di Oggi: Interoperabilità 3/27/2017 2:27 AM Bisogno di Oggi: Interoperabilità Miglioramenti alle caratteristiche di Interoperabilità con il supporto del Basic Profile 1.1 WS compatibili di default con specifico attributo attivato Emit Conformance Claim supportato lato client solo > 1.1 sp1 Supporto per SOAP 1.2 Server side controllato via .config Client side Wsdl.exe supporta entrambi 1.1 per default (wsdl.exe set /protocol a SOAP12) , SoapProtocolVersion come proprietà nel proxy Miglioramenti al supporto per la generazione del servizio a partire dal contratto (“contract-first”) wsdl.exe /serverInterface generazione interfaccia da implementare Verifica a run time della contract integrity Supporto per l’utilizzo dei Generics Adesempio:. public List<int> ReturnIntegerList() Nullable Value Types Utilizzo di Nullable<T> ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Bisogno di Oggi: Produttività 3/27/2017 2:27 AM Bisogno di Oggi: Produttività Client più semplici da sviluppare Nuovo modello asincrono event-based Utilizza XxxAsync e XxxCompleted event Evento richiamato sul thread chiamante Sotituisce BeginXxx, EndXxx mantenuti per compatibilità Supporto per il databinding nel proxy In V2.0 per default nel proxy vengono generate public property invece di field Wsdl.exe con /fields switch per comportamento V1.1 Client-side type sharing Individua gli schemi equivalenti e genera un unico CLR type ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Bisogno di oggi:Estendibilità 3/27/2017 2:27 AM Bisogno di oggi:Estendibilità Custom serialization disponibile IXMLSerializable esposto nativamente Possibilità di gestire con proprio codice la serializzazione .NET Framework 2.0 introduce [XmlSchemaProvider] Usato con IXmlSerializable per indicare i metodi statici per generare lo schema Deprecato IXmlSerializable.GetSchema Custom proxy code generation con SchemaImporterExtension Classe astratta che abilita la generazione di custom code quando si importano schemi nel proxy ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Altre Estensioni alla v2.0 3/27/2017 2:27 AM Altre Estensioni alla v2.0 Supporto in System.Net per la determinazione dello stato di rete (online/offline) detect automatico della modifica del Web Proxy Supporto automatico della compressione nel Proxy Disponibile anche client side la compressione oltre che nativamente in II6, service.EnableDecompression = true; Costruzione a Design Time dei Serializzatori per i Proxy Generazione attraverso tool da riga di comando sgen.exe Integrazione in VIsual Studio Semplificazione nell’utilizzo delle Default Credential service.UseDefaultCredentials = true ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

3/27/2017 2:27 AM WSE è Security ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Framework v2.0 strada principale verso WSE 3.0 Indigo WSE v3.0 con .NET Framework v2.0 strada principale verso WFC ( Indigo) Semlpificare lo sviluppo di soluzioni Service Oriented utilizzando WS-* protocols e .NET Framework v2.0 Semplificare lo sviluppo di Web Service Sicuri ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

WSE 3.0 Applicazione di WS-Security con scenari attraverso le Policy 3/27/2017 2:27 AM WSE 3.0 Applicazione di WS-Security con scenari attraverso le Policy Descrivono i requisiti per i messaggi in ingresso ed in uscita attraverso Policy Assertion Superano le limitazioni delle Policy in WSE 2.0 Request e Response separati Complessità , necessita di pensare a basso livello alle singole funzionalità ed aggregarle Supporto di tool per Visual Studio 2005 Estensione dell’ ASMX programming model Trasporti alternativi es. TCP Hosting environment alternativi es. Console apps Messaging APIs ancora supportate ma deprecate SoapClient, SoapService Message Transmission Optimization Mechanism (MTOM) MTOM sostituisce DIME & WS-Attachments ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Turnkey Security Scenario 3/27/2017 2:27 AM Turnkey Security Scenario Basati su industry best practice Ogni scenario rappresenta una assertion UsernameForCertificate AnonymousForCertificate UsernameOverTransport Kerberos MutualCertificate ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

WSE 3.0 Session Management 3/27/2017 2:27 AM WSE 3.0 Session Management Stateful SCTs WSE 2.0 richiede che il servizio mantenga lo stato del SCT In WSE 3.0 lo stato può essere mantenuto con lo stesso SCT Permette al SCT di ristabilire una sessione SCT Cancellation In WSE 2.0 SCT scade a timeout In WSE 3.0 c’è la possibilità di cancellare una session ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Windows Communication Foundation (Indigo) 3/27/2017 2:27 AM Windows Communication Foundation (Indigo) Modello di programmazione unificato per costruire rapidamenteservice-oriented application per Windows Unifica le attuali tecnologie MS distribuite in un modello unico Appropriato per l’uso on-machine, cross machine, and cross Internet Unificazione Implementa le best practices per costruire applicazioni distribuite basate sui principi della service orientation Service Orientation Interoperabile con applicazioni di altre piattaforme con ampio supporto per WS*-Architecture Integrabile con gli altri windows distributed stacks Integrazione ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

WCF Architettura Application Service Model Messaging Hosting 3/27/2017 2:27 AM WCF Architettura Application … Error Behavior Metadata Behavior Instance Behavior Service Model Throttling Behavior Transaction Behavior Type Integ. Behavior Concurrency Behavior Messaging … Secure Channel Reliable Channel Text/XML Encoder … HTTP Channel TCP Channel Queue Channel Binary Encoder Hosting Environments WAS ASP.NET Avalon WinForm NT Service COM+ ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Client e Service Client Service Message 3/27/2017 2:27 AM ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Endpoint Client Service Message Endpoint Endpoint Endpoint Endpoint 3/27/2017 2:27 AM Endpoint Client Service Endpoint Message Endpoint Endpoint Endpoint ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Address, Binding, Contract 3/27/2017 2:27 AM Address, Binding, Contract Client Service A B C Endpoint Message Endpoint C B A A B C Endpoint Endpoint A B C Address Binding Contract Dove ? Come ? Cosa ? ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Service Orientation Client Service Message Endpoint A B C C Endpoint B 3/27/2017 2:27 AM Service Orientation Autonomy Client Boundary Service Endpoint A B C Message C Endpoint B A Endpoint A B C Endpoint A B C Mechanism Contract ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Inside Binding Binding Transport Encoders Protocol HTTP Text TX 3/27/2017 2:27 AM Inside Binding Binding HTTP Text TX Security RM Transport Encoders Protocol TCP HTTP Security RM Text MSMQ IPC TX .NET Binary Custom Custom Custom ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Binding BasicHttpBinding WsHttpBinding WsDualHttpBinding 3/27/2017 2:27 AM Binding BasicHttpBinding WsHttpBinding WsDualHttpBinding Interoperabili NetTcpBinding NetNamedPipeBinding NetMsmqBinding NetPeerTcpBinding WCF / WCF ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Windows Activation Service 3/27/2017 2:27 AM Windows Activation Service Nuovo modello di attivazione unificato condiviso da ASP.NET, IIS7, e WCF Supporto di protocolli multipli Windows Activation Service (WAS) NP Listener Adapter HTTP Listener Adapter (IIS7) TCP Listener Adapter Named Pipes Transport Listener HTTP.SYS TCP Transport Listener ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Applicationhost.config 3/27/2017 2:27 AM WAS/IIS7 Architecture Applicationhost.config Application Pool Application Application Pool Application Application Pool Application Application Pool Application Application Pool Application Application Pool Application Web.config Web.config W3SVC Windows Activation Service Web.config HTTP Mgr Config Mgr IIS 7.0 Benefici Architettura Process Activation Generalizzato Supporto Estendibile multi-protocol Health Management Configurabile Side by Side deployment Unified Management Model Completamente Componentizzato Process Mgr HTTP.SYS HTTP.SYS Indigo Net.TCP Listener Indigo Net.Pipe ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Guida verso WCF ASMX WSE Enterprise Services System.Messaging Remoting 3/27/2017 2:27 AM Guida verso WCF ASMX Quando siamo in dubbio,... usiamo ASMX WSE ASMX + WS-* in particolare Sicurezza Enterprise Services Per servizi aggiuntivi (Tx Distribuite) essenzialmente x-machine communication dentro i confini del servizio System.Messaging Per il messaging Remoting x-domain & custom transport ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

ASMX Guida Utilizzare Evitare Conformance claim “Service” interface 3/27/2017 2:27 AM ASMX Guida Utilizzare Conformance claim “Service” interface Differenti indirizzi per ciascun binding “Open content model” per i dati Evitare rpc/encoded ASP.Net state o “dipendenze dal trasporto” (esempio: HttpContext) SoapExtension ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

WSE Guida Utilizzare Evitare I suggerimenti della ASMX guida 3/27/2017 2:27 AM WSE Guida Utilizzare I suggerimenti della ASMX guida HTTP transport “Turnkey” policy (WSE3) MTOM (WSE3) Evitare Qualunque tipo di estensioni da SoapPort Custom transport IXmlElement per i data type DIME ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Da WSE a Indigo Codice Client 3/27/2017 2:27 AM public class myHelloWorld {        static void Main (string[ ] args) { HelloWorldWSE helloWorld = new HelloWorldWSE(); string response = helloWorld.Hello("hello"); } HelloWorld helloWorld = new HelloWorld(); Note: Modifiche configurative richieste ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Da WSE a Indigo Codice Server 3/27/2017 2:27 AM using Microsoft.Web.Services3; [WebService] class HelloWorld {     [WebMethod]     public string Hello (string text)        MessageSignature signature = (MessageSignature) RequestSoapContext.Current.Security.Elements[0];         if (!signature.SigningToken.Principal.IsInRole("BUILTIN\Administrators"))             throw new AuthorizationException("Access denied");           return String.Format("Hello, {0}", text);     } } Note: Configuration entry changes are required using System.ServiceModel; [PrincipalPermission(SecurityAction.Demand, null, "BUILTIN\Administrators")] [ServiceContract] [OperationContract] ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

3/27/2017 2:27 AM Riepilogo La piattaforma applicativa Microsoft è pensata per materializzare “Connected System” I Web Service sono una componente fondamentale e la piattaforma Roadmap chiara e definita verso Windows Communication Foundation (WCF) Supporto migliorato in .NET v2.0 per Interoperabilità, Produttività, Estendibilità WSE 3.0 porta WS-Security in .NET 2.0 Percorso di migrazione\interoperabilità per WCF garantito ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

© 2005 Microsoft Corporation. All rights reserved. 3/27/2017 2:27 AM © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

3/27/2017 2:27 AM Policy in WSE 3.0 Descrivono i requisiti per i messaggi in ingresso ed in uscita attraverso Policy Assertion Superano le limitazioni delle Policy in WSE 2.0 Request e Response separati Complessità , necessita di pensare a basso livello alle singole funzionalità ed aggregarle Policy files semplificati Semplificazione con i turnkey security assertion Nuovo object model per le policy serviceProxy.SetPolicy("ClientPolicy"); Utilizzo di attributi sia lato Server che Client [Policy("UserNameOverX509")] ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Policy Pipeline Architecture 3/27/2017 2:27 AM Policy Pipeline Architecture Le Policy assertion trasformano il messaggio Le Policy decrivono la input pipeline Input Soap Message Security Tracing Custom Esecuzione Codice Applicativo Output Soap Message Security Tracing Custom … e si esegue la output Pipeline ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Turnkey Security Scenario UsernameForCertificate Internet Intranet Username/Password per Autenticazione Confidenzialità, e firma richiesta con client key protetta con il certificato server Application Server Confidenzialità, e firma risposta con chiave fornita dal client Auth con username/ Password ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Client con Policy Attribute 3/27/2017 2:27 AM Client con Policy Attribute [Policy("UserNameOverX509")] public class StockQuoteClient : SoapClient { public StockQuoteClient( EndpointReference endpoint ) : base( endpoint ){} [SoapMethod("http://stockservice.contoso.com/wse/samples/2003/06/StockQuoteRequest")] public StockQuotes GetStockQuotes( StockQuoteRequest message ) return (StockQuotes)base.SendRequestResponse("GetStockQuotes", message ).GetBodyObject(typeof(StockQuotes)); } ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Example Policy Assertion public class UsernameOverX509Assertion : SecurityPolicyAssertion { // constructors public UsernameOverX509Assertion() { } // properties public TokenProvider<UsernameToken> UsernameTokenProvider { get { } set { } } public TokenProvider<X509SecurityToken> X509TokenProvider { get { } set { } } // methods public override SoapFilter CreateClientInputFilter(FilterCreationContext context) { } public override SoapFilter CreateClientOutputFilter(FilterCreationContext context) { } public override SoapFilter CreateServiceInputFilter(FilterCreationContext context) { } public override SoapFilter CreateServiceOutputFilter(FilterCreationContext context) { } public override IEnumerable<KeyValuePair<string, Type>> GetExtensions() { } public override XmlSchema GetSchema() { } public override void ReadXml(XmlReader reader) { } public override void WriteXml(XmlWriter writer) { } } ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Client con Policy Assertion via Codice 3/27/2017 2:27 AM Utilizzo di una Turnkey Security Assertion StockQuoteClient proxy; Policy myPolicy = new Policy(); myPolicy.Assertions.Add(new UsernameOverX509Assertion()); proxy.SetPolicy(myPolicy); Utilizzo di una Custom Policy Assertion e.g. XML Schema Validation myPolicy.Assertions.Add(new MyCustomAssertion()); ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Sessioni con Secure Conversation 3/27/2017 2:27 AM Sessioni con Secure Conversation Asymmetric key (X509 Certificate) lento per l’invio di messaggi multipli WS-SecureConversation definisce il Security Context Token (SCT) Ottimizzazione del messaging Veloce nel caso di messaggi multipli (client makes > 2) Raddoppio del throghput Richiesta per SCT SCT Issued al client Client Server Messaggi Multipli Firmati e cifrati con SCT ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Ristabilire la Sessione 3/27/2017 2:27 AM Ristabilire la Sessione SCT State SCT State Richiesta per SCT SCT Issued al client Session Ristabilita Richiesta Client Messaggi Multipli Firmati e cifrati con SCT Client Server ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Integrazione con VS2005 e .NET v2.0 3/27/2017 2:27 AM Integrazione con VS2005 e .NET v2.0 Supporto di tool per Visual Studio 2005 Estensione dell’ ASMX programming model Trasporti alternativi es. TCP Hosting environment alternativi es. Console apps Messaging APIs ancora supportate ma deprecate SoapClient, SoapService ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

3/27/2017 2:27 AM Estensione del ASMX programming Model Esempio: ASMX Web Service via TCP e Custom Host public class StockService System.Web.Services.WebService { [WebMethod] public StockQuote[] StockQuoteRequest([string[] symbols) { } } static void Main(string[] args) Uri to = new Uri( "soap.tcp://StockService/StockQuote"); EndpointReference EPR = new EndpointReference(to); SoapReceivers.Add (EPR, typeof (StockService)); ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Supporto per MTOM Message Transmission Optimization Mechanism (MTOM) 3/27/2017 2:27 AM Supporto per MTOM Message Transmission Optimization Mechanism (MTOM) MTOM sostituisce DIME & WS-Attachments Benefici Componibile con WS-Security per proteggere anche i dati come il SOAP message Modello di programmazione semplificato e attivazione via config Riduzione sul cavo della dimensione del messaggio Security [WebMethod] public byte[ ] GetFileAsBytes (string fileName) { return CreateFileAsBytesResponse (fileName); } Semplifica Riduzione ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

WSE 3.0: La strada verso WCF(Indigo) 3/27/2017 2:27 AM Grantita l’interoperabilità on the wire level con WCF Supporto per gli scenari di sicurezza interoperabili WSE turnkey security assertion allineati con WCF security binding WSE 3.0 si esegue side-by- side con Indigo Guide per l’upgrade fornite per la migrazione da WSE 3.0 a WCF ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.