C# Class Serenity.Web.HttpHandlers.DynamicScriptHandler

HTTP handler to server script resources (in upload folder), only used when script packages is enabled.
Inheritance: IHttpHandler
Datei anzeigen Open project: volkanceylan/Serenity Class Usage Examples

Public Methods

Method Description
ProcessRequest ( HttpContext context ) : void
ProcessScriptRequest ( HttpContext context, string scriptKey, string contentType ) : void
WriteWithIfModifiedSinceControl ( HttpContext context, byte bytes, System.DateTime lastWriteTime ) : void

Method Details

ProcessRequest() public method

public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext
return void

ProcessScriptRequest() public static method

public static ProcessScriptRequest ( HttpContext context, string scriptKey, string contentType ) : void
context System.Web.HttpContext
scriptKey string
contentType string
return void

WriteWithIfModifiedSinceControl() public static method

public static WriteWithIfModifiedSinceControl ( HttpContext context, byte bytes, System.DateTime lastWriteTime ) : void
context System.Web.HttpContext
bytes byte
lastWriteTime System.DateTime
return void