How to adjust field names in Nancy model bindings?
问题 In a web application I use Nancy for creating a REST service. Unfortunately, in HTML our field names are lowercase ( firstName ), but the appropriate properties in .NET are uppercase ( FirstName ). Moreover, we have some fields that don't map 1:1, such as id that shall become TicketId in .NET. Now I have two question on this: Is Nancy case-sensitive or case-insensitive when it comes to field names? Does Nancy provide some sort of mapping for field names? 回答1: Support for this is there, but it