1,584 questions with Blazor tags

Sort by: Updated
1 answer

How to make a responsive side nav like Gmail with Bootstrap 5?

Hi,How can I make my side menu in a Blazor Server application like Gmail's left menu, where only icons are displayed at first, and expanding the menu displays names, without narrowing the main body section? I have included my current menu and CSS…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-08-30T08:17:57.5333333+00:00
Cenk 1,021 Reputation points
commented 2024-08-31T17:37:44.5033333+00:00
Cenk 1,021 Reputation points
1 answer One of the answers was accepted by the question author.

How to display progress in a long-running process in Blazor WASM

I have a very long-running process in my Blazor WASM app and would like to display progress while it's running. Is there an elegant way to do that? I've looked in various forums but haven't found anything as yet. Thanks for any suggestions.

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-08-28T20:31:19.86+00:00
Steve Rehling 105 Reputation points
accepted 2024-08-29T14:30:39.7833333+00:00
Steve Rehling 105 Reputation points
1 answer

Blazor WASM Client and Server CORS Error .Net6

when i use in the Blazor WASM Client the Code var client=new HttpClient(); var xyz=client.GetAsync(URL); i got a CORS Error. when i add an image with the URL i got also the same Error <img src="@URL" /> I try it also in the API. On…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-07-31T14:00:16.7+00:00
Najim 0 Reputation points
answered 2024-08-28T16:00:15.97+00:00
youzeliang 735 Reputation points
2 answers

How to authenticate On IIS deployed blazor web app using azure entra ID (OIDC)

Hello I have created a Blazor web app in .NET 8. where I have a client and a server project. In this application I want to apply authentication through azure Entra ID. and replicate the flow from https://github.com/dotnet/blazor-samples and it is…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,902 questions
asked 2024-08-23T13:05:48.8866667+00:00
Kuldeep Y 41 Reputation points
answered 2024-08-26T15:25:32.6333333+00:00
Bruce (SqlWork.com) 65,576 Reputation points
1 answer

Authentication using azure Entra ID in .NET 8 Blazor web app deployed on IIS Server

Azure Entra ID Authentication is not working in .net 8 blazor web app when deployed to IIS

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,902 questions
asked 2024-08-23T13:21:40.6166667+00:00
Kuldeep Y 41 Reputation points
commented 2024-08-26T01:42:28.5033333+00:00
Brando Zhang-MSFT 3,696 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Troubleshooting 403.14 Forbidden Error with Default Blazor Template deployed as Azure App Service

Background: I'm a relatively novice programmer and I've been experimenting with creating my own Blazor app and hosting it on Azure for the first time. I've had success creating SWAs on Azure before with Blazor, but my current project is a small demo of a…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,807 questions
asked 2024-08-24T21:27:10.0733333+00:00
letivalo 20 Reputation points
accepted 2024-08-25T22:01:14.9066667+00:00
letivalo 20 Reputation points
1 answer

Authentication using azure Entra ID in .NET 8 Blazor web app deployed on IIS Server

Hello I have created a Blazor Web Application in .NET 8 Where I have get a Server and a Client Project In this I Want to apply Azure Entra ID (OIDC) authentication. I have done app Registration on Azure portal and have Client ID, Tenant ID,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,902 questions
asked 2024-08-23T13:16:33.6633333+00:00
Kuldeep Y 41 Reputation points
answered 2024-08-23T17:36:07.35+00:00
Bruce (SqlWork.com) 65,576 Reputation points
2 answers One of the answers was accepted by the question author.

How can I write a script in the head of some of my Blazor pages?

Hi all; I want to write event structured data in the <head> of some of my Blazor pages, where the content is specific to the page. So it is: <head> <script type="application/ld+json"> /* 15 - 30 lines of JSON */ …

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-08-20T15:33:49.7333333+00:00
David Thielen 3,121 Reputation points
commented 2024-08-23T16:43:50.7966667+00:00
David Thielen 3,121 Reputation points
1 answer

How to fix Unhandled exception rendering component: The JSON value could not be converted to System.Int32.

When I use the PlaceOrder method, it causes this error. The version is 8.0. Thank you. async Task PlaceOrder() { isSubmitting = true; var response = await HttpClient.PostAsJsonAsync(NavigationManager.BaseUri + "orders",…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-08-22T13:57:53.59+00:00
tony kong 0 Reputation points
commented 2024-08-22T16:23:21.2133333+00:00
Bruce (SqlWork.com) 65,576 Reputation points
3 answers

How to add image to email?

Hi, In my e-commerce application, I am sending an order confirmation email to the customer. I am using a html template for this e-mail. I couldn't figure out how to display the logo and ordered product image in the e-mail. Here is the html…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-08-17T12:16:39.34+00:00
Cenk 1,021 Reputation points
commented 2024-08-22T01:35:22.0566667+00:00
Tiny Wang-MSFT 2,721 Reputation points Microsoft Vendor
1 answer

Why can't I create a Blazor Server App with .NET 8?

I'm trying to create a Blazor Server App using .NET 8. I've done this at home, but here at work Visual Studio 2022 only allows me to create a Blazor Server App using .NET 6. I've gotten into Visual Studio Installer, to check to make sure I have .NET 8 as…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-08-20T17:14:53.12+00:00
Falanga, Rod, DOH 190 Reputation points
edited a comment 2024-08-21T15:44:22.6966667+00:00
Bruce (SqlWork.com) 65,576 Reputation points
2 answers

How to Optimize Blazor Server Performance with Large Datasets?

I'm building a Blazor Server application that needs to display and interact with a large dataset (millions of records). Currently, fetching and rendering all data at once is causing significant performance issues. I'm looking for effective strategies to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-08-06T10:21:42.3233333+00:00
MissKiarra 0 Reputation points
edited the question 2024-08-21T01:52:51.4633333+00:00
Jack J Jun 24,506 Reputation points Microsoft Vendor
2 answers

Issue in Blazor: File Upload with Zero Byte Size

Hello, I'm facing an issue with my Blazor application when attempting to upload a file. Sometimes the file uploads correctly, but other times the file is uploaded with a size of zero bytes. The issue does not always occur, making it difficult to pinpoint…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-08-01T20:30:55.56+00:00
Yusuf 791 Reputation points
edited the question 2024-08-21T01:51:00.32+00:00
Jack J Jun 24,506 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Create, Reference and use a Razor class library.

Hello! I'm training on Microsoft Learn. My current stage is the following module: https://zcusa.951200.xyz/en-us/training/modules/blazor-build-reusable-components/3-create-razor-class-library First of all, this exercise starts saying that it uses…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-04-24T15:49:23.6733333+00:00
Rafaeleliasgri 25 Reputation points
answered 2024-08-19T19:17:39.46+00:00
cantcacheme 0 Reputation points
2 answers

How do I configure appsettings for blazor wasm apps deployed on azure static web apps?

how do I configure appsettings for blazor wasm apps deployed on azure static web apps? I tried lots of different things. I'm trying to change different items based on the env it's deployed to. Is there any really good guidance? The documentation is not…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
939 questions
asked 2024-08-19T05:48:26.4133333+00:00
pvanroos 20 Reputation points
answered 2024-08-19T16:33:08.2666667+00:00
pvanroos 20 Reputation points
1 answer One of the answers was accepted by the question author.

Connecting Blazor server app to Application Insights

Hi all; Is there any comprehensive documentation on connecting a Blazor server app to Application Insights? I've found the following bits and pieces: Provides some basics, but leaves a ton unanswered. Looks like a good wrapper for Blazor WASM, nothing…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,285 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-07-11T17:21:19.1466667+00:00
David Thielen 3,121 Reputation points
accepted 2024-08-18T18:40:18.0133333+00:00
David Thielen 3,121 Reputation points
0 answers

Integration pdf.js and Blazor; Debugger on Visual studio is lost

Hi there, i have a problem with the integration of blazor with pdf.js. Lately pdf.js (Developed by Mozilla) has change from .js to .mjs file. I upgraded to work with .mjs file but now i am encountering another problem. When i start the Visual Studio on…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
999 questions
asked 2024-08-14T20:38:36.4266667+00:00
Unisign Dev Team 0 Reputation points
commented 2024-08-15T08:02:21.7866667+00:00
Ping Ni-MSFT 4,335 Reputation points Microsoft Vendor
2 answers

Can I convert a MVC app into a Razor/Blazor app with Windows Authentication?

In October of last year, I started working on a new ASP.NET MVC Core application, to convert an old WebForms application which no longer builds. I added an API project to the Visual Studio solution and scaffolded the database. But other than that, I've…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-08-08T20:52:35.4666667+00:00
Falanga, Rod, DOH 190 Reputation points
commented 2024-08-13T14:27:54.3433333+00:00
Falanga, Rod, DOH 190 Reputation points
1 answer One of the answers was accepted by the question author.

Why is OnInitializedAsync() called twice on a page reload

Hi all; Normally when a page is being created & rendered in Blazor version 8, RenderMode.InteractiveServer, OnInitializedAsync() is called once. But when I do a Reload on Chrome, it is called twice. And all child components in the page are called…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-03-17T23:34:40.2933333+00:00
David Thielen 3,121 Reputation points
commented 2024-08-12T19:07:20.69+00:00
David Thielen 3,121 Reputation points
3 answers

Blazor behind NodeJS proxy with different URL

Hello, I have a Blazor server app built with .Net 7 that I am deploying to several different pieces of hardware. Each deployment will be accessed through a proxy built with NodeJS via a URL such as "/remote/device/id." The 'id' portion is…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
asked 2024-08-11T06:18:01.31+00:00
Dan Schio 25 Reputation points
edited an answer 2024-08-12T16:04:03.0033333+00:00
Bruce (SqlWork.com) 65,576 Reputation points