Questions tagged as '.net'

1
answer

Is it possible to call the ExecuteQuery method asynchronously?

Is it possible to execute the ExecuteQuery method asynchronously? Consider the following code: public virtual MyEntity MyMethod(string parm1, string parm2) { string queryString = TableQuery.CombineFilters(TableQuery.GenerateFilte...
asked by 31.01.2014 / 18:57
1
answer

Mapping with Entity Framework

Good afternoon, When analyzing a code I see in the mapping the following line: this.HasKey(t => t.IdEstudante); Understand what you do in practice but not theoretically, refers to the object but explicitly what this parameter is sayin...
asked by 03.01.2019 / 19:12
1
answer

Add parameters to IDbCommand

I used the method below to add parameters using the interface IDbCommand using System; using System.Collections.Generic; using System.Linq; using System.Text; using EstudoDotNet.Comum.Dominio; using System.Data.S...
asked by 26.11.2014 / 23:55
1
answer

Script that Save the page and change the URL, and Save the next page [closed]

Well, I have a problem that in my view is simple, but in practice it is complex, I need a script in which it save several URL pages and change to the next URL, www.example.com/1 Saved 1 Next > www.example.com/2 Saved 2 Next > www.example...
asked by 25.11.2018 / 14:55
1
answer

Make SonarQube with OpenCover ignore some C #

Is it possible to configure SonarQube with OpenCover to skip some classes in my .NET project?     
asked by 06.02.2014 / 12:00
1
answer

Error handling exceptions - "Object reference not set to an instance of an object"

public String IdentificarAcessoDAL(FuncionarioDTO acesso) { try { conexao.cmd.Connection = conexao.conexao; string recuperar = "SELECT CARGO.NOME_CARGO FROM LOGIN INNER JOIN FUNCIONARIO ON FUNCIONARIO.C...
asked by 21.10.2018 / 07:51
1
answer

Submit of the form inside a modal view me redirects to the view page

I have an MVC project. A View Home / Index loads View Users / Create as a bootstrap modal. However, my <input type="submit" /> redirects me to the Users / Create view address. I wanted the application to remain in the View Ho...
asked by 01.10.2018 / 15:39
0
answers

SignedXml in NET 2 vs. NET 4.5

I have a web application in asp.net, which consumes a webservice in delphi and that it uses a DLL created in C # to perform signatures. With the web application installed on IIS, it displays an error. When running webservice within IIS using...
asked by 26.10.2018 / 22:48
0
answers

Call a method from a .NET C # DLL from a Classic ASP application

I have a web system in ASP that does Warehouse Management (WMS). The system works and is already in use in some companies. Recently the need arose to work with labels that will be pasted into the order volumes. The printer I'm going to use is...
asked by 23.08.2018 / 23:10
0
answers

How to format graphical axes in visual studio

People, so trying to put together a payback chart, but it's very strange. I used the following code (summary of what influences): Public vetor_x(121) As Integer Public vetor_y(121) As Double Private Sub grafico_payback() For i = 0...
asked by 20.09.2018 / 00:14