An example of how self-host Nancy without locking assemblies using shadow loading.
C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
NancyShadowAssemblies.Implementation
NancyShadowAssemblies
.gitignore
LICENSE
NancyShadowAssemblies.sln
README.md

README.md

NancyShadowAssemblies

Sample code showing how to self-host Nancy while using shadow copying to avoid locking dlls.

This is in response to this issue: https://github.com/NancyFx/Nancy/issues/2123

To use the project:

  1. Clone it locally
  2. Open the solution as an Administrator
  3. Restore Nuget dependencies
  4. Run the NancyShadowAssemblies project
  5. Open http://localhost:12345
  6. Enjoy

If you would like to share or adapt this code, go right ahead! These examples are licensed under the MIT License.