Microsoft Q&A

Blazor

1,085 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

1,085 questions with Blazor tags

Sort by: Updated
1 answer

How to get an azure ad registered app token in a Blazor webassembly

Hi everybody, I try to get a token from an azure AD registered app using MSAL in a blazor webassembly. I have the tenant_id, the client_id and the scope from my registered app and want to get a token. I try to use…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,293 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,085 questions
asked 2023-09-07T13:13:25.6066667+00:00
Pierre Gourven 41 Reputation points
answered 2023-09-07T13:13:25.61+00:00
Q&A Assist
1 answer

Unable to upload 50mb files to Azure App Service hosted application that uses Blazor

I am unable to upload 50mb files to azure app service hosted application, getting the error 413 Requested Entity Too Large. The application is able to upload the file while running locally to Azure Blob storage, but while it is running on Azure App…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,905 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,085 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,511 questions
asked 2023-09-06T14:53:49.93+00:00
Bhoir, Harshal Mahendra 0 Reputation points
commented 2023-09-07T11:10:17.51+00:00
Bhoir, Harshal Mahendra 0 Reputation points
2 answers

Set JWT Token Into Access Token Provider

Hello, I am returning the JWT Token after login via api. I want to set DefaultAuthenticationHeader in httpclient. I have gone through blazor docs on Microsoft learn but the I am not able to configure correctly. Currently, I am setting token each…

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,085 questions
asked 2023-09-06T14:40:31.98+00:00
Prathamesh Shende 346 Reputation points
edited an answer 2023-09-07T09:16:04.2233333+00:00
Ruikai Feng - MSFT 1,121 Reputation points Microsoft Vendor
1 answer

How to detect the existence of html files

I called a html file through js interop in Blazor component and opened a web page. But in any case, I can't pass the status information of the page's closing to the component. What should I do?

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,085 questions
asked 2023-09-06T11:25:05.13+00:00
李畋岷 76 Reputation points
commented 2023-09-07T08:30:13.37+00:00
李畋岷 76 Reputation points
1 answer

in Blazor web assembly app azure active directory login not working in iOS and macOS

I have developed a Blazor web assembly application, and using Azure active directory login with MSAL And this is working in windows pc but not working in iOS and macOS, whenever I try to login and hit the login button it says. --- There was an error…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,293 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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,085 questions
asked 2023-09-05T12:03:25.97+00:00
Kuldeep Y 11 Reputation points
edited the question 2023-09-07T01:14:33.22+00:00
Zhi Lv - MSFT 27,736 Reputation points Microsoft Vendor
0 answers

How to format the Razor directive attribute to align with other attributes for control

I have Visual Studio Enterprise 2022 version 17.7.3, When I format my razor page the razor directive attributes are left aligning. I have gone through the setting trying to find where I can change how it formats but have been unsuccessful. A colleague of…

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,085 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,694 questions
asked 2023-08-30T17:42:14.9533333+00:00
Welden, Jerome A. (VAL) 0 Reputation points
commented 2023-09-04T13:45:13.52+00:00
Tianyu Sun-MSFT 20,261 Reputation points Microsoft Vendor
0 answers

After Soft keyboard popup, page content squeeze in to half the screen size

I am developing a android app using MAUI Blazor. I am using "vh" for most of the components' height. When I try to enter text in a text input field on an Android tablet, the soft keyboard pops up and all other content heights turn to half of…

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,085 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,780 questions
asked 2023-09-03T16:05:52.95+00:00
Lasitha Lankajeewa 0 Reputation points
commented 2023-09-04T07:02:22.75+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 52,776 Reputation points Microsoft Vendor
4 answers

Blazor Server App - Downlaod files from server

Could you please let us know to download pdf/excel file from server location to client without using javascript?

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,085 questions
asked 2021-01-25T05:36:30.97+00:00
Anantham.S 1 Reputation point
commented 2023-09-04T06:49:14.6733333+00:00
Maziar Hassanzadeh 0 Reputation points
0 answers

Environment Variable : ArgumentException: Format of the initialization string does not conform to specification starting at index 0

Hello Houston, I've got a problem! I read somewhere that we can utilize an environment variable to configure the connection string, and we can provide new values in CI/CD pipelines. Consequently, I modified my appsettings.json file to rely on an…

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,085 questions
asked 2023-08-26T17:47:42.6833333+00:00
Laurent Guigon 206 Reputation points
commented 2023-09-04T00:38:45.7266667+00:00
Farid Uddin Kiron MSFT 451 Reputation points Microsoft Vendor
4 answers

Blazor - Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

Hi, I have an issue with a Blazor page. Sometimes I receive the following error message on the browser's console view: Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 This is strange, because this error message…

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,085 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.
8,837 questions
asked 2022-03-29T14:57:37.95+00:00
Gábor Varga 11 Reputation points
answered 2023-09-02T15:55:35.3766667+00:00
Wisdom Jere 0 Reputation points
1 answer One of the answers was accepted by the question author.

inconsistency between the provided data and the data being used

Hi I've a new issue. I'm programming a dummy data generator using Dependency Injection (D.I.) to pass ImageCategory items to the Image generator. However, the ID of the category (used as a foreign key) is changing and is not correctly set in the Image…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
574 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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,085 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.
8,837 questions
asked 2023-09-01T12:33:13.1266667+00:00
Laurent Guigon 206 Reputation points
accepted 2023-09-02T08:31:26.9833333+00:00
Laurent Guigon 206 Reputation points
1 answer

Setup SelftSigningCertificate x509 in asp.net core blazor wasm

How to setup x509 self signed certificate in asp.net core 7.0 with blazor wasm here is my program.cs server project asp.net core I tried to go through docs of Microsoft but didn't understand what code and where to put. var builder =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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,085 questions
asked 2023-08-26T17:14:16.0266667+00:00
Prathamesh Shende 346 Reputation points
commented 2023-09-01T16:20:29.7733333+00:00
Bruce (SqlWork.com) 42,931 Reputation points
1 answer

Authentication Issue in Blazor Wasm

Hello, I configure the openid into blazor wasm with asp.net core webpi I did configure the openid setting in program.cs of asp.net core webapi and webapi are secure. but after login, webapi accessible. In blazor wasm, I have seen this issue and…

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,085 questions
asked 2023-08-31T12:20:33.79+00:00
Prathamesh Shende 346 Reputation points
answered 2023-08-31T15:46:17.0733333+00:00
Bruce (SqlWork.com) 42,931 Reputation points
1 answer One of the answers was accepted by the question author.

Seeking Guidance for Getting Started with Blazor Server, EF Core, and SQLite

Hello, I'm new to the world of web development and eager to learn. I've been looking into Blazor Server, EF Core (specifically using the Code First approach), and SQLite as technologies to kickstart my journey. My goal is to create a basic application…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
574 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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,085 questions
asked 2023-08-30T15:36:48.0666667+00:00
Yusuf 656 Reputation points
edited a comment 2023-08-31T12:21:11.5866667+00:00
Yusuf 656 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Blazor WASM not loading on some browsers/device dll files NS_ERROR_NET_PARTIAL_TRANSFER

I am experiencing an issue with a custom domain against a Wep App on azure. The XXXX.azurewebsites.net url works fine, The custom domain associated with that doesn't want to load. This is the type of error I am getting with firefox. This error has…

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,085 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,511 questions
asked 2023-08-26T10:33:19.23+00:00
Kevin Redfern 20 Reputation points
commented 2023-08-31T08:43:12.96+00:00
VenkateshDodda-MSFT 11,516 Reputation points Microsoft Employee
1 answer

Can't deploy a Blazor server side app on Azure using the net core 8.0.100-preview.7.23376.

Hi, We are implementing a Blazor App and we are trying to deploy on Azure and we are struggling to find the right configuration + settings to achieve that.  We see always the service "HTTP Error 503. The service is unavailable." We…

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,085 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,511 questions
asked 2023-08-10T15:21:11.3533333+00:00
vrithner 0 Reputation points
edited the question 2023-08-31T05:08:22.34+00:00
Jack J Jun 23,936 Reputation points Microsoft Vendor
1 answer

ASP.Net Core Blazor Server - Run specific methods on the client side

Hi, I'm using ASP.Net Core for a lot of my personal and business projects. Especially, I'm often using Blazor Server for my projetcs that requires a GUI for the user experience. Quite regularly, I find myself in a situation where all my logic is…

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,085 questions
asked 2023-08-04T13:17:57.7366667+00:00
Adrien PROMIS 0 Reputation points
edited the question 2023-08-31T02:58:45.6366667+00:00
Jack J Jun 23,936 Reputation points Microsoft Vendor
0 answers

Maui Hybrid Power Bi embeded report ios issue

What is a proper way to configure power bi reports on ios for Maui blazor hybrid app. My current solution works in web, win, android but not in IOS, on IOS it opens power bi report iframe in safary(instead of rendering in app web view) and does not show…

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,085 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,780 questions
asked 2023-08-29T11:41:43.5266667+00:00
Sergey 0 Reputation points
commented 2023-08-30T11:44:19.63+00:00
Sergey 0 Reputation points
3 answers One of the answers was accepted by the question author.

How Can I get all the users who has a certain role in Azure AD App Registration Using Dotnet/Blazor?

I have an app which uses Azure AD App registration for user and roles management (Access controlled based on Roles assigned). I want to list down all the users who has a certain role in this enterprise application registration. Can anyone help me with…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,293 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,085 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.
8,837 questions
asked 2023-08-23T15:48:52.19+00:00
Mohammed Waseem 20 Reputation points
commented 2023-08-29T10:57:29.5633333+00:00
Tiny Wang-MSFT 1,136 Reputation points Microsoft Vendor
2 answers

scroll position is out of sync.

Thank you for reading my message. In .net maui blazor, I created a program that gets the screen scroll position with scrollTop () and updates the scroll position according to the state, but the update of the scroll position is delayed. Specifically, in…

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,085 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,780 questions
asked 2023-08-08T03:10:47.4566667+00:00
ichiro kanazawa 80 Reputation points
commented 2023-08-29T08:28:46.1133333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 52,776 Reputation points Microsoft Vendor