Mindmap
ASP.NET
Inhalt der Mindmap
ASP.NET
Server-side web environment
Programming Models
- Web Pages
- for simple data-driven sites
- Code in web page
- C# - .cshtml
- VB - .vbhtml
- Web Forms
- rich server-side controls
- Buttons
- textboxes
- Gridview
- Custom controls
- Page Life Cycle
- similar to building desktop applications
- Event handlers
- respond to user actions
- button_Click() event
- respond to user actions
- rich server-side controls
- MVC
- Model
- Defines classes that represent the object types
- Data Access Logic
- reads data from DB
- writes data to DB
- View
- Builds the web pages that make up the UI
- Displays properties of the model class
- Controller
- Handles user interaction
- Creates & modifies model classes
- Selects appropriate views
- More control over generated HTML
- improves testability
- logical structure
- Model
- Web Pages
ASP.NET API
- Configuration
- System.Web.Configuration
- web.config
- XML files
- DB connections
- Custom Error pages
- Authentication & Authorisation
- System.Web.Security
- Membership providers
- Authenticate & authorise users
- Restrict access to content
- Account management tasks
- Caching
- rendered pages
- mitigates the delay in rendering a webpage
- framework objects
- System.Runtime.Caching
- caches configured in web.config
- rendered pages
- Configuration
Compiling
- 2-stage process
- ASP.NET compiler
- compiles to MSIL
- independent of language used
- independent of CPU architecture
- creates .dll files
- compiles to MSIL
- CLR
- compiles to native code for the server CPU
- ASP.NET compiler
- allows errors to be detected at build time
- 2-stage process
Informationen
- Beschreibung
- Mindmap am ASP.NET, erstellt von Mary Macdonald am 15/07/2015.
- Erstellt von
- Mary Macdonald
- Aufrufe
- 1
- Bewertung