2,052
questions
0
votes
0
answers
31
views
Error while Converting Synchronous Action Filter to Asynchronous in ASP.NET Core 8 Web API
I have developed a synchronous action filter for an ASP.NET Core 8 Web API. Recently, I converted this action filter to an asynchronous version.
However, during validation, I encountered the following ...
0
votes
0
answers
19
views
Why is not rendermode changes back to SSR in .NET8 Blazor?
I am using the following code to change the rendermodes programatically:
@code{
[CascadingParameter]
private HttpContext HttpContext { get; set; } = default!;
private IComponentRenderMode?...
0
votes
0
answers
13
views
AspNet Core Razor Pages app with Keycloak in docker
I am trying to configure an AspNet Core Web App (Razor Pages) with Keycloak (25.0.5) and Docker.
My setup includes (in docker compose file)
a postgres container
a keycloak container
a container for ...
0
votes
1
answer
45
views
.NET 8 isolated Azure function not running anymore
I saw this morning that an Azure function was not running anymore, while I didn't change anything to the code/configuration. I tried to disable and enable the function, but since I disabled it, it ...
0
votes
1
answer
32
views
Clicked row indication stops working as soon as a callback is being invoked by RowClickEvent in MudBlazor table
While trying to implement and adapt this MudBlazor table example here: MudBlazor example: Click Event and display for selected Row, I invoke a callback from RowClickEvent:
private void RowClickEvent(...
0
votes
0
answers
16
views
Issue logging out from Duende Identity Server 7 from Maui Client
I used the sample client for Duende hosted at
https://github.com/DuendeSoftware/Samples/tree/main/various/clients/Maui
Using the Android Emulator, I was able to successfully login, but when I attempt ...
0
votes
1
answer
38
views
How to update labels while a process is running?
I'm building a Desktop Application where the user scans in an ID, and it looks up information in the database, and then if the correct information is found, it then generate a pdf based on some of the ...
0
votes
0
answers
10
views
gRPC with Microsoft AuthenticationStateProvider problems
I recently set up a new gRPC Project, containing simple a Server, Client and Contract Sub-Project.
Server will be deployed as a WebService, Client is goind to be an android app.
Contract containing ...
0
votes
0
answers
19
views
Twilio SMS Sandbox
I'm developing a simple SMS chatbot and using Twilio (and .NET 8 and C#), but for the time being, I can't test that things are working since I'm waiting on our A2P campaign to be approved.
Is there a ...
0
votes
0
answers
50
views
WPF application allocates huge number of TimerQueueTimer objects
I've got WPF application built with .NET 8, at some point it suddenly spiked both on CPU and memory. I managed to capture memory snapshot and it seems like there are lots of TimerQueueTimer objects ...
0
votes
1
answer
26
views
How to read a cookie in razor component with RenderMode="InteractiveServer"? (Blazor Server + Net 8)
I have a Blazor Server app in Net 8.
Authentication: none
Interactive render mode: Server
Interactivity location: Per page/component
I am trying to read a cookie with user logged data in a razor ...
0
votes
1
answer
40
views
Share blazor dialogs across projects within the same solution
I have a solution with multiple .NET 8 Blazor projects, including a class library used to share common code.
Solution
- Project 1
- Project 2
- SharedLibrary
Now I'd like to share Blazor dialogs. My ...
0
votes
0
answers
35
views
Mapping collection of primitives to JSON in EF Core
I'm using EF Core with Postgres. An entity includes these properties, which I store as JSON:
public ICollection<long> Foo { get; }
public IDictionary<long, long> Bar { get; }
This ...
1
vote
1
answer
66
views
Hide False MSAL 4.64.0.0 MSAL.NetCore .NET 8.0.8 logging messages
In a .NET 8 API project, I'm logging via Serilog to a Application Insights. With every request, I see a lot of False MSAL 4.64.0.0 MSAL.NetCore .NET 8.0.8 messages which I want to hide in traces.
In ...
1
vote
1
answer
60
views
.Net 8 Blazor WASM PWA Install button shows locally and disappear when published
The current Blazro WASM application was created as PWA. When I run it locally during the development the install app icon shows normally
When I publish the application on IIS or change the ...