Content
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…
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…
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…
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?
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…
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…
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 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?
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 - 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…
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…
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 =…
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…
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…
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…
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…
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…
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…
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…
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…