ISIS Davemi Intro ASP.net Final

Embed Size (px)

Citation preview

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    1/22

    Introduction to ASP.NET

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    2/22

    Agenda

    Introduction to ASP.NET

    ASP.NET Features

    XML Web Services Additional Resources

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    3/22

    What is ASP.NET? ASP.NET provides a complete environment for building, deploying and

    running .NET Web Applications Ease of Development

    Simplified page development model

    Target any Web client (PC or mobile device)

    Modular, well-factored, extensible architecture

    Superior debugging and tracing support

    Performance, Scalability, Reliability

    Compiled, not interpreted

    Rich Caching Support

    Web farm scalable session state

    Automatically detects and recovers from errors

    Ease of Deployment and Configuration No need to bring down web server

    Deploy and upgrade running apps with XCOPY,

    XML Configuration files

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    4/22

    Message

    Queuing

    Trans

    -

    actions

    Active

    Directory

    IIS

    Manage

    -

    ment

    Inside the .NET Framework

    Common Language Runtime

    Common Language Runtime

    Executes code, maintains security,

    handles component plumbing and

    dependencies

    Windows Forms

    Secure, easily deployable rich client

    classes

    Win

    dowsForms

    ASP.NET

    Classes and engine for building,

    deploying, and running Web

    applications and services

    ASP.NET

    ADO.NET

    Classes for loosely

    -

    coupled dataaccess

    ADO.NET

    Enterprise Services

    A complete set of features enabling

    transactions, message queuing,

    etc.

    E

    nterprise

    Services

    XML

    VB C++ C# Perl Java

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    5/22

    Communication Protocols

    XML, SOAP, HTTP, HTML

    .NET FrameworkDesigned for loosely-coupled computing

    Built for Web services

    Integral SOAP & XML support

    High-productivity, multi-language development

    Unified, simplified programmingmodel

    Secure, scalable, high-performance execution

    Advanced security and compilertechnologies

    Windows

    Application Services

    .NET Framework

    Visual Studio .NET

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    6/22

    ASP.NET Web Forms

    ASP.NET makes pages dramatically easier Requires a lot less code to be written

    Enables much cleaner code to be written

    Can handle automatic uplevel/downlevel scenarios

    ASP.NET enables support for server controls

    Controls can handle rendering and interaction

    Form1.aspx

    code

    Form1.aspx

    code

    Form1.aspx.cs

    single file separate files (code-behind)

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    7/22

    ASP.NET Web Forms

    ASP.NET makes programming web apps easier

    Write clean code

    Do more with fewer lines of code

    Program in any OO .NET language using code-behind

    programming model ASP.NET enables support for server controls

    Controls can handle rendering and interaction

    Form1.aspx

    code

    Form1.aspx

    code

    Form1.aspx.cs

    single file separate files (code-behind)

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    8/22

    Runtime Compilation

    ASPXFile

    Request

    ASPX

    Engine

    Parse

    GendPageClass

    Generate

    Response

    Request

    Instantiate

    Response

    Code-behindclass

    Page

    Class Instantiate,Process and

    Render

    Compile

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    9/22

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    10/22

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    11/22

    ASP.NET Modular Design ASP.NET enables customers to replace/extend/

    customize the core product

    Eliminate black box magic with ASP/IIS

    Example Customization: Session State, Output Caching,

    Authentication/Authorization

    Http Runtime: logical replacement for ISAPI API

    Enables low-level http programming

    Easy programming model for ISAPI-like tasks

    ASP.NET can run on any host environment

    IIS, IE, Apache, SQL, Exchange, etc.

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    12/22

    ASPNET_STATE

    INETINFO

    ASPNET_WP

    Caching

    HttpHandlers

    Pages Services

    ASP.NET Modular Architecture

    ASPNET_ISAPI

    Authent SessionsHTTP Runtime

    HttpModules

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    13/22

    ASP.NET Caching Support ASP.NET provides built-in caching support

    that enables re-use of work

    Full Page Caching Vary by params, language, user-agent

    Partial Page Caching Enables portions of pages to be cached

    Web Service Caching Vary by parameters and methods

    Cache Engine: Extensible Cache API Enables arbitrary objects to be cached

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    14/22

    Session State

    Session State can now be external fromASP.NET Worker Process

    ASPState NT Service

    SQL Server 7.0

    Big reliability wins

    Session state survives crashes/restarts

    Enables Web farm deployment Session State can now be shared across a web

    farm of ASP.NET Servers

    Applications no longer tied to one machine

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    15/22

    ASP.NET Web Services

    Easiest way to build XML Web Services Author class with methods

    No special HTTP or XML knowledge required

    Supports Multiple Message Wire Formats SOAP messaging support

    Http Get/Post return XML payloads

    Extensible model for innovation

    Interoperate with other SOAP applications

    Platform neutral technology

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    16/22

    Improved Code Deployment

    Simple deployment for components Just xcopy/ftp to an applications \bin dir

    No registration required (no more regsvr32)

    No tools, no configuration changes, no appshutdown, no re-boots

    Simple uninstall just delete directory

    No registry entries to clean up

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    17/22

    Improved Reliability

    ASP.NET has been designed with assumption thatfailures will occur on systems

    Designing for failure reduced fragility

    ASP.NET detects and recovers from problems

    Access Violations, Memory Leaks, Deadlocks

    ASP.NET supports pre-emptive cycling of apps

    Time and Request Based Settings

    Net Result: Admins should never think that anASP.NET application is down or unavailable

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    18/22

    Summary

    ASP.NET provides a quantum leap in power

    Tons of new features/infrastructure

    ASP.NET will make building web apps easier

    Much less plumbing code required

    Enable developers to focus on customers

    ASP.NET will enable customers to develop a newbreed of web applications

    More opportunities to build richer apps

    Customer reaction has been fantastic

    Visit http://www.asp.net to learn more

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    19/22

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    20/22

    The .NET Framework in Curriculum

    Multi-language runtime environment Use the language you like

    Access the same class libraries to do similar tasks

    Use a powerful IDE to access easy-to-use

    learning tools Visual Studio .NET Academic

    Experience programming with .NET bybuilding your own Terrarium creature at the

    Hands-On Lab (Booth #301)

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    21/22

    Microsoft Resources for Faculty

    MSDN Academic Alliance

    Check out MSDN AA Kiosk at the Microsoft Booth New program from Microsoft

    Software for computer science, engineering, and IScourses.

    Annual membership fee of $799 per department Membership runs from July-June

    Web site that supports program:(www.msdnaa.net)

    Visual Studio .NET Academic

    All the features of Visual Studio .NET Professionalplus Course Management Tools

  • 7/31/2019 ISIS Davemi Intro ASP.net Final

    22/22