All Questions
Tagged with mvc or model-view-controller
33,584 questions
0 votes
1 answer
48 views
Set dotnet version to use for debugging
Is there a way I can set the dotnet version to use for the debugger. I am using the one (debugger) that comes with C# Dev Kit. I currently have dotnet 8 and dotnet 2.2 installed but the debugger ...
0 votes
0 answers
48 views
How Can I Set the Options of CSelect Dynamically in CoreUI/Vue v3.0?
I have a trouble trying to find out how to make a little thing, let me explain more below. I have a project using php-laravel, coreui vue and using a MVC Architecture, and i made my whole vue dynamic ...
1 vote
0 answers
135 views
Send array of objects to .NET controller action
I am trying to pass a javascript array of objects to a .NET controller action List<> parameter. Below is my C# public bool ImportACE([FromBody] List<Element> elements) { foreach(...
2 votes
0 answers
127 views
In case of large number of items Context Menu is slowing down WPF application view rendering
I have following context menu defined as a part of the DataTemplate in xaml: <DataTemplate DataType="{x:Type viewModel:OverviewAnnotationItemViewModel}"> <views:...
0 votes
0 answers
80 views
hight memory usage problem in MVC web app
in mvc web app, first chrome memory snapshot is ~ 51mb after i call ajax to re render partialView, second snapshot take double or more! ~ 100bm. and in every call partialview memory usage get larger ...
0 votes
1 answer
157 views
Edit method has method POST, but I would expect PATCH/PUT
I have made a Rails edit form, which works fine. Looking into the developer tools I have seen that the HTTP method is POST. Actually I would have expected that it sets the new form to POST and the ...
0 votes
0 answers
64 views
How to create a route with parameters only, while still retaining predefined routes
I am attempting to create a very flexible routing system that allows users to configure their own publishable url paths to their own content pages, sort of like a CMS. To achieve this, I created a ...
0 votes
0 answers
71 views
gulp.src() doesn't find files with *.ts, but finds file when i put nameOfFile.ts [duplicate]
I'm migrating from ES5 to ES6 and as a result I'm implementing modules. I have a Core.ts file that has a class Core that holds functions that are used in many .ts files. I migrated Core.ts to be ...
-2 votes
2 answers
131 views
Need to download a file to for independent requests [closed]
I am developing a process in MVC to take input from a database object and convert the data to an Excel file export. I am using NPOI tool to do this. The current conversion process is made completely ...
0 votes
0 answers
39 views
traderAdmin project not visible in "Export as WAR" wizard in Eclipse
I'm trying to export my traderAdmin project as a WAR file using Eclipse. However, the project is not appearing in the "Export > WAR file" wizard. I have another project in the same ...
-3 votes
1 answer
104 views
I'm trying to use Spring Tool Suite for TDD and I get this error while running code
It appears to be a syntax error though I can't seem to find it in my code. import static org.assertj.core.api.Assertions.assertThat; import org.junit.Before; import org.junit.Test; import org.junit....
1 vote
1 answer
613 views
What is the recommended folder structure for a Flutter project using GetX with MVC architecture? [closed]
I'm currently building a Flutter application and planning to use the GetX package for: State management Routing Dependency injection I would also like to follow the MVC (Model-View-Controller) ...
0 votes
0 answers
63 views
Error Store data with React Laravel Database Not Found
I want to store a data customer with this system, I was copy from other my system. the other system is worked fine but why this system not work as the other FormCustomer import { PlaceholderPattern } ...
0 votes
0 answers
60 views
Pass Data from HTML Page to Controller Using Ajax in ASP.NET MVC
I have a web page with a map on it, the user clicks a button on their mobile device and it should then show them their position based on their device's geolocation. I have the code which gets the ...
0 votes
0 answers
127 views
Problem with $_SESSION in PHP: array(0) { } before storing user data
I'm trying to authenticate a user and store the data in the session. I expected that the session should contain the user's data after login, but the current behaviour is that var_dump($_SESSION) ...