andrewdavey/cassette — pull request #92 by ChrisMH (2011-11-03 02:36:52+00:00)
Title: Remove dependency on System.Web from main Cassette module

Andrew,

I've become a fan of the Nancy framework, but don't like the current way that static content is handled. I have started working on an integration module to pull Cassette into the Nancy pipeline : https://github.com/ChrisMH/Nancy.Cassette

The first step was to remove any reference to System.Web and related namespaces from the main Cassette project. The project in this pull request is now based on the .NET 4.0 client profile and does not use any reference to ASP.NET libraries.

I used some code from the Mono project (JSON Serialization, HttpUtility), and I replaced IHttpString/HttpString with string. I didn't see a reason that interface/class was necessary, but perhaps I'm missing something.

Unit tests were updated and are passing (except for two which didn't pass before I made these changes).

Chris