Blazor using HttpClient with authentication

Microsoft Blazor wallpaper

Today, we are going to learn how to create a secure connection in Blazor using HttpClient with authentication to gain access to the protected resources on the Web API’s side. Everything is based on IdentityServer. Until now, we secure Blazor WebAssembly With IdentityServer4 and enabled login and logout actions. After successful login, IdentityServer sends us the id_token and the access_token. But we are not using that access_token yet. So, in this article, we are going to change that. But, using the access token with Blazor WebAssembly is not going to be our…

Azure Resource naming convention guide

Microsoft Azure

The goal of this post is to offer a simple guide how to generate naming convention for Azure resource, bearing in mind some restrictions from Azure itself. Naming Principals First, I want to give you some generic information about naming in Azure: The naming pattern must support easy application level grouping for show back/charge back billing when required. Constraints: Some resources are constrained by their identifier length, and case sensitivity The convention MUST Describes type of resource in the subscription. Constraints: Some resources must be uniquely named across entire Azure. The establishment…

Application Insights: select and filter

Application Insights wallpaper

Azure Application Insights has a specific language and syntax for select and filter data different from Structured Query Language (SQL). In this post, I am going to compare Analytics query language to SQL with examples for selection and filtration. First, navigate to analytics page of any Application Insights App by clicking Logs tab in the overview page of the app. Then, analytics tab opens a new editor window that you can type your query in it. Now, in the query editor we are going to write our queries using the…

Azure support

PureSourceCode webapplication creation

I use Microsoft Azure technologies for backend services within Xamarin apps or web applications, as they allow the app usage to scale indefinitely and you only pay for what you use. I offer my knowledge to support you with Microsoft Azure technologies. Active Directory (Azure AD): use Azure AD to provide authorisation and security services to Xamarin apps. I also use OAuth providers to provide security services. Mobile App Service: An Azure Mobile App Service allows two-way data synchronisation between a central data store and each device running the Xamarin…