1,382 questions with Blazor tags

Sort by: Updated
0 answers

No screen during slow start-up for Blazor Hybrid App

I am creating a Hybrid Blazor Maui app - during the startup we use a configuration builder to load in Application Config hosted in Azure - that process can take around 10 seconds to complete - we don't have that much data in App Config to be fair but for…

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,382 questions
asked 2022-07-04T00:08:22.713+00:00
Mark Greenwood 16 Reputation points
commented 2022-07-04T10:05:48.093+00:00
JasonPan - MSFT 4,201 Reputation points Microsoft Vendor
0 answers

Blazor authenticates a new tab and after downloading the File leaves it open

I have a Component in Blazor that has an anchor tag which opens a new tab as below: <a href="@($"api URL in here" class="btn btn-primary @(isLoading ? " disabled" : "" )" id="btnDownload"…

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,382 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,218 questions
asked 2022-07-01T07:19:11.23+00:00
Noman Saiyed 1 Reputation point
commented 2022-07-04T02:23:45.46+00:00
Rena Ni - MSFT 2,061 Reputation points
0 answers

How to load dll in MAUI blazor?

I aming converting my app(webassembly) to maui blazor now, I have a list of dlls using reflection to do some dependency injection. But when I use the code "Assemby.Load("SSS.dll") it says the file is not found. But I do referenced the…

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,382 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 questions
asked 2022-07-01T03:31:28.593+00:00
Charley 1 Reputation point
commented 2022-07-01T09:14:03.61+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
1 answer

VS2022 Blazor Server App Hot Reload notworking

Using VS2022 V 17.2.5 NetCore 6 and Blazor Server side app. I created a standard web project (Blazor1App) and run without debuging (Ctrl+F5) The app launches and then on Index page I change <h1>Hello, world!</h1> to <h1>Hello,…

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,382 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,593 questions
asked 2022-06-30T02:59:27.973+00:00
Ben Junior 6 Reputation points
commented 2022-07-01T06:52:13.477+00:00
Anna Xiu-MSFT 25,551 Reputation points Microsoft Vendor
0 answers

How to prevent go back in MAUI Blazor?

Let's imagine a two pages app, created with MAUI + Blazor Hybrid and running on Android. After user navigates from page1 to page2 I don't want to allow him to go back to first one, until certain conditions are met. In native Android app I could simply…

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,382 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 questions
asked 2022-06-24T11:47:52.727+00:00
Andrei Vinogradov 1 Reputation point
commented 2022-06-29T08:03:35.643+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,121 Reputation points Microsoft Vendor
1 answer

What setting must I turn on to get error messages?

It happens alot with Blazor that it doesn't compile and also there isn't an error message. Now, with all other times this happened I know that I need to check all components to see if the references and model names are correct. Can I please get 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,382 questions
asked 2022-06-24T11:53:50.097+00:00
Ingmar Crone 51 Reputation points
commented 2022-06-29T08:01:23.173+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
0 answers

Performance issues in System.Text.Json methods

I am facing performance issues when parsing JSON objects from a file with the following code snippets in the Blazor WASM application alone. These codes use reflection and “System.Text.Json” library. There is no performance issues in the Blazor Server…

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,382 questions
asked 2022-06-28T17:51:20.947+00:00
Sabari Anand 1 Reputation point
commented 2022-06-28T22:15:41.603+00:00
Bruce (SqlWork.com) 55,196 Reputation points
0 answers

Blazor Compile Error but Error List empty

Hi, I love Blazor and what you can do with it. I have noticed that everytime I change a Model name or a namespace, code within Blazor components don't show an error. Also the Error List stays empty. I love to know if I can do something…

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,382 questions
asked 2022-06-23T19:48:51.56+00:00
Ingmar Crone 51 Reputation points
commented 2022-06-27T07:43:01.857+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
3 answers

CS0246: The type or namespace name "ProductDto" could not be found(are u missing a using directive or an assembly reference?)

hey anyone give me the solution of this issue https://github.com/GavinLonDigital/ShopOnlineSolution/issues/1

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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,382 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,218 questions
asked 2022-06-24T15:28:07.417+00:00
answered 2022-06-27T07:17:16.863+00:00
satya karki 986 Reputation points MVP
0 answers

Can seem to get the JSRuntime working in my Blazor application

I keep getting the following error System.ArgumentException: 'Cannot instantiate implementation type 'Microsoft.JSInterop.JSRuntime' for service type 'Microsoft.JSInterop.IJSRuntime'.'

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,382 questions
asked 2022-06-25T16:35:56.853+00:00
MIchael 6 Reputation points
commented 2022-06-27T03:00:28.503+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Error In Deploying Core Hosted Blazor WASM

This will be a very basic question, so I'm sorry to write it up. I tried to deploy a very basic Blazor WASM app created out of VS template with WeatherForecast. No changes were made. Ran locally good. Tried to publish and deploy on the server. I…

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,382 questions
asked 2022-06-24T18:33:40.54+00:00
Balu Raju 76 Reputation points
accepted 2022-06-26T17:58:31.62+00:00
Balu Raju 76 Reputation points
2 answers

Blazor: Validation doesn't work on a derived model

I have a Blazor server-side application. I have two viewmodel classes, and one of them is derived from another: public class QuoteModel : IValidatableObject { ... public virtual IEnumerable<ValidationResult>…

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,382 questions
asked 2022-06-23T13:01:37.647+00:00
Dmitriy Reznik 236 Reputation points
answered 2022-06-23T14:54:59.86+00:00
Dmitriy Reznik 236 Reputation points
0 answers

Blazor is refreshing the page by JsInteropt call (Using Babylon)

I'm using Blazor with Babylon Js to use 3D objekts. I'm trying to resize the 3D objekt by a user input (C# code). After the input i wanna call a JavaScript code by JsInteropt, it is called but not executed also the page is refreshing and after all…

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,382 questions
asked 2022-06-22T10:06:02.17+00:00
Max 1 Reputation point
commented 2022-06-23T05:42:10.497+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

System.ArgumentException: ''Server' is an invalid connection string attribute'

Hi, so I cloned the same project as my fellow devs, and I'm the only one who gets this error, preventing my blazor web assembly app not displaying any data. I think the problem is that my dbconnectionstring (second pic) is pointing to my localdb instead…

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,382 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,674 questions
asked 2022-06-22T14:28:50.067+00:00
Alan 41 Reputation points
accepted 2022-06-22T15:48:49.443+00:00
Alan 41 Reputation points
5 answers One of the answers was accepted by the question author.

Entity model design recommendation needed

Hello there, I am working on an ASP.NET Core Blazor Server application. It is a sort of order management system. Trying to follow clean architecture design. In the core business, there are entities like orders, suppliers, and clients. Each one of…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 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,382 questions
asked 2022-06-21T19:50:54.317+00:00
Cenk 956 Reputation points
answered 2022-06-22T10:42:24.433+00:00
Cenk 956 Reputation points
3 answers

Self-Hosted Blazor and Custom Certificates

I'm investigating the idea of using Blazor WASM to build a retail application that would run on an office Intranet. The application would be installed on a given machine, to be accessed via browser from any of several machines on the LAN. The biggest…

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,382 questions
asked 2022-02-11T15:06:41.97+00:00
Jeff Bowman 101 Reputation points
commented 2022-06-21T22:47:03.553+00:00
Jeff Bowman 101 Reputation points
0 answers

Blazor Server - How to handle situation when user is faster then SignalR?

I have a complex Blazor server app and I run into situations that user interact with the form and while the server is trying to manipulate the DOM via SignalR, the user manage to do other things in the form. When I debug the app or using PC in the LAN,…

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,382 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 questions
asked 2022-06-20T21:03:34.777+00:00
Yaron Amar 1 Reputation point
commented 2022-06-21T07:28:12.8+00:00
Qing Guo - MSFT 886 Reputation points Microsoft Vendor
1 answer

Blazor Server - JIT Debugger on Windows Server 2019 keeps the app unresponsive

Good Day Everyone We published our Blazor Server side application to our local server which is Windows Server 2019, now the site becomes unresponsive when it encounters an error on the system, a JIT Debugger shows up on the server, which is the main…

Internet Information Services
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,382 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,105 questions
asked 2022-06-17T02:01:06.797+00:00
Arnold Mendoza 11 Reputation points
answered 2022-06-20T08:30:28.263+00:00
Limitless Technology 39,341 Reputation points
0 answers

[Blazor Web Assembly] Lazy Loading .resources.dll

Hello, I have a Blazor WASM project 'Project A' that Lazy Loads a Razor Class Library project 'Project B'. Project B contains some resources (.resx files) with the following folder structure -Project B - // -Resources (directory) …

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,382 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 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,218 questions
asked 2022-06-15T09:49:02.06+00:00
Yiannhs Rakitzopoulos 1 Reputation point
commented 2022-06-20T08:15:26.893+00:00
Yiannhs Rakitzopoulos 1 Reputation point
1 answer

Blazor - Page Loads But Code Not Running Until SignalR Connection Opens

When my Blazor page starts up, you can see the page and type in the inputs. However, none of the event handlers get called. After about 2-3 seconds, all of the inputs get cleared and the event handlers start responding. I think this is happening…

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,382 questions
asked 2022-06-16T15:53:35.23+00:00
Elisheva 1 Reputation point
commented 2022-06-19T16:35:10.827+00:00
Bruce (SqlWork.com) 55,196 Reputation points