Blazor Server - deserializing an array of objects with System.Text.Json - The JSON value could not be found
The JSON value could not be converted to BtServer.Pages.RecordDetail+MyRecordDetails. Path: $ | LineNumber: 0 | BytePositionInLine: 1. at System.Text.Json.ThrowHelper.ThrowJsonException_DeserializeUnableToConvertValue(Type propertyType) at…
How to improve my workflow? VS2019 with Blazor Server app and Core WebAPI project lose connection many many times
One project is a NET5 Web API with EF Core, the other is a Blazor Server app. My workflow is as follows: CTRL F5 to start the Web API in the browser, Swagger UI comes up F5 on the Blazor Server app to start the debugger More than half of the…
Custom Policy - The reply url specified in the request does not match the reply urls configured
Setting up a local test Blazor WASM hosted application .net 5 with AAD B2C, with custom policy to limit to specific tenant list. appsetting client "AzureAdB2C": { //"Authority":…
VS2019 : blazor client and Blazor server when ASP.net core hosted option is checked
I am trying to build a PWA using Blazor , i read i need to select Blazor Assembly/ Enable PWA application it also have ASP.net core hosted option as well when i select this it creates 2 project server/client I am very confused what to write on…
![](https://techprofile.blob.core.windows.net/images/gqKZQXYNIEOck1SWo0V4JQ.png?8D8A26)
Azure published Blazor app XMLHttpRequest Error
Hello, I have a couple of Blazor Web Assembly Appps published to Azure App Service. Some in .NET Core 3.1 and some in .NET 5 I noticed when they are published to Azure, the console shows this error message >…
![](https://techprofile.blob.core.windows.net/images/3b270b575c094eeca63e9bc66c861c5a.png)
Blazor Webassembly under Google Chrome with 3rd-party cookies blocked enabled not working
With Cross-Site Tracking enabled on Safari, and also under Google Chrome with 3rd-party cookies blocked, my Blazor webassembly PWA is not working as expected. I am using Identity Server 4 deployed as a separate website and domain, as it is the IDP for…
Unhandled Exception on iOS Devices due to HttpClient [Xamarin.Forms (Mobile Blazor Bindings)]
Hello I've made an hybrid mobile application using Mobile Blazor Bindings (which is based on Xamarin Forms). It's on production but since the it's deployed I'm having a problem with iOS platform. At first problems arose on login procedure public…
Opening a popup on separate monitor
Hi, I'm a .Net developer currently working on an internal company website. We are developing in Blazor WASM and the site is mandated to run on the latest version of Edge only. My goal is to allow a popup to open (showing secondary information) on a…
![](https://techprofile.blob.core.windows.net/images/gqKZQXYNIEOck1SWo0V4JQ.png?8D8A26)
Blazor and Async Await
I am building a Blazor (server) application. Everything works well as long as I don't try to await a method. Basically I have a screen with a button. The button click event calls a method and the method uses a library which has an async method. If I…
![](https://techprofile.blob.core.windows.net/images/eRqollBhAQAAAAAAAAAAAA.png?8D8BA2)
Restrict access to Web API using Blazor WASM
I'm working on a project for a financial application and after a lot of thought decided to create a web API (using JWT) and, initially, a Blazor frontend. Eventually we will add mobile apps. So my first idea was to use Blazor WASM. Then thinking about…
Blazor namespace and @namespace
I have a Blazor component where markup and code are separated ( AppNav.razor and AppNav.razor.cs). Do I have to put namespace in both files or .razor.cs is sufficient? I have this question because Visual studio 2019 (16.8.3) Enterprise is inconsistent.…
Allow Anonymous user on a Blazor page
I've developed a blazor application.I'd like to exclude one of the pages from the authentication requirement so that anonymous users can visit it.I added the following line to the top of the page,but it didn't take effect,redirecting the user to the…
Blazor Editor - Element Property Explorer
Do you know of a Visual Studio plug-in or an editor which displays the properties of an Element say <Input> or <button> when you click on it. This would be something similar to the Property Grid in the Windows Forms designer.
Blazor - Progress Indicator - Timer Object
I have a requirement to display the progress of jobs on an application server in a Blazor Server app. Currently I'm using a timer to poll the database for progress and display the results to the user. I have no control over the app server and can't…
![](https://techprofile.blob.core.windows.net/images/gqKZQXYNIEOck1SWo0V4JQ.png?8D8A26)
Cannot find identity in add New Scaffolder menu
Hello, These days, I am studying about Blazer Server app to review whether or not I could use this framework for my personal projects. During checking the default Authentication service in VS 2019 community version, individual User Accounts, I…
Blazor Wasm Client debugging issues
Debugging a web assembly client application is quite different to a "normal .Net" application (e.g. Blazor server side). Examples: Intellisense in watch window doesn't work. Hexadecimal display in watch window is available, but does not…
Blazor Role Authorization not working
I have a Blazor server application with Identity setup to utilize a SQL Server. Additionally I'm using IdentityManager2 to assist with ensuring the account/roles are setup and everything works properly everywhere except for AuthorizeView and Authorize. …
Blazor Startup - Pre-registered Services
Hi I'm new to Blazor ad C# 6.0 and trying to find my feet. I am learning about dependency injection currently. Whilst I appreciate why DI is needed I am struggling a bit with documentation. From the documentation it is clear that you first need to…
Blazor Startup Class
I'm looking at Blazor Server app and in particular exploring the auto-generated source code. I have found that renaming the methods in Startup class causes an exception and the app won't load. The Startup class is passed to the host only in the form of a…
string test difficulty asp.net
H members when i make a single test of string it work fine user = HttpContext.Current.User.Identity.Name Label7.Text = user If Not user = "STUPREMAT\M.houssem" Then Menu1.Items(2).Enabled = False End If and when i make…