Alexandre Ricardo Nardi Consultor Sênior Microsoft Brasil 4/18/2017 11:15 PM Arquitetura de Referência na Plataforma Microsoft e Windows Azure APPI 301 Alexandre Ricardo Nardi Consultor Sênior Microsoft Brasil © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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.
Arquitetura “pra” quê? The Winchester “Mystery” House 4/18/2017 11:15 PM Arquitetura “pra” quê? The Winchester “Mystery” House Let me tell you a story……………. Back in 1884 the Winchester heiress (famous US rifle company – Sarah Winchester) was convinced by a spiritualist that constantly building the property would stop the ghosts of the people killed with Winchester rifles coming and haunting her. The reaction was to build by employing builders and being obsessed with adding rooms. The house looks great in this front view – full of “character”! Oops, where’s the architectural blueprint you may be thinking! (147 builders employed – 0 architects – project cost of $M5.5) Some anomalies certainly exist as a result - 160 rooms, 40 bedrooms, 6 kitchens and 2 basements They are just minor anomalies though compared to 65 doors to blank walls, 13 staircases going nowhere and 24 skylights in floors NO ARCHITECTURAL BLUEPRINT EXISTS FOR THIS HOUSE – NEED I SAY MORE – MSA IS THAT ARCHITECTURAL BLUEPRINT (and not just instructions on how to install the components) 38 anos de construção – 147 operários e 0 arquitetos 160 salas – 40 quartos, 6 cozinhas, 2 subsolos, 950 portas 65 portas para paredes, 13 escadas abandonadas, 24 clarabóias no chão Sem sequer um rascunho de arquitetura © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Agenda Apresentar uma visão sobre capacidades de uma plataforma de aplicações. Apresentar uma introdução sobre computação em nuvem e o Windows Azure.
4/18/2017 11:15 PM “If the Federal Government continues to do what we have done, (i.e., build non-architected solutions), we will continue to get what we have (i.e., a non-interoperable, expensive, and ever challenging tangle of data, applications, and technology).” Source: FEAF Version 1.1 Effective organization is critical to help us gain a full understanding of the complex world surrounding us. Standard and consistent organizing systems are used everywhere, from the Periodic Table of the Elements and the Biological Classification of Organisms, to the Dewey Decimal system in libraries. Such systems are also plentiful in the world of Information Technology. For example, the DNS system helps organize computers globally in a meaningful way, and file systems provide a directory structure to organize files in storage. Enterprise-level software and system architecture are ripe for a similar organizing system. If you ask any group of technologists to describe the architecture of a system, you are likely to hear contradicting descriptions. Each person often has his or her own view of the system, which is accurate but different from the view of other technologists looking at the same system. A consolidated and consistent view of enterprise software-intensive systems could help technologists gain a shared understanding of the enterprise architectural space that is more complete and accurate. © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Um modelo de capacidades para a plataforma Microsoft Pilares da Plataforma de Aplicações Plataforma de Aplicações Serviços de Desenvolvimento Serviços de Armazenamento e BI Serviços de Integração Serviços de Gerenciamento Serviços de Hospedagem Serviços de Segurança
Pilares da Plataforma de Aplicações Um modelo de capacidades para a plataforma Microsoft Pilares da Plataforma de Aplicações Plataforma de Aplicações Desenvolvimento Armazenamento VS2010, UML, Unit Test, Coded UI Test, .NET Framework, Share Point, SQL Server, TFS SQL Server, Master Data Services, SSIS, StreamInsight, SQL Azure Integração Gerenciamento WIF – Windows Identity Foundation System Center Opalis – Automatiza processos de infra System Center AVICode – disponibilidade de aplicações independentemente do local de implantação ADFS – AD Federation Services StreamInsight – análise de fluxos MDS – combina dados de diversas fontes BizTalk, ESB Toolkit, UDDI 3.0, SQL Server, SSIS, SharePoint System Center Suite, Opalis, AVICode Hospedagem Segurança Windows Server AppFabric, WAS, IIS, Windows Azure, Azure AppFabric WIF, ADFS 2.0, ForeFront, AD, SQL
Arquitetura geral de serviços Front-End Clients Web Browser & RIA WPF & WinForms AJAX Mobile Clients Silverlight Serviços oferecem funcionalidades para inúmeros clientes. Aplicações RIAs consomem serviços, por exemplo. Dados são acessados indiretamente através de serviços. Podemos trabalhar com inúmeros modelos de serviços. Call Directly Middle Tier Clients ASP.NET Pages Outros Serviços Back-End Services WCF Services Implementa Entidades, Tarefas e Serviços Provê Acesso a Dados Exporta a Lógica da Aplicação
Opções de serviços Front-End Clients Back-End Services WCF Services Call Directly Middle Tier Clients Entre Web Services SOAP e serviços workflows, diferentes fatores devem ser avaliados na aplicação. Back-End Services WCF Services Definido através de código Modelos de serviços por entidades WCF Workflow Services Definição visual (gráfica) Suporte para processos de longa duração Modelo de serviços por tarefas.
IIS | WAS | Windows Server AppFabric Windows Server AppFabric Monitoração e Hospedagem de serviços e workflows IIS | WAS | Windows Server AppFabric WCF Services WCF Workflow Services
O que é WCF? Windows Communication Foundation Web Services Named Pipes filas MSMQ Serviço WCF Cliente Métodos Outros protocolos Behaviors SOAP HTTP TCP Transações Hospedagem
O que é WF? Windows Workflow Foundation Workflows e Processos filas MSMQ Named Pipes Cliente WF Runtime SOAP HTTP TCP WCF Persistência Transações
WCF Workflow Service Application Template WCF Workflow Service para cenários de SOA
Exemplo de processos no mundo real
Exemplo de workflow com WF4
Windows Server AppFabric Monitoração e Hospedagem de serviços e workflows
Hospedagem de serviços no Windows Server AppFabric 4/18/2017 11:15 PM Hospedagem de serviços no Windows Server AppFabric demo © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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.
Arquitetura de Referência para uma aplicação .NET on-premises (local) 4/18/2017 11:15 PM Arquitetura de Referência .NET on-premise Arquitetura de Referência para uma aplicação .NET on-premises (local) © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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.
Tipos de Arquitetura Segundo o App Arch Guide v2.0 Web Application Rich Client Application Rich Internet Application Mobile Application Service Application Hosted and Cloud Services / Application Office Business Application SharePoint LOB Application http://apparchguide.codeplex.com/
Web Application ASP.NET WebForms 4.0 ASP.NET MVC 3 ASP.NET AJAX 4.0 ASP.NET Chart Control ASP.NET Dynamic Data
Windows Application Rich Application: WPF 4.0 WCF 4.0 WF 4.0 MEF Managed Extensibility Framework
RIA Application Rich Internet Application: Silverlight 4.0 WCF RIA Services WCF Data Services REST, POX, JSON, ATOM, OData, etc.
Orientação a Serviços WCF 4.0 WF 4.0 PLINQ Dynamic Language Runtime IIS 7.5/WAS Windows Server AppFabric
Application Architecture Guide v2 http://apparchguide.codeplex.com/
Templates prontos no Visual Studio
Arquitetura de Referência Corporativa 4/18/2017 11:15 PM Arquitetura de Referência Corporativa © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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.
Diagrama Conceitual de Arquitetura de Composição Camada Cliente Cliente PC Cliente Mobile Embedded Browser Office Desktop Gadgets IM Speech SMS/IM Browser Office Client Devices Consoles Camada Aplicação Apresentação Web Acesso Programático Static Dynamic RIA Streaming RSS REST Web Services VoiceXML SOAP SMTP SMS Aplicação Regras de Apresentação Regras de Negócio Processos de Negócios Gerenciamento / Monitoração / QoS Camada Infraestrutura Persistência Mensageria Identidade / Acesso Workflows Arq Relacional Blob Table Async Queue/Bus Peer to Peer Autenticação Autorização Human WF System WF Portal Conteúdo Multimidia Integração Serviços Corporativo Web Parts Pages Search Imagens Videos Streaming Protocolos Adaptadores EIS LDAP Fundações Computação Físico Dedicados Físico Compartilhado Virtual Simples Virtual Dinâmico On Premises Hoster Cloud
Arquitetura de Composição Um portal hospedado na infraestrutura local Software Cliente Cliente PC Browser Office Client Gadgets IM Cliente Mobile Speech SMS/IM Embedded Devices Consoles Acesso Programático RSS REST Web Services VoiceXML Apresentação Web Static Dynamic RIA Streaming Aplicação Business Logic (Worker Role) Presentation (Web Role) SMTP SMS SOAP Software Aplicativo Infraestrutura Identity & Access Messaging Storage Workflow Async Queue/Bus Peer to Peer Blob Event Based Worker Based Relational File Authentication Authorization Table Computação Physical, Dedicated Physical, Shared Virtual, Single Virtual, Scalable Fundações On Premises Hoster Cloud
Arquitetura de Composição Uma aplicação hospedada no Windows Azure Software Cliente Cliente PC Browser Office Client Gadgets IM Cliente Mobile Speech SMS/IM Embedded Devices Consoles Acesso Programático RSS REST Web Services VoiceXML Apresentação Web Static Dynamic RIA Streaming Aplicação Business Logic (Worker Role) Presentation (Web Role) SMTP SMS SOAP Software Aplicativo Infraestrutura Identity & Access Messaging Storage Workflow Async Queue/Bus Peer to Peer Blob Event Based Worker Based Relational File Authentication Authorization Table Computação Physical, Dedicated Physical, Shared Virtual, Single Virtual, Scalable Fundações On Premises Hoster Cloud
Pontos importantes… Avaliar as capacidades de plataforma que são críticas para suas soluções Trabalhar com o modelo de grupos de capacidades Monitoração, segurança, hospedagem, BI & armazenamento, integração, desenvolvimento Adotar arquiteturas de referências para tipos de aplicações e cenários existentes
Estendendo a arquitetura local (on-premise) para a nuvem 4/18/2017 11:15 PM Computação em Nuvem Estendendo a arquitetura local (on-premise) para a nuvem © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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.
Diagrama Conceitual de Arquitetura de Composição Camada Cliente Cliente PC Cliente Mobile Embedded Browser Office Desktop Gadgets IM Speech SMS/IM Browser Office Client Devices Consoles Camada Aplicação Apresentação Web Acesso Programático Static Dynamic RIA Streaming RSS REST Web Services VoiceXML SOAP SMTP SMS Aplicação Regras de Apresentação Regras de Negócio Processos de Negócios Camada Infraestrutura Persistência Mensageria Identidade / Acesso Workflows Arq Relacional Blob Table Async Queue/Bus Peer to Peer Autenticação Autorização Human WF System WF Portal Conteúdo Multimidia Integração Serviços Corporativo Web Parts Pages Search Imagens Videos Streaming Protocolos Adaptadores EIS LDAP Fundações Computação Físico Dedicados Físico Compartilhado Virtual Simples Virtual Dinâmico On Premises Hoster Cloud
O que é Cloud Computing? É um estilo de computação que oferece escalabilidade massiva de recursos computacionais com tecnologias de Internet e provisionamento dinâmico.
Custos com infraestrutura própria On-premise Previsão de Carga Alocação de capacidades “Falta“ de capacidades CAPACIDADE DA TI “Desperdício“ de capacidades Custo fixo das capacidades contratadas Capacidade ociosa com a redução da carga Custo Inicial de Hardware Carga Atual TEMPO
Computação como serviço Provisionamento dinâmico Previsão de Carga Alocação de capacidades Sem “falta“ de capacidades CAPACIDADE DA TI Redução do “excesso de TI“ Redução das capacidades nos momentos de redução da carga Redução dos investimentos iniciais Carga Atual TEMPO
Tipos de Serviços “IaaS” “SaaS” “PaaS” hospedar consumir construir Infrastructure-as-a-Service hospedar “IaaS” Software-as-a-Service consumir “SaaS” Platform-as-a-Service construir “PaaS”
Controlador da Malha de Servidores O que é o Windows Azure? Uma plataforma como serviço (PaaS) empresas usuários Internet Controlador da Malha de Servidores
Plataforma Windows Azure Experiência do Desenvolvedor Usa as mesmas ferramentas e conhecimento atual Information Marketplace Storage Management Billing & Payments Reporting Information Marketplace Compute Relational data Data Sync Flexible APIs Flexible APIs Reporting & BI Management Connectivity Access control
Patterns de aplicação para o Windows Azure 4/18/2017 11:15 PM Patterns de aplicação para o Windows Azure © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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.
Patterns para a nuvem tempo “On / Off” tempo “Crescimento Rápido” Computação tempo “On / Off” médio uso Período Inativo uso médio Computação tempo “Crescimento Rápido” Negócio: fazer processamento batch periódico. Negócio: demanda crescente de usuários e requisições Cenário: Análise de risco de crédito feito mensalmente Cenário: Sindicalização digital, startups, eCommerce, etc. Exemplo: Análise de Risco, Simulações de Monte Carlo Exemplo: Associated Press Breaking News API
Patterns para a nuvem tempo “Carga não prevista” “Carga sazonal” tempo Computação tempo “Carga não prevista” Uso médio “Carga sazonal” Computação Uso médio tempo Negócio: tratar de forma segura picos de demanda em seu negócio. Negócio: responder a picos de uso dentro do ciclo de negócio previsto. Cenário: campanhas de marketing, vendas de tickets, situações de emergência. Cenário: sistemas de eCommerce, portal interno de pagto, websites corporativos Exemplo: Exemplo:
Plataforma de Serviços na Nuvem 4/18/2017 11:15 PM Plataforma de Serviços na Nuvem © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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.
Plataforma Windows Azure Experiência do Desenvolvedor Usa as mesmas ferramentas e conhecimento atual Information Marketplace Storage Management Billing & Payments Reporting Information Marketplace Compute Relational data Data Sync Flexible APIs Flexible APIs Reporting & BI Management Connectivity Access control
SQL Azure Database Reporting Data Sync Um banco de dados relacional na nuvem. Modelo de programação simétrico Acesso via ADO.NET, ODBC, TDS v7.3+ Administração via SQL Server Management Studio ou pelo portal SQL Azure
SQL Azure https://windows.azure.com/Default.aspx
Windows Azure AppFabric Service Bus Access Control Caching Conexões seguras entre serviços e publicação Azure AppFabric Service Bus Controle de acesso baseado em declarações Azure AppFabric Access Control Caching de dados para aplicações na nuvem Azure AppFabric Caching
Conteúdo Relacionado Breakout Sessions (session codes and titles) Slide Obrigatorio Palestrantes, Por favor listar conteudos existentes dentro das paginas dos produtos (www.microsoft.combrasil) e paginas do TechNet e MSDN (technet.microsoft.com/brasil – msdn.microsoft./com/brasil) Tech Ed North America 2010 4/18/2017 11:15 PM Conteúdo Relacionado Breakout Sessions (session codes and titles) Interactive Sessions (session codes and titles) Hands-on Labs (session codes and titles) Product Demo Stations (demo station title and location) Related Certification Exam Find Me Later At… © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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.
Palestras Relacionadas Tech Ed North America 2010 4/18/2017 11:15 PM Palestras Relacionadas APPI 302 - Hospedagem de serviços e workflows com o Windows Server AppFabric Hosting APPI 303 - Aplicações de alto desempenho e Cache Distribuído com o Windows Server AppFabric APPI 304 - Monitoração integrada de serviços e workflows com o Windows Server AppFabric APPI305 - Criando aplicações prontas para nuvem © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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.
Recursos para Desenvolvedores Tech Ed North America 2010 4/18/2017 11:15 PM Recursos Recursos para IT Pros http://technet.microsoft.com/pt-br Recursos para Desenvolvedores http://msdn.microsoft.com/pt-br © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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.
Não esqueça de preencher sua avaliação online Tech Ed North America 2010 4/18/2017 11:15 PM Obrigatorio Não esqueça de preencher sua avaliação online www.teched.com.br/avaliacao © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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.
4/18/2017 11:15 PM © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered 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 date 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 accuracy 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.