Microsoft Q&A

Blazor

795 questions

A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.

Browse all .NET tags

795 questions with Blazor tags

Sort by: Updated
0 answers

Publish Blazor Svr App to Free Azure App Service Web working in VS 2022 but not working in VS 2022 Preview! Is this a bug in the Preview?

I used to be able to use VS Preview and publish my linux or windows Blazor Server "Hello world" to Azure App Service and the nice GUI that would allow me to select an existing resource group (and plan, I think). I can still do this except I…

Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,325 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.
795 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.
696 questions
asked 2023-01-05T20:20:32.72+00:00
Siegfried Heintze 1,306 Reputation points
edited the question 2023-01-18T14:11:30.94+00:00
ajkuma 13,471 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

CSS is not working Blazor MudTable Inline edit

Hi, i have added a mudtable with inline edit and delete function.Problem is when i am clicking the second row for editing un edited row and header jumping to left side.How can i fix these CSS? please find my blazor app having this issue in below link.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.
795 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.
6,999 questions
asked 2023-01-16T13:19:52.7966667+00:00
RAMAN RAGAVAN 46 Reputation points
accepted 2023-01-18T09:41:35.6233333+00:00
RAMAN RAGAVAN 46 Reputation points
1 answer One of the answers was accepted by the question author.

Can't navigate from Blazor Client to Blazor Server page

Testing a Blazor Webassembly hosted app template I try to navigate from NavMenu.razor to a page from the server. The reasons: I want to keep the client packages as small as possible and store the heavy logic on the server. I try to protect critical…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
795 questions
asked 2023-01-17T20:41:13.3133333+00:00
Bernhard Sumser 101 Reputation points
commented 2023-01-18T08:29:37.2833333+00:00
Bernhard Sumser 101 Reputation points
1 answer

Blazor Server - SQLBulkCopy Excel data into SQL Server table

Hello folks, I am working on a Blazor server application. There is a requirement to insert excel data (approx. 200000 records) into a table. Is there any tutorial that I can follow? Thank you.

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
795 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,585 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.
8,561 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
425 questions
asked 2023-01-17T17:05:52.67+00:00
Cenk 686 Reputation points
commented 2023-01-18T05:19:03.7466667+00:00
Cenk 686 Reputation points
1 answer One of the answers was accepted by the question author.

Excel as data source

Hi, I want to use the Excel file as data source to populate the table I used the package EPPlus. I received the message : OfficeOpenXml.LicenseException: Please set the ExcelPackage.LicenseContext property In my service I've put :…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
795 questions
asked 2023-01-12T11:56:07.4133333+00:00
sblb 831 Reputation points
commented 2023-01-17T11:36:01.3+00:00
sblb 831 Reputation points
3 answers

Blazor Open a page in a new Browser tab using navigation manager?

Could please advise me the way of open a page in new tab using Navigation manager and how to show pdf file in browser window?

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
795 questions
asked 2021-01-04T11:14:40.087+00:00
Anantham.S 1 Reputation point
edited an answer 2023-01-17T11:07:54.39+00:00
Marcel W 0 Reputation points
0 answers

Teams dev - Personal tab - Focus

Hello there! Is there please any option to focus the content of a tab immediately after it is opened? I made a Blazor Server / Teams tab app for our company. In one of the tabs, after it is opened the user's keypresses are being handled from…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
795 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
1,701 questions
asked 2023-01-04T13:38:11.957+00:00
mEjLis 1 Reputation point
commented 2023-01-17T06:53:22.7+00:00
Sayali-MSFT 1,416 Reputation points Microsoft Employee
5 answers One of the answers was accepted by the question author.

How can I use Blazor for my project?

Hello everyone, I just heard about BLAZOR and try to understand how to use BLAZOR for my project. What I want to do: Deliever a webpage with a database behind and a mobile app. Normally I would create A ASP.NET application for the frontend, a Mini-API…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
795 questions
asked 2023-01-10T07:38:08.977+00:00
Bernhard Sumser 101 Reputation points
edited an answer 2023-01-15T21:16:39.03+00:00
Bernhard Sumser 101 Reputation points
1 answer One of the answers was accepted by the question author.

Single Code, Single UI web application + apps

I want to create a web application which can be extended by apps too. [single coding, single html ui - reusable as website, ios app, android app - no desktop app] Is .Net MAUI the best tool to create same? What are the design & strategies…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
795 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 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.
6,999 questions
asked 2023-01-13T01:30:19.5066667+00:00
Kevin Azure 121 Reputation points
accepted 2023-01-13T21:02:51.21+00:00
Kevin Azure 121 Reputation points
1 answer One of the answers was accepted by the question author.

How to prevent code in OnInitializedAsync run twice

Hi Team, I understand that the event OnInitializedAsync() executes twice due to prerending. Is there a flag I can use to check if this is a pre-render event or the actual event. I am just looking for a simple event where I can initialize the default…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
795 questions
asked 2023-01-13T06:07:02.0866667+00:00
SandeepG 41 Reputation points
accepted 2023-01-13T18:55:12.8333333+00:00
SandeepG 41 Reputation points
1 answer

How to host a Blazor Server application (localhost) and a Web API on a specified IP and Port?

Hello together, I already installed Blazor Server app on a server (localhost:5001). Using localhost, it is not possible to acces my app from other servers in the network, which is a desired effect. Now, I'd like to host a Web API (if possible, using 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.
795 questions
asked 2023-01-12T14:37:25.9566667+00:00
Connor Peters 6 Reputation points
commented 2023-01-13T10:28:33.9133333+00:00
Farid Uddin Kiron MSFT 81 Reputation points Microsoft Employee
2 answers

which approach for MAUI IOS/Android apps with offline support to backend Web App / App API?

Which approach of Microsoft tecnologies would be recommended for this? (mainly I ask around any mobile app sych ideas) System that has a Web Interface, as well as MAUI cross platform IOS/Android app. Central database for Web Interface (can be ASP .NET…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,585 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.
795 questions
Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,325 questions
asked 2023-01-04T09:03:17.65+00:00
mixedup 1 Reputation point
edited the question 2023-01-12T18:42:49.79+00:00
ajkuma 13,471 Reputation points Microsoft Employee
2 answers

What is the best / cheapest way to host a Blazor Server app and an open SQL database on Azure?

Hi together, I have a Windows Forms app that uses data from an Azure SQL database. I don't need much database space, so until here, everything is fine and the pricing for the database is less than 5€ per month. Now, I want to host a Blazor Server app…

Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,325 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.
795 questions
Azure SQL Database
asked 2022-12-22T17:38:38.727+00:00
Connor Peters 6 Reputation points
edited the question 2023-01-12T14:12:51.81+00:00
ajkuma 13,471 Reputation points Microsoft Employee
0 answers

How would you check an Excel columns in order to compare with a data in the database table?

Hello folks, I am working on a Blazor Server application. I would like to upload an excel file, consisting of a couple of columns. (ReferenceId-guid, Order Date-datetime, Product Code-string, and Product Description-string) This excel file roughly has…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,585 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.
795 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.
6,999 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
80 questions
asked 2023-01-11T11:36:35.8433333+00:00
Cenk 686 Reputation points
edited a comment 2023-01-12T11:48:45.0533333+00:00
AgaveJoe 17,216 Reputation points
1 answer

How to edit and remove item from IReadonlyList in Blazor?

I have two lists having uploaded image details here-: list 1- IReadOnlyList<BrowserFile>? ListFileToUpload = Array.Empty<BrowserFile>(); ---binding to---> <MudList> list 2- IReadOnlyList<Images>? imageListUI { get; set;…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
795 questions
asked 2023-01-10T18:19:25.207+00:00
RAMAN RAGAVAN 46 Reputation points
commented 2023-01-12T09:11:13.8433333+00:00
Zhi Lv - MSFT 18,881 Reputation points Microsoft Employee
5 answers

Blazor server app that I need to convert to wasm

How can I most easily find a “mentor” or “second set of eyes” to help me get over a Blazor wasm project install? I have a working Blazor server app that I need to convert to wasm, and it’s different enough that’s it a real PITA getting the answers 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.
795 questions
asked 2022-12-21T09:30:18.007+00:00
Jim Cheseborough 1 Reputation point
answered 2023-01-11T13:21:46.5833333+00:00
Rijwan Ansari 706 Reputation points Microsoft MVP
2 answers

Blazor Server - Identity how to action on behalf of another user

Hello, I am working on a Blazor Server application. There is a new request from the customer. When an employee goes on leave, can action be taken on his behalf on the system? Let's say there are 2 users A and B. If B goes on leave, is it possible 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.
795 questions
Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
348 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,200 questions
asked 2023-01-01T05:12:52.227+00:00
Cenk 686 Reputation points
answered 2023-01-11T13:19:15.7733333+00:00
Rijwan Ansari 706 Reputation points Microsoft MVP
0 answers

How to upload and display Images and file details from two Lists in c# blazor

Hi all, I am learning blazor with building a project.There i am stuck with one image upload functionality.I have two classes one for pure image file data and another for only display images (completely for UI purposes).I am stuck with the requirment…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
795 questions
asked 2023-01-09T11:00:33.377+00:00
RAMAN RAGAVAN 46 Reputation points
commented 2023-01-10T18:03:10.773+00:00
RAMAN RAGAVAN 46 Reputation points
1 answer One of the answers was accepted by the question author.

Blazor Server IHttpContextAccessor returning null when deployed

I am dynamically setting the connection string based on the user that is logged in. This is working perfectly when running locally/debugging but when its deployed it's returning a null reference exception. This is my DbContext and I am handling 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.
795 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
425 questions
asked 2023-01-09T17:22:52.197+00:00
Richard Baker 21 Reputation points
commented 2023-01-10T07:15:20.983+00:00
Richard Baker 21 Reputation points
2 answers One of the answers was accepted by the question author.

maker in sidebarpanel

Hi, I've updated the blazor wasm to net core 6 and right now I have a markes r in SibeBarpanel (see the picture below). Do you know I can disable this markers? thanks in advance

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
795 questions
asked 2023-01-04T15:29:08.407+00:00
sblb 831 Reputation points
accepted 2023-01-08T16:27:07.697+00:00
sblb 831 Reputation points