ASP.NET

"INFO: Application Instances, Application Events, and Application State in ASP.NET" (link) explains why Application object still exists in ASP.NET, where and how to store static/shared variables in web applications.

Links and References:

    • ASP.NET Application Life Cycle Overview for IIS 7.0 (link)
    • INFO: ASP.NET HTTP Modules and HTTP Handlers Overview (link)
    • How postback works in .NET (link)
    • Beginner’s Guide: How IIS Process ASP.NET Request (link)

MVC Patterns for Web Forms

MonoRail (link)

When mixing ASP.Net Web Forms with MVC, check this article (link).

Data Binding

ASP.NET and Entity Framework - Getting Started, from ASP.Net web site (link). The linked part shows how to work with related data (master-detail views).

Security

Asp.net wiki on security (link).

Trust levels

Trust Levels and Policy Files (link)

Web Server

Use this to quickly start the web server at a given directory:

@echo off
set server="C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.EXE"
set port=80
set root=c:\dev\code\web\
:: /vpath:
@%server% /port:%port% /path:%root%