In DetailNancy is a C# web framework which aims to provide you ,the application developer, with an easy path to follow, where things will naturally fall into place and work. Nancy is a powerful, flexible, and lightweight web framework that allows you to get on with your job.
Instant Nancy Web Development will give Readers practical introduction to building, testing, and deploying web applications with Nancy. You will learn how to take full advantage of Nancy to build clean application code, and will see how this code lends itself nicely to test driven development. You will also learn how to hook into Nancy to easily extend the framework.
Instant Nancy Web Development offers you an in-depth exploration of all the major features of the Nancy web framework, from basic routing to deployment in the Cloud, and from model binding to automated tests.
You will learn how to build web applications with Nancy and explore how to build web sites using Razor views. Next, you will learn how to build web based APIs suitable for JavaScript clients, mobile clients, and even desktop applications. In fact, you will learn how to easily combine the two into one.
Finally, you will learn how to leverage Nancy to write clean and maintainable web applications quickly.
ApproachFilled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. A practical, step-by-step guide featuring recipes that will get you up and running quickly with Nancy.
Who this book is forIf you are a .NET oriented web developer who is curious to find out what lies beyond the Microsoft provided frameworks, then this book is for you! It’s beneficial to have a good knowledge of C# and .NET, as well as a basic working knowledge of HTTP. If testability is important to you, and you’re looking for a lightweight, code focused approach to building web applications, this book offers you all the guidance that you will need.
Great book for beginners or people that just what to know what Nancy is and for what can be used. Its more like tutorial, guiding reader step by step.
This book is not for Nancy developers that are working with framework for more than few weeks.
pros: * Unit Testing - how to UT code written in Nancy * easy to follow step by step guide * "easy" language of the author makes reading a book more like reading a good blog post * More real "life" example - todo application
cons: * step by step guide as ordered number list so its not so clear to read as it could be * something is wrong with kindle version - you need to change font size to almost the largest one to have optimal reading experience
This isn't a bad introduction to Nancy, but it's fairly out of date. It uses Nancy 1.x; the current version is 2.x, and there are a lot of differences. I read this on Safari; I don't think you can even buy this from Packt anymore, and I couldn't find the code download for it on their web page. I wouldn't recommend this for anyone looking to learn Nancy 2.x.
The format of this book lends itself well to developers who don't know Nancy and want to learn it, and those who already know the basics but want a reference for the more complicated stuff.
The book consists of a list of recipes that take you through building a real life web application, starting with a simple "Hello, world" application and moving on to more advanced subjects like authentication, self hosting and using async handlers. People new to Nancy will benefit most from reading the book from cover to cover as each recipe builds on the previous, where as more advanced users may find the book more useful as a reference.
The book also promotes good development practices as each recipe follows the TDD principle of red, green, refactor. This not only displays how to successfully test a Nancy application but also gives a good format to explain how and why the code in each recipe works. This format is repeated throughout each recipe, which combined with the authors writing makes the book a very easy read.
A full review of this book can be found on my blog.