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
- The ASP.NET Hosting option
- The Razor View Engine option
- Creating a dynamic application
- Nancy conventions
- Configuring applications with Bootstrapper
Getting Started with Simple.Data
- Installing Simple.Data from Nuget
- Connecting to SQL Server
- Querying data
- Modifying data
- Simple.Data conventions
Nancy + Simple.Data
- Generating pages from Simple.Data results
- Handling data updates
- Static vs Dynamic models
- Nancy Model Binding
Nancy + Simple.Data + TDD
- Testing your Nancy application
- Working with test data
- Applying tests to our first application
Day Two
- Secure Applications
- Forms Authentication in Nancy
- Social Authentication via Facebook & Twitter
- Implementing Claims-based Authorisation
- Testing secure applications
RESTful APIs
- Working with JSON & XML data
- REST practices
- Using AJAX to consume APIs
- Testing RESTful APIs
Validating Data
- Using Data Annotations
- Using FluentValidation
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.