Authentication and Authorisation can be tricky, with many different methods of performing similar tasks and it can be hard to figure out what's best for your projects. It gets even trickier when you start thinking about how to authorise cross platform applications including web and apps (and now with Xamarin thrown in, it's even murkier!). Throw in WebAPI2 on the other side and it's starting to become unclear how to make a great experience for developers and end users alike. In this session Jordan will demonstrate how to build a centralised authentication system that supports web and apps, passing claims around all over the place using Json Web Tokens ending up in a WebAPI2 based API site. The session will investigate a range of concepts from web to app to API, including best practices, Autofac powered filters, OWIN and other cool concepts that your services need!
Any sample code, video, or other supporting content for this presentation (if available for this session) is loaded in the zip file.
Web developers are seeing huge boosts in their productivity building Web Applications with ASP.NET, with so many huge improvements to Visual Studio focused on the problems web developers solve each day. We've also made some significant improvements in Microsoft Azure for web developers by concentrating on providing the community the best cloud in which to host ASP.NET web apps. Features like Auto-scaling and Traffic Management provide high-performance, internationally-distributed web hosting scenarios. We've made it easier than ever to add background processing by adding Azure WebJobs as an option for web developers who need to add a middle tier. Along with staging and production deployment slots, and a rich SDK to enable service automation - a feature many software-as-a-service apps can use to automate their provisioning and deployment experiences - there's no better place than Microsoft Azure Web Sites to host your ASP.NET apps. Kudu offers Web Sites customers a set of extensions that offer an extensible addition to the Azure Management Portal that has extensions in it from external contributors and Microsoft engineers who contribute to a growing list of functionality each site can exploit. This session will introduce these and other features with Web Sites, and demonstrate how it is the best choice in the cloud for ASP.NET.