You are on page 1of 31

FrameWork .NET 3.

0 (WinFx)

Page 1 of 31

Page 1

FrameWork .NET 3.0 (WinFx)


Palestrante:
Fernando Amaral
Desenvolvedor de Software a mais de 10 anos Gerente de Desenvolvimento em Empresa de Software de Gesto Tributria Instrutor e Consultor em desenvolvimento com tecnologias Microsoft Certificado Microsoft MCP, MCAD, MCSD, MCDBA e MCT

Page 2

O que FrameWork .NET?


uma infra-estrutura de programao desenvolvida pela Microsoft, para o desenvolvimento e distribuio de aplicativos e servios que usam a
file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 2 of 31

aplicativos e servios que usam a tecnologia. composta de trs partes principais: Common Language Runtime (CLR), Framework Classe Library e o ASP.NET

Page 3

FrameWork .NET 2.0


Lanado em dezembro de 2005 Adicionou centenas de novas classes Aumento na produtividade em at 70%

Page 4

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 3 of 31

FrameWork .NET 3.0

Page 5

FrameWork .NET 3.0 no :

Uma atualizao do FrameWork 2.0 Independente do FrameWork 2.0 Um novo ambiente de Desenvolvimento

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 4 of 31

Page 6

FrameWork .NET 3.0 :

Um novo modelo de programao de cdigo gerenciado para Windows Adio de quatro grandes novas tecnologias ao FrameWork 2.0 Integrado ao Visual Studio 2005

Page 7

FrameWork .NET 2.0


Nada

O que muda?

O .NET FrameWork 2.0 FrameWork 2.0 indepentente. Porm o .NET FrameWork 3.0 s s m o .NET FrameWork 3.0
file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 5 of 31

Porm o .NET FrameWork 3.0 s s Por m o .NET FrameWork 3.0 roda sobre o 2.0

Page 8

Por que uma nova verso??


As funcionalidades adicionadas so de grande importncia Promessa de um novo e revolucionrio modelo de programao Dar maior visibilidade ao lanamento, que parte integrante do Windows Vista e dever ser lanado oficialmente com este.

Page 9

Aspectos tcnicos

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 6 of 31

FrameWork 3.0 possui cerca de 40 Mb, j com o 2.0 embutido instalado se necessrio. Poder rodar em Windows XP, Windows 2003 (SP1) e Windows Vista (j vem instalado)

Page 10

Instalao

Page 11

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 7 of 31

FrameWork .NET 3.0

Windows CardSpace (InfoCard) Windows Communication Foundation (Indigo) Windows Presentation Foundation (Avalon) Windows Workflow Foundation

Page 12

Windows Comunication Foundation


Problema

Tecnologias Microsoft para comunicao entre aplicaes, embora eficientes, so diversas e complexas

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 8 of 31

Page 13

Windows Comunication Foundation


Comunicao entre aplicaes hoje Web Services Remoting Enterprise Services

Page 14

Windows Comunication Foundation


Soluo Nova tecnologia para comunicao entre aplicaes, onde atravs de um nico modelo se tenha todas as funes
file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 9 of 31

encontradas hoje em vrias tecnologia, permitindo que sejam criadas aplicaes confiveis, seguras e com interoperabilidade com softwares rodando em qualquer sistema.

Page 15

Windows Comunication Foundation


Assim como os Web Services, seu mecanismo de comunicao ser o SOAP Implementa um novo grupo de tecnologias de Web Services, conhecidos pelo prefixo WS-

Page 16

Windows Comunication Foundation


file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 10 of 31

WS-Addressing WS-Policy WS-ReliableMessaging WS-Security WS-Trust WS-SecureConversation

Page 17

Windows Comunication Foundation

Servios disponibilizam schema, e no classe Servios so autnomos: Mesmo escritos em linguagens diferentes e rodando em ambientes diferentes, vo ter uma interface padro

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 11 of 31

Page 18

Windows Comunication Foundation

Um servio composto de:

Classe (CLR) Host EndPoints

Page 19

Windows Comunication Foundation

EndPoint Canal de Comunicao Address, Binding, Contract

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 12 of 31

Page 20

Windows WorkFlow Foundation

Page 21

Windows WorkFlow Foundation


Hoje podemos projetar nosso sistema de forma grfica, porm no podemos
file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 13 of 31

desenvolve-lo desta forma.

Page 22

Windows WorkFlow Foundation

O Windows WorkFlow Foundation traz solues de fluxo de trabalho em um ambiente visual Permite desenvolver aplicaes baseados em fluxos, sejam aplicativos de interao humana ou de sistemas Extensvel Possui suporte a fluxos de trabalho seqncias e de maquina de estado.

Page 23

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 14 of 31

Windows WorkFlow Foundation

Page 24

Windows WorkFlow Foundation

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 15 of 31

Page 25

Windows WorkFlow Foundation

Page 26

Windows WorkFlow Foundation

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 16 of 31

Page 27

Windows WorkFlow Foundation

Exemplos WorkFlow Linear WorkFlow com condio Alterando a condio

Page 28

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 17 of 31

Windows CardSpace (InfoCard)

Page 29

Windows CardSpace

Seu fundamento a identificao:


- Sobre diferentes contextos, voc precisa de diferentes identificaes - Cada diferente identificao requer diferentes informaes: Ex: Passaporte, carteira de motorista

Page 30

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 18 of 31

Page 30

Windows CardSpace

Identificao no mundo digital


Para cada elemento em uma rede, precisamos nos identificar, por exemplo: Conta de Email Home Banking Site de comrcio eletrnico Receita Federal No existe qualquer padro Nunca vai existir uma identidade que seja nica e que possa atender todas as necessidades

Page 31

Windows CardSpace

Soluo
- Padro de identificao digital: WS-Security, WS-Trust, WS-MetadataExchange, and WSSecurityPolicy - Baseados em Web Services, SOAP e XML, que hoje j so considerados padres na industria - Indepente de fabricante - Suporte a qualquer sistema de identifcao digital - Pode trabalhar com X.509, senha e usurio,
file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 19 of 31

- Pode trabalhar com X.509, senha e usurio, AD

Page 32

Windows CardSpace

Para o usurio

-Cada identidade representada por um "carto", com representao visual -Cada carto possui informaes especificas, necessrias ao contexto -O usurio escolhe qual carto vai "apresentar -Substituir o login baseado em senha

Page 33

Windows CardSpace

CardSpace no Windows XP

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 20 of 31

Page 34

Windows CardSpace

CardSpace no Windows XP

Page 35

Windows CardSpace

CardSpace no Windows XP
file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 21 of 31

CardSpace no Windows XP

Page 36

Windows CardSpace

CardSpace no Windows XP

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 22 of 31

Page 37

Windows CardSpace

CardSpace no Windows XP

Page 38

Windows CardSpace

CardSpace no Windows XP

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 23 of 31

Page 39

Windows CardSpace

CardSpace no Windows XP

Page 40

Windows CardSpace

Demonstrao

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 24 of 31

Demonstrao de uso na Web

Kim Cameron s Identity WebLog em http://www.identityblog.com/

Page 41

Windows Presentation Foudation

Page 42

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 25 of 31

Windows Presentation Foudation


Problema

Para trabalhar com imagens, vdeos, documentos etc. temos que interagir com muitas tecnologias diferentes

Page 43

Windows Presentation Foudation

Aplicaes Windows Aplicaes Web Documentos de formato fixo Imagens Vdeo e udio Grficos 2D

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 26 of 31

Grficos 3D

Page 44

Windows Presentation Foudation

Construir interfaces uma tarefa complexa difcil encontrar mo de obra para trabalhar com tantas tecnologia diferentes Aplicaes que necessitem funcionar em ambiente Windows e WEB simultaneamente, tem que ser desenvolvidas duplamente.

Page 45

Windows Presentation Foudation

O Windows Presentation Foundation promete uma soluo nica para todos esses desafios

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 27 of 31

No pretende substituir todas essas tecnologias, mas propor um ambiente para criao de interfaces modernas de maneira fcil

Page 46

XAML (eXtensible Application Markup Language)


Nova linguagem de marcao, exteso do XML Assim com o XML, definem-se ns Usada para criar apresentao de aplicaes Muito mais poderosa que HTML Melhora o trabalho do designer e do programador As linguagens hoje criadas para executar regras so usadas para criar a apresentao

Page 47

XAML (eXtensible Application Markup Language)


file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 28 of 31

XAML (eXtensible Application Markup Language)

O designer cria a interface no MS Expression Interactive Designer. O programador importa no VS.

Page 48

XAML

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 29 of 31

Page 49

XAML

Page 50

XAML
Exemplos Animao 3d Animao II Vdeo Sombra 3D

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 30 of 31

Tela de Login

Page 51

Para saber mais...

http://msdn.microsoft.com/winfx/

Page 52

Para saber mais...

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

FrameWork .NET 3.0 (WinFx)

Page 31 of 31

Professional WinFX Beta Jean-Luc David, BillRyan, Ron DeSerranno ,Alexandra Young. ISBN:076457874X

Introducing Microsoft WinFX: The Application Programming BrentRector ISBN:0735 620857

Programming Windows Presentation Chris Sells, Lan Griffiths ISBN 0596101139List Price: $39.95

Page 53

Obrigado!

contato@fernandoamaral.com.br

www.fernandoamaral.com.br

file://C:\Documents and Settings\Fernando\Desktop\FrameWork _NET 3_0 (WinFx).htm 18/4/2007

You might also like