﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Dmitry commented on NH Prof new feature: Filter static files</title><description>IIS7 integrated mode will make static files go through the ASP pipeline as well.
  
  
In my opinion, the right fix would be either to assign static handlers to css, js, gif, jpg... files. An alternative is to create a  session inside a controller and only dispose it through a module if you want to take advantage of security, etc. 
</description><link>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment10</link><guid>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment10</guid><pubDate>Thu, 10 Dec 2009 14:01:14 GMT</pubDate></item><item><title>Joshua Flanagan commented on NH Prof new feature: Filter static files</title><description>I can understand that you might sometimes want to see sessions listed if there are 0 statements. How about automatically "grey out" (or visually de-emphasize somehow) sessions with 0 statements? This would be in addition to your static file filter. 
</description><link>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment9</link><guid>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment9</guid><pubDate>Thu, 10 Dec 2009 13:29:51 GMT</pubDate></item><item><title>Mark Nijhof commented on NH Prof new feature: Filter static files</title><description>Pain Driven Development, Nice!
</description><link>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment8</link><guid>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment8</guid><pubDate>Thu, 10 Dec 2009 12:05:00 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof new feature: Filter static files</title><description>Liviu,
  
It is simpler
</description><link>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment7</link><guid>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment7</guid><pubDate>Thu, 10 Dec 2009 11:46:12 GMT</pubDate></item><item><title>liviu commented on NH Prof new feature: Filter static files</title><description>Ok,
  
ASP.NET pipeline, but why do somebody want to open a session directly and not wrap it in something lazy?
</description><link>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment6</link><guid>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment6</guid><pubDate>Thu, 10 Dec 2009 11:44:26 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof new feature: Filter static files</title><description>Rafal,
  
This is pretty common in apps that are developed on Cassini and then deployed to IIS
  
On IIS, it will handle static files directly, but cassini make them go through the ASP.Net pipeline.
</description><link>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment5</link><guid>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment5</guid><pubDate>Thu, 10 Dec 2009 11:41:07 GMT</pubDate></item><item><title>Rafal commented on NH Prof new feature: Filter static files</title><description>which leads to a question why static file requests create sessions at all?
</description><link>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment4</link><guid>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment4</guid><pubDate>Thu, 10 Dec 2009 11:02:09 GMT</pubDate></item><item><title>Simon commented on NH Prof new feature: Filter static files</title><description>Sorry! :-)
  
Always useful to have more filters anyway!
</description><link>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment3</link><guid>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment3</guid><pubDate>Thu, 10 Dec 2009 10:38:45 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof new feature: Filter static files</title><description>Simon,
  
Yes... and now you make me feel stupid :-)
  
Although, you actually do sometimes want to see empty sessions created from other places
</description><link>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment2</link><guid>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment2</guid><pubDate>Thu, 10 Dec 2009 10:28:18 GMT</pubDate></item><item><title>Simon commented on NH Prof new feature: Filter static files</title><description>Couldn't you have just used the 'sessions with statements' filter?  Or am I missing something here...
</description><link>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment1</link><guid>http://ayende.com/4318/nh-prof-new-feature-filter-static-files#comment1</guid><pubDate>Thu, 10 Dec 2009 10:18:35 GMT</pubDate></item></channel></rss>