Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. L

    Why do I keep encountering this server error? (Blazor Project)

    Yes, after uploading the image.
  2. L

    Why do I keep encountering this server error? (Blazor Project)

    Hi, Why do I keep encountering this server error? And you can test the site here: HTTP://hotsvg.SedayeTasvir.com thanks,
  3. L

    finding sponsor for a web app

    Can you explain this? what do you mean by Google sponsorship?
  4. L

    finding sponsor for a web app

    Hello, What are effective strategies for finding a sponsor for a web app? Alternatively, what is the best approach to monetize a web app? thanks,
  5. L

    Server connection problem on a blazor site

    You can see the error:
  6. L

    Server connection problem on a blazor site

    Hi I have made this app in blazor: HTTP://hotsvg.sedayetasvir.com Occasionally, I encounter this error: "Attempting to connect to the server." Do you know how to solve it? regards, Saeed
  7. L

    C# What is the simplest method to update a variable on the index page from a component?

    I added this code to my index page: [Parameter] public EventCallback<bool> isConverting { get; set; } private void UpdateParent() { isConverting.InvokeAsync(false); } The code for the upload page includes: [Parameter] public EventCallback<bool> isConverting { get; set; } But when I want to...
  8. L

    C# What is the simplest method to update a variable on the index page from a component?

    Hi What is the simplest method to update a variable on the index page from a component in the Blazor server? For instance, if you have an upload component and want it to change a boolean value on the index page. Should I use state, props? regards,
  9. L

    C# I'm having trouble writing the code to download the page.

    I implemented this code, but the JavaScript file throws an exception. <body> //..... <script src="_framework/blazor.server.js"></script> <script> function triggerDownload(dataUrl, fileName) { const link = document.createElement('a'); link.href = dataUrl...
  10. L

    C# I'm having trouble writing the code to download the page.

    Unfortunately, this answer is wrong. Explanation: Use a third-party library: Some libraries extend the functionality of ElementReference with additional methods. If you're using such a library, make sure it's properly referenced and that you have the necessary using directives. This is not...
  11. L

    C# I'm having trouble writing the code to download the page.

    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 base64...
  12. L

    Issues with CSS in an image gallery

    yes, I am.
  13. L

    Issues with CSS in an image gallery

    Hi, I want to add a gallery to the site. But I don’t know CSS very well. I took the code ready from somewhere. In the original example, each image is square. But I made it bigger. That is, it is 150, I changed it to 200. Now my problem is that the images are rectangular. What should I do to make...
Back
Top Bottom