<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Can we customize enable and disable middleware filter?]]></title><description><![CDATA[<p>Can we customize enable and disable middleware filter [MiddlewareFilter(typeof(JsReportPipeline))]  this filter on this method.</p>
<pre><code>[MiddlewareFilter(typeof(JsReportPipeline))]
        public ActionResult Invoice()
        {
            HttpContext.JsReportFeature().Recipe(Recipe.ChromePdf);

            return View(InvoiceModel.Example());
        }```</code></pre>
]]></description><link>https://forum.jsreport.net/topic/2523/can-we-customize-enable-and-disable-middleware-filter</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 01:25:01 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2523.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Aug 2022 08:28:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can we customize enable and disable middleware filter? on Tue, 02 Aug 2022 08:29:27 GMT]]></title><description><![CDATA[<p>Can we customize enable and disable middleware filter [MiddlewareFilter(typeof(JsReportPipeline))]  this filter on this method.</p>
<pre><code>[MiddlewareFilter(typeof(JsReportPipeline))]
        public ActionResult Invoice()
        {
            HttpContext.JsReportFeature().Recipe(Recipe.ChromePdf);

            return View(InvoiceModel.Example());
        }```</code></pre>
]]></description><link>https://forum.jsreport.net/post/10962</link><guid isPermaLink="true">https://forum.jsreport.net/post/10962</guid><dc:creator><![CDATA[AllahDittaFalcon]]></dc:creator><pubDate>Tue, 02 Aug 2022 08:29:27 GMT</pubDate></item><item><title><![CDATA[Reply to Can we customize enable and disable middleware filter? on Invalid Date]]></title><description><![CDATA[<p>I have one IActionMethod where I want download PDF and View PDF when I use  <code>[MiddlewareFilter(typeof(JsReportPipeline))]</code> on then view pdf success render and download is not work. when I remove filter <code>[MiddlewareFilter(typeof(JsReportPipeline))]</code> then view is not working and downloading is working well. Please Give me any Suggestion.</p>
]]></description><link>https://forum.jsreport.net/post/10963</link><guid isPermaLink="true">https://forum.jsreport.net/post/10963</guid><dc:creator><![CDATA[AllahDittaFalcon]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Can we customize enable and disable middleware filter? on Invalid Date]]></title><description><![CDATA[<p>Not sure If I get your question...<br />
Do you need to dynamically disable the filter from inside the action body?<br />
The <code>JsReportFeature</code> has <code>Enabled</code> property<br />
<a href="https://github.com/jsreport/jsreport-dotnet-aspnetcore/blob/1a18b8cb2141fe83ee3bfb6726ab0b199eef6ecf/jsreport.AspNetCore/JsReportFeature.cs#L34" rel="nofollow">https://github.com/jsreport/jsreport-dotnet-aspnetcore/blob/1a18b8cb2141fe83ee3bfb6726ab0b199eef6ecf/jsreport.AspNetCore/JsReportFeature.cs#L34</a></p>
]]></description><link>https://forum.jsreport.net/post/10964</link><guid isPermaLink="true">https://forum.jsreport.net/post/10964</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>