Hooking up ASP.NET Core 1.0 RC1 web api with Auth0 bearer tokens

Hans Arne Vartdal

Even though you don't see security and bleeding edge release candidates in the same sentence every day, you need to secure your API's. I have been using Auth0 as my identity provider for a recent project, and they have AMAZING documentation that include everything you need, including complete code examples…

FluentValidation with ASP.NET Web API 2 and Castle Windsor

Olav Nyb√ł

Proper validation of input to REST APIs is important and if you also can provide good error messages in case of erronous input you will make the API a lot easer to use for the consumers of your API. Using FluentValidation doing validation and error messages becomes very simple. Combined…

Authorize and RequireHttps attributes in MVC with claims and ADFS/WIF

Christian Nesmark

Do you struggle with this error? ID1059: Cannot authenticate (...)? We're here to help. But be warned, facepalms might occur. Update 2013-09-08 After a while, I still had errors, even with the attributes in the correct order in my code. So what was the issue? Well, for MVC, there is a…