Skip to main content
0 votes
2 answers
60 views

I am writing a Web API endpoint, data comes from SQL Server, and I'm using EF Core 8.0. I have a table of products and another table that maps the product codes to product attributes (one-to-many) ...
pepr's user avatar
  • 21.1k
1 vote
0 answers
37 views

I have recently added Component Space to my .NET 9.0 based web application, to facilitate SSO. It worked fine for few days, then I faced an issue, where the 'configurationName' is becoming empty for ...
Hemanth Hemu's user avatar
0 votes
0 answers
18 views

Using simpleidserver 6, I am trying to implement a dedicated Id server for an SPA application using PKCE. This SPA authenticates with no pb if it is setup for other Id servers like Azure EntraId or ...
Stephane's user avatar
  • 1,501
0 votes
0 answers
43 views

Previously when using .NET 9, I could authenticate in Swagger using an Authorize button and auth-protected endpoints would have a "lock" icon on them: But now when using .NET 10 and latest ...
Nermin's user avatar
  • 1,140
Advice
1 vote
3 replies
74 views

Description: I am building a web app, let's say about an organization for approving participation in a free service. There will be the following roles: Organization employee Citizen Administrator ...
Stathis Ath's user avatar
-2 votes
0 answers
34 views

I am fetching ProductTransfer table together with related products. Although the total records = 1200, am only getting three records returned by my api. Here is my models public class ...
Amos n's user avatar
  • 35
1 vote
1 answer
52 views

I have an ASP.NET Core Web API controller action that returns a 201 Created response with a custom type, and I also have a custom exception handler that writes ProblemDetails for 400–500 errors. The ...
Ucrainex's user avatar
1 vote
0 answers
57 views

I have a typed HttpClient, added to DI like this: builder.Services .AddHttpClient<IExternalApiClient, ExternalApiClient>() .ConfigurePrimaryHttpMessageHandler(() => ...
Eugeniy  Maksimov's user avatar
Best practices
0 votes
4 replies
69 views

I'm building an e-commerce application with ASP.NET Core Web API using Entity Framework Core and ASP.NET Core Identity. I have a BaseEntity class that tracks audit information (who created and last ...
Jinn's user avatar
  • 1
1 vote
1 answer
94 views

I'm running into a conflict when trying to include both of the following packages in a project: <PackageReference Include="System.Security.Cryptography.Pkcs" Version="10.0.0" /&...
RandomSkinCreator's user avatar
-1 votes
2 answers
92 views

For Angular 6.0-8.0 used with .NET Core 3.1, it was possible to inject the BASE_URL as string in constructor. What is now the equivalent for the BASE_URL in Angular 18 + .NET 8? How should I approch ...
Carl S.'s user avatar
  • 67
0 votes
1 answer
107 views

Well, I'm somewhat stuck here and I don't know which side is doing things it's not supposed to do. I'll try to outline the issue first. I have an API call which is defined like this: [HttpGet("...
Tom L.'s user avatar
  • 1,054
2 votes
0 answers
57 views

Previously, in .NET 9 and lower, we could use RazorRuntimeCompiliation to implement embedded views in assemblies. services.Configure<MvcRazorRuntimeCompilationOptions>( options => { var ...
StarCat-At-CTC's user avatar
Advice
0 votes
2 replies
54 views

When creating integration tests for ASP.NET Core 10 web apps, we use the WebApplicationFactory<TEntryPoint> class. When a single ASP.NET Core web project is used as SUT, it's simple and it works:...
AlexB's user avatar
  • 4,684
0 votes
1 answer
36 views

This is my ocelot configuration... { "Routes": [ { "UpstreamPathTemplate": "/api/test/{url}", "DownstreamPathTemplate": "/api/{url}",...
Nat Jacobs's user avatar

15 30 50 per page
1
2 3 4 5
5695