dotless/dotless — pull request #214 by milichev (2012-06-26 15:02:08+00:00)
Title: Http Session support added + minor changes/fixes

* Session support for Asp.net handler added:
> LessCssWithSessionHttpHandler inherits LessCssHttpHandler and is marked with IRequiresSessionState;
> LessCssHttpHandlerFactory, depending on DotlessConfiguration.SessionMode & SessionQueryParamName, constructs LessCssWithSessionHttpHandler or LessCssHttpHandler;

* ConfigurationManager.GetSection wrapped in IConfigurationManager impl.
> First of all, this is for mocking configuration in tests;
> There's an issue with testing LessCssHttpHandlerFactory: if config.SessionMode==DotlessSessionStateMode.QueryParam, the factory checks QueryString[Config.SessionQueryParamName]. For that it uses Container.GetInstance() — I don't know how to mock it...

* ConfigManager:Mock< IConfigurationManager > and Config:DotlessConfiguration added to HttpFixtureBase;
* Solution/.csproj upgrade related paths added to gitignore;
* Possible ArgumentOutOfRangeException fixed in Rule.
Http Session support added + minor changes/fixes