I have a DB First project that uses an EDMX to map the database. The tables have standard columns that exist in all of them and I could organize and leave the code much more generic if I could implement interfaces in it with these properties, bu...
I'm doing a program to sell products and I'm having a design problem. The differential of this program is that it can take two different faces: one for sale of chocolates and another for sale of fruit. The forms I organized more or less this way...
I need to authenticate users.
So I created my database with all my business rules, made the connection to the ASP.NET MVC application, and started programming.
Now, when I was doing the part of user I noticed that there are two connection...
Hello, I have a problem with my code. I'm doing a function that lasts about 3/4 hours in length, and so I decided to do that function on a thread so it does not block the overall system operation. after some research I found some solutions and t...
I have the following query in SQl Sevrer
SELECT PT.id,
P.nome AS Codigo,
PT.topologiaid,
TE.id AS TipoEntidadeId
FROM [dbo].[propriedade] P
INNER JOIN [dbo].[propriedadetopologia] PT
ON P.id...
I'm trying to download a file in headless mode.
I instantiated the driver like this:
public static IWebDriver CriarWebDriver()
{
var options = new ChromeOptions();
if(HelperConfig.GetInstance().Headless)
{
options.AddAr...
I am having a small question, I pass a 0,05 decimal value to a A variable of type string . After this variable receives this value, it converts , to point . , which is 0.05
After I do this replace, I co...
I have a question about a project that follows the DDD architecture model.
In a model service I need an information that is the result of a method of another service, what is the correct way to get this information, I create a property of thi...
I'm developing a registration, where I have my fields according to my model:
public class Autor
{
[Key]
public int IdAutor { get; set; }
public string Nome { get; set; }
public DateTime DataNascimento { get; set; }
}
That is...
I'm trying to consume the NFE download service on the farm:
link
Specification
link
Using
.Net, C #, MVC
But I have gotten the following error:
The remote server returned an error: (500) Internal Server Error.
The messag...