Desarrollo de Windows Azure ™ y servicios web (MOC 20487)

5 Días

Descripción

En este curso, los estudiantes aprenderán cómo diseñar y desarrollar servicios que accedan a datos locales y remotos de varias fuentes de datos. Los estudiantes también aprenderán a desarrollar e implementar servicios en entornos híbridos, incluidos los servidores locales y Windows Azure. Este curso ayuda a las personas a prepararse para el examen 70-487 .

Requisitos previos

Antes de asistir a este curso, los estudiantes deben tener:

  • Experiencia con la programación C # y conceptos tales como expresiones Lambda, LINQ y tipos anónimos.
  • Comprender los conceptos de aplicaciones de n niveles.
  • Experiencia con consultar y manipular datos con ADO.NET.
  • Conocimiento de estructuras de datos XML.

A quien va dirigido

Este curso está dirigido a desarrolladores principiantes y con experiencia en .NET que tengan un mínimo de seis meses de experiencia en programación y quieran aprender a desarrollar servicios y desplegarlos en entornos híbridos.

Objetivos

Después de completar este curso, los estudiantes podrán:

  • Consultar y manipular datos con Entity Framework
  • Utilice la API web de ASP.NET para crear servicios basados en HTTP y consumirlos de clientes .NET y no .NET
  • Extienda los servicios de API web de ASP.NET utilizando manejadores de mensajes, carpetas de modelo, filtros de acción y formateadores de tipos de medios
  • Crear servicios basados en SOAP con Windows Communication Foundation (WCF) y consumirlos de clientes .NET
  • Aplicar los principios de diseño a los contratos de servicio y ampliar los servicios de WCF utilizando componentes y comportamientos de tiempo de ejecución personalizados
  • Asegure los servicios de WCF usando seguridad de transporte y mensaje
  • Utilice el Bus de servicios de Windows Azure para mensajes retransmitidos y mensajes intermediarios usando colas y temas
  • Alojar servicios en servidores locales y en varios entornos de Windows Azure, como funciones web, roles de trabajadores y sitios web
  • Implementar servicios tanto en servidores locales como en Windows Azure
  • Almacenar y acceder a los datos en Windows Azure Storage y configurar los derechos de acceso al almacenamiento
  • Supervise y registre servicios, tanto locales como en Windows Azure
  • Implementar la autenticación federada mediante el uso de ACS con servicios ASP.NET Web API
  • Crear servicios escalables y de carga equilibrada

Temario

Module 1: Overview of service and cloud technologies

This module provides an overview of service and cloud technologies using the Microsoft .NET Framework and the Windows Azure cloud.

Lessons

  • Key Components of Distributed Applications
  • Data and Data Access Technologies
  • Service Technologies
  • Cloud Computing
  • Exploring the Blue Yonder Airlines’ Travel Companion Application

Lab : Exploring the work environment

After completing this module, students will be able to:

  • Describe the key components of distributed applications.
  • Describe data and data access technologies.
  • Explain service technologies.
  • Describe the features and functionalities of cloud computing.
  • Describe the architecture and working of the Blue Yonder Airlines Travel Companion application.

Module 2: Querying and Manipulating Data Using Entity Framework

This module Describes the Entity Framework data model, and how to create, read, update, and delete data.

Lessons

  • ADO.NET Overview
  • Creating an Entity Data Model
  • Querying Data
  • Manipulating Data

Lab : Creating a Data Access Layer by Using Entity Framework

After completing this module, students will be able to:

  • Explain basic objects in ADO.NET and asynchronous operations.
  • Create an Entity Framework data model.
  • Query data by using Entity Framework.
  • Insert, delete, and update entities by using Entity Framework.

Module 3: Creating and Consuming ASP.NET Web API Services

This module describes HTTP-based services that are developed, hosted, and consumed by using ASP.NET Web API

Lessons

  • HTTP Services
  • Creating an ASP.NET Web API Service
  • Handling HTTP Requests and Responses
  • Hosting and Consuming ASP.NET Web API Services

Lab : Creating the Travel Reservation ASP.NET Web API Service

After completing this module, students will be able to:

  • Design services by using the HTTP protocol.
  • Create services by using ASP.NET Web API.
  • Use the HttpRequestMessage/HttpResponseMessage classes to control HTTP messages.
  • Host and consume ASP.NET Web API services.

Module 4: Extending and Securing ASP.NET Web API Services

This module describes in detail the ASP.NET Web API architecture and how you can extend and secure ASP.NET Web API services

Lessons

  • The ASP.NET Web API Pipeline
  • Creating OData Services
  • Implementing Security in ASP.NET Web API Services
  • Injecting Dependencies into Controllers

Lab : Extending Travel Companion’s ASP.NET Web API Services

After completing this module, students will be able to:

  • Extend the ASP.NET Web API request and response pipeline.
  • Create OData services using ASP.NET Web API.
  • Secure ASP.NET Web API.
  • Inject dependencies into ASP.NET Web API controllers.

Module 5: Creating WCF Services

This module introduces Windows Communication Foundation (WCF) and describes how to create, host, and consume a WCF service.

Lessons

  • Advantages of Creating Services with WCF
  • Creating and Implementing a Contract
  • Configuring and Hosting WCF Services
  • Consuming WCF Services

Lab : Creating and Consuming the WCF Booking Service

After completing this module, students will be able to:

  • Describe why and when to use WCF to create services.
  • Define a service contract and implement it.
  • Host and configure a WCF service.
  • Consume a WCF service from a client application.

Module 6: Hosting Services

This module describes how to host web services both on-premises and in Windows Azure. It explains various components of Windows Azure Cloud Services: Web Role, Worker Role, and Windows Azure Web Sites.

Lessons

  • Hosting Services On-Premises
  • Hosting Services in Windows Azure

Lab : Hosting Services

After completing this module, students will be able to:

  • Host services on-premises by using Windows services and IIS
  • Host services in the Windows Azure cloud environment by using Windows Azure Cloud Services and Web Sites

Module 7: Windows Azure Service Bus

This module describes web-scale messaging patterns, and the infrastructures provided by Windows Azure Service Bus.

Lessons

  • Windows Azure Service Bus Relays
  • Windows Azure Service Bus Queues
  • Windows Azure Service Bus Topics

Lab : Windows Azure Service Bus

After completing this module, students will be able to:

  • Describe the purpose and functionality of relayed and buffered messaging.
  • Provision, configure, and use the service bus queues.
  • Enhance the effectiveness of queue-based communications using topics, subscriptions and filters.

Module 8: Deploying Services

This module describes different techniques for deploying web applications.

Lessons

  • Web Deployment with Visual Studio 2012
  • Creating and Deploying Web Application Packages
  • Command-Line Tools for Web Deploy
  • Deploying Web and Service Applications to Windows Azure
  • Continuous Delivery with TFS and Git
  • Best Practices for Production Deployment

Lab : Deploying Services

After completing this module, students will be able to:

  • Deploy web applications with Visual Studio.
  • Create and deploy web applications by using IIS Manager.
  • Deploy web applications by using the command line.
  • Deploy web applications to Windows Azure environments.
  • Use continuous delivery with TFS and Git.
  • Apply best practices for deploying web applications on-premises and to Windows Azure.

Module 9: Windows Azure Storage

This module Describes Windows Azure Storage, the services it provides, and the best way to use these services.

Lessons

  • Introduction to Windows Azure Storage
  • Windows Azure Blob Storage
  • Windows Azure Table Storage
  • Windows Azure Queue Storage
  • Restricting Access to Windows Azure Storage

Lab : Windows Azure Storage

After completing this module, students will be able to:

  • Describe the architecture of Windows Azure Storage.
  • Implement Blob Storage in your applications.
  • Use Table Storage in your applications
  • Describe how to use Windows Azure Queues as a communication mechanism between different parts of your application
  • Control access to your storage items.

Module 10: Monitoring and Diagnostics

This module describes how to perform monitoring and diagnostics in Windows Azure services.

Lessons

  • Performing Diagnostics by Using Tracing
  • Configuring Service Diagnostics
  • Monitoring Services Using Windows Azure Diagnostics
  • Collecting Windows Azure Metrics

Lab : Monitoring and Diagnostics

After completing this module, students will be able to:

  • Perform tracing in the .NET Framework with the System.Diagnostics namespace.
  • Configure and explore web service and IIS tracing.
  • Monitor services by using Windows Azure Diagnostics.
  • View and collect Windows Azure metrics in the management portal.

Module 11: Identity Management and Access Control

This module describes the basic principles of modern identity handling and demonstrates how to use infrastructures such as Windows Azure Access Control Service (ACS) to implement authentication and authorization with claims-based identity in Windows Communication Foundation (WCF).

Lessons

  • Claims-based Identity Concepts
  • Using the Windows Azure Access Control Service
  • Configuring Services to Use Federated Identities

Lab : Identity Management and Access Control

After completing this module, students will be able to:

  • Describe the basic principles of claims-based identity.
  • Create a Security Token Service (STS) by using Windows Azure ACS.
  • Configure WCF to use federated identity.

Module 12: Scaling Services

This module describes the ways in which you can ensure services can handle increasing workloads and user demand.

Lessons

  • Introduction to Scalability
  • Load Balancing
  • Scaling On-Premises Services with Distributed Cache
  • Windows Azure Caching
  • Scaling Globally

Lab : Scalability

After completing this module, students will be able to:

  • Explain the need for scalability.
  • Describe how to use load balancing for scaling services.
  • Describe how to use distributed caching for on-premises as well as Windows Azure services.
  • Describe how to use Windows Azure caching.
  • Describe how to scale services globally.

Module 13: Appendix A: Designing and Extending WCF Services

This module covers designing Windows Communication Foundation (WCF) service contracts, creating services that support distributed transactions, and extending the WCF pipeline with custom runtime components and custom behaviors.

Lessons

  • Applying Design Principles to Service Contracts
  • Handling Distributed Transactions
  • Extending the WCF Pipeline

Lab : Designing and Extending WCF Services

After completing this module, students will be able to:

  • Design and create services and clients to use different kinds of message patterns.
  • Configure a service to support distributed transactions.
  • Extend the WCF pipeline with runtime components, custom behaviors, and extensible objects.

Module 14: Appendix B: Implementing Security in WCF Services

This module deals with the various considerations you have to take into account when designing a secure web service, such as encryption, input validation, authentication, and authorization, and the techniques to use while applying these considerations to services developed with WCF.

Lessons

  • Introduction to Web Services Security
  • Transport Security
  • Message Security
  • Configuring Service Authentication and Authorization

Lab : Securing a WCF Service

After completing this module, students will be able to:

  • Describe web application security.
  • Configure a service for transport security.
  • Configure a service for message security.
  • Implement and configure authentication and authorization logic.