See https://github.com/NancyFx/Nancy/pull/2441
In particular:
the wiki will not be updated as 2.0 packages are released from the preliminary release, until then all changes are considered pending =)
Those. The magic custom indexer syntax that allowed you to do this:
Get["/"] = ...
Left in version Nancy 2.x.
However, all the documentation currently still refers to the current version (i.e. version 1.4.x); so that...
TL; DR; This syntax is old and gone into the new version of Nancy. Use Get(...) , Post(...) etc. if you are using the new version of Nancy.
source share