Questions tagged as '.net'

1
answer

Error while executing Add-Migration Setup

When executing the Add-Migration Setup command to create the table in SQL Server in the PM the message below occurs even though I do the api project reference with the shared. The system even gets to process something, but soon gives this erro...
asked by 05.10.2018 / 15:42
2
answers

Pass array of Json objects to Controller C # .NET

I need to make a post, and so far I'm trying to get AJAX to send an object to the Controller, but I'm having trouble getting the object. View / html: <select name="Servers" id="servers" multiple> <option value='{ "Id": "1",...
asked by 19.09.2018 / 01:22
1
answer

How to make the application wait for a while?

It is common to have situations that we need to delay the execution of the code for a period, either to show or delete a message or something visual soon after, either to try something again, wait for something in a test or something creative th...
asked by 09.09.2015 / 16:55
0
answers

Problem with aspx page

When I try to access the page below, I encounter the following error:    Using css-themed files requires a header control in the   page (for example,). I have tried all the solutions I found on the internet, and the closest I got to being...
asked by 10.09.2018 / 15:13
0
answers

Problem in saving many-to-many relationship with Entity Framework Core

I'm having trouble saving a many-to-many relationship with Entity Framework Core I have the following entities [Table("quadros")] public class Quadro : BaseEntity { public bool Ativo { get; set; } public string Titulo { get; set; }...
asked by 03.09.2018 / 03:08
0
answers

EF Core - Map dynamic columns to a list

I need help mapping EF Core entities. I have products table and this table may contain different columns depending on customer customization, text columns will always be. I have a table and an entity called Label where it tells me the nam...
asked by 23.08.2018 / 16:12
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
0
answers

rodape .net using css materialize

I'm doing a project in asp net but the footer is on top of the menu; What can I do? HTML <div class="container"> <div class="row"> <div class="col s10"> </div>...
asked by 22.08.2018 / 21:49
0
answers

I am consuming an API with basic authentication oauth and returns: Incorrect request (400)

Talk, guys! Next, I developed a spring boot api and I already tested it with the postman and it is working normally, its security is very basic auth authentication. Now I am testing in a C # application that I have here to return the token to...
asked by 12.08.2018 / 17:49
1
answer

How do I use the "Math.Max" method in C # without having to create a lot of variables?

I'm trying to solve an exercise that looks like this:    Make an algorithm that reads the height and enrollment of ten students. Show highest student enrollment and lowest student enrollment And my code at the moment looks like this: C...
asked by 05.08.2018 / 03:34