Questions tagged as 'asp.net-mvc-5'

1
answer

404 Failure with ASP.NET MVC when attached file is large

I'm using the jquery.filer plugin to send files to attach files to my form. I chose this because it was a plugin that I was able to manipulate it to send the data of the other inputs along with the files and to avoid temporary folders....
asked by 23.10.2015 / 16:26
2
answers

How to create an input grid in ASP.NET C # - MVC5

Basically I have a form and I am opening a window (modal) with a list of employees and by javascript I can add the email of the same in the form that will be saved, in another language in this case I would solve creating the input of emails like...
asked by 10.07.2015 / 21:09
1
answer

Problem with relationship Entity Framework

I am having problems in my bank relationship, I am developing an application that manages Courses, I am still a beginner in ASP.NET MVC. I have two Student tables and Course tables, and I have another table that links those two StudentCours...
asked by 12.06.2015 / 06:27
1
answer

Search all table fields in an Action

I would like to know how best to construct a query that looks in all the fields of a table. Let's say I have a news site, and on this site I have input to Search in my template. When typing the information in this template, it n...
asked by 29.04.2015 / 14:53
2
answers

View control in Partial View conditionally

I need a Partial View control to be displayed according to a condition. For some views a button would appear for others not and this would be set via a parameter in the Partial View call. After searching I saw that I can use ViewDataD...
asked by 09.04.2015 / 04:04
3
answers

Validation using Remote in class "PaI"

I have my Person class, it has the CPF property public class Pessoa { public string Cpf {get;set;} } Other classes inherit from it, such as the Client class public class Cliente : Pessoa { } It turns out that I use Data Annotatio...
asked by 14.01.2015 / 14:12
1
answer

Retrieve value from an HTTP query string

I have a URL that returns an HTTP QueryString , and I need to retrieve the URL information and convert it to variables to query the database. In PHP just use $_GET[""] , now in C # I do not know how to proceed. I'll give you an ex...
asked by 19.01.2015 / 18:10
1
answer

Hide ActionLink parameter

For example: /admin/Edit/1006 Is there any way to hide this id? Well, any malicious user can change the value and end up finding a user. I know that you should check the controller to see if the user can edit, but only by using ActionLink...
asked by 04.01.2015 / 01:04
1
answer

How to upload file at the same time as submitting an asp.net mvc form 5

I already have a form that does a registration, I want to add an additional field in it where the user will upload a photo, I want to do everything in the same submit. My VM VMdomainCreate VM: public class VMDominioCreate {...
asked by 02.11.2015 / 22:58
1
answer

How to start in MVC5 ASP.NET?

Hello! About a month or so I started to venture into the C # world and then started studying the .NET Framework. Soon after, I also studied ASP.NET because of the need in my company. Today I use Visual Studio 2013 to create Web Apps with the MVC...
asked by 22.05.2015 / 01:06