Skip to main content
0 votes
0 answers
16 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
68 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
-1 votes
0 answers
33 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
  • 37
1 vote
1 answer
51 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
54 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
92 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
91 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
103 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
53 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
35 views

This is my ocelot configuration... { "Routes": [ { "UpstreamPathTemplate": "/api/test/{url}", "DownstreamPathTemplate": "/api/{url}",...
Nat Jacobs's user avatar
0 votes
1 answer
48 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
3 votes
0 answers
317 views

I'm currently in the process of upgrading to .NET 10 from .NET 9, but unfortunately as usual the documentation of breaking changes seems to be lacking when it comes to certain functionality and ...
jezzipin's user avatar
  • 4,282
1 vote
0 answers
39 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

15 30 50 per page
1
2 3 4 5
5695