Open Windows Console on Blazor Server App Start VS2019
I'm developing a Blazor Server App which interfaces with an API I have built. At one point, my project was set up to open a Windows Console output window which showed essentially the same info as the Output window in VS but also the content of my…
![](https://techprofile.blob.core.windows.net/images/VIHPRKc2WUiRdmgc7bDVpw.png?8D9020)
![](https://techprofile.blob.core.windows.net/images/VIHPRKc2WUiRdmgc7bDVpw.png?8D9020)
AADB2C90068: The provided application with ID is not valid against this service. Please use an application created via the B2C portal and try again
I have created application Blazor server application in visual studio 2019. Which used Azure Ad B2C authentication. But i have received below error when going to login. Sorry, but we're having trouble signing you in. We track these errors…
Any examples of using SAML 2 authentication with a Blazor server-side app?
I have a .Net 5 core Blazor server-side application which I have been asked to modify so that it can use SAML 2 for authentication. Has anyone done this before? i can see examples of SAML and ASP.NET Core MVC but not Blazor.
Use Microsoft Graph in a web API with a Blazor Server client
Whereas I have spent a very long day trying and failing to get this working, I do feel like I'm tantalizingly close. In fact I have this example working. The problem is that example uses a WPF client, and for the life of me I can't seem to get the same…
Blazor server app with Azure AD B2C authentication
Hi while trying to launch my app with Azure AD enabled i get the following error: Error. An error occurred while processing your request. Request ID: 00-fca99c8b40b49d4798e8f0ce2e129ea9-3b940a54171b6045-00 Development Mode Swapping to…
How can I get the <input /> value in a blazor razor page after it rendered completely by using javascript?
I wrote this in my code, one of my test razor page. <input value= "3"/> And after I run the project, in the WebPage I has saw the value is 3. But I saw in the DOM , it doesn't have value attribute. So when I just use…
![](https://techprofile.blob.core.windows.net/images/yBA5GFzYW0KshIEcr-ulyQ.png?8D912D)
Visual Studio 2019 .razor file Code Editor F1 Help
I am unable to navigate to the documentation (F1 Key) by selecting any element in the .razor file. However, F1 command works fine in both html and CS file. Could you please help in resolving this issue? Project: Blazor Web Assembly IDE: Visual…
Blazor Server + Web API HTTP POST or PUT - write all or write none
I am working on modernization of a transactional app written in the 2012 Microsoft flavor of the year. The old app uses EF 6.4. The modernized app is based on Blazor Server and Web API. Currently I am at the point where I need to save a newly created…
Blazor Webassembly: Swagger endpoint does not work as expected when PWA is enabled and is publised to Azure appservice
I created a simple Blazor WebAssembly project with Asp.Net hosted and PWA feature on. Added <PackageReference Include="Swashbuckle.AspNetCore" Version="6.1.1" /> to Server project. Ran it locally and I can hit the swagger…
Linq Method does not contain a definition for (Contains)
I have an array of ServiceGrid items called services, the relevant properties are shown below: svcId / svcName / svcBillingRate/ and more.... 5 / serviceA / 10.00 . 19 / serviceB / 19.25 11 / serviceC / 24.00 17 / serviceD / 4.50 2 /…
Is there a trick to Azure Web Functions
I have a new Azure Web Function setup for http events and it appears to work just fine on http://localhost:2030/api/mymethod but when I deploy it to Azure and attempt to call it from inside the same Blazor app (after updating the URLs) it doesn't…
![](https://techprofile.blob.core.windows.net/images/j_hATN6lWUGQqy8lwG64fA.png?8D869F)
Azure function works with blazor and localhost but nothing appears to happen when I deploy it to Azure
I am new to azure web functions. I created a web function and got it working on localhost and was able to step through it, calling it from my Blazor webapp. I changed the url to the one listed in my launch code when I published as the base address. (No…
![](https://techprofile.blob.core.windows.net/images/j_hATN6lWUGQqy8lwG64fA.png?8D869F)
how to auto refresh when saving in blazor??
i watched https://youtu.be/cilV8vnEjJE , he show auto fresh when saving code in blazor , i want to know that
![](https://techprofile.blob.core.windows.net/images/gqKZQXYNIEOck1SWo0V4JQ.png?8D8A26)
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…