Category: Blazor

  • Blazor Browser History–part 03–implementation

    01 Introduction Because I said that I have 2 implementations for same sqlite database (SqliteWasmBlazor and BitBeSql), there will be interfaces . The first one is to save data and retrieve data – a CRUD 02 Interface IBrowserUserHistoryRepositoryDatabase Description: Base interface defining database operations for browser history. This is the core abstraction for data persistence.…

  • Blazor Browser History – part 02 – Database

    To store data where the user have been it is not so complicated. However, the part of making querys – I do prefer old SQL . So the choice will be a database that runs into the browser- and Sqlite seems the choice – see https://sqlite.org/wasm/doc/trunk/index.md Now the only thing is to find a provide…

  • Blazor Browser History – part 1 – idea

    Working with UI , I remember the old times where there was a MRU . So , why not do one for Blazor ? Especially for Blazor WASM  . What should do: 1. See what URL’s have the user have been accessed . Retrieve URL and Page Title . 2.  Store this into a browser…

  • BlazorExtensionsAspire – integrate BlazorWebAssembly with WebAPI via Aspire–code

    BlazorExtensionsAspire solves the problem of automatically injecting the URL of WebAPI into Blazor WebAssembly . The code for obtaining writes into appsettings.json of BlazorWebAssembly To use it add this to a Aspire AppHost project and then add this to a BlazorWebAssembly project and then inject Do not forget to add CORS to webAPI !

  • BlazorExtensionsAspire – integrate BlazorWebAssembly with WebAPI via Aspire–idea

    Any WebAPI application needs an UI – and Blazor is a choice nowadays ( along other SPA , like Angular, React, Svelte … ) For integrating in ASPIRE ,there is a no simple task : Blazor should know the WebAPI url and use it to gather data. But the WebAPI URL could change  – so…

  • Poor man display errors–part 3–Display

    In part 2 I have exposed the errors via the API to the world. Now I should show in a Blazor/ Razor page . It is enough to read with an HTTP call and display data. Display data in a table Because – the API that gives error can change,however it will be an array…

  • Blazor and RowNumber in Grid

    The data that comes from the backend does not,usually,provide a row number . So how to obtain this ? Create a class,will say any programmer … And the usage And the grid:

  • Aspire Blazor WebAssembly and WebAPI

      Aspire is the new visualizer – see https://github.com/dotnet/aspire I am very fond of WebAPI  –  it allows for all people to see the functionality of a site,in a programmatic way ( side note:,my nuget package,https://www.nuget.org/packages/NetCore2Blockly,allows to make workflows from your WebAPI) And Blazor WebAssembly is a nice addition that the WebAPI . I am…

  • Deploy Blazor WASM to Github Pages in 7 steps

    Assumptions: You have an Blazor Interactive WebAssembly ( CSR ),not a Server ( static or interactive) I will make as the repo is  https://github.com/ignatandrei/tilt  . Change my name with yours and TILT  with your repo So let’s start Step 1   You must configure GitHub Pages – create a docs folder and put an index.html  .…