Hi
I have made this app in blazor:
Index
Occasionally, I encounter this error: "Attempting to connect to the server."
Do you know how to solve it?
regards,
Saeed
Hi,
I need to update a variable in my Blazor server index page when the user clicks the "upload" button in the "upload" component.
You can see my code here:
I added this code to my index page:
[Parameter] public EventCallback<bool> isConverting { get; set; }
private void UpdateParent() {...
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...
Hi,
I'm trying to open an ASP.NET web form site in Visual Studio, but it keeps asking me which page is the starter page.
When I right-click on an aspx page to set it as the starter page, there isn't an option for that.
"What should I do?"
thanks,
Hi there,
I'm looking to add a map to a Blazor Server page, but I'm encountering the following error:
Status 500
The map library I'm using is openstreetMap.
Here's the code I'm using:
<!-- Using jsDelivr CDN -->
<script...
Hello,
I need to import an image in my Blazor web assembly app. I have tested and read a lot of content from the web and AI.
But I don't know why none of my input tags are working!
<InputFile @OnChange="HandleFileUpload" />
<input type="file" @onchange="HandleFileUpload" />
<input type="file"...
Hello,
I'm trying this tutorial:
What is Model Builder and how does it work? - ML.NET
but on this page:
ML.NET Tutorial | Get started in 10 minutes | .NET
When I press the brows button, nothing happens!
Can you guide me?
thanks,
Hello,
This class is a logo builder project app. I have installed Microsoft ml but I still see a red line under Predict. I've tried many AI modes but still couldn't find what package should I install:
using Microsoft.ML;
namespace BlazorWasm_ML.net_Monica_Claude.Services
{
public class...
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,
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,
This is part of a tutorial for OpenAI development:
https://www.c-sharpcorner.com/article/building-ai-chatbot-app-with-chatgpt-api-and-blazor-a-step-by-step-guide/
Can you please help me to understand this part of the code:
Content = new StringContent("{\"model\": \"text-davinci-001\"...
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
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.