ASP.NET Overview Rob Howard Program Manager .NET Frameworks Team Microsoft Corp. - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

ASP.NET Overview Rob Howard Program Manager .NET Frameworks Team Microsoft Corp.

Description:

The leading web app development platform. Nearly 1 million developers using ASP today ... 'A Preview of ASP ' from Wrox Press. ASP.NET provides a quantum leap in power ... – PowerPoint PPT presentation

Number of Views:427
Avg rating:3.0/5.0
Slides: 23
Provided by: marka56
Category:

less

Transcript and Presenter's Notes

Title: ASP.NET Overview Rob Howard Program Manager .NET Frameworks Team Microsoft Corp.


1
ASP.NET OverviewRob HowardProgram
Manager.NET Frameworks TeamMicrosoft Corp.
2
Talk Agenda
  • Introduce .NET Platform
  • Common Language Runtime
  • .NET Framework
  • Introduce ASP.NET
  • Comparison with ASP
  • Walkthrough of ASP.NET Solutions
  • Making it easier to Build Apps
  • Making it easier to Deploy Apps
  • Making it easier to Operate Apps
  • Scalability and Performance

3
Framework
Enterprise Servers
Building Block Services
Compact Framework
4
Unify Programming Models
5
ASP
  • The leading web app development platform
  • Nearly 1 million developers using ASP today
  • Simple and approachable model for web developers
    to get started
  • No compilers required just hit save
  • Easy to use languages and object model
  • Well established developer support base
  • Good book/consulting/conference support

6
ASP, JSP, PHP, etc.
  • Way too much code required
  • Simple tasks often not easy
  • Poor re-use/encapsulation model
  • Applications contain spaghetti code
  • Intermixed html/code
  • Messy include files for re-use
  • Hacky page activation techniques
  • Limited language support
  • Latebound scripting only
  • JSP Java only

7
ASP, JSP, PHP, etc.
  • Weak tools
  • Poor layout, debuggers, profilers, etc
  • Confusing security architecture
  • Doesnt work well for Internet apps
  • Poor deployment
  • COM components a nightmare
  • Metabase configuration options confusing
  • Scalability challenges
  • No web farm or caching infrastructure

8
Introducing ASP.NET
  • ASP.NET is a revolutionary advance of ASP
  • Your existing ASP skills still work fine
  • But lots more features to leverage
  • Core themes that ASP.NET has focused on
  • Making it easier to build web apps
  • Making it easier to deploy web apps
  • Making it easier to operate web apps
  • Providing great performance and scalability
  • Supported platforms
  • Windows NT 4 / IIS 4, Windows 2000 / IIS 5,
  • Open hosting APIs

9
ASP.NET Pages (1 of 2)
  • Makes it dramatically easier to build dynamic web
    pages
  • Simplify common tasks done today
  • Validation, Data Manipulation, PostBack, State
  • Enable better support for different clients
  • Enable better uplevel/downlevel scenarios
  • Enable rich support for small devices
  • Enable cleaner code organization
  • Code no longer has to be mixed with HTML
  • Developers/designers can work independently

10
ASP.NET Pages (2 of 2)
  • Declarative server-side UI control model
  • ltaspdatagrid idList1 backcolorred
    runatservergt
  • Great way to encapsulate functionality
  • Zero coding required for common scenarios
  • Can automatically Render HTML to client
  • VB for the Web but Richness of HTML UI
  • Hierarchy, Repetition, Template UI
  • Rich extensibility model for ISVs to innovate

11
ASP.NET Web Services
  • ASP.NET makes it dramatically easier to expose
    programmatic services on the web
  • Simple Programming Model to Understand
  • Author .ASMX Files with Class Methods
  • Incoming Http Messages mapped to methods
  • No special HTTP or XML knowledge required
  • Supports Multiple Message Wire Formats
  • SOAP messaging support
  • Http Get/Post Requests that return XML Payloads
  • Extensible model for innovation

12
ASP.NET Web Services
  • Any Internet device/client can access an ASP.NET
    Web Service
  • Just invoke the Web Services .ASMX URL
  • Standards based XML Wire Format Enables
    Interoperability
  • Simple Object Access Protocol (SOAP)
  • Web Service Description Language (WSDL)
  • Tremendous opportunity for ISVs to expose and
    sell services that can be called from both client
    and server applications

13
ASP.NET Application Features (Highlights)
14
Caching Support
  • ASP.NET provides built-in caching support that
    enables re-use of work
  • Cache Engine Extensible Cache API
  • Enables arbitrary objects to be cached
  • 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

15
Deployment
  • ASP.NET enables a web app to be deployed simply
    by copying its bits to the server
  • \bin directory registration
  • No-nonsense architecture
  • No local server access required
  • No web server restarts required
  • Works for all web app resources
  • Web Pages/ Web Services
  • Compiled Components
  • Configuration Metadata

16
Configuration
  • XML configuration file config.web
  • Human readable format
  • Edit via notepad or XML based tools
  • Hierarchical config.web files can be used to
    apply settings to a web application
  • Only 1 per directory
  • No reboots
  • Easily replicated FTP, DAV, etc.

17
Improved Reliability
  • ASP.NET has been designed with assumption that
    failures 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 Users should never think that an
    ASP.NET application is down or unavailable

18
Web Farm Session State
  • Session State can now be external from ASP.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

19
Http Runtime
  • Goal Factored Low-Level Design
  • Replacement for ISAPI Extension and Filters
  • Provide customers with the ability to
    replace/customize/extend the core product
  • Eliminate black box magic with ASP/IIS
  • Support other programming abstractions
  • Run on top of multiple host environments
  • IIS5, IIS4, IE

20
ASP.NET HTTP Runtime
HTTP Handler
.asmx
.aspx
Application
HTTP Module
HTTP Module
Global.asax
Managed code
ASP.NET HTTP Runtime
Host (IIS 5, IIS 4, IIS 6, cmd.exe)
Native code
21
ASP.NET Starter Kits
  • Goal Provide cookie cutter solution
    applications that enable real-world scenarios
  • Fully documented source code
  • White Paper Documentation
  • Enable developers to use, customize and re-ship
    solutions of their own
  • No issues with reusing any starter kit code
  • Starter Kits Available with Beta1
  • E-Commerce Application (www.IBuySpy.com)
  • Portal Application (www.AspNetPortal.com)

22
Summary
  • Customer reaction has been fantastic
  • More than 100,000 downloads already
  • Visit http//www.asp.net to learn more
  • A Preview of ASP from Wrox Press
  • 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
Write a Comment
User Comments (0)
About PowerShow.com