Skip to main content

Questions tagged [web-api]

Specific APIs that communicate over web protocols, such as ASP.net Web API, as well as APIs that are exposed to web pages for network communication or apps for device communication

1 vote
1 answer
336 views

Where I work, they have never implemented web APIs. At my previous job, which I left 11 years ago, I would write several web APIs to be used for applications, reports, etc. So when I came to this job ...
Rod's user avatar
  • 173
2 votes
3 answers
329 views

The company I'm working at has strict policies that insist that all business logic is contained in Domain Models as part of DDD. I can see how this approach could work well for something like a ...
Mog0's user avatar
  • 147
1 vote
1 answer
171 views

In an ASP.NET MVC application with views that make AJAX calls for widgets like dropdowns and data grids, is it better to use Web API controllers or regular MVC action methods that return JSON? The ...
EMN's user avatar
  • 795
2 votes
3 answers
2k views

I am building a web application. This application is meant to be a home for player rankings and tournament results for a competitive community. I have planned to do this in three layers: a database to ...
John Johnson's user avatar
4 votes
4 answers
855 views

I have a project with .net core web api backend and angular as front end. I have single repository for both the projects with front end and backend in their own separate folders. I have written ...
Pawan Nogariya's user avatar
0 votes
1 answer
127 views

In OpenAPI, is there a convention for denoting that your API is not stable yet? In semantic versioning, the v0.x.x version number is usually used to indicate that the project is not stable yet. ...
Kyle Richards's user avatar
0 votes
1 answer
527 views

Here is an Example API for managing companies, employees, and their children. My entity relationships are as follows: company -1:n-> employees -1:n-> children I’ve structured the API routes ...
Doku's user avatar
  • 111
0 votes
1 answer
180 views

I want to develop a miminal app for iOS and Android. Basically, I want to have a widget (or similar micro-app) that displays how many items I have in a list. If I open the widget, it just opens a ...
Chaos Crafter's user avatar
1 vote
0 answers
113 views

I work on a spring kotlin backend which has an angular and a mobile frontend. We are currently working on error handling and we decided that the backend should return an error code, a general message (...
Christian's user avatar
  • 119
0 votes
0 answers
134 views

We're building a multi-tenant setup with a C# Web API and KeyCloak for auth and APISIX as application gateway. APISIX handles the authentication and passes an X-Access-Token to our API when ...
RobIII's user avatar
  • 341
1 vote
5 answers
339 views

A couple days ago I asked about the Purpose of async/await in web servers, and got in-depth answers explaining how in fully asynchronous code, it frees up the CPU completely while also releasing the ...
Medinoc's user avatar
  • 375
23 votes
4 answers
9k views

I don't understand why I keep seeing async/await recommended (or sometimes, even enforced) for ASP.NET Core web applications and APIs. As far as I can tell, every request is already being run on a ...
Medinoc's user avatar
  • 375
0 votes
2 answers
177 views

I am trying to devise a simple system that, with the use of tokens, allows a specific file to be rendered in the client's browser, yet prevents the user agent from being able to download the file. ...
oldboy's user avatar
  • 103
0 votes
1 answer
135 views

I need assistance with the QueryBuilder that generates OData query. Following is my implementation and it approach has couple of issues If user forgets to SetRootTable then it will cause serious ...
Sunny's user avatar
  • 945
0 votes
1 answer
140 views

I need some guidance on how to send error responses to client from WebAPI controller for an update operation. I need to check if data is changed and if it has duplicate data. I have service class that ...
Sunny's user avatar
  • 945

15 30 50 per page
1
2 3 4 5
26