Questions tagged as 'asp.net-mvc'

1
answer

How to count the amount of input elements inside a div

Using ASP.NET MVC, I'm creating one input dynamically using a loop with data from the database. <div class="col-md-12" id="div-contatos"> @if (Model.PessoasContatosViewModel != null) { @for (int i = 0; i < Model.Pesso...
asked by 17.09.2018 / 02:33
0
answers

Pass parameter to new MVC controller

I need to pass parameter "01" from the link to another controller. namespace Intranet.Presentation.Areas.GestaoDeServicos.Controllers { public class ServicoController : Controller { public ActionResult Cadastro(int id)...
asked by 14.09.2018 / 19:38
1
answer

ASP.Net Core Version

Good afternoon, I'm starting with DotNet Core, and when I create my first project by choosing " ASP.NET Core Web Application " on the next screen I only see the versions below ASP.NET Core 1.0 ASP.NET Core 1.1 I have already installe...
asked by 19.09.2018 / 21:04
0
answers

Entity insert without children are null - EF6

I have the following problem. I need to insert an entity that has populated children, but I can not be null in the children to insert only the parent entity because in the next lines of precise code of the children filled to insert them. I...
asked by 05.09.2018 / 19:57
0
answers

Compound key mapping entity framework

Good afternoon, How do I map compound key in my entities, in case the entity calls document and its PK is by property ID and WEBID, and it does FK with the User as I would in that case? Document public class Documento : IAggregate...
asked by 06.09.2018 / 00:48
0
answers

Heaven Return Checkout Asp.Net

Good afternoon, I'm doing the Cielo Checkout integration .. I can do the redirect to pay, just have a problem and I did not find on the internet about status change through HTTP Post and I already configured it in panel I created a method for...
asked by 28.08.2018 / 19:08
1
answer

Search Object By date and Id Lambda, Linq, asp.net

I have class called VehicleSequence, a class called VehicleMovement and the Vehicle class. class RequisicaoDeVeiculo { public int Id { get; set; } public DateTime DataDaSolicitacao { get; set; } [ForeignKey...
asked by 28.08.2018 / 02:04
1
answer

How to align a button vertically in a row

I am not able to align a button vertically within a row. I've tried to insert a label to force it down, but it does not even move. input[type="text"], select { /*font-size: 13px;*/ } .selectClass { /*fon...
asked by 28.08.2018 / 02:58
0
answers

Include PivotTable in ViewBag

I include the data of a table dynamically in AJAX, and it works perfectly to include in the table, what happens, is that I now need the table data in the controller, and by using .NET CORE, I can not get the data via JSON. How can I put the View...
asked by 23.08.2018 / 17:23
1
answer

Error building with Jenkins and MSBuild

I'm trying to create a build job in Jenkins, I've already set up the folder where it looks for MSBuild.exe and also the plugin, however, the time I put it to run gives this error: '    C: \ Program Files   (x86) \ Jenkins \ workspace \ Test...
asked by 22.08.2018 / 16:59