Questions tagged as 'mvc'

1
answer

ASP.NET Identity - Find user by email and password

I am using Asp.Net Identity for the first time, along with the Entity Framework, and to create a user, I make the following code: var identityUser = new IdentityUser { UserName = viewModel.Nome.Replace(" ", "."), Email = viewModel.Email...
asked by 13.02.2018 / 15:26
1
answer

Modal Bootstrap and MVC C #

Personal I have a view called Projects that brings a list of projects and I need to visualize the information / detail of each project through a Bootstrap modal. So I created a button that calls a javascript function within...
asked by 20.02.2018 / 15:20
0
answers

Good practices for a Model that interacts with 2 tables?

I am building an MVC application, to be more exact for sending SMS messages, and I came across the following situation: I own the smsModel which is mainly responsible for sending, scheduling, canceling sending the SMS, and it has a standard ta...
asked by 23.01.2018 / 04:56
0
answers

Empty field returning null

Good evening, I have a script in jquery and ajax to search a page in asp.net mvc, but in a table column, when the column is empty, when searching it is shown null and not empty, how do I continue showing empty to do you use null? Thank you...
asked by 31.01.2018 / 02:46
1
answer

doubts generic class asp.net mvc

Good evening, In my project I have an application layer where the class is structured as follows: namespace ProjetoTreino.Aplicacao { public class PessoaAplicacao { private readonly IRepositorio<Pessoa> repositorio; public...
asked by 29.01.2018 / 03:12
1
answer

How to translate the calendar header of Full Calendar? [closed]

Greetings, friends of Stack Overflow! I'm just one step away from completing a calendar using the fantastic Full Calendar plugin, which I'm grateful to have. However, I'm having some translation issues with it: Unfortunately, the locale / la...
asked by 02.01.2018 / 12:31
2
answers

Information does not arrive in value attribute

The information I get in the user model (getTimeLine method) gets to the homeController, but does not arrive in the homeView in the input type hidden in the value attribute. public function perfil($id) { $dados = array(); $p = new pos...
asked by 12.11.2017 / 01:54
0
answers

ActionResult search result does not return all results for View PagedList

I noticed that in my application before View the Paged List it received all returned items from the ActionResult from the implementation of the Paged List I do not get all the results of my controller . In summary ActionResult gets a...
asked by 12.11.2017 / 18:32
1
answer

Query all sql tables

Good evening I'm starting in the career of developer and I'm creating an application that le an xml file. I'm having trouble passing a command in sql database that returns all tables and their attributes (column and values). Thank you    ...
asked by 07.11.2017 / 22:54
0
answers

ERROR System.InvalidOperationException: The sequence contains more than one element [closed]

I have a system that works on several machines, but in a machine the error occurs: 'The string contains more than one element Description: An unhandled exception occurred during the execution of the current Web request. Examine the stack trac...
asked by 10.11.2017 / 21:01