Problem Our database has several tables that have a value that can be one of 4 things, so we made […]
Tag: asp.net-core
Implementing unified API data flow in ASP.NET Core
Problem I have the API project on ASP.NET Core, and it’s quite annoying always write methods like this: [HttpGet(“{libraryId:int}”)] public […]
Asp.net networking/restclient layer
Problem I have been working on creating maintainable networking layer for our Asp.Net Core Web Api project. Right now I […]
Extracting a list of objects from a repository as JSON
Problem Currently, I am using the below code to make JSON data from list of objects. public IActionResult getWardsFromVDC(long vdc_id) […]
API endpoint that returns phone numbers
Problem Background An API endpoint that returns phone numbers. I would appreciate some feedback on this very simple service class […]
Posting images from request to Azure blob
Problem I have base Controller for Attachments, here is code of it In this controller, I pass data from the […]
Finding items involving a particular category
Problem I have a Item Service that is Called from an Asp.Net Core API Controller. The query gets all items […]
Is it fine to use my domain model as DTO (Entity Framework Core)? [closed]
Problem Closed. This question is off-topic. It is not currently accepting answers. Lacks concrete context: Code Review requires concrete code […]
Basic Unit Test of Application Service, setup and cleanup methods
Problem I’m not experienced with testing, therefore I’d like you to look at my code proposal of unit test. My […]
ASP.NET Core background logger queue with dynamic workers
Problem In a docker compose environment there are several apps that communicate with each other. One of these apps is […]