ASP'NET Getting started more detail - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

ASP'NET Getting started more detail

Description:

Too many to list. Here's a few favorites. Code-behind programming model ... Tour of ASP.NET. Highlights... File Open Project From Web ... – PowerPoint PPT presentation

Number of Views:52
Avg rating:3.0/5.0
Slides: 12
Provided by: peter868
Category:
Tags: asp | net | detail | getting | more | started | tour | warped

less

Transcript and Presenter's Notes

Title: ASP'NET Getting started more detail


1
ASP.NETGetting started more detail
2
WOW! factors
  • Too many to list
  • Heres a few favorites
  • Code-behind programming model
  • Code-beside programming model
  • Easy and fast development
  • Automatic code generation
  • Any browser, any device
  • Reliable
  • Compiled applications fast fast fast the
    fastest web platform that exists today (bar none)

3
WOW! factors (continued)
  • Favorites (continued)
  • Language-neutral
  • Can inherit from other classes even if they were
    written in a different language
  • Great development tool (VS 2008.NET)
  • Applications feel solid and fast
  • Server-side web controls
  • Server-side validation, complemented by
    client-side validation code that is written for
    you

4
WOW! factors (continued)
  • Favorites (continued)
  • Great state management
  • Great authentication and authorization
    infrastructure
  • Great connectivity to databases
  • Based upon and takes advantage of Internet
    standards
  • Rich functionality
  • Security is built in
  • XML Web Services
  • Can access functionality in 6,500 base classes

5
The best ASP.NET WOW! factor
  • Code-beside development
  • This development model separates
  • presentation code
  • from
  • application code

6
Demos and discussion
  • Getting started
  • with ASP.NET

7
Tour of ASP.NET
  • Highlights
  • File gt Open gt Project From Web
  • Your home directory ASP.NET Web Application
  • Web form
  • webform.aspx
  • Code-beside file
  • webform.aspx.cs
  • Build process (compile)
  • Keyboard shortcut is CtrlShiftB (build only)
  • CtrlShiftW (build and view in browser)
  • Or File gt View In Browser

8
Whats in an ASP.NET application?
  • VS .NET automatically adds essential project
    references (to class libraries) and files needed
    to get started
  • References (to class libraries)
  • System and System.Data
  • System.Web, System.Drawing, and System.XML
  • Files
  • WebForm1.aspx user interface code
  • WebForm1.aspx.cs class file that contains the
    system- and user-generated source code (e.g. C)
  • Web.Config application configuration settings

9
The VS .NET app dev environment
  • Design view has two tabbed panels visible
  • Design
  • WYSIWYG editor
  • HTML
  • The HTML code
  • The design surface offers two page layout modes
  • CSS
  • Flow Layout (use this one!)

10
Code beside
  • Every web form also has a code-beside file
  • It contains the .NET language code
  • When you open a web form depending on what is the
    setting, either its code-beside or its design
    will open automatically
  • To open the other, click on the tab below the
    page.
  • If you double-click on one of the controls, it
    will open the code-beside file with the cursor
    positioned inside the code block that implements
    the controls default event handler

11
Inherits System.Web.UI.Page
  • When you are creating a web form (aspx), you are
    writing a class
  • Your web form inherits from a System.Web.UI.Page
    class in the .NET Framework
  • The Page object serves as the naming container
    for all server controls in a page
  • Server controls?
  • The form control, which holds
  • Buttons, labels, textboxes, list controls, etc.
Write a Comment
User Comments (0)
About PowerShow.com