Blzaor in Nginx
I am developing blazor server side application. I do not have any problems in my local tests,when I publish the application on my server managed with Nginx.These errors do not appear every time, sometimes all, sometimes just a few, but persistent…
![](https://techprofile.blob.core.windows.net/images/gqKZQXYNIEOck1SWo0V4JQ.png?8D8A26)
Blazor Server - Custom Authentication
Hello together, an old winforms application should be re-designed / migrated as web application, here comes Blazor Server in. In the winforms application each user have to authenticate at startup against an oracle database, the application tries to…
![](https://techprofile.blob.core.windows.net/images/gqKZQXYNIEOck1SWo0V4JQ.png?8D8A26)
HTTP Post - how to get the Id from the HTTP Post response and NOT from context.SaveChanges
private void AddService() { Service service = new Service(); service.ServiceName = newService.ServiceName; service.RoleId = 8; service.IsProcedure = false; service.ShortForm = newService.ServiceName; service.Maincat = newService.MainCat; …
![](https://techprofile.blob.core.windows.net/images/8e5ea843b2ce4c76a15bd97f6694a528.png)
ASP.NET Core REST Api - how to return multiple objects from GET method
Hi, I need to return multiple objects from GET method: [HttpGet] [ActionName("GetTimesheets")] [AllowAnonymous] public (List<ListTimesheets>, Errors) GetTimesheets([FromBody] TimeSheetBO timeSheetBO) { …
System.Text.Json deserialization challenges in a Blazor Server app
I am having this problem with not getting my data as is described in detail here: https://www.pmichaels.net/2020/02/22/my-object-wont-deserialise-using-system-text-json/ using System.Text.Json using System.Text.Json.Serialization; private…
Give voice commands to computer
Hello everyone, I want to create an exe which can control another exe by using voice commands. My aim is to control the visual studio with voice commands. I have tried with Microsoft Cognitive services speech to text. I am not able to focus from…
![](https://techprofile.blob.core.windows.net/images/k3pGvNqV6k28ggaVHaTPrQ.png?8D803E)
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)