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">...
Hi,
I keep encountering errors in my label and input tags despite having made several changes. When I check the code in both Visual Studio and AI, I can't seem to find any errors. However, when I run the code, the browser shows issues. What could be causing this problem?
<form>
<h1>AI...
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
Hello,
Why I can't see my menu in Blazor?
Here is my code:
mainLayot:
@inherits LayoutComponentBase
<PageTitle>BlazorApp1</PageTitle>
<div class="page">
<div class="sidebar">
<saeedMenu />
@*<NavMenu/>*@
</div>
<main>
@*<div class="top-row px-4">...
Hello,
Is the possible to do "Animation on scroll" in Blazor?
It seems there is no component to achieve this.
I mean something like this site:
https://michalsnik.github.io/aos/
Regards,
Saeed
Hello,
Can you please help me with this post:
https://developercommunity.visualstudio.com/t/Instaling-error-at-the-end-of-process/1610757?entry=myfeedback&space=8
regards,
Hello,
When I want to use these lines I encounter a red line under seek and copy to. And
Warns me up "Are you missing a directive"?
var state = _instaApi.GetStateDataAsString();
using (var fileStream = File.Create(stateFile))
{...
Hi,
I'm doing a web app in blazor for Instagram. I use instaApiSharp:
Should I use load state from stream or loading state from String??
When I use " loadStateFromStream" ,
When I run nothing happens and just I see:
this message: Message: Loading state from file
and there is no exception.
if...
Hello
Consider I upload an image to the server, then I changed some elements of the image with an image editor on the view layer (assume the view layer uses an image editor) then how can I save it as a new image on the server? (I mean how should be the back end code).
regards,
Saeed
Hello,
This is the part of a controller which uploads files in ASP.net Core. My question is why do we return a value for this case?
Image file = await _context.Images.FirstOrDefaultAsync(f => f.FileName == imageData.File.FileName);
if (file == null)
{...
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.