C# Класс NodeNetAsync.Yui.NodeNetJsFilter

Adds support for automatical JS minimizing and serving combined JS files. Minification is done using YUI compressor with IKVM. For .js files : It will minimize JS files before serving them. For .jsx files: It will read all the lines (that will be references to .js files) from the JSX and will combine and minimize them. Trying to access a .jsx file will cause a 404 error. To reference a .jsx file you should reference to a file with the same name and path and the extension changed to .js
Наследование: IHttpStaticFilter
Показать файл Открыть проект

Открытые методы

Метод Описание
NodeNetJsFilter ( bool Compressing = true ) : System

Защищенные методы

Метод Описание
JsHandler ( HttpStaticFileServer Parameter ) : Task

JsxHandler ( HttpStaticFileServer Parameter ) : Task

Trying to access the JSX file directly will cause a 404 error to avoid accessing the list of files.

Приватные методы

Метод Описание
IHttpStaticFilter ( HttpStaticFileServer HttpStaticFileServer ) : void

Описание методов

JsHandler() защищенный Метод

protected JsHandler ( HttpStaticFileServer Parameter ) : Task
Parameter NodeNetAsync.Net.Http.Static.HttpStaticFileServer
Результат Task

JsxHandler() защищенный Метод

Trying to access the JSX file directly will cause a 404 error to avoid accessing the list of files.
protected JsxHandler ( HttpStaticFileServer Parameter ) : Task
Parameter NodeNetAsync.Net.Http.Static.HttpStaticFileServer
Результат Task

NodeNetJsFilter() публичный Метод

public NodeNetJsFilter ( bool Compressing = true ) : System
Compressing bool
Результат System