33,658 questions
Advice
0
votes
0
replies
35
views
How to understand the Reliable web app pattern
I was reading some tutorial on Microsoft's documentation about MVC with Razor views, I finished the tutorial, and I fully understood how all the modules talk to each other, like how the controller ...
Best practices
1
vote
1
replies
40
views
When upgrading a fullstack webserver OS, is it best to do so sequentially, or a raw rebuild on the most current version?
I know I could have probably just thrown this in claude, and get an answer that would be sufficient, but I'm trying not to be a vibe dev.
We have a production server with an MVC architecture running ...
Best practices
0
votes
5
replies
229
views
How do you usually organize Models, Controllers, and Routes in Laravel projects?
I’ve been learning mostly from the docs and tutorials. I understand the basic syntax already, but I’m more curious about how people organize things in actual projects. I’m mainly trying to learn ...
Best practices
0
votes
4
replies
191
views
how to step by step create a laravel project with breeze installation guys?
I need to learn how to create a Laravel project from scratch and properly install Laravel Breeze for authentication. Please provide a clear step by step guide with all required commands, including ...
Best practices
0
votes
2
replies
84
views
MVC project structure
I am implementing a financial MVC web app, in this moment I have 3 different projects:heirloom.api (controllers)heirloom.core (db interaction, libraries used by .api to interact with db)heirloom.web (...
Score of 0
0 answers
42 views
How to use different appsettings.json files per IIS deployment target?
I want to manage multiple configuration files for my ASP.NET application during IIS deployment.
Currently, I have a default appsettings.json.
I plan to create two copies:
appsettings.site1.json
...
Score of 2
1 answer
134 views
Spring boot with JTE cannot resolve mvc view
I want to work with JTE, but I am unable to render a view in my browser.
package com.example.gradle;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation....
Score of 0
2 answers
104 views
Laravel teardown API calls on reversing migration
I have a model, let's say Item, that makes a call to an external API on creation to synchronize with that service:
class Item extends Model
{
protected static function booted()
{
...
Score of 0
0 answers
43 views
How can I save the address information within the Customer controller, considering the address is in a separate table?"
I have a Customer table storing customer information like first name, last name, etc., and a separate Address table. In the customer creation/editing view (UI), I also collect address information from ...
Score of 0
1 answer
103 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 ...
Score of 2
0 answers
160 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(...
Score of 3
0 answers
157 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:...
Score of -2
1 answer
187 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 ...
Score of 0
0 answers
83 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 ...
Score of -2
2 answers
140 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 ...