DynamicScriptMiddleware.ReturnScript method

namespace: Serenity.Web.Middleware   assemblySerenity.Net.Web

Returns a dynamic script by its key

public static Task ReturnScript(HttpContext context, string scriptKey, string contentType, 
    bool json)
parameter description
context HTTP context
scriptKey Script key
contentType Content type
json True to return JSON

See Also