Questions tagged as 'mvc'

1
answer

HttpPostedFileBase - Bringing null when I have many files with the big name

Good morning Friends next I have a mvc web system with C # and need to upload multiple files simultaneously. Until then, okay, but when the files have a big name of the problem I'll exemplify. I have 5000 xmls to import with the name "NFe3...
asked by 28.06.2018 / 17:25
0
answers

How to make a Javascript function that receives a DataTable as a parameter?

Hello I made a generic JavaScript function that needs to receive a DataTable as a parameter, but for some reason it is not getting the data from this DataTable. This function is called when the user clicks the DataTable cell $('#tableBas...
asked by 28.08.2018 / 21:04
0
answers

DropDownList in C # with HtmlHelper

I'm new here and also new to the ASP.NET universe. I'm having a hard time creating a DropDownList for a form on a web page with ASP.NET MVC and C # . I made a user registration form and one of the items needs to be DropDownList...
asked by 06.06.2018 / 14:12
0
answers

Doubts about the standard Repository - Anemico Model - MVC

I see a lot of criticism of the anemic application model, so I decided to take this question. I have two ASP.NET MVC applications that could share the same Models (they will use the same properties and methods) Thinking not to rewrite or c...
asked by 29.06.2018 / 20:21
2
answers

C # MVC 5 - \\ Execute query with result of another query

I'm coming from PHP and learning C# MVC while migrating the applications I have. I came across the following problem that I can not find a solution: This is my class that generates the menu dynamically in the system: pu...
asked by 19.05.2018 / 14:04
1
answer

I can not load classes using spl_autoload_register

I'm trying to load a class that is in another folder in the core.php file and I'm not getting My browser reports this message    Fatal error: Uncaught Error: Class 'Core' not found in   /var/www/html/cursophp/superAdvanced/mvc/views/index....
asked by 18.05.2018 / 14:45
1
answer

Javascript return result for Controller

Good afternoon. I have a page with a jquery multselect ( Link ). In this multselect there are 2 list, one with all the heats and another with the values selected. When you edit this register, you select the values you want to assign to the...
asked by 24.05.2018 / 22:36
1
answer

Selected data from the option tag to pass to Model C # - MVC

I'm developing an application with HTML and C # in MVC standards, and in one of the menus I need to put a list of options in which the user will select what they want, that data comes from the database, so what I did was as follows: I created...
asked by 18.05.2018 / 16:21
0
answers

Responsibility for service and repository

People would like to know who uses design-pattern service and repository , what would be a basic architecture structure, ie what the service can and can not do, and what are the responsibilities of the repository. I am currently using the follo...
asked by 16.03.2018 / 15:22
1
answer

Create a Windows Service that calls an MVC

asked by 13.02.2018 / 19:21