Free Sample
+ Collection

Instant Nancy Web Development

Starting
Christian Horsdal

Leverage the powerful and lightweight .NET-based Nancy Web Framework
$12.99
RRP $12.99
eBook

Want this title & more?

$16.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783283910
Paperback74 pages

About This Book

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Build web applications and APIs using the Nancy Web Framework
  • Define routes and handle requests in clean and easy-to-follow code
  • Use flexible data binding and content negotiation in your Nancy Web APIs to easily support a multitude of client applications

Who This Book Is For

If 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.

Table of Contents

Chapter 1: Instant Nancy Web Development
Building and running your first Nancy application (Simple)
Nancy testing – your first Nancy tests (Intermediate)
Routes and model binding (Intermediate)
Taking a dependency – introducing the bootstrapper (Intermediate)
Content negotiation and more model binding (Advanced)
Adding views (Intermediate)
Adding static content (Intermediate)
Hosting Nancy on the Cloud (Intermediate)
Handling cross-cutting concerns – Before, After, and Error hooks (Intermediate)
Authenticating users (Intermediate)
Separating applications and hosting (Advanced)
Using async handlers (Advanced)

What You Will Learn

  • Set up and handle routes in your Nancy based web applications
  • Bind request data to your custom model
  • Send data back to clients marshalled in the format that they prefer
  • Extend Nancy to handle specialized data formats
  • Control authentication and authorization in your web applications
  • Run your web applications in the Cloud
  • Manage cross- cutting concerns across parts, or the whole of your application
  • Deal with requests asynchronously

In Detail

Nancy 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.

Authors

Read More

Recommended for You

Instant Website Optimization for Retina Displays How-to
$ 12.99
Penetration Testing with the Bash shell
$ 13.99
Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update
$ 26.40
Django Design Patterns and Best Practices
$ 21.60