Skip to main content
Best practices
0 votes
3 replies
88 views

I always struggle to hook up Controllers with Riverpod NotifierProvider. For example, TextEditingController, MapController or in this case I need to hook it up with TreeController from the ...
Reinis 's user avatar
0 votes
0 answers
52 views

Models: Ngetest.phpp <?php defined('BASEPATH') or exit('No direct script access allowed'); class Ngetest extends CI_Model { public function showEcho() { return "naisu"; ...
Syraxes's user avatar
0 votes
1 answer
49 views

I have a list of controllers in Flutter: final List<StackBoardController> _boardControllers = []; When I try to duplicate one controller like this: _boardControllers.add(_boardControllers[3]); ...
Anandh Krishnan's user avatar
1 vote
0 answers
141 views

Currently, I have this configuration for http client that I can use and inject when needed, wrapped with JWT authentication to hit some API address that has multiple end points: builder.Services....
Prefetcher Shatnawi's user avatar
1 vote
1 answer
219 views

I'm building an ASP.NET Core Web API endpoint that needs to receive an array of complex objects via multipart/form-data. Each object includes key-value string pairs and an optional file upload. Each ...
bcExpt1123's user avatar
0 votes
1 answer
50 views

I have an ASP.NET MVC controller endpoint of type ActionResult that returns a ViewResult by calling Controller.View(<some html>). When integration testing this endpoint is it possible to convert ...
BaltoStar's user avatar
  • 9,151
0 votes
0 answers
34 views

I have a Symfony 6.4 controller that accepts a JSON, retrieves the values from the JSON, sets the arguments and calls a Symfony Command with these arguments. The Command executes certain API calls and ...
sridhar pandurangiah's user avatar
1 vote
2 answers
66 views

I work with ASP.NET Core and have written an API controller as follows: public class AcademicController : GenericController<Academic> { public AcademicController(IRepository<Academic> ...
amir's user avatar
  • 35
0 votes
3 answers
120 views

I have 3 models in Rails, Category (grandparent) has_many Domain (parents), which has_many Url (children). Here, users can create/edit Url but not the other two; Domain model is automatically created/...
Masa Sakano's user avatar
  • 2,309
0 votes
1 answer
97 views

I have made a .NET 9 self-hosted Kestrel Windows Forms app with controller(s) located in the same assembly: It works well: Here is the main Windows Form's start-up and shutdown code: private ...
ShamilS's user avatar
  • 1,654
-1 votes
1 answer
95 views

I'm trying to add controller inputs to a game I'm making but when pressing one of the buttons on the controller, the action is not being performed. I was told to use JOYHATMOTION but the Pro ...
uzn4v1's user avatar
  • 25
0 votes
1 answer
59 views

I have the following controller method stub... [HttpPut("myroute")] public async Task<IActionResult> PutMethod([FromBody] MyContract contract) { //parse data from request, headers, ...
Dave L's user avatar
  • 57
0 votes
0 answers
25 views

My first goal is to get the id and code of the language when the user selects a language and keep it in the session. Because I will use the id for database queries and I want to be able to use the ...
khalannz7's user avatar
0 votes
1 answer
53 views

I'm developing a backend where controllers call services, and each service is responsible for handling an entity(table) in SQL. Now, what if I want to use a transaction, basically roll back previous ...
Eldar Tailov's user avatar
0 votes
0 answers
71 views

As a university software engineering project, my group has to make a videogame out of the board game Galaxy Truckers (rules summary, if it helps), using the MVC pattern (we're using Java as a language,...
Giacomo Amaducci's user avatar

15 30 50 per page
1
2 3 4 5
1170