Should fix 612 - IISExpress stil seems to grind to a halt a bit when hitting it with 30,000+ requests with trace log on, but no OOM or errors.
There was a reference to the Nancy.Tests project from the Nancy.Hosting.Self.Tests project, this meant that the rake would execute the Nancy.Tests tests twice
They are a bit brittle and needs some loving
* A couple of the newer projects weren't configured correrectly for MonoDebug and MonoRelease * Excluded the NDJango related projects from both MonoDebug and MonoRelease until we've figured out a proper solution for getting NDjango to run correctly on Mono
Not needed. FSharp is installed into the GAC so it should automatically be resolved at runtime. Nothing in the Nancy src uses the FSharp.Core types directly so a reference is not needed.
This will make them pass on Mono. It is still unclear why the fake, from the other fixture, is discovered. My guess...xunit does not function correctly on Mono
Static content in root
- Reverted AddDirectory so it now defines a root folder again. Meaning if you map /content then you can also request content from sub-folders such as /content/stuff - Added AddFile which lets you map individual files. It will also permit you to map anonymous files such as /favicon -> /content/favicon.ico - Fixed bug where the wrong string was being regex escaped
* Can now map both requestedPath and contentPath to the root using either "" or "/" * It now adds a single content folder and no longer defines a content root folder. Before you could add /content and then request content from /content/stuff. This is a breaking change but ther were security concerns with how it used to work * Updated tests to reflect the fact that we no longer map a content root folder
- Moved the using statments inside the namespace declaration - Gave the file a correct filename - Refactored tests to have given/when/then flow - Changed camel-case method name to pascal-case - Changed test names to follow the Should_xxxx_When_xxx convention
TextResponse and AsText