Blazor Wasm – custom authentication – Part 2

After having done the view parts (Blazor Wasm – custom authentication – Part 1) now it’s time for the model.

Starting with reading the JWT into a List of Claims, so that we can pass it later into a own implementation of AuthenticationStateProvider.

Continue reading “Blazor Wasm – custom authentication – Part 2”

Blazor Wasm – custom authentication – Part 1

Rest API Server is already setup an and authentication is tested. ASP Net JWT Authentication – Test

Now it’s time to setup Blazor Wasm fontend to support registration, login and Logout. Preferably in a appealing manner.

Continue reading “Blazor Wasm – custom authentication – Part 1”

Blazor Web geolocation – Android

After we already managed to communicate with an BLE device, let’s now try something a bit easier.

As mentioned in a previous post, we already have some “requirements” for a treasure hunt. For that, we need a solution to get the users location.

Let’s see if we can manage to get the location directly from a webapplication and get around the need of writing and deploying a full Mobile App.

Continue reading “Blazor Web geolocation – Android”

Blazor Web Bluetooth – Android – Part 2

Earlier Post

Welcome back! In the earlier post we already managed to connect and read characteristics from a BLE device. But had it only logged to console.

Now let’s also display it on GUI.

Continue reading “Blazor Web Bluetooth – Android – Part 2”

Blazor Web Bluetooth – Android – Part 1

Basic BLE Device using ESP32 NodeMCU.
Code can be found here: https://github.com/sukapx/Esp32_BLE

Documentation of Web Bluetooth that will be used

Good to know: Blazor Remote Debugging – Android

Calling Javascript from Razor and Razor from Javascript: Microsoft Docs

Continue reading “Blazor Web Bluetooth – Android – Part 1”

Blazor Remote Debugging – Android

Description on how to do Remote Debugging websites on Android

Starting the new blazor project as described in it’s documentation

dotnet new blazorwasm -o Solution --hosted
cd Solution/Server
dotnet watch

And we’re greeted by the typical Blazor start

The ports on which your page will be shown are set random on project creation. You can find (and change) them in “launchSettings.json”.

Continue reading “Blazor Remote Debugging – Android”