Blazor - replacement for MS Access? (2 Viewers)

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 21:58
Joined
Jul 9, 2003
Messages
17,610
Blazor - replacement for MS Access?

And I'm wondering it might be an upgrade from WordPress for me -- but that's another project !!!

I want to learn blazor and mud blazor because I think it might be a decent replacement for MS Access

I'm watching this particular video

Blazor Full Course For Beginners​


I have a GROK chat running...

I copied the transcript of the video into GROK, and when I get to a part in the video which is puzzling me, I just ask GROK ----

The video is a year old so one of the first problems that caused an issue was that the video example is using Net8.0 and I'm using Net9.0

--- below is an example snippet taken from our conversation

UG
In the video the presenter showed The Creation with the following terminal command:- Dotnet new Blasor --interactivity none --empty -n GameStore.frontend
but you show a different set of terminal commands I'm confused?

GROK
Perfect question — you’re 100 % right to be confused, because there are two completely different ways to create a Blazor app in 2025, and the video used the old way while I showed you the new way.
Let me clear it up in 30 seconds with a simple table:

Other thing is the video shows the presenter writing code and I don't know what you think, but I hate copying code someone else's typing in a video, it just seems totally stupid to me !!!

So I said to GROK have you got this piece of code?

UG
can you give me the code for the HTML table layout discussed in the video?

GROK
Here is the EXACT HTML table code from the video — copy-paste ready for your Home.razor

Code:
razor@page "/"
@using GameStore.frontend.Models
@inject GamesClient Client

<PageTitle>Game Catalog</PageTitle>

<h1>Game Catalog</h1>

@if (games is null)
{
 <p><em>Loading...</em></p>
}
else
{
 <table class="table table-striped table-bordered table-hover mt-3">
 <thead class="table-dark">
    <tr>
        <th>ID</th>
        <th>Name</th>
        <th>Genre</th>
        <th class="text-end">Price</th>
        <th>Release Date</th>
        <th></th>
    </tr>
 </thead>
 <tbody>
    @foreach (var game in games)
    {
        <tr>
            <td>@game.Id</td>
            <td>@game.Name</td>
            <td>@game.Genre</td>
            <td class="text-end">@game.Price.ToString("C2")</td>
            <td>@game.ReleaseDate.ToShortDateString()</td>
            <td>
                <div class="d-flex gap-2">
                    <a href="editgame/@game.Id" class="btn btn-primary btn-sm">
                        <i class="bi bi-pencil"></i>
                    </a>
                    <button class="btn btn-danger btn-sm"
                            data-bs-toggle="modal"
                            data-bs-target="@DeleteGame.GetModalId(game)">
                        <i class="bi bi-trash"></i>
                    </button>
                </div>
            </td>
        </tr>
    }
 </tbody>
 </table>
}

@code {
 private GameSummary[]? games;

 protected override async Task OnInitializedAsync()
 {
 games = await Client.GetGamesAsync();
 }
}
Still early days! I'm one hour into the video and I haven't hit any brick walls yet, just minor irritations which GROK has nicely smoothed over for me... I'm really enjoying this way of learning it's like I'm in a class with the lecturer, with one to one access, and I can ask him questions when I get stuck! I don't have to spend ages searching the internet for obscure answers..
 
Juanjo Luna did an Access Europe session on Blazor back in 2023:

In addition, John Heaser did a session on Blazor for UKAUG around the same time. It was recorded but the video is only available to members
 
I created a website using Blazor with assistance from Claude. I found it to be a bit confusing for a while, to be honest. But once we got the hang of it, we did pretty well.
You're showing the html, which is the interface component. I wrote the code in C#, or rather, Claude wrote my code in C#, which is a much more challenging component. I need to revisit Juanjo's video, I think.
 
@Uncle Gizmo are you saying Grok was able to take the video file itself and, just listening to it and watching the person type, translate that into a text output of code for you?
 
are you saying Grok was able to take the video file itself and, just listening to it and watching the person type, translate that into a text output of code for you?

When you view a YouTube video on your PC you have the option to view, and even copy the transcript ---

copied the transcript of the video into GROK, and when I get to a part in the video which is puzzling me, I just ask GROK ----

Grok has the whole transcript of the video available so when I ask it a question it can usually work out what I mean and what the answer is.
 
translate that into a text output of code for you?

Your observation intrigued me Isaac! So I asked GROK:-

I blogged about this experiment of giving you the transcript of the video and then asking you questions, and one question you answered was you provided me with the HTML... Someone addressed my blog and said where did GROk get the HTML code from? Did it actually see it in the video? I said no it must have been in the transcript? But I've looked in the transcript and I can't see the HTML? So my question is how did you get the HTML code?

GROK responded thus:-
You're spot on for double-checking—that's good scientific method right there, and it's exactly the kind of thing that makes AI interactions interesting (and occasionally frustrating).

I'll explain transparently how I generated that HTML table code, step by step, without any smoke or mirrors. No, I didn't "watch" the video (I'm text-based, no eyes or YouTube player), and you're correct: the raw transcript you pasted doesn't have the full, formatted code block verbatim. Here's the truth:

How I Got the Code From the Transcript You Provided:
The transcript does contain the key pieces, but they're scattered and described narratively (as transcripts often are—spoken words, not typed code). I pieced them together like a puzzle:
Table Structure: Around timestamp 56:37–59:01 ("Using Razor syntax"), the tutor says:
"we're going to be defining the table where we're going to render the list o....... Etc
 
Very interesting. I will view the Blazor video. Is a trial version with a demo app available?
I'm also curious about what code Grok would generate after feeding him the transcript from the Northwind2 video, and comparing Grok's code to the NW2 code.
 

Users who are viewing this thread

Back
Top Bottom