21 lines
552 B
C#
21 lines
552 B
C#
using System;
|
|
using System.Web;
|
|
|
|
namespace VAR.Focus.Web.Code
|
|
{
|
|
public class StylesBundler : IHttpHandler
|
|
{
|
|
#region IHttpHandler
|
|
|
|
public bool IsReusable { get { return false; } }
|
|
|
|
public void ProcessRequest(HttpContext context)
|
|
{
|
|
Bundler bundler = new Bundler(context.Server.MapPath("~/Styles/"));
|
|
bundler.PrepareCacheableResponse(context.Response);
|
|
bundler.WriteResponse(context.Response, "text/css");
|
|
}
|
|
|
|
#endregion IHttpHandler
|
|
}
|
|
} |