
1. Master pages
1.1. ContentPlaceHolder
1.2. Can include each other
2. HttpContext
2.1. Application
2.2. Cache
2.3. Current
2.4. Items
2.5. Profile
2.6. Request
2.7. Response
2.8. Session
2.9. Server
2.10. Timestamp
3. Web Form
3.1. Контролы -.designer.cs
3.2. Файл разметки - .aspx
3.2.1. Import
3.2.2. Asp controls
3.2.3. Html
3.2.4. Code fragments <% .. %>
3.3. Файл кода - .cs
3.3.1. C# code
3.3.2. Page Lifecycle
3.3.2.1. PreInit
3.3.2.1.1. IsPostBack availible
3.3.2.1.2. Create dynamic controls
3.3.2.1.3. Set master page and theme props
3.3.2.2. Init
3.3.2.2.1. Read or initialize control properties
3.3.2.3. InitComplete
3.3.2.3.1. Processing tasks that require all initialization to be complete
3.3.2.3.2. Make changes to the view state
3.3.2.4. Preload
3.3.2.4.1. ViewState is ready
3.3.2.4.2. PostBack data are ready
3.3.2.5. Load
3.3.2.5.1. All values are restored
3.3.2.5.2. IsPostPack check mostly
3.3.2.5.3. Call Validate methods
3.3.2.5.4. Set properties in controls
3.3.2.5.5. Establish DB connection
3.3.2.6. Controls PostBack events
3.3.2.7. LoadComplete
3.3.2.7.1. For tasks that require that all other controls on the page be loaded
3.3.2.8. PreRender
3.3.2.8.1. Allows final changes to the page or its control
3.3.2.8.2. Takes place before saving ViewState
3.3.2.9. PreRenderComplete
3.3.2.10. SaveStateComplete
3.3.2.11. Unload
3.3.2.11.1. Cleanup code
3.3.2.12. Error
4. Global.asax.cs
4.1. Application_Start
4.2. Application_End
4.3. Application_BeginRequest
4.4. Application_AuthenticateRequest
4.5. Application_Error
4.6. Session_Start
4.7. Session_End
4.8. Global
5. Controls
5.1. Server controls (only .cs)
5.2. User controls (ascx)
5.3. Standart .NET Controls
5.4. Server HTML elements
6. Modules
6.1. Generate requests
6.2. CS file
6.3. IHttpModules
6.4. Register in web.config
6.5. Session Windows Authentication
7. Event Handlers
7.1. IHttpHandler
7.2. Generate response
7.3. .cs
8. Cache
8.1. Could set
8.1.1. As array value
8.1.1.1. Cache[key] = value
8.1.2. By Method
8.1.2.1. Cache.Insert(...)
8.1.2.1.1. UpdateNotification
8.1.2.1.2. RemoveNotification
8.2. Array of key/value
8.3. Expiration time
8.3.1. Absolute
8.3.2. Sliding
8.4. Available for
8.4.1. All requests
8.4.2. All users
8.5. Stores in memory
8.5.1. If too much data
8.5.1.1. increase response time
8.5.1.2. timeout errors
8.6. Priority
8.7. Dependencies
8.7.1. CacheDependency
8.7.2. AggregateCacheDependency
9. State Data
9.1. Application
9.1.1. Stores while applications works
9.1.2. HttpApplicationState
9.1.3. Key/value array
9.2. ViewState
9.2.1. Save data for one form
9.2.2. Stores as a request/response part
9.2.3. Key/value array
9.3. Profile
9.3.1. ProfileBase class
9.3.2. Stores in DB
9.4. Session
9.4.1. HttpSessionState class
9.4.2. Key/value array
9.4.3. SessionState in web.config
9.4.3.1. timeout
9.4.3.2. mode
9.4.3.2.1. StateServer
9.4.3.2.2. SQL Server
9.4.3.2.3. InProc
9.5. Cookies
10. Exceptions
10.1. Mostly like MVC
10.2. Application level
10.2.1. Global.asax
10.2.1.1. Server.Execute(Page)
10.2.2. Application_error
10.3. HttpContext
10.3.1. AddError
10.3.2. AllErrors
10.3.3. Application_EndRequest
10.3.4. CleanError
11. Routing
11.1. ASP.NET Friendly Urls
11.2. Path
11.2.1. Virtual
11.2.2. Physical
11.2.3. HttpRequest
11.2.3.1. ApplicationPath
11.2.3.2. Path
11.2.3.3. PhysicalApplicationPath
11.2.3.4. PhysicalPath
11.2.3.5. MapPath(virtual)
11.2.3.6. ...
11.3. Rewrite Path
11.4. AppStart\RouteConfig.cs
11.4.1. IHttpModule
11.4.2. Register Routes
11.4.2.1. MapPageRoute
11.4.3. IRouteHandler
12. Configuration
12.1. Web.config
12.1.1. Section groups
12.1.2. App Settings
12.1.3. Sections
12.1.3.1. Items
12.1.3.1.1. lock
12.2. System.Web.Configuration
12.2.1. WebConfigurationManager
12.2.2. AppSettings
12.2.3. ConnectionStrings
12.2.4. GetWebApplicationSection(s)
12.2.5. GetSection(s)
12.2.6. OpenWebConfiguration(path)
13. Validation
13.1. Server
13.1.1. IsPostBack
13.1.2. Request
13.1.2.1. ["action"]
13.1.2.2. HttpMethod
13.1.2.3. Form
13.2. Client
13.2.1. jQuery
13.2.1.1. validate.js
13.2.2. text1.ClientID
13.2.3. HTML5 Check Validity
13.3. XSS
13.3.1. web.config
13.3.1.1. HttpRuntime
13.3.1.1.1. RequestValidationMode
13.3.1.1.2. ValidateRequestMode
13.4. Controls
13.4.1. ValidationSummary
13.4.2. RequiredFieldValidator
13.4.3. RangeValidator
13.4.4. ValidationRepeater
14. Models
14.1. Model.cs
14.1.1. System.ComponentModel.DataAnnotations
14.1.1.1. Compare
14.1.1.2. Range
14.1.1.3. RegularExpression
14.1.1.4. Required
14.1.1.5. StringLength
14.1.1.6. CustomValidation
14.2. IValueProvider
14.2.1. FormatValueProvider
14.2.2. ControlValueProvider
14.2.3. CookieValueProvider
14.2.4. QueryStringValueProvider
14.2.5. ProfileValueProvider
14.2.6. RouteValueProvider
14.2.7. ViewStateValueProvider
14.3. TryUpdateModel
14.4. GetModelValidationErrors
14.4.1. ModelState.IsValid
14.4.1.1. Keys
14.4.1.2. Values
14.4.1.3. Item
14.4.1.3.1. Value
14.4.1.3.2. Errors