Hi Team
I need some help, want to create a blazor server app will when clicking a button modal pop up. Either can use mudblazor as a library, can anyone show me step by step to do this in blazor server app in .net 8 sdk.
// blazor requirement for the project.
The application
should include...
Hi Team
I have a web server in Blazor, but maybe my application is not registered well according to the project structure. The issue is as below exception,
InvalidOperationException: Cannot find the fallback endpoint specified by route values: { page: /_Host, area: }...
Hello,
I'm trying to make an app that converts image format to SVG.
I am having trouble writing the code to download the image.
Please inform me.
private void DownloadSvg()
{
byte[] svgBytes = Encoding.UTF8.GetBytes(svgContent);
var fileName = "convertedImage.svg";
var...
Hello,
I'm again on my practice with Blazor. The issue now is the Modal I took from Bootstrap web page is not showing when I click the button that should make it appear.
This is the code:
@page "/"
@inject NavigationManager navMgr
<!-- Button trigger modal -->
<button type="button" class="btn...
I keep encountering the below Chrome console error while it sounds like my code is correct.
@page "/"
@using System.Net.Http.Json
@using System.Text.Json
@using System.Diagnostics
@inject HttpClient Http
<form>
<h1>AI Image Generator</h1>
<div class="form-group">...
Hey everyone,
Together with the open-source community from Flowbite we wrote a Blazor integration guide and a starter repository] on GitHub that helps you set up the UI components from Flowbite that are based on Tailwind CSS such as dropdowns, navigation bars, hero sections, footers, and more...
I work on blazor server side .asp.net core 7 . I face issue I can't return data after filter from list on Radzen data grid
First I create radzen data grid on razor page
<RadzenDataGrid @ref="myDataGrid" AllowColumnPicking="true" FilterMode="FilterMode.Simple" AllowFiltering="true"...
Hello all,
I'm working on the Add/Update page. Before, I had typed just value instead of @bind-value, and it appeared the correct value, but those fields were not updated. (Could it be because it was missing the "two way" binding?). Then I changed to @bind-value as you can see in the code, and I...
Hello,
How can I get data from a table row (such as Id or other columns) on click method from a button that is in the same row? So I can pass an Id to the Delete method or something like that.
This is my .razor file:
@page "/ClientList"
@using WebAPICountries.Models
@using...
Hi all,
So I'm progressing in my web dev learning. Now I'm working on a project that is not from a tutorial, but on my own.
I have on my clientList page a click event handler method that takes me to the editClient page, and I have to pass an Id to it, and I can't figure how.
My method looks...
Hi,
So I was able to add a connection string to the file appsettings.json, but I can't find the way to retrieve it in my 'Service' C# code file which gets data from the DB.
What I could know is that I need an IConfiguration object, through whose GetConnectionString() method I would get the...
Hello,
In these lines of code, I have tried to create a logo builder program using DeepAI API. It seems that the program works, but the received image is not clear.
@page "/LogoBuilder"
@layout EmptyLayout
@inherits LayoutComponentBase
<div>
<h3>LogoBuilder</h3>
<SaeedMenu />...
Hello,
What is the process for creating an instance of a class within a Blazor component and utilizing its methods?
By "latest version," I am referring to the most recent release.
thanks,
Saeed
Hello,
I'm trying to practice with MudBlazor doing the same I did before without it (but more complex this time, I added the KeyDown event), and it seems something related to the MudTextField is wrong, because it is not shown in the page (the MudButton is) and at the bottom of the screen it says...
Hello,
My question is regarding Blazor service:
In my app, I have a component: Logo-builder. razor
@page "/logo-builder"
@using BlazorApp_AI_1.Data
@inject LogoBuiderService logoBuilderService
<h1>Logo Builder</h1>
<label for="text-input">Text:</label>
<input type="text" id="text-input"...
Hi colleagues,
As cjard has advised me, I'm trying to learn Blazor as web development instead of MVC. I'm following this tutorial, but although I'm copying it literally, I can see a few syntax errors which I can't figure out how to solve in the Page I'm working on. I already added the TodoItem...
Hallo
I want to redirect in a blazor server side project between api's, can use RedirectToRoute("Controller") but this will only call the GET method.
I need to Post from one main controller to another, I got one main controller which validate and decide which controller needs to get the...
I working on blazor application server side . i face error when apply session timeout
Category: Microsoft.AspNetCore.Components.Server.Circuits.RemoteNavigationManager
EventId: 4
SpanId: 7336f0e333159b9e
TraceId: 1c34008822a09f63877a1646dd4c58c1
ParentId: 0000000000000000
RequestId...
Hello, I want to insert a link for the site favicon in the layout. C HTML, my link is:
<link rel="icon" type="image/x-icon" href="wwwroot/favicon.ico">
but I get this error:
But as you can see my favicon is in the wwwroot folder:
Do you think what is wrong? regards, Saeed
I work on blazor server side . I face issue I can't make user redirect to login page
when user try to access web application by copy and past URL of my application on new browser page
my scenario as below :
1-I open my web application as www.union.com .
2-it open login page as first page...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.