Using Azure Active Directory application roles

By Dawid on (tags: active directory, 5, azure, role, categories: azure, code, security)

In this post I’ll try to explain how we can build an MVC application that uses Azure Active Directory Application Roles for authorization. This kind of authorization is implemented using role based access control – RBAC. When using this kind of authorization we can grant permissions to roles, not to individual users or groups. The administrator can then assign roles to different users and groups. Thanks to that he can control who has access to what content and functionality.


Multiple environments in ASP.NET 5

By Dawid on (tags: 5, environment, categories: code)

APS.NET 5 has introduced new environment variable called ASPNET_ENV. It allows us to control our application behaviour between multiple environments because it’s describing environment on which application is currently working on.