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

ASP.NET PowerPoint PPT Presentation


  • 124 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

ASP.NET

Arkitektur og Web Forms


Agenda 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

ASP.NET (arkitekturen)

  • Arkitekturen i korte træk


Asp net arkitekturen1

ASP.NET (arkitekturen)


Asp net arkitekturen2

ASP.NET (arkitekturen)


Asp net arkitekturen3

ASP.NET (arkitekturen)

  • ASP.NET compilation


Asp net arkitekturen4

ASP.NET (arkitekturen)

  • Page roundtrip


Asp net arkitekturen5

ASP.NET (arkitekturen)

  • Page roundtrip


Asp net arkitekturen6

ASP.NET (arkitekturen)

  • Win Form <> Web Form


Asp net arkitekturen7

ASP.NET (arkitekturen)

  • Page Klassen

    • Page Directives


Asp net arkitekturen8

ASP.NET (arkitekturen)

  • Page klassens attributter


Asp net arkitekturen9

ASP.NET (arkitekturen)

  • HTTP Request


Asp net arkitekturen10

ASP.NET (arkitekturen)

  • HTTP Response


Asp net arkitekturen11

ASP.NET (arkitekturen)

  • HTTP ServerUtility


Asp net arkitekturen12

ASP.NET (arkitekturen)

  • ISS (Internet information Server)

    • Hvordan finder man den?

    • Oprettelse af virtuelle biblioteker

    • Shadow copying


Asp net arkitekturen13

ASP.NET (arkitekturen)

  • Shadow copying


Asp net arkitekturen14

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 arkitekturen15

ASP.NET (arkitekturen)

  • Visual Studio ASP.NET projekt


Asp net arkitekturen16

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

ASP.NET (Web Controls)

  • Hierarki for HTML controls


Asp net web controls1

ASP.NET (Web Controls)

  • Arver hierarki for Web server controls


Asp net web controls2

ASP.NET (Web Controls)

  • Common Web Server Controls

    • Label

    • TextBox,

    • Image

    • CheckBox og RadioButton

    • Button, LinkButton og ImageButton


Asp net web controls3

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 controls4

ASP.NET (Web Controls)

  • List Controls

    • ListBox

    • DropDownList

    • CheckBoxList

    • RadioBoxList


Asp net web controls5

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 controls6

ASP.NET (Web Controls)

  • Calendar Control

    • Properties på Calendar klassen

    • Events på Calendar klassen

    • Eksempel


Asp net web controls7

ASP.NET (Web Controls)

  • User Input Validation

    • RequiredFieldValidator

    • RegularExpressionValidator


Asp net web controls8

ASP.NET (Web Controls)

  • User Input Validation

    • RangeValidator

    • CompareValidator


Asp net web controls9

ASP.NET (Web Controls)

  • User Input Validation

    • CustomValidator


Asp net web controls10

ASP.NET (Web Controls)

  • User Input Validation

    • Page.Validate()

    • Page.IsValid

    • Client side

    • Server side


Asp net web controls11

ASP.NET (Web Controls)

  • Cascading Style Sheets

    • Ensartet look and feel

    • Nem vedligeholdelse

    • Styles på Web Controls

    • Eksempel


  • Login