Questo corso vuole tramettere ai partecipanti le conoscenze e le competenze per realizzare applicazioni distribuite utilizzando Visual Studio 2010 e WCF 4.
OBIETTIVI
Al termine del corso gli allievi saranno in grado di:
- Implementare i principi SOA nei servizi WCF;
- Hostare i servizi WCF in diversi tipi di host;
- Definire e implementare servizi, dati e messaggi dei WCF contracts;
- Utilizzare gli endpoints;
- Testare e monitorare i servizi WCF;
- Assicurare l'affidabilità dei servizi tramite le transazioni e le message queue;
- Rendere sicuri i servizi WCF.
Programmatori esperti in ambito Visual Studio 2008 SP1 e nello sviluppo di applicazioni Web e Windows con Visual Studio 2010.
Per partecipare con profitto a questo corso è necessario che gli allievi abbiano i seguenti prerequisiti:
- Comprensione delle tecniche di problem-solving applicate allo sviluppo software;
- Comprensione del significato e delle caratteristiche di .NET Framework;
- Esperienza nello sviluppo di software con Visual Studio 2008 o Visual Studio 2010;
- Esperienza nella progettazione di applicazioni object oriented e nello sviluppo di applicazioni con C#;
- Esperienza nella progettazione e nello sviluppo di applicazioni n-tier.
Module 1: Service-Oriented Architecture
- What Is SOA?
- The Benefits of SOA
- Scenarios and Standards
- Introduction to WCF
- Practice the SOA Tenets
- Implement Service Agility and Scalability
- Interoperability with Other SOA Technologies
- Use REST Services
Module 2: Getting Started with WCF Development
- Service Contract and Implementation
- Hosting WCF Services
- WCF Behaviors
- Consuming WCF Services
- Define Service and Data Contracts
- Create a Service Implementation
- Configure the Service
- Consume the Service Using Channel Factories
- Consume the Service Using Service References
Module 3: Hosting WCF Services
- WCF Service Hosts
- ServiceHost
- Hosting WCF Services in Windows Services
- IIS, WAS, and AppFabric
- Configuring WCF Hosts
- Service Hosting Best Practices
- Use Windows Server AppFabric
- Use Windows Services
- Host Services in a Windows Application
- Service Monitoring Using Performance Counters
Module 4: Defining and Implementing WCF Contracts
- What Is a Contract?
- Contract Types
- Messaging Patterns
- Designing WCF Contracts
- Insert Description
- Create a Data Contract
- Implement Message Exchange
Module 5: Endpoints and Behaviors
- Multiple Endpoints and Interoperability
- WCF Discovery
- WCF Default Endpoints
- Instancing and Concurrency
- Reliability
- Expose Multiple Endpoints
- Use Queued Services
- Use Transactions
- Use Reliable Messaging
- Configure Instancing and Concurrency
- Use WCF Discovery
- Verify MSMQ Topology
Module 6: Testing and Troubleshooting WCF Services
- Errors and Symptoms
- WCF Faults
- Debugging and Diagnostics Tools
- Runtime Governance
- View Unplanned SOAP Faults
- Use Fault Contracts
- Use Error Handlers and Handling Faults
- Use WCF Message Logging and Tracing
- Support Large Messages
Module 7: Security
- Introduction to Application Security
- The WCF Security Model
- Transport and Message Security
- Authentication and Authorization
- Claim-Based Identity
- Implement Security Policy
- Configure Client
- Verify Security
Module 8: Advanced Topics
- The Asynchronous Invocation Pattern
- Extending WCF
- Routing
- Workflow Services
- Use Message Inspectors and Behaviors
- Attach and Access Host Extensions
- Configure and Use Routing
- Implement Asynchronous Invocation
- Implement Workflow Services.