Asp net
Sponsored Links
This presentation is the property of its rightful owner.
1 / 31

ASP.NET PowerPoint PPT Presentation


  • 137 Views
  • Uploaded on
  • Presentation posted in: General

ASP.NET. Arkitektur og Web Forms. Agenda – Web Forms. Arkitektur for ASP.NET ( 1 del ) Arkitekturen i korte træk Fordele ved ASP.NET Win Form <> Web Form Page Klassen Attributter Events IIS (Internet Information Server) Visual Studio ASP.NET projekt Web Controls (2 del)

Download Presentation

ASP.NET

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


ASP.NET

Arkitektur og Web Forms


Agenda – Web Forms

  • Arkitektur for ASP.NET ( 1 del )

    • Arkitekturen i korte træk

    • Fordele ved ASP.NET

    • Win Form <> Web Form

    • Page Klassen

      • Attributter

      • Events

    • IIS (Internet Information Server)

    • Visual Studio ASP.NET projekt

  • Web Controls (2 del)

    • Arver hierarki for Web server controls

    • Common Web Server Controls

    • Event Handling for Web Server Controls

    • List Controls

    • PlaceHolder og Panel Control

    • Table, TableRow og TableCell

    • User Input Validation

      • Client side

      • Server side

    • Cascading Style Sheets


ASP.NET (arkitekturen)

  • Arkitekturen i korte træk


ASP.NET (arkitekturen)


ASP.NET (arkitekturen)


ASP.NET (arkitekturen)

  • ASP.NET compilation


ASP.NET (arkitekturen)

  • Page roundtrip


ASP.NET (arkitekturen)

  • Page roundtrip


ASP.NET (arkitekturen)

  • Win Form <> Web Form


ASP.NET (arkitekturen)

  • Page Klassen

    • Page Directives


ASP.NET (arkitekturen)

  • Page klassens attributter


ASP.NET (arkitekturen)

  • HTTP Request


ASP.NET (arkitekturen)

  • HTTP Response


ASP.NET (arkitekturen)

  • HTTP ServerUtility


ASP.NET (arkitekturen)

  • ISS (Internet information Server)

    • Hvordan finder man den?

    • Oprettelse af virtuelle biblioteker

    • Shadow copying


ASP.NET (arkitekturen)

  • Shadow copying


ASP.NET (arkitekturen)

  • Fordele ved ASP.NET <> ASP

    • Enhanced Application Development Model

      • RAD

      • OOP

    • Rich Class Library Support

      • FCL

        • ADO.NET

        • XML-based web service

        • Web Controls

    • Performance

    • Scalability

    • Security

    • Manageability

      • Configuration as XML-files

    • Extensibility

      • Create own custom components

    • Trace and Debugging


ASP.NET (arkitekturen)

  • Visual Studio ASP.NET projekt


ASP.NET (arkitekturen)

  • Webforms er stærkt til ?

    • Salg af produkter over Internet

    • Præsentation af firma på Internet

    • Præsentation af information via Intra Net


ASP.NET (Web Controls)

  • Hierarki for HTML controls


ASP.NET (Web Controls)

  • Arver hierarki for Web server controls


ASP.NET (Web Controls)

  • Common Web Server Controls

    • Label

    • TextBox,

    • Image

    • CheckBox og RadioButton

    • Button, LinkButton og ImageButton


ASP.NET (Web Controls)

  • Event Handling for Web Server Controls

    • Intrinsic Events

      • Button har 2

      • Calendar har 3

      • Datagrid har 9

    • Event Arguments

    • AutoPostback

    • Bubbled Events


ASP.NET (Web Controls)

  • List Controls

    • ListBox

    • DropDownList

    • CheckBoxList

    • RadioBoxList


ASP.NET (Web Controls)

  • PlaceHolder og Panel Control

  • Table

  • TableRow

  • TableCell

  • Mulighed for inkludering af andre kontroller i en Table

  • Dynamisk load af Controls vha. Panel

  • Eksempel


ASP.NET (Web Controls)

  • Calendar Control

    • Properties på Calendar klassen

    • Events på Calendar klassen

    • Eksempel


ASP.NET (Web Controls)

  • User Input Validation

    • RequiredFieldValidator

    • RegularExpressionValidator


ASP.NET (Web Controls)

  • User Input Validation

    • RangeValidator

    • CompareValidator


ASP.NET (Web Controls)

  • User Input Validation

    • CustomValidator


ASP.NET (Web Controls)

  • User Input Validation

    • Page.Validate()

    • Page.IsValid

    • Client side

    • Server side


ASP.NET (Web Controls)

  • Cascading Style Sheets

    • Ensartet look and feel

    • Nem vedligeholdelse

    • Styles på Web Controls

    • Eksempel


  • Login