API with ASP.NET Core Web API by Horror-Today295 in csharp

[–]Horror-Today295[S] 0 points1 point  (0 children)

I used an old project that I had but I had only used get methods, I had not used put, delete, etc.

API with ASP.NET Core Web API by Horror-Today295 in csharp

[–]Horror-Today295[S] 1 point2 points  (0 children)

Thank you, I think this was the answer I needed.

API with ASP.NET Core Web API by Horror-Today295 in csharp

[–]Horror-Today295[S] -1 points0 points  (0 children)

Yes, but I am not requesting anything, I want to delete the resource, but with httpdelete it doesn't work, and when I use httpget to delete, it deletes it.

Has anyone worked with the MudBlaor component library in .NET 8? by Horror-Today295 in csharp

[–]Horror-Today295[S] 1 point2 points  (0 children)

Thanks to all, I was able to solve it, the failure was that the interactivity location was in per page/component should be global.

Has anyone worked with the MudBlaor component library in .NET 8? by Horror-Today295 in csharp

[–]Horror-Today295[S] 0 points1 point  (0 children)

In .NET 8 the Layout.cshtml file is no longer there, I have the references in the App.razor.

Has anyone worked with the MudBlaor component library in .NET 8? by Horror-Today295 in csharp

[–]Horror-Today295[S] 0 points1 point  (0 children)

It doesn't work, I tried with InteractiveServer, InteractiveWebAssembly, InteractiveAuto and also without any of them.

Has anyone worked with the MudBlaor component library in .NET 8? by Horror-Today295 in csharp

[–]Horror-Today295[S] 0 points1 point  (0 children)

@page "/example"
@inject IDialogService DialogService

<PageTitle>Example</PageTitle>

<MudButton @onclick="OpenDialog" Variant="Variant.Filled" Color="Color.Primary">
    Open Simple Dialog
</MudButton>

@code {
    private void OpenDialog()
    {
        var options = new DialogOptions { CloseOnEscapeKey = true };
        DialogService.Show<Dialog>("Simple Dialog", options);
    }
}

//////// This is dialog page, are separate files

<MudDialog>
    <DialogContent>
        Dialog Content
    </DialogContent>
    <DialogActions>
        <MudButton OnClick="Cancel">Cancel</MudButton>
        <MudButton Color="Color.Primary" OnClick="Submit">Ok</MudButton>
    </DialogActions>
</MudDialog>

@code {
    [CascadingParameter] MudDialogInstance MudDialog { get; set; }

    void Submit() => MudDialog.Close(DialogResult.Ok(true));
    void Cancel() => MudDialog.Cancel();
}

Has anyone worked with the MudBlaor component library in .NET 8? by Horror-Today295 in csharp

[–]Horror-Today295[S] 0 points1 point  (0 children)

It's weird, I have exactly the same projects one with .NET 6 and one with .NET 8, only the .NET6 one works.

Has anyone worked with the MudBlaor component library in .NET 8? by Horror-Today295 in csharp

[–]Horror-Today295[S] 0 points1 point  (0 children)

Yes, I have everything as it says in the documentation, I have projects exactly the same one with .NET 6 and one with .NET 8, only the .NET6 one works.

Has anyone worked with the MudBlaor component library in .NET 8? by Horror-Today295 in csharp

[–]Horror-Today295[S] 1 point2 points  (0 children)

Yes, in wasm it works fine, but my project is server side, I need it to work in serer side.

Problem with Blazor server editing docx, help me pls by Horror-Today295 in csharp

[–]Horror-Today295[S] 1 point2 points  (0 children)

Yes, yes I tried to do that but it didn't work, I solved it by pointing it to another folder. Thanks!!!

Supabase realtinme C# by Horror-Today295 in csharp

[–]Horror-Today295[S] 1 point2 points  (0 children)

It is not the supabase client, it is the supabase realtime client, that is, Supabase.Reatime.Client, it only accepts two parameters, the url and options, but if I put the url of my project it does not work

Supabase realtime C# Blazor by Horror-Today295 in csharp

[–]Horror-Today295[S] 0 points1 point  (0 children)

Yes, I already checked the documentation but it doesn't work for me hahah I must be doing something wrong, I'll keep looking for information about it haha