DynamicScriptMiddleware class
namespace: Serenity.Web.Middleware assembly: Serenity.Net.Web
Dynamic script middleware that handles /DynJS.axd/ and /DynamicData/ paths.
public class DynamicScriptMiddleware
| parameter | description |
|---|---|
| next | The next request delegate. |
Public Members
| name | description |
|---|---|
| DynamicScriptMiddleware(…) | Dynamic script middleware that handles /DynJS.axd/ and /DynamicData/ paths. |
| Invoke(…) | Invokes the middleware in the given context. |
| static ReturnScript(…) | Returns a dynamic script by its key. |
| static WriteWithIfModifiedSinceControl(…) | Writes file content to the response with If-Modified-Since control. |
Remarks
Initializes a new instance of the DynamicScriptMiddleware class.
See Also
- Source: DynamicScriptMiddleware.cs