During this Nancy and Simple.Data course, you will learn the low-ceremony, low-maintenance way to create web applications using the Nancy web framework and Simple.Data data-access library. Over a series of tutorials and exercises, you will apply best practices including TDD/BDD and mocking to create a full application, and discover how these concepts are fanatically supported by both frameworks.
By the end of this course, you will have learned how to build secure applications and services which will run on multiple platforms against a variety of databases and NoSQL systems, with full test coverage, and all with less code and configuration than you would have thought possible.
You will also receive the following book when you attend this Nancy and Simple Data course;
REST in Practice: Hypermedia and Systems Architecture (Jim Webber & Ian Robinson).
Getting Started with Nancy
- Installing Nancy from Nuget li>
- The ASP.NET Hosting option li>
- The Razor View Engine option li>
- Creating a dynamic application li>
- Nancy conventions li>
- Configuring applications with Bootstrapper li>
Getting Started with Simple.Data
- Installing Simple.Data from Nuget
- Connecting to SQL Server li>
- Querying data li>
- Modifying data li>
- Simple.Data conventions li>
Nancy + Simple.Data
- Generating pages from Simple.Data results li>
- Handling data updates li>
- Static vs Dynamic models li>
- Nancy Model Binding li>
Nancy + Simple.Data + TDD
- Testing your Nancy application li>
- Working with test data li>
- Applying tests to our first application li>
Day Two
- Secure Applications li>
- Forms Authentication in Nancy li>
- Social Authentication via Facebook & Twitter li>
- Implementing Claims-based Authorisation li>
- Testing secure applications li>
RESTful APIs
- Working with JSON & XML data li>
- REST practices li>
- Using AJAX to consume APIs li>
- Testing RESTful APIs li>
Validating Data
- Using Data Annotations li>
- Using FluentValidation li>
Practical session
The end of day two will be a workshop session to cement the skills learned on the course. Attendees may choose to work on an application of their own devising, maybe to continue after the course is complete, or on an exercise application for which a reference implementation is available. In either case, TDD/BDD using Nancy’s & Simple.Data’s specific support for these practices will be encouraged.