Latest Posts
-
Blazor Server - Get Access Token for User
06 Sep 2020 - Cody Merritt Anhorn
In this article I show, using Blazor Server, a few snippets to get the AccessToken for a logged in User. It is not as straight forward to get the AccessCode for a user, the snippets will be using an Authentication type of OpenID. I have included comments in the code below with helpful details that might be useful.
-
CSS - Fancy Full Screen Loading UI
05 Sep 2020 - Cody Merritt Anhorn
This article I am just showing off a simple full screen UI I am playing around with, the main reason to have a Full Screen Loading UI is to hide loading details about your application. In my case I am hosting a Wasm application, and since it requires a hearty load of assets I wanted a Fancy loading screen to show the user when they first hit the site. Below is the HTML, CSS and JavaScript I use to show and manage the UI.
-
Blazor - Playing Sound with JSRuntime
05 Sep 2020 - Cody Merritt Anhorn
With this article is just show off how to play an audio sound from Blazor, it’s not much different that using JavaScript, well it is just using JavaScript. But since Blazor does not have a built-in abstraction over the Audio JavaScript API we have to use IJSRuntime to call into it. Their are other libraries that can do this for you, abstracting away the JavaScript, but in some cases you just need an simple example of calling a block of code. Also this article is just to show off more of my Blazor Component Library. 😁
-
Blazor - Page Animated Transitions
05 Sep 2020 - Cody Merritt Anhorn
With this article I will go over how to use BlazorTransitionableRoute to create an animated transition between Blazor page transitions.
-
Blazor Wasm - Get Access Token for User
05 Sep 2020 - Cody Merritt Anhorn
In this article I show, using ASP.NET Core Blazor Wasm, a quick snippet to get the AccessToken for a logged in User. Not much to it just using the
IAccessTokenProvider
, and if the user is signed in and they have are using an authentication type that provides an access token, like OpenID.