para desenvolvimento de aplicações web José António Silva...

Click here to load reader

download para desenvolvimento de aplicações web José António Silva joseas@microsoft.com joseas@microsoft.com

of 48

  • date post

    30-Jan-2016
  • Category

    Documents

  • view

    216
  • download

    0

Embed Size (px)

Transcript of para desenvolvimento de aplicações web José António Silva...

  • Plataformas .NET para desenvolvimento de aplicaes web

    Jos Antnio Silva
    joseas@microsoft.com

  • Agenda

    Intro .NETBuilding BlocksStarter KitsOutros projectos Open SourceOutros componentesDiscusso aberta
  • The .NET Framework:
    A Once in a Decade Change

    PDC 2000 Paradigm ShiftManaged CodeWeb services

    1980

    1990

    2000

    Richness

    Win16

    Win32

    COM

    MFC

    Components

    Services

    APIs

    Windows
    3.0

  • .NET Framework

    Tools

    Client Application Model

    Windows Forms

    Web & Service Application Model

    ASP.NET

    Compact Framework

    Yukon

    Data Systems Application Model

    Presentation

    Mobile PC & Devices Application Model

    Communication

    Command Line

    NT Service

    Base & Application Services

    Fundamentals

    Security

    Configuration

    Deployment/Management

    Data

    System.Messaging

    System.DirectoryServices

    System.Runtime.Remoting

    System.Windows.Forms

    System.Console

    System.ServiceProcess

    System.Windows.Forms

    System.Web

    System.Data.SqlServer

    HttpWebRequest

    FtpWebListener

    SslClientStream

    WebClient

    System.Net

    NetworkInformation

    Sockets

    Cache

    System.Windows.Forms

    Forms

    Control

    Print Dialog

    Design

    System.Web.UI

    Page

    Control

    HtmlControls

    MobileControls

    WebControls

    Adaptors

    Design

    System.Drawing

    System.Web.Services

    Web.Service

    Description

    Discovery

    Protocols

    System.Timers

    System.Globalization

    System.Serialization

    System.Threading

    System.Text

    System.Design

    CompilerServices

    System.ComponentModel

    System.CodeDom

    System.Reflection

    System.EnterpriseServices

    System.Transactions

    System.Web.Security

    AccessControl

    Credentials

    Cryptography

    System.Web.Configuration

    System.Configuration

    System.Resources

    System.Management

    System.Deployment

    System.Diagnostics

    Ports

    InteropServices

    System.Runtime

    System.IO

    System.Collections

    Generic

    Permissions

    Policy

    Principal

    Token

    System.Security

    System.Web

    Administration

    Management

    System.Web

    Personalization

    Caching

    SessionState

    System.Xml

    Schema

    Serialization

    Xpath

    Query

    DataSet

    Mapping

    ObjectSpaces

    ObjectSpace

    Query

    Schema

    System.Data

    SqlClient

    SqlTypes

    SqlXML

    OdbcClient

    OleDbClient

    OracleClient

    Serialization

  • Application Architecture

    User Interface Components

    User Process Components

    Service Interfaces

    Business

    Workflows

    Business

    Components

    Business

    Entities

    Data Access Logic

    Components

    Service Agents

    Security

    Operational Management

    Communication

    Data Source

    Service

  • Agenda

    Intro .NETBuilding BlocksStarter KitsOutros projectos Open SourceOutros componentesDiscusso aberta
  • patterns & practices

    Proven
    Based on field experience

    Authoritative
    Best advice available

    Accurate
    Technically validated and tested

    Actionable
    Provide the steps to success

    Relevant
    Address real world scenarios

    Proven practices for predictable results

    Discuss how we ensure that these materials are good. Take each bullet and expand on how we develop patterns & practices

    Main points:

    We never build anything unless we can identify several customers with the scenario and believe that it represents a general need amongst our customers and partners.

    We always engage with top consultants from our own field as well as partners, and also Microsofts support, IT, and most importantly product engineering teams to ensure that the guidance represents Microsofts product group recommendations and is balanced with real-world field experience.

    We test the guidance just as if it were a product. This is not just sample code, but tested production quality code that you can feel confident in using on critical projects.

    We structure the materials for teams of people who need to build these systems. Typically, the content is broken down along task areas and provides detailed instructions to complete each major task.

    These materials are build for experienced professionals. They are not learning materials, but rather detailed job aids that explain the architecture, design, and implementation concepts

  • Availability

    Online on MSDN and TechNet

    http://msdn.microsoft.com/practices

    Printed guides available from

    http://shop.microsoft.com/practices

    http://amazon.com/practices

  • Available Now

    Operating .NET-Based Applications

    MonitoringSecuring .NET Based Apps

    Debugging Microsoft .NET Applications

    Deploying .NET Applications

    Team Development with Visual Studio.NET and Visual SourceSafe

    SQL Server 2000 High Availability

    Operations Guides

    SQL Server 2000Exchange 2000 Server

    Security Operations Guides

    Windows 2000 ServerExchange 2000 Server

    Backup and Restore for MSA:IDC

    Building Secure ASP.NET Applications

    Data Access for .NET

    Designing Data Tier Components and Passing Data Through Tiers

    Exception Management in .NET

    Monitoring in .NET Distributed Application Design

    .NET/COM Migration and Interoperability

    Production Debugging for .NET-Connected Applications

    Authentication in ASP.NET

    Designing Application-Managed Authorization

    Designing Caching for Distributed Apps

    Application Architecture for .NET

    Microsoft Systems Architecture

    Enterprise Data Center Internet Data Center

    UNIX Application Migration Guide

    Enterprise Notification for Exchange 2000 Server

    Active Directory Branch Office

    Exchange 2000 Server

    Server Upgrade SeriesHosting Series

    Content Integration Pack for CMS 2001 and SPS 2001

    Lifecycle Practices

    Reference Building Blocks

    Reference Architectures

  • Plan Next 6 Months

    .NET Operations

    Windows Server 2003 RefreshApplication Profiling and Capacity PlanningChange Management

    Windows Server 2003 Refresh

    Reference Building BlocksBuilding Secure ASP.NET Applications

    Persistent Asynchronous Invocation

    Rich Client

    User Interface ProcessConfiguration ManagementUpdating Application Components

    Code Security and Threat Analysis

    .NET Line of Business Application

    WSI Base Profile and Security

    J2EE Interop

    UNIX Migration (additional coverage)

    Patterns

    .NET Line of Business Application Patterns and Model

    .NET Application Integration Patterns

    Data Patterns

    Network Infrastructure Patterns (Microsoft Systems Architecture)

    Lifecycle Practices

    Reference Building Blocks

    Reference Architectures

  • UIP - User Interface Process

    Simple yet extensible framework for developing user interface processes. It is designed to abstract the control flow and state management out of the user interface layer into a user interface process layer. This enables you to write generic code for the control flow and state management of different types of applications (for example, Web applications and Windows-based applications) and helps you write applications that manage users' tasks in complex scenarios (for example, suspending and resuming stateful tasks). http://msdn.microsoft.com/library/en-us/dnbda/html/uip.asp
  • UIP Samples

  • Caching Application Block

    Microsoft .NET Framework class library that allows you to increase the efficiency and scalability of distributed applications by caching Web service data, which saves time and resources that are needed to refresh data that is still current. Data can be cached in several formats, including a Microsoft SQL Server 2000 database, a memory-mapped file, or a singleton object. The Caching Application Block also includes example classes for caching, scavenging, expiration, and data protection.

    http://msdn.microsoft.com/library/en-us/dnpag/html/Cachingblock.asp

  • Data Access Application Block for .NET

    The Data Access Application Block is a .NET component that contains optimized data access code that will help you call stored procedures and issue SQL text commands against a SQL Server database. The documentation provides guidelines for implementing an ADO.NET-based data access layer in a multi-tiered .NET application. It focuses on a range of common data access tasks and scenarios and presents guidance to help you choose the most appropriate approaches and techniques. This guide encapsulates performance and resource management best practices and can easily be used as a building block in your own .NET application. If you use it, you will reduce the amount of custom code you need to create, test, and maintain.http://msdn.microsoft.com/library/en-us/dnbda/html/daab-rm.asp
  • SqlHelper

    SQL Server

    Data Access Application Block

    Data Access Component

    SqlHelper

    ExecuteNonQuery

    SqlHelperParameterCache

    ExecuteDataset

    ExecuteReader

    ExecuteScalar

    ExecuteXmlReader

    CacheParameterSet

    GetCachedParameterSet

    GetSpParameterSet

    int

    DataSet

    SqlDataReader

    object

    XmlReader

    SqlParameter[ ]

    Transact-SQL

    or

    Stored Procedure

  • Retrieving a SqlDataReader

    Use ExecuteReader

    SQL Server

    Data Access

    Application B