-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Make sure line endings doesn't bite you
Before you begin working with Nancy, be sure to set your AutoCRLF option to false. This tells your git client how it should treat line-endings in your local copy of a repository and prevents you from ending up with Git informing you that every single file has changes in it, when you are pretty damn sure you never touched any of them. Do yourself (and us - we don't want your screwed up line ending commits if we can avoid it!) a favor and make sure this is configured correctly.
To set AutoCRLF for just the Nancy repository, make sure you are in the correct folder and execute
git config core.autocrlf false
To make it the default setting for all repositories execute (this might very well introduce the issue in other repositories, if they rely on another setting)
git config --global core.autocrlf false
- 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