Questions tagged as '.net'

0
answers

How to read emails from an account with several mailboxes in C #?

I have a program that is able to read the emails from my main account, but I need you to read the emails of another mailbox that is not my main mailbox, but one that has privileges, but it is not my main mailbox. So far I have only achieved that...
asked by 03.08.2018 / 14:55
0
answers

Submission of Form and Data from Table to ASP .NET Controller by AJAX

This is my first question on this platform. I am new with the ASP .NET framework and I have a problem that I tell you: I have a table that is generated as products are added to it to be billed. I also have a form with the data of the invoice....
asked by 05.09.2018 / 16:08
0
answers

no data is displayed with extJS and C #

I have a problem with extJS and c # does not show any data just a header, I just want to show the records of my sql table, but I could not, my backend works fine and if it returns the records of my BD, the problem is is that they are not bindean...
asked by 20.07.2018 / 19:40
0
answers

Linq query. Orderby [closed]

Good day, I am starting to use linq and when I execute my query. This takes up to 1 hour. Does anyone know how I can optimize it? if (db.GpsInfo.Any(i => i.device_id == id)) { var gpsinf = db.GpsInfo...
asked by 14.06.2018 / 18:08
1
answer

Difference between Task and Thread C # [closed]

Someone would be kind enough to explain what is the difference between Task and Thread in C # and some of its methods, the information I find is usually somewhat ambiguous and confusing. I want to implement a method that checks data from a RE...
asked by 27.05.2018 / 06:00
0
answers

Use or Create Attributes for data validation in properties?

Hi guys I would like to know if there are attributes or can be created for properties that allow to add restrictions like: -Only positive numbers -Length of a minimum string 3 and maximum 255 -It can not be null -Only 1 or 0 represen...
asked by 10.06.2018 / 23:27
0
answers

How to use a rule engine in C # at run time [closed]

Let's say that the model is a device (which could be an air conditioner), an actuator (which is responsible for, for example, lowering the temperature) and a sensor (which only takes the ambient temperature). The idea would be for the user to...
asked by 16.05.2018 / 20:25
0
answers

How can I create a queue in memory with C #

I currently have a problem in which I am presented with the option to generate a queue in RAM so that the data that enters it can be processed and used quickly without having reached the BD yet. In my work we use C # as the main language and...
asked by 04.05.2018 / 16:59
2
answers

Url with parameters does not work in MVC

I am developing a project in mvc it has been working fine, but I have not been able to solve an error, I try to access a url that creates from global asax with parameters but it sends me error 404 routes.MapRoute( "Unit",...
asked by 06.04.2018 / 03:24
1
answer

Difference between SMTP and SMTP relay

I wanted to ask you, what is the difference between SMTP and SMTP relay. And how should the latter be implemented in .net. This is my SMTP code String _fromAdress = "pepe"; String _smtpserver = "Smtp.Gmail.com";...
asked by 28.05.2018 / 21:11