Skip to main content
Filter by
Sorted by
Tagged with
-6 votes
0 answers
44 views

I'm a junior ASP.NET Core developer and I want to improve my code quality. I'm not asking for career advice; I'm looking for the technical concepts that are fundamental for building clean and ...
bilel amiri's user avatar
-4 votes
0 answers
43 views

I have this JS file: (function ($) { alert('A'); app.modals.ClassificationTreeModal = function () { var selectedId = []; var _stocktakingSessionsService = abp....
user123456's user avatar
  • 2,651
0 votes
1 answer
41 views

I've been fighting this problem for the last 3 weeks. I don't know if I'm also doing something wrong at the moment of connecting the API to the Front end not being able to at least print the JSON ...
Gerardo Orellana's user avatar
-1 votes
0 answers
120 views

I've had to change from a single entry form to a multiple entry table. I've got the table working in terms of the fields/date formats/remove row and add a row buttons (with the help of GitHub Copilot)....
Sally Parkes's user avatar
0 votes
0 answers
33 views

Redis has been recently facing a lot of timeout errors. We are currently using stackExchange.redis or managing Redis in the ASP.NET Core application. We have used async whenever possible with proper ...
Sachin Ram's user avatar
0 votes
1 answer
95 views

I'm creating a custom API client to be used by my web (Blazor WebAssembly Standalone) and mobile (.NET MAUI) apps for connecting to my API. I have two questions below but first, here's an abbreviated ...
Sam's user avatar
  • 31k
0 votes
0 answers
43 views

I have a MudBlazor application where I use a custom CurrentUserService to store the currently logged-in user so I can display the user's profile image in the layout. This state is not part of the ...
Daniel's user avatar
  • 560
0 votes
0 answers
34 views

I am generating a PDF in ASP.NET Core using DinkToPdf (wkhtmltopdf wrapper). My HTML report is around 20+ pages, but the generated PDF always stops at 19 pages. It never prints the full content. PDF ...
Arpit Lathiya's user avatar
0 votes
1 answer
96 views

I have a web app using code-first EF Core. One of the controllers needs to run what should be a simple query (basically SELECT TOP 1 * FROM companies WHERE id = @id; in EF terms, var data = await ...
minnmass's user avatar
  • 261
1 vote
1 answer
92 views

I have a big project that uses Blazor, suddenly when I run it, the Blazor pages do not work anymore, because the blazor.server.js returns 404. This happened after I installed latest version of VS 2026 ...
Alkampfer's user avatar
  • 1,377
1 vote
2 answers
93 views

I have an ASP.NET Core 9.0 Razor pages application. In my application I generate navigation URLs using Url.Page method. However if I'm currently on a page which has additional parameters (for example /...
Dalibor Čarapić's user avatar
2 votes
1 answer
271 views

I am trying to upgrade to .NET 10 (from .NET 9), but after updating the Microsoft.AspNetCore.OpenApi package to 10.0.0, I can no longer build my application. This is the error I get: The '...
Dave's user avatar
  • 4,168
Best practices
1 vote
1 replies
79 views

We have a strong use case, and I’d like your suggestion on how to solve an issue we're facing. We built a banking system using ASP.NET Core that allows users to view their accounts. Here's how it ...
Issa Saman's user avatar
0 votes
1 answer
92 views

I am working on a web project for my company that is a very large C# / .NET 8 web application. We are still in the design/structure phase because the web application will be merging 100+ .NET ...
Chandler R Reeves's user avatar
Advice
0 votes
3 replies
61 views

Hopefully someone can advise me how to get out of this corner I've coded myself into! I'm pretty new to Blazor and have never created a dynamically generated form before. I THOUGHT I was on the right ...
Wilock's user avatar
  • 51
4 votes
1 answer
159 views

We try to implement data redaction. There's also an interesting blog post from Andrew Lock: Behind [LogProperties] and the new telemetry logging source generator It works fine for classes (and records ...
Patrik B.'s user avatar
  • 546
2 votes
1 answer
94 views

In my Blazor server-side application, I have a component with a button that, when clicked, displays a "Loading" bar while I check to make sure a all of my required text fields are not blank. ...
gbm0102's user avatar
  • 143
3 votes
1 answer
94 views

I'm trying to copy pages from an existing PDF to a new one and return it. I'm writing to the new PDF with memory, but it returns an error stating Cannot access a closed Stream. Here is my code: var ...
Marwan Hashem's user avatar
Best practices
4 votes
2 replies
136 views

I have a .NET Core minimal API that has grown to 45+ MapGet/MapPost endpoints in Program.cs, and it's becoming difficult to navigate. All endpoints share several variables declared in Program.cs (...
Peter's user avatar
  • 2,326
0 votes
1 answer
61 views

I’m implementing LDAP user authentication in a Blazor Server application using Novell.Directory.Ldap (LDAPS, port 636). The goal is to allow users to log in with their Active Directory credentials. ...
RoboDev's user avatar
1 vote
0 answers
47 views

I have an ASP.NET Core Web API that accepts tokens from two JWT sources. I want to define an authorization policy that will accept a token from the first source if and only if it has a particular ...
jason44107's user avatar
0 votes
0 answers
40 views

I'm currently working on migrating a project from .NET 4.5 to 8. One of the key functionalities of the old project is the ability to download a barcode of a given string: Old functionality public ...
DarkoPrime's user avatar
0 votes
0 answers
84 views

I’m trying to find out whether it’s possible to implement Basic Authentication directly in YARP (Yet Another Reverse Proxy). If YARP doesn’t natively support Basic Auth, that’s fine — I’m mainly ...
Alternative's user avatar
0 votes
0 answers
43 views

Goal: Add Header and Footer to generated pages. IAction in controller responsible for the generation: [HttpPost] public async Task<IActionResult> BuildAndDownloadChecklistExport([FromBody] ...
Dio's user avatar
  • 11
0 votes
1 answer
126 views

All my request clients are added, as this works (not only the generation of the client, but the client itself - the request is sent using rabbitmq and I get the response as expected): using var scope =...
ZorgoZ's user avatar
  • 3,758

1
2 3 4 5
1709