Pivot grid in WPF

Today I am going to show you how easy to achieve a pivot scrolling in wpf using scroll viewers and scroll bars. What we are going to achieve is presented on following picture The center and top part can be scrolled horizontally using bottom scroll bar (red rectangle). From the other side the vertical scroll bar affects center and left side part (orange rectangle). So when we sc…

By Mirek on (tags: pivot grid, WPF, categories: code)

Localization in ASP.NET Core 1.0 and MVC 6

Previous ASP.NET localization approach was quite old. It was just based on resources and there was nothing wrong with this but lot of projects uses other sources of localized texts (for example database). In ASP.NET Core 1.0 it’s completely rewritten! Configuring Localization middleware The localization is configured in Startup class, where we need to enable Localization middle…

By Dawid on (tags: asp.net core 1.0, localization, mvc6, categories: code)

Azure Active Directory B2B: How it works

B2B is based on invitation model which lets you enable access to your corporate applications from partner-managed identities. You can provide email along with the applications you want to share and send invitation to your partners, customers or anyone else who have account in Azure Active Directory. Azure AD sends them an email invite with a link. The partner user follows the l…

By Dawid on (tags: active directory, azure, b2b, categories: azure, infrastructure, code)

Using Azure Active Directory application roles

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 differen…

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