Nebraska.Code() Sessions tagged api

Building a ReSTful API in .Net Core Web API

You've heard about ReSTful web services, you may have even worked with people who say they have a ReSTful web service. Maybe you're not even sure what makes a ReSTful service different from a SOAP service. Maybe you just want to see how it would be done in .NET Core. I will show you how to develop truly ReSTful web services using Microsoft's latest version of the .NET framework and in particular, the newest version of Web API! I will show you how to expose Hypermedia within your new API and what the benefits are. You will learn the basics of setting up Web API in .NET Core and how to make it sing ReSTfully!

Speaker

Lee Brandt

Lee Brandt

Developer Evangelist, Okta

Rapid REST API Development with Node and Sails

Creating a RESTful API should be the easiest part of your development. You should not have to be a rocket scientist to successfully create a RESTful API. With Sails, you can create a full featured RESTful API in just a few minutes without writing any code. You get create, destroy, update, find, paginate, sort, and filtering out of the box. If you need to add your business logic to any of the methods or create your own methods, you can do that by writing simple JavaScript functions.

When you are ready to implement your security layer, Sails has you covered. Sails provides basic security and role-based access in the form of policies that can be applied any REST action. Policies are interchangeable with Express/Connect middleware which means you can plugin in popular NPM modules such as Passport. You can also easily implement your own email/password, social login or Windows authentication with a bit of JavaScript.

For data storage, Sails bundles the power ORM, Waterline, which provides a simple data access layer that just works, no matter what database you are using. Out of the box MongoDB, MySQL, PostgreSQL, and Redis are support. However, there are more than 30 data storage providers adapter that the community has created such as Microsoft SQL Server, Couchbase, Salesforce, and Firebase. You can easily switch between any data storage provider or mix and match data storage providers on a model by model basis.

This talk will be code heavy as we walk through getting started with Sails and demonstrate how to implement the features of Sails through the creation of an API. As well, I will share the tips and tricks that I have learned using Sails at a Fortune 100 company. You will walk away understanding how and why you should use Sails on your next project.

All code covered in the talk with be immediately available for download.

Speaker

Justin James

Justin James

Senior Software Engineer, Intel