Questions tagged as 'asp.net'

0
answers

Could not load file or assembly 'System.Diagnostics.DiagnosticSource, in Heroku

I'm uploading an asp.net core 2.0 application on heroku. But it has the following error in the log:    Unhandled Exception: System.IO.FileLoadException: Could not load file   or assembly 'System.Diagnostics.DiagnosticSource, Version = 4.0.2.1...
asked by 02.03.2018 / 02:30
1
answer

Redirect to page and call JS function

I'm redirecting one page to another, but at the time of the redirect I would like to call a function together, so that the time it loads the new page, perform the function, because this function will only be called a few times, page is loaded, i...
asked by 21.02.2018 / 20:54
0
answers

Display the name of a foreign key in bootgrid?

I'm having to put a foreign key in the bootgrid view. In the first comment of a video lesson the author of video aula said that to display a foreign key just add a date-formatter with an apelike, which in my case I called it "RequesterName"...
asked by 20.02.2018 / 14:42
0
answers

Missing reference error in .net core project at compile time

When using the dotnet build command in my application, I come across the following error happening in my asp.net core project:    StoreOfBuild.Domain - > C: \ UdemyApp \ src \ StoreOfBuild.Domain \ bin \ Debug \ netstandard2.0 \ StoreOfB...
asked by 27.02.2018 / 20:43
0
answers

Doubts with XlWorkbook

I'm having trouble with my personal line of code; Can anyone help me? if (selecionarArquivo.FileContent != null) { //Esta dando erro na linha XlWorkbook nessa variavel. var wb = new XLWorkbook(selecionarArquivo.FileContent); var...
asked by 27.02.2018 / 20:59
0
answers

Show Total Order Value in View asp.net mvc

I have a View Index where I will show the name of the store the total order and add all orders and show the total value. I created a ReportAmazing. I can get the total of orders. In my table it is already right with the total value correto, but...
asked by 19.02.2018 / 16:34
1
answer

Seed Method for Many-to-Many Relationships

I am developing a simple application in MVC using Entity , being product register, I am using metodo seed to insert the values in the table, however in the Many-to-Many relationship I can not set the values in the auxi...
asked by 19.02.2018 / 18:36
0
answers

SqlBulkInserT- Import Excel worksheet

I have an application in dotnet to import spreadsheet, however I do not know why I am not able to insert the information into the database. My code is below. using System; using System.Collections.Generic; using System.Data; using System.Data....
asked by 19.02.2018 / 17:49
1
answer

href with Submit in Asp.net core MVC

I have a _LoginPartial view where you have a link to EXIT (Log out of the system). <li role="presentation"> <a href="javascript:void(0)" role="menuitem"> <i class="icon wb-power" aria-hidden="true"></i> S...
asked by 18.02.2018 / 20:09
2
answers

Compare shorter term between asp.net columns

Doing order system, I have several warehouses, let's suppose I have to compare 2 warehouses that have shorter lead times by using entityframework, how would I do that? I'm trying to do more but it only returns the last query value, but not the l...
asked by 18.02.2018 / 16:02