-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Managing dependencies the right way
If you make use of 3rd party dependencies, in your contributions, make sure they are places in the /dependencies/name
folder. Do not include any version numbers in the folder name for the dependencies, it doesn't make any sense and it's just going to be a nightmare to maintain. Also make sure you include all needed dependencies, there is nothing (ok, maybe a slight exaggeration) worse than having to be forced to chase around all over the web for downloads, just to be able to build source code you downloaded from some random project. Nancy should build, out of the box, once you've pulled down the source code.
Not only should all needed dependencies be included in the dependency folder, but make sure you read the license for the dependency you are about to include in Nancy. Make sure you are not violating anything in it! There are plenty of sites that explain the horde of different licenses out there.
We'd rather avoid getting a nice letter from a man in a suit because we are shipping their library x in a way that is not conforming to their choice of license. Nancy is distributed under an MIT license which makes it very open to how it is used, not everyone thinks their stuff should be used in such a liberal way and might not be compatible with MIT.
- Introduction
- Exploring the Nancy module
- Routing
- Taking a look at the DynamicDictionary
- Async
- View Engines
- Using Models
- Managing static content
- Authentication
- Lifecycle of a Nancy Application
- Bootstrapper
- Adding a custom FavIcon
- Diagnostics
- Generating a custom error page
- Localization
- SSL Behind Proxy
- Testing your application
- The cryptography helpers
- Validation
- Hosting Nancy with ASP.NET
- Hosting Nancy with WCF
- Hosting Nancy with Azure
- Hosting Nancy with Suave.IO
- Hosting Nancy with OWIN
- Hosting Nancy with Umbraco
- Hosting Nancy with Nginx on Ubuntu
- Hosting Nancy with FastCgi
- Self Hosting Nancy
- Implementing a Host
- Accessing the client certificate when using SSL
- Running Nancy on your Raspberry Pi
- Running Nancy with ASP.NET Core 3.1