Return only Interface members in Json result from asp.net core webapi
I have a simple API which returns a list of rows from db like so
How to Dynamically Set Optional Properties in Multiple Request Models in ASP.NET Core Web Api
At my workplace, I’ve been tasked with refactoring some code in an ASP.NET Core Web API application. In the application, I have multiple request models where some models include properties like UserId, ChartId, or both. For instance, the AcceptEvent model includes all these properties, while other models might only include ChartId.
Not Parsing Hindi When Converting HTML to Image in ASP.NET Core Web API
I am generating a card and downloading using api. One can enter a card number and card is generated and downloaded. But the card contains some hindi texts which is not rendering correctly in the downloaded image.
ASP.NET Core absolutely refuses to host on other port
I am running a ASP.NET Core 8.0 Web Service application on arm64. On my Windows computer, I develop the app and publish it to arm64, and copy it to the target computer (a raspberry pi). Despite every configuration file demanding that the app be hosted on port 11111
(which I want), when I start the application on the target computer, this happens:
Migrating dynamic API Controller Execution Code to ASP.NET Core in .NET 8
I am currently migrating an application originally built on .NET Framework 4.6.1 to .NET 8. The relevant piece of the application is an API Controller that receives a batch of API requests from the browser, and executes them one-by-one on the server side, bundling the responses into a single response.